{
  "match_info": {
    "home_team": "Villarreal",
    "away_team": "Elche",
    "tournament": "LaLiga",
    "date": "20261017",
    "timezone": "America/New_York",
    "home_formation": "4-4-2",
    "away_formation": "4-2-3-1",
    "lineup_status": "unconfirmed_official",
    "lineup_source": "/matches/get-lineups",
    "lineup_confirmed": false,
    "lineup_confidence": 0.75
  },
  "prediction": {
    "most_likely_score": "1-0",
    "home_goals": 1,
    "away_goals": 0,
    "most_likely_score_probability": 0.1126,
    "most_likely_winning_score_home": "1-0",
    "most_likely_winning_score_home_probability": 0.1126,
    "most_likely_winning_score_away": "0-1",
    "most_likely_winning_score_away_probability": 0.0516,
    "match_resolution": "regulation",
    "predicted_winner": "Villarreal",
    "tiebreaker": {
      "applies": false,
      "method": "none",
      "regulation_draw_probability": 0.2148,
      "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,
      "deciding_stage": null,
      "deciding_scoreline": null,
      "deciding_scoreline_probability": null,
      "deciding_route_probability": null,
      "reason": "Tie-breaker not required for this match context."
    },
    "top_5_scorelines": [
      {
        "score": "1-0",
        "probability": 0.1126
      },
      {
        "score": "2-0",
        "probability": 0.1102
      },
      {
        "score": "1-1",
        "probability": 0.1021
      },
      {
        "score": "2-1",
        "probability": 0.099
      },
      {
        "score": "3-0",
        "probability": 0.0716
      }
    ],
    "scoreline_probabilities": {
      "0-0": 0.0586,
      "0-1": 0.0516,
      "0-2": 0.0234,
      "0-3": 0.007,
      "0-4": 0.0016,
      "1-0": 0.1126,
      "1-1": 0.1021,
      "1-2": 0.0456,
      "1-3": 0.0137,
      "1-4": 0.0031,
      "1-5": 0.0006,
      "2-0": 0.1102,
      "2-1": 0.099,
      "2-2": 0.0444,
      "2-3": 0.0133,
      "2-4": 0.003,
      "2-5": 0.0005,
      "3-0": 0.0716,
      "3-1": 0.0643,
      "3-2": 0.0289,
      "3-3": 0.0086,
      "3-4": 0.0019,
      "4-0": 0.0348,
      "4-1": 0.0313,
      "4-2": 0.0141,
      "4-3": 0.0042,
      "4-4": 0.0009,
      "5-0": 0.0136,
      "5-1": 0.0122,
      "5-2": 0.0055,
      "5-3": 0.0016,
      "6-0": 0.0044,
      "6-1": 0.004,
      "6-2": 0.0018,
      "6-3": 0.0005,
      "7-0": 0.0012,
      "7-1": 0.0011
    },
    "outcome": {
      "home_win": 0.6188,
      "draw": 0.2148,
      "away_win": 0.1664
    },
    "markets": {
      "over_2_5_goals": 0.5414,
      "under_2_5_goals": 0.4586,
      "btts_yes": 0.5086,
      "btts_no": 0.4914,
      "home_clean_sheet": 0.4074,
      "away_clean_sheet": 0.1426
    },
    "home_ratings": {
      "DR": 6.91,
      "MCR": 7.04,
      "ATR": 6.94,
      "GK": 7.09
    },
    "away_ratings": {
      "DR": 6.77,
      "MCR": 6.87,
      "ATR": 6.88,
      "GK": 7.04
    },
    "insights": {
      "summary": "Antagonist matchup analysis for Villarreal vs Elche. Most likely scoreline: 1-0. Lambdas derived from 6 home and 7 away individual player duels. Head-to-head: Villarreal 5W-3D-2L vs Elche over 10 meetings.",
      "key_player": "Projected scorer(s): Ayoze Pérez",
      "tactical_analysis": "Tactical parity between 4-4-2 and 4-2-3-1. Match outcome driven primarily by individual player quality. Home midfield dominates with ~52% possession expected (Pape Gueye vs Marc Aguado). Total antagonist xG — Home: 1.10, Away: 0.67. Home danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle. Away danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle."
    },
    "confidence": 0.77,
    "home_lambda": 1.948,
    "away_lambda": 0.898,
    "h2h": {
      "available": true,
      "meetings": 10,
      "home_wins": 5,
      "away_wins": 2,
      "draws": 3,
      "home_multiplier": 1.0214,
      "away_multiplier": 0.9786
    },
    "modal_scoreline": "1-0",
    "modal_scoreline_probability": 0.1126,
    "headline_policy": null
  },
  "pregame_baseline": {
    "fair_win_probability": {
      "home_win": 0.6188,
      "draw": 0.2148,
      "away_win": 0.1664
    },
    "favorite": "Villarreal",
    "favorite_win_probability": 0.6188,
    "fair_spread": 1.05,
    "fair_total": 2.846,
    "prop_estimates": [
      {
        "market": "team_total_goals",
        "selection": "Villarreal",
        "estimate": 1.948,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "team_total_goals",
        "selection": "Elche",
        "estimate": 0.898,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "over_2_5_goals",
        "selection": "yes",
        "estimate": 2.5,
        "probability": 0.5414,
        "unit": "probability"
      },
      {
        "market": "both_teams_to_score",
        "selection": "yes",
        "estimate": 1.0,
        "probability": 0.5086,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Villarreal",
        "estimate": 1.0,
        "probability": 0.4074,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Elche",
        "estimate": 1.0,
        "probability": 0.1426,
        "unit": "probability"
      },
      {
        "market": "anytime_goal",
        "selection": "Ayoze Pérez (Villarreal)",
        "estimate": 0.4939,
        "probability": 0.3898,
        "unit": "xG"
      },
      {
        "market": "anytime_goal",
        "selection": "Fernando Niño (Elche)",
        "estimate": 0.3159,
        "probability": 0.2709,
        "unit": "xG"
      },
      {
        "market": "assist",
        "selection": "Alberto Moleiro (Villarreal)",
        "estimate": 0.3187,
        "probability": 0.2729,
        "unit": "xA"
      },
      {
        "market": "assist",
        "selection": "Roy Revivo (Elche)",
        "estimate": 0.1544,
        "probability": 0.1431,
        "unit": "xA"
      }
    ],
    "expected_pace": {
      "tempo": "balanced",
      "expected_total_goals": 2.846,
      "expected_total_shots": 26,
      "expected_total_passes": 934,
      "expected_pressing_actions_per_90": 13.2,
      "possession_home_pct": 52.4,
      "possession_away_pct": 47.6,
      "notes": "possession projects near even"
    },
    "expected_game_script": {
      "favorite": "Villarreal",
      "favorite_win_probability": 0.6188,
      "script": "Villarreal is the fair winner side, but the baseline remains favorite-led: fair spread +1.05 goals and fair total 2.85.",
      "first_half": "Expect balanced tempo while both sides test the matchup thesis; shot baseline is about 13 first-half attempts.",
      "second_half": "If level after halftime, midfield control and bench quality should decide territory; Elche must keep the match inside one goal.",
      "late_game": "A Villarreal lead likely shifts toward control and counters; a draw state keeps set pieces and transition chances live."
    },
    "key_matchup_thesis": "Villarreal chance creation leans on Ayoze Pérez against Buba Sangaré, Roy Revivo in Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle; possession projects near even.",
    "expected_rotation_usage_behavior": [
      "Villarreal: starters carry the main goal usage through Ayoze Pérez; bench watchlist: Carlos Maciá, Nathan-Dylan Saliba.",
      "Elche: starters carry the main goal usage through the highest xG attackers; bench watchlist: Facundo Buonanotte, Rafa Mir, Martim Neto.",
      "Assist usage should flow through Alberto Moleiro; late lineup changes should re-score these allocations."
    ],
    "pregame_play_by_play": [
      "0-15: Villarreal tries to establish the projected edge; track possession and first-shot share.",
      "15-45: Baseline expects balanced tempo, about 13 total first-half shots, and 1.42 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 Elche 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 Villarreal.",
      "Elche wins the midfield/territory battle beyond the possession baseline.",
      "Pace collapses: first 25 minutes fall well below the shot and box-entry baseline.",
      "Set pieces, penalties, or second balls create more danger than the open-play matchup thesis."
    ],
    "top_3_risk_factors": [
      {
        "factor": "Low-event scoring variance",
        "impact": "One penalty, deflection, or missed big chance can overwhelm the fair win probability."
      },
      {
        "factor": "Late lineup or role change",
        "impact": "A pregame XI, injury, or tactical role shift can invalidate player prop and usage estimates."
      },
      {
        "factor": "Discipline and set-piece volatility",
        "impact": "Cards, fouls in dangerous zones, and corner volume can change the expected game script quickly."
      }
    ]
  },
  "teams": {
    "Villarreal": {
      "formation": "4-4-2",
      "players": {
        "Tani Oluwaseyi": {
          "player_id": 1172477,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 21,
          "height": 188,
          "market_value": 7500000,
          "stats": {
            "expected_goals": 0.2796,
            "goal_rate": 0.1408,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.067,
            "key_pass": 1,
            "rating": 6.6637,
            "minutes": 71,
            "total_pass": 7,
            "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": 18,
            "possession_lost": 7.382,
            "dispossessed": 1.3427,
            "duels_lost": 5,
            "aerial_lost": 2,
            "total_contest": 2,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "assist_rate": 0.1197,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1426,
            "offsides": 0,
            "ball_carries": 4,
            "total_progression": 11,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.0358,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.4,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.224,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Buba Sangaré, Roy Revivo",
            "opponent_faced": "Buba Sangaré, Roy Revivo",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.2439,
            "projected_assists": 0,
            "assist_probability": 0.0648,
            "finishing_factor": 0.8296,
            "creation_factor": 1.25,
            "fifa_overall": 71.0
          },
          "latest_10_games": [
            {
              "match_id": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 28,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0696,
                "expected_assists": 0.0699,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 12,
                "accurate_pass": 9,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "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": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 13,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.007,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 8,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "total_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416302,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 15,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083682,
              "match_date": "2026-05-17",
              "home_team": "Rayo Vallecano",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 63,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1448,
                "expected_assists": 0.0023,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 7,
                "accurate_pass": 5,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083573,
              "match_date": "2026-05-10",
              "home_team": "Mallorca",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 63,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0042,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 6,
                "aerial_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083282,
              "match_date": "2026-04-23",
              "home_team": "Real Oviedo",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 63,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0228,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 5,
                "tackles": 1,
                "duels_won": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083102,
              "match_date": "2026-04-12",
              "home_team": "Athletic Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 69,
                "rating": 6.7,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.0259,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 3,
                "key_pass": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081808,
              "match_date": "2026-03-20",
              "home_team": "Villarreal",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081806,
              "match_date": "2026-03-13",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 17,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 4879,
            "combined_rank_score": 2974.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 914.0,
            "sofascore_rating": 6.504,
            "sofascore_appearances": 27.0,
            "fifa_rank": 5035.0,
            "fifa_overall": 71.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6637,
            "source_file": "data/player_rankings.csv",
            "player_name": "Tani Oluwaseyi",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Yazan Al Arab",
                  "ranking": 4874
                },
                {
                  "player_name": "Lee Chang Geun",
                  "ranking": 4875
                },
                {
                  "player_name": "Song Bum Keun",
                  "ranking": 4876
                },
                {
                  "player_name": "Renato Steffen",
                  "ranking": 4877
                },
                {
                  "player_name": "Edimilson Fernandes",
                  "ranking": 4878
                }
              ],
              "lower": [
                {
                  "player_name": "Cédric Zesiger",
                  "ranking": 4880
                },
                {
                  "player_name": "Timothé Cognat",
                  "ranking": 4881
                },
                {
                  "player_name": "Alvyn Sanches",
                  "ranking": 4882
                },
                {
                  "player_name": "Mattia Zanotti",
                  "ranking": 4883
                },
                {
                  "player_name": "Silas Andersen",
                  "ranking": 4884
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.752,
          "history_matches": 31,
          "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",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "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",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 31,
            "data_confidence": 0.752,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9995,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 0.0,
              "minutes": 16.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.0133
            },
            "rationale": "XGBoost regressor (F_service) evaluated 31 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Villarreal, rel: 0.01, 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.1739,
                "goals": 0.1361,
                "goal_rate": 0.1361,
                "shots_on_target": 0.436,
                "total_shots": 1.4033,
                "expected_assists": 0.0431,
                "key_pass": 0.6044,
                "rating": 6.6637,
                "minutes": 70.94,
                "total_pass": 7.2611,
                "accurate_pass": 4.7801,
                "duels_won": 2.7617,
                "total_long_balls": 0.3944,
                "accurate_long_balls": 0.3318,
                "total_opp_half_passes": 5.3493,
                "accurate_opp_half_passes": 3.3196,
                "crosses_total": 0.2609,
                "crosses_accurate": 0.1199,
                "touches": 17.5647,
                "possession_lost": 7.3857,
                "dispossessed": 1.3434,
                "duels_lost": 5.2434,
                "aerial_lost": 1.5667,
                "total_contest": 1.6587,
                "won_contest": 0.4143,
                "ball_recovery": 1.2471,
                "challenges_lost": 0.4715,
                "fouls": 0.6174,
                "fouls_drawn": 0.1755,
                "assists": 0.1199,
                "assist_rate": 0.1199,
                "interceptions": 0.1952,
                "tackles_won": 0.4968,
                "tackles": 0.7115,
                "clearances": 0.293,
                "blocks": 0.1731,
                "big_chances_created": 0.1604,
                "big_chances_missed": 0.3957,
                "xgot": 0.0886,
                "offsides": 0.3945,
                "ball_carries": 4.1629,
                "total_progression": 11.0856,
                "progressive_carries": 0.6052,
                "shots_off_target": 0.9673
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:06:24.593912+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Real Betis",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.151,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.1283,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.1091,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.0927,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Rayo Vallecano",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.0788,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Mallorca",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.067,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-04-23",
                    "opponent": "Real Oviedo",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.0569,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-04-12",
                    "opponent": "Athletic Club",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.0484,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-03-20",
                    "opponent": "Real Sociedad",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.0411,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-03-13",
                    "opponent": "Deportivo Alavés",
                    "minutes": 17.0,
                    "is_starting": false,
                    "weight": 0.035,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalOppositionHalfPasses": 4.0322,
                  "expectedGoals": 0.0333,
                  "accurateOppositionHalfPasses": 2.6019,
                  "accuratePass": 3.5982,
                  "totalShots": 0.308
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.17392657697200775,
                    "model_output": 0.1739,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0633
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0462
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0258
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0116
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0097
                        }
                      ],
                      "others": -0.013,
                      "total": 0.1739,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.278098
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.194783
                        },
                        {
                          "name": "goals",
                          "margin": -0.127817
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.063577
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.05342
                        }
                      ],
                      "others_margin": -0.072546
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.13612765073776245,
                    "model_output": 0.1361,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0466
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.044
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0301
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0159
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0099
                        }
                      ],
                      "others": -0.0286,
                      "total": 0.1361,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.260111
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.247494
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.16246
                        },
                        {
                          "name": "goals",
                          "margin": -0.097943
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.062176
                        }
                      ],
                      "others_margin": -0.190529
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.43601447343826294,
                    "model_output": 0.436,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.159
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0815
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0587
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0503
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0367
                        }
                      ],
                      "others": -0.0334,
                      "total": 0.436,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.259076
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.124422
                        },
                        {
                          "name": "goals",
                          "margin": -0.10021
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.094734
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.075184
                        }
                      ],
                      "others_margin": -0.074057
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.4033256769180298,
                    "model_output": 1.4033,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4363
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1856
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0801
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0616
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0454
                        }
                      ],
                      "others": -0.0341,
                      "total": 1.4033,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.436295
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.185634
                        },
                        {
                          "name": "goals",
                          "margin": -0.080106
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.061616
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.045443
                        }
                      ],
                      "others_margin": -0.03401
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.04314044490456581,
                    "model_output": 0.0431,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0122
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0081
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0058
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0029
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0029
                        }
                      ],
                      "others": -0.0194,
                      "total": 0.0431,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.174431
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.111931
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.087918
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.047622
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.047391
                        }
                      ],
                      "others_margin": -0.372135
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.6043842434883118,
                    "model_output": 0.6044,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1991
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0676
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0487
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0434
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0311
                        }
                      ],
                      "others": -0.1395,
                      "total": 0.6044,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.25898
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.080682
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.062462
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.05915
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.042768
                        }
                      ],
                      "others_margin": -0.207538
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.663665771484375,
                    "model_output": 6.6637,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0374
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0245
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0193
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0177
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0158
                        }
                      ],
                      "others": -0.0634,
                      "total": 6.6637,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.037376
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.024496
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.019349
                        },
                        {
                          "name": "rating",
                          "margin": -0.01766
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.015788
                        }
                      ],
                      "others_margin": -0.063422
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 31,
                  "role_matches": 9,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9995, quality 0.493)",
              "stats": {
                "expected_goals": 0.1738,
                "goals": 0.1361,
                "goal_rate": 0.1361,
                "shots_on_target": 0.4358,
                "total_shots": 1.4026,
                "expected_assists": 0.0431,
                "key_pass": 0.6041,
                "rating": 6.6637,
                "minutes": 70.94,
                "total_pass": 7.2575,
                "accurate_pass": 4.7777,
                "duels_won": 2.7603,
                "total_long_balls": 0.3942,
                "accurate_long_balls": 0.3316,
                "total_opp_half_passes": 5.3466,
                "accurate_opp_half_passes": 3.3179,
                "crosses_total": 0.2608,
                "crosses_accurate": 0.1198,
                "touches": 17.5559,
                "possession_lost": 7.382,
                "dispossessed": 1.3427,
                "duels_lost": 5.2408,
                "aerial_lost": 1.5659,
                "total_contest": 1.6579,
                "won_contest": 0.4141,
                "ball_recovery": 1.2465,
                "challenges_lost": 0.4713,
                "fouls": 0.6171,
                "fouls_drawn": 0.1754,
                "assists": 0.1198,
                "assist_rate": 0.1198,
                "interceptions": 0.1951,
                "tackles_won": 0.4966,
                "tackles": 0.7111,
                "clearances": 0.2929,
                "blocks": 0.173,
                "big_chances_created": 0.1603,
                "big_chances_missed": 0.3955,
                "xgot": 0.0886,
                "offsides": 0.3943,
                "ball_carries": 4.1608,
                "total_progression": 11.0801,
                "progressive_carries": 0.6049,
                "shots_off_target": 0.9668
              },
              "params": {
                "market_value_eur": 7500000,
                "quality_factor": 0.4927,
                "boost_factor": 0.9995,
                "reference_quality": 0.505,
                "history_matches": 31,
                "history_shrink": 0.1389,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0012)",
              "stats": {
                "expected_goals": 0.1738,
                "goals": 0.1359,
                "goal_rate": 0.1359,
                "shots_on_target": 0.4353,
                "total_shots": 1.4009,
                "expected_assists": 0.0431,
                "key_pass": 0.6041,
                "rating": 6.6637,
                "minutes": 70.94,
                "total_pass": 7.2575,
                "accurate_pass": 4.7777,
                "duels_won": 2.7603,
                "total_long_balls": 0.3942,
                "accurate_long_balls": 0.3316,
                "total_opp_half_passes": 5.3466,
                "accurate_opp_half_passes": 3.3179,
                "crosses_total": 0.2605,
                "crosses_accurate": 0.1198,
                "touches": 17.5559,
                "possession_lost": 7.382,
                "dispossessed": 1.3427,
                "duels_lost": 5.2408,
                "aerial_lost": 1.5659,
                "total_contest": 1.6579,
                "won_contest": 0.4141,
                "ball_recovery": 1.2465,
                "challenges_lost": 0.4713,
                "fouls": 0.6164,
                "fouls_drawn": 0.1752,
                "assists": 0.1197,
                "assist_rate": 0.1197,
                "interceptions": 0.1949,
                "tackles_won": 0.496,
                "tackles": 0.7111,
                "clearances": 0.2929,
                "blocks": 0.173,
                "big_chances_created": 0.1603,
                "big_chances_missed": 0.3955,
                "xgot": 0.0886,
                "offsides": 0.3938,
                "ball_carries": 4.1608,
                "total_progression": 11.0801,
                "progressive_carries": 0.6049,
                "shots_off_target": 0.9668
              },
              "params": {
                "blend_weight": 0.0012,
                "history_matches": 31,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.7882,
                "prior_reliability": 0.0133,
                "competition": "La Liga",
                "squad": "Villarreal"
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1738,
                "goals": 0.1359,
                "goal_rate": 0.1359,
                "shots_on_target": 0.4353,
                "total_shots": 1.4021,
                "expected_assists": 0.0431,
                "key_pass": 0.6041,
                "rating": 6.6637,
                "minutes": 70.94,
                "total_pass": 7.2575,
                "accurate_pass": 4.7777,
                "duels_won": 2.7603,
                "total_long_balls": 0.3942,
                "accurate_long_balls": 0.3316,
                "total_opp_half_passes": 5.3466,
                "accurate_opp_half_passes": 3.3179,
                "crosses_total": 0.2605,
                "crosses_accurate": 0.1198,
                "touches": 17.5559,
                "possession_lost": 7.382,
                "dispossessed": 1.3427,
                "duels_lost": 5.2408,
                "aerial_lost": 1.5659,
                "total_contest": 1.6579,
                "won_contest": 0.4141,
                "ball_recovery": 1.2465,
                "challenges_lost": 0.4713,
                "fouls": 0.6164,
                "fouls_drawn": 0.1752,
                "assists": 0.1197,
                "assist_rate": 0.1197,
                "interceptions": 0.1949,
                "tackles_won": 0.496,
                "tackles": 0.7111,
                "clearances": 0.2929,
                "blocks": 0.173,
                "big_chances_created": 0.1603,
                "big_chances_missed": 0.3955,
                "xgot": 0.0886,
                "offsides": 0.3938,
                "ball_carries": 4.1608,
                "total_progression": 11.0801,
                "progressive_carries": 0.6049,
                "shots_off_target": 0.9668
              },
              "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.18,
                "goals": 0.1408,
                "goal_rate": 0.1408,
                "shots_on_target": 0.4509,
                "total_shots": 1.4523,
                "expected_assists": 0.0431,
                "key_pass": 0.6041,
                "rating": 6.6637,
                "minutes": 70.94,
                "total_pass": 7.2575,
                "accurate_pass": 4.7777,
                "duels_won": 2.7603,
                "total_long_balls": 0.3942,
                "accurate_long_balls": 0.3316,
                "total_opp_half_passes": 5.3466,
                "accurate_opp_half_passes": 3.3179,
                "crosses_total": 0.2605,
                "crosses_accurate": 0.1198,
                "touches": 17.5559,
                "possession_lost": 7.382,
                "dispossessed": 1.3427,
                "duels_lost": 5.2408,
                "aerial_lost": 1.5659,
                "total_contest": 1.6579,
                "won_contest": 0.4141,
                "ball_recovery": 1.2465,
                "challenges_lost": 0.4713,
                "fouls": 0.6164,
                "fouls_drawn": 0.1752,
                "assists": 0.1197,
                "assist_rate": 0.1197,
                "interceptions": 0.1949,
                "tackles_won": 0.496,
                "tackles": 0.7111,
                "clearances": 0.2929,
                "blocks": 0.173,
                "big_chances_created": 0.1603,
                "big_chances_missed": 0.4097,
                "xgot": 0.0918,
                "offsides": 0.3938,
                "ball_carries": 4.1608,
                "total_progression": 11.0801,
                "progressive_carries": 0.6049,
                "shots_off_target": 1.0014,
                "duel_xg_multiplier": 1.0358,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.224,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Buba Sangaré, Roy Revivo",
                "opponent_faced": "Buba Sangaré, Roy Revivo",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Buba Sangaré, Roy Revivo",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.224,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 1.0358,
                  "skill_edge": 0.0064,
                  "height_edge": 0.018,
                  "attacker_skill": 0.4927,
                  "defender_skill": 0.4785,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Buba Sangaré",
                      "market_value": 4900000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4809
                    },
                    {
                      "player": "Roy Revivo",
                      "market_value": 4600000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4761
                    }
                  ],
                  "xg_override": 0.18
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.4021,
                  "after": 1.4523
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.9668,
                  "after": 1.0014
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.4353,
                  "after": 0.4509
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.3955,
                  "after": 0.4097
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1738,
                  "after": 0.18
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.18,
                "goal_rate": 0.1408,
                "goals": 0,
                "shots_on_target": 0.4509,
                "total_shots": 1.4523,
                "expected_assists": 0.0431,
                "key_pass": 0.6041,
                "rating": 6.6637,
                "minutes": 70.94,
                "total_pass": 7.2575,
                "accurate_pass": 4.7777,
                "duels_won": 2.7603,
                "total_long_balls": 0.3942,
                "accurate_long_balls": 0.3316,
                "total_opp_half_passes": 5.3466,
                "accurate_opp_half_passes": 3.3179,
                "crosses_total": 0.2605,
                "crosses_accurate": 0.1198,
                "touches": 17.5559,
                "possession_lost": 7.382,
                "dispossessed": 1.3427,
                "duels_lost": 5.2408,
                "aerial_lost": 1.5659,
                "total_contest": 1.6579,
                "won_contest": 0.4141,
                "ball_recovery": 1.2465,
                "challenges_lost": 0.4713,
                "fouls": 0.6164,
                "fouls_drawn": 0.1752,
                "assist_rate": 0.1197,
                "assists": 0,
                "interceptions": 0.1949,
                "tackles_won": 0.496,
                "tackles": 0.7111,
                "clearances": 0.2929,
                "blocks": 0.173,
                "big_chances_created": 0.1603,
                "big_chances_missed": 0.4097,
                "xgot": 0.0918,
                "offsides": 0.3938,
                "ball_carries": 4.1608,
                "total_progression": 11.0801,
                "progressive_carries": 0.6049,
                "shots_off_target": 1.0014,
                "duel_xg_multiplier": 1.0358,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.224,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Buba Sangaré, Roy Revivo",
                "opponent_faced": "Buba Sangaré, Roy Revivo",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.95 (squad xG sum 1.2540, xG scale 1.5534, xA scale 1.5534, team xA 1.43 = 0.73 x lambda)",
              "stats": {
                "expected_goals": 0.2796,
                "goal_rate": 0.1408,
                "goals": 0,
                "shots_on_target": 0.4509,
                "total_shots": 1.4523,
                "expected_assists": 0.067,
                "key_pass": 0.6041,
                "rating": 6.6637,
                "minutes": 70.94,
                "total_pass": 7.2575,
                "accurate_pass": 4.7777,
                "duels_won": 2.7603,
                "total_long_balls": 0.3942,
                "accurate_long_balls": 0.3316,
                "total_opp_half_passes": 5.3466,
                "accurate_opp_half_passes": 3.3179,
                "crosses_total": 0.2605,
                "crosses_accurate": 0.1198,
                "touches": 17.5559,
                "possession_lost": 7.382,
                "dispossessed": 1.3427,
                "duels_lost": 5.2408,
                "aerial_lost": 1.5659,
                "total_contest": 1.6579,
                "won_contest": 0.4141,
                "ball_recovery": 1.2465,
                "challenges_lost": 0.4713,
                "fouls": 0.6164,
                "fouls_drawn": 0.1752,
                "assist_rate": 0.1197,
                "assists": 0,
                "interceptions": 0.1949,
                "tackles_won": 0.496,
                "tackles": 0.7111,
                "clearances": 0.2929,
                "blocks": 0.173,
                "big_chances_created": 0.1603,
                "big_chances_missed": 0.4097,
                "xgot": 0.1426,
                "offsides": 0.3938,
                "ball_carries": 4.1608,
                "total_progression": 11.0801,
                "progressive_carries": 0.6049,
                "shots_off_target": 1.0014,
                "duel_xg_multiplier": 1.0358,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.224,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Buba Sangaré, Roy Revivo",
                "opponent_faced": "Buba Sangaré, Roy Revivo",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8296,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.948,
                "squad_xg_sum": 1.254,
                "squad_xa_sum": 0.9174,
                "team_expected_assists": 1.4251,
                "team_xa_to_xg_ratio": 0.7316,
                "bench_appearance_weighted": true,
                "xg_scale": 1.5534,
                "xa_scale": 1.5534,
                "opponent_lambda": 0.898,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.18,
                  "after": 0.2796
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0431,
                  "after": 0.067
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 18 by projected rating, fifa_overall 71.0)",
              "stats": {
                "expected_goals": 0.2796,
                "goal_rate": 0.1408,
                "goals": 0,
                "shots_on_target": 0.4509,
                "total_shots": 1.4523,
                "expected_assists": 0.067,
                "key_pass": 0.6041,
                "rating": 6.6637,
                "minutes": 70.94,
                "total_pass": 7.2575,
                "accurate_pass": 4.7777,
                "duels_won": 2.7603,
                "total_long_balls": 0.3942,
                "accurate_long_balls": 0.3316,
                "total_opp_half_passes": 5.3466,
                "accurate_opp_half_passes": 3.3179,
                "crosses_total": 0.2605,
                "crosses_accurate": 0.1198,
                "touches": 17.5559,
                "possession_lost": 7.382,
                "dispossessed": 1.3427,
                "duels_lost": 5.2408,
                "aerial_lost": 1.5659,
                "total_contest": 1.6579,
                "won_contest": 0.4141,
                "ball_recovery": 1.2465,
                "challenges_lost": 0.4713,
                "fouls": 0.6164,
                "fouls_drawn": 0.1752,
                "assist_rate": 0.1197,
                "assists": 0,
                "interceptions": 0.1949,
                "tackles_won": 0.496,
                "tackles": 0.7111,
                "clearances": 0.2929,
                "blocks": 0.173,
                "big_chances_created": 0.1603,
                "big_chances_missed": 0.4097,
                "xgot": 0.1426,
                "offsides": 0.3938,
                "ball_carries": 4.1608,
                "total_progression": 11.0801,
                "progressive_carries": 0.6049,
                "shots_off_target": 1.0014,
                "duel_xg_multiplier": 1.0358,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.224,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Buba Sangaré, Roy Revivo",
                "opponent_faced": "Buba Sangaré, Roy Revivo",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8296,
                "creation_factor": 1.25,
                "fifa_overall": 71.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 4879,
                "fifa_rank": 5035.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 71.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.2796,
                "goal_rate": 0.1408,
                "goals": 0,
                "shots_on_target": 0.4509,
                "total_shots": 1.4523,
                "expected_assists": 0.067,
                "key_pass": 0.6041,
                "rating": 6.6637,
                "minutes": 70.94,
                "total_pass": 7.2575,
                "accurate_pass": 4.7777,
                "duels_won": 2.7603,
                "total_long_balls": 0.3942,
                "accurate_long_balls": 0.3316,
                "total_opp_half_passes": 5.3466,
                "accurate_opp_half_passes": 3.3179,
                "crosses_total": 0.2605,
                "crosses_accurate": 0.1198,
                "touches": 17.5559,
                "possession_lost": 7.382,
                "dispossessed": 1.3427,
                "duels_lost": 5.2408,
                "aerial_lost": 1.5659,
                "total_contest": 1.6579,
                "won_contest": 0.4141,
                "ball_recovery": 1.2465,
                "challenges_lost": 0.4713,
                "fouls": 0.6164,
                "fouls_drawn": 0.1752,
                "assist_rate": 0.1197,
                "assists": 0,
                "interceptions": 0.1949,
                "tackles_won": 0.496,
                "tackles": 0.7111,
                "clearances": 0.2929,
                "blocks": 0.173,
                "big_chances_created": 0.1603,
                "big_chances_missed": 0.4097,
                "xgot": 0.1426,
                "offsides": 0.3938,
                "ball_carries": 4.1608,
                "total_progression": 11.0801,
                "progressive_carries": 0.6049,
                "shots_off_target": 1.0014,
                "duel_xg_multiplier": 1.0358,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.224,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Buba Sangaré, Roy Revivo",
                "opponent_faced": "Buba Sangaré, Roy Revivo",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.2439,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8296,
                "creation_factor": 1.25,
                "fifa_overall": 71.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.2439,
                "goal_rate": 0.1408,
                "scorer_weight": 0.232,
                "squad_weight_total": 2.1033,
                "weight_share": 0.1103,
                "finishing_factor": 0.8296,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ayoze Pérez",
                    "weight": 0.5937,
                    "already": 0,
                    "effective_weight": 0.5937,
                    "runner_up": "Alberto Moleiro",
                    "runner_up_effective_weight": 0.4755
                  }
                ]
              }
            },
            {
              "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.2796,
                "goal_rate": 0.1408,
                "goals": 0,
                "shots_on_target": 0.4509,
                "total_shots": 1.4523,
                "expected_assists": 0.067,
                "key_pass": 0.6041,
                "rating": 6.6637,
                "minutes": 70.94,
                "total_pass": 7.2575,
                "accurate_pass": 4.7777,
                "duels_won": 2.7603,
                "total_long_balls": 0.3942,
                "accurate_long_balls": 0.3316,
                "total_opp_half_passes": 5.3466,
                "accurate_opp_half_passes": 3.3179,
                "crosses_total": 0.2605,
                "crosses_accurate": 0.1198,
                "touches": 17.5559,
                "possession_lost": 7.382,
                "dispossessed": 1.3427,
                "duels_lost": 5.2408,
                "aerial_lost": 1.5659,
                "total_contest": 1.6579,
                "won_contest": 0.4141,
                "ball_recovery": 1.2465,
                "challenges_lost": 0.4713,
                "fouls": 0.6164,
                "fouls_drawn": 0.1752,
                "assist_rate": 0.1197,
                "assists": 0,
                "interceptions": 0.1949,
                "tackles_won": 0.496,
                "tackles": 0.7111,
                "clearances": 0.2929,
                "blocks": 0.173,
                "big_chances_created": 0.1603,
                "big_chances_missed": 0.4097,
                "xgot": 0.1426,
                "offsides": 0.3938,
                "ball_carries": 4.1608,
                "total_progression": 11.0801,
                "progressive_carries": 0.6049,
                "shots_off_target": 1.0014,
                "duel_xg_multiplier": 1.0358,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.224,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Buba Sangaré, Roy Revivo",
                "opponent_faced": "Buba Sangaré, Roy Revivo",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.2439,
                "projected_assists": 0,
                "assist_probability": 0.0648,
                "finishing_factor": 0.8296,
                "creation_factor": 1.25,
                "fifa_overall": 71.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0648,
                "assist_rate": 0.1197,
                "provider_weight": 0.0838,
                "squad_weight_total": 1.5258,
                "weight_share": 0.0549,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alberto Moleiro",
                    "weight": 0.3984,
                    "already": 0,
                    "effective_weight": 0.3984,
                    "runner_up": "Ilias Akhomach",
                    "runner_up_effective_weight": 0.2463,
                    "blocked_own_goal": [
                      "Ayoze Pérez"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Ayoze Pérez": {
          "player_id": 345195,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 22,
          "height": 180,
          "market_value": 5400000,
          "stats": {
            "expected_goals": 0.4939,
            "goal_rate": 0.3922,
            "goals": 1,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0983,
            "key_pass": 1,
            "rating": 6.8111,
            "minutes": 71,
            "total_pass": 16,
            "accurate_pass": 12,
            "duels_won": 3,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 11,
            "accurate_opp_half_passes": 8,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 28,
            "possession_lost": 8.2617,
            "dispossessed": 0.9096,
            "duels_lost": 5,
            "aerial_lost": 2,
            "total_contest": 2,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 2,
            "assist_rate": 0.304,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 1,
            "xgot": 0.4207,
            "offsides": 0,
            "ball_carries": 9,
            "total_progression": 24,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9719,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.181,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Buba Sangaré, Roy Revivo",
            "opponent_faced": "Buba Sangaré, Roy Revivo",
            "antagonist_source": "attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.3898,
            "projected_assists": 0,
            "assist_probability": 0.0936,
            "finishing_factor": 1.202,
            "creation_factor": 1.25,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16421066,
              "match_date": "2026-10-10",
              "home_team": "Real Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0251,
                "expected_assists": 0.0822,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 16,
                "accurate_pass": 16,
                "key_pass": 2,
                "duels_won": 2,
                "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": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 67,
                "rating": 7.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 2.1039,
                "expected_assists": 0.0451,
                "total_shots": 5,
                "shots_on_target": 3,
                "shots_off_target": 1,
                "total_pass": 14,
                "accurate_pass": 9,
                "key_pass": 1,
                "interceptions": 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": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 63,
                "rating": 6.4,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.6648,
                "expected_assists": 0.2722,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 9,
                "accurate_pass": 6,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 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": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 14,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0085,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 4,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 62,
                "rating": 6.7,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0989,
                "expected_assists": 0.0131,
                "total_shots": 1,
                "total_pass": 20,
                "accurate_pass": 16,
                "key_pass": 1,
                "tackles": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 28,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2649,
                "expected_assists": 0.0355,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 12,
                "accurate_pass": 10,
                "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": 16416302,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 61,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4146,
                "expected_assists": 0.0261,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 25,
                "accurate_pass": 20,
                "key_pass": 1,
                "duels_won": 2,
                "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": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 56,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1276,
                "expected_assists": 0.0107,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 7,
                "accurate_pass": 7,
                "key_pass": 1,
                "tackles": 2,
                "duels_won": 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": 14083735,
              "match_date": "2026-05-24",
              "home_team": "Villarreal",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 75,
                "rating": 9.4,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.4919,
                "expected_assists": 0.047,
                "total_shots": 4,
                "shots_on_target": 2,
                "total_pass": 23,
                "accurate_pass": 18,
                "key_pass": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083682,
              "match_date": "2026-05-17",
              "home_team": "Rayo Vallecano",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1642,
                "expected_assists": 0.3989,
                "total_shots": 1,
                "total_pass": 12,
                "accurate_pass": 9,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 1453,
            "combined_rank_score": 784.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 600.0,
            "sofascore_rating": 6.784,
            "sofascore_appearances": 25.0,
            "fifa_rank": 969.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.8111,
            "source_file": "data/player_rankings.csv",
            "player_name": "Ayoze Pérez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "César Dutra",
                  "ranking": 1448
                },
                {
                  "player_name": "Samed Baždar",
                  "ranking": 1449
                },
                {
                  "player_name": "Curtis Jones",
                  "ranking": 1450
                },
                {
                  "player_name": "Álvaro García",
                  "ranking": 1451
                },
                {
                  "player_name": "Natan",
                  "ranking": 1452
                }
              ],
              "lower": [
                {
                  "player_name": "Mike Penders",
                  "ranking": 1454
                },
                {
                  "player_name": "Jarrad Branthwaite",
                  "ranking": 1455
                },
                {
                  "player_name": "Leonardo Valencia",
                  "ranking": 1456
                },
                {
                  "player_name": "Gulyamkhaydar Gulyamov",
                  "ranking": 1457
                },
                {
                  "player_name": "Lachlan Wales",
                  "ranking": 1458
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.766,
          "history_matches": 33,
          "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",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "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",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 33,
            "data_confidence": 0.766,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9985,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 144.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 3.75,
              "shots_on_target_pct": 50.0,
              "prior_reliability": 0.1067
            },
            "rationale": "XGBoost regressor (F_service) evaluated 33 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Villarreal, rel: 0.11, 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.3276,
                "goals": 0.4078,
                "goal_rate": 0.4078,
                "shots_on_target": 0.8811,
                "total_shots": 2.1389,
                "expected_assists": 0.0634,
                "key_pass": 0.7335,
                "rating": 6.8111,
                "minutes": 71.08,
                "total_pass": 15.5511,
                "accurate_pass": 12.3201,
                "duels_won": 3.241,
                "total_long_balls": 0.7731,
                "accurate_long_balls": 0.5714,
                "total_opp_half_passes": 10.9582,
                "accurate_opp_half_passes": 8.1073,
                "crosses_total": 0.5125,
                "crosses_accurate": 0.0,
                "touches": 28.1203,
                "possession_lost": 8.2741,
                "dispossessed": 0.911,
                "duels_lost": 5.446,
                "aerial_lost": 1.5525,
                "total_contest": 2.1534,
                "won_contest": 0.4812,
                "ball_recovery": 1.9213,
                "challenges_lost": 0.4517,
                "fouls": 0.8585,
                "fouls_drawn": 1.5289,
                "assists": 0.3073,
                "assist_rate": 0.3073,
                "interceptions": 0.2339,
                "tackles_won": 0.2673,
                "tackles": 0.7233,
                "clearances": 0.1803,
                "blocks": 0.0,
                "big_chances_created": 0.319,
                "big_chances_missed": 1.0285,
                "xgot": 0.279,
                "offsides": 0.1127,
                "ball_carries": 8.7478,
                "total_progression": 23.8534,
                "progressive_carries": 0.7915,
                "shots_off_target": 1.2578
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:06:24.593912+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1507,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Levante UD",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.1281,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Málaga CF",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.1089,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Real Betis",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.0926,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.0787,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.0669,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.0568,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 56.0,
                    "is_starting": true,
                    "weight": 0.0483,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Atlético Madrid",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.0411,
                    "rating": 9.4
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalOppositionHalfPasses": 9.7362,
                  "expectedGoals": 0.4783,
                  "accurateOppositionHalfPasses": 7.2091,
                  "accuratePass": 10.4199,
                  "totalShots": 1.955
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.3276262581348419,
                    "model_output": 0.3276,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.058
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0547
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0141
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0141
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0119
                        }
                      ],
                      "others": -0.0227,
                      "total": 0.3276,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.257577
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.193949
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.044518
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.042486
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.034601
                        }
                      ],
                      "others_margin": -0.067096
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.40784499049186707,
                    "model_output": 0.4078,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0743
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.065
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0217
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0222
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0196
                        }
                      ],
                      "others": 0.0016,
                      "total": 0.4078,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.311536
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.210358
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.061422
                        },
                        {
                          "name": "goals",
                          "margin": 0.059142
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.04941
                        }
                      ],
                      "others_margin": 0.004054
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.8810797333717346,
                    "model_output": 0.8811,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1676
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0666
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0531
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0483
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.042
                        }
                      ],
                      "others": -0.0341,
                      "total": 0.8811,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.271303
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.09026
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.066577
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.056919
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.047011
                        }
                      ],
                      "others_margin": -0.038128
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.1388885974884033,
                    "model_output": 2.1389,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5153
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1343
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.049
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0359
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0247
                        }
                      ],
                      "others": 0.0059,
                      "total": 2.1389,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.515279
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.134343
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.049027
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.035909
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.024718
                        }
                      ],
                      "others_margin": 0.005771
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.06344437599182129,
                    "model_output": 0.0634,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0126
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0079
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0063
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0058
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0042
                        }
                      ],
                      "others": -0.0092,
                      "total": 0.0634,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.179722
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.108919
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.09507
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.088924
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.060007
                        }
                      ],
                      "others_margin": -0.136746
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.7335416674613953,
                    "model_output": 0.7335,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1961
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0442
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0258
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0228
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.018
                        }
                      ],
                      "others": -0.0612,
                      "total": 0.7335,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.255544
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.052116
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.03177
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.028961
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.022849
                        }
                      ],
                      "others_margin": -0.079955
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.811134338378906,
                    "model_output": 6.8111,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0562
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0196
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0155
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0154
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0138
                        }
                      ],
                      "others": -0.0372,
                      "total": 6.8111,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.056184
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.019608
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.015529
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.015393
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.013755
                        }
                      ],
                      "others_margin": -0.037121
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 33,
                  "role_matches": 18,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9985, quality 0.467)",
              "stats": {
                "expected_goals": 0.3271,
                "goals": 0.4072,
                "goal_rate": 0.4072,
                "shots_on_target": 0.8798,
                "total_shots": 2.1357,
                "expected_assists": 0.0633,
                "key_pass": 0.7324,
                "rating": 6.8111,
                "minutes": 71.08,
                "total_pass": 15.5278,
                "accurate_pass": 12.3016,
                "duels_won": 3.2361,
                "total_long_balls": 0.7719,
                "accurate_long_balls": 0.5705,
                "total_opp_half_passes": 10.9418,
                "accurate_opp_half_passes": 8.0951,
                "crosses_total": 0.5117,
                "crosses_accurate": 0.0,
                "touches": 28.0781,
                "possession_lost": 8.2617,
                "dispossessed": 0.9096,
                "duels_lost": 5.4378,
                "aerial_lost": 1.5502,
                "total_contest": 2.1502,
                "won_contest": 0.4805,
                "ball_recovery": 1.9184,
                "challenges_lost": 0.451,
                "fouls": 0.8572,
                "fouls_drawn": 1.5266,
                "assists": 0.3068,
                "assist_rate": 0.3068,
                "interceptions": 0.2335,
                "tackles_won": 0.2669,
                "tackles": 0.7222,
                "clearances": 0.18,
                "blocks": 0.0,
                "big_chances_created": 0.3185,
                "big_chances_missed": 1.027,
                "xgot": 0.2786,
                "offsides": 0.1125,
                "ball_carries": 8.7347,
                "total_progression": 23.8176,
                "progressive_carries": 0.7903,
                "shots_off_target": 1.2559
              },
              "params": {
                "market_value_eur": 5400000,
                "quality_factor": 0.4671,
                "boost_factor": 0.9985,
                "reference_quality": 0.505,
                "history_matches": 33,
                "history_shrink": 0.1316,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0091)",
              "stats": {
                "expected_goals": 0.3271,
                "goals": 0.4035,
                "goal_rate": 0.4035,
                "shots_on_target": 0.8852,
                "total_shots": 2.1432,
                "expected_assists": 0.0633,
                "key_pass": 0.7324,
                "rating": 6.8111,
                "minutes": 71.08,
                "total_pass": 15.5278,
                "accurate_pass": 12.3016,
                "duels_won": 3.2361,
                "total_long_balls": 0.7719,
                "accurate_long_balls": 0.5705,
                "total_opp_half_passes": 10.9418,
                "accurate_opp_half_passes": 8.0951,
                "crosses_total": 0.507,
                "crosses_accurate": 0.0,
                "touches": 28.0781,
                "possession_lost": 8.2617,
                "dispossessed": 0.9096,
                "duels_lost": 5.4378,
                "aerial_lost": 1.5502,
                "total_contest": 2.1502,
                "won_contest": 0.4805,
                "ball_recovery": 1.9184,
                "challenges_lost": 0.451,
                "fouls": 0.8584,
                "fouls_drawn": 1.5352,
                "assists": 0.304,
                "assist_rate": 0.304,
                "interceptions": 0.2359,
                "tackles_won": 0.2645,
                "tackles": 0.7222,
                "clearances": 0.18,
                "blocks": 0.0,
                "big_chances_created": 0.3185,
                "big_chances_missed": 1.027,
                "xgot": 0.2786,
                "offsides": 0.1115,
                "ball_carries": 8.7347,
                "total_progression": 23.8176,
                "progressive_carries": 0.7903,
                "shots_off_target": 1.2559
              },
              "params": {
                "blend_weight": 0.0091,
                "history_matches": 33,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.7898,
                "prior_reliability": 0.1067,
                "competition": "La Liga",
                "squad": "Villarreal"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 1.5266,
                  "after": 1.5352
                },
                {
                  "stat": "totalShots",
                  "before": 2.1357,
                  "after": 2.1432
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.8798,
                  "after": 0.8852
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.3271,
                "goals": 0.4035,
                "goal_rate": 0.4035,
                "shots_on_target": 0.8852,
                "total_shots": 2.1432,
                "expected_assists": 0.0633,
                "key_pass": 0.7324,
                "rating": 6.8111,
                "minutes": 71.08,
                "total_pass": 15.5278,
                "accurate_pass": 12.3016,
                "duels_won": 3.2361,
                "total_long_balls": 0.7719,
                "accurate_long_balls": 0.5705,
                "total_opp_half_passes": 10.9418,
                "accurate_opp_half_passes": 8.0951,
                "crosses_total": 0.507,
                "crosses_accurate": 0.0,
                "touches": 28.0781,
                "possession_lost": 8.2617,
                "dispossessed": 0.9096,
                "duels_lost": 5.4378,
                "aerial_lost": 1.5502,
                "total_contest": 2.1502,
                "won_contest": 0.4805,
                "ball_recovery": 1.9184,
                "challenges_lost": 0.451,
                "fouls": 0.8584,
                "fouls_drawn": 1.5352,
                "assists": 0.304,
                "assist_rate": 0.304,
                "interceptions": 0.2359,
                "tackles_won": 0.2645,
                "tackles": 0.7222,
                "clearances": 0.18,
                "blocks": 0.0,
                "big_chances_created": 0.3185,
                "big_chances_missed": 1.027,
                "xgot": 0.2786,
                "offsides": 0.1115,
                "ball_carries": 8.7347,
                "total_progression": 23.8176,
                "progressive_carries": 0.7903,
                "shots_off_target": 1.2559
              },
              "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.3179,
                "goals": 0.3922,
                "goal_rate": 0.3922,
                "shots_on_target": 0.8603,
                "total_shots": 2.083,
                "expected_assists": 0.0633,
                "key_pass": 0.7324,
                "rating": 6.8111,
                "minutes": 71.08,
                "total_pass": 15.5278,
                "accurate_pass": 12.3016,
                "duels_won": 3.2361,
                "total_long_balls": 0.7719,
                "accurate_long_balls": 0.5705,
                "total_opp_half_passes": 10.9418,
                "accurate_opp_half_passes": 8.0951,
                "crosses_total": 0.507,
                "crosses_accurate": 0.0,
                "touches": 28.0781,
                "possession_lost": 8.2617,
                "dispossessed": 0.9096,
                "duels_lost": 5.4378,
                "aerial_lost": 1.5502,
                "total_contest": 2.1502,
                "won_contest": 0.4805,
                "ball_recovery": 1.9184,
                "challenges_lost": 0.451,
                "fouls": 0.8584,
                "fouls_drawn": 1.5352,
                "assists": 0.304,
                "assist_rate": 0.304,
                "interceptions": 0.2359,
                "tackles_won": 0.2645,
                "tackles": 0.7222,
                "clearances": 0.18,
                "blocks": 0.0,
                "big_chances_created": 0.3185,
                "big_chances_missed": 0.9981,
                "xgot": 0.2708,
                "offsides": 0.1115,
                "ball_carries": 8.7347,
                "total_progression": 23.8176,
                "progressive_carries": 0.7903,
                "shots_off_target": 1.2206,
                "duel_xg_multiplier": 0.9719,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.181,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Buba Sangaré, Roy Revivo",
                "opponent_faced": "Buba Sangaré, Roy Revivo",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Buba Sangaré, Roy Revivo",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.181,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.9719,
                  "skill_edge": -0.0051,
                  "height_edge": -0.014,
                  "attacker_skill": 0.4671,
                  "defender_skill": 0.4785,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Buba Sangaré",
                      "market_value": 4900000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4809
                    },
                    {
                      "player": "Roy Revivo",
                      "market_value": 4600000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4761
                    }
                  ],
                  "xg_override": 0.3179
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.1432,
                  "after": 2.083
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.2559,
                  "after": 1.2206
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 1.027,
                  "after": 0.9981
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.8852,
                  "after": 0.8603
                },
                {
                  "stat": "goals",
                  "before": 0.4035,
                  "after": 0.3922
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.3271,
                  "after": 0.3179
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.2786,
                  "after": 0.2708
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.3179,
                "goal_rate": 0.3922,
                "goals": 0,
                "shots_on_target": 0.8603,
                "total_shots": 2.083,
                "expected_assists": 0.0633,
                "key_pass": 0.7324,
                "rating": 6.8111,
                "minutes": 71.08,
                "total_pass": 15.5278,
                "accurate_pass": 12.3016,
                "duels_won": 3.2361,
                "total_long_balls": 0.7719,
                "accurate_long_balls": 0.5705,
                "total_opp_half_passes": 10.9418,
                "accurate_opp_half_passes": 8.0951,
                "crosses_total": 0.507,
                "crosses_accurate": 0.0,
                "touches": 28.0781,
                "possession_lost": 8.2617,
                "dispossessed": 0.9096,
                "duels_lost": 5.4378,
                "aerial_lost": 1.5502,
                "total_contest": 2.1502,
                "won_contest": 0.4805,
                "ball_recovery": 1.9184,
                "challenges_lost": 0.451,
                "fouls": 0.8584,
                "fouls_drawn": 1.5352,
                "assist_rate": 0.304,
                "assists": 0,
                "interceptions": 0.2359,
                "tackles_won": 0.2645,
                "tackles": 0.7222,
                "clearances": 0.18,
                "blocks": 0.0,
                "big_chances_created": 0.3185,
                "big_chances_missed": 0.9981,
                "xgot": 0.2708,
                "offsides": 0.1115,
                "ball_carries": 8.7347,
                "total_progression": 23.8176,
                "progressive_carries": 0.7903,
                "shots_off_target": 1.2206,
                "duel_xg_multiplier": 0.9719,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.181,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Buba Sangaré, Roy Revivo",
                "opponent_faced": "Buba Sangaré, Roy Revivo",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.95 (squad xG sum 1.2540, xG scale 1.5534, xA scale 1.5534, team xA 1.43 = 0.73 x lambda)",
              "stats": {
                "expected_goals": 0.4939,
                "goal_rate": 0.3922,
                "goals": 0,
                "shots_on_target": 0.8603,
                "total_shots": 2.083,
                "expected_assists": 0.0983,
                "key_pass": 0.7324,
                "rating": 6.8111,
                "minutes": 71.08,
                "total_pass": 15.5278,
                "accurate_pass": 12.3016,
                "duels_won": 3.2361,
                "total_long_balls": 0.7719,
                "accurate_long_balls": 0.5705,
                "total_opp_half_passes": 10.9418,
                "accurate_opp_half_passes": 8.0951,
                "crosses_total": 0.507,
                "crosses_accurate": 0.0,
                "touches": 28.0781,
                "possession_lost": 8.2617,
                "dispossessed": 0.9096,
                "duels_lost": 5.4378,
                "aerial_lost": 1.5502,
                "total_contest": 2.1502,
                "won_contest": 0.4805,
                "ball_recovery": 1.9184,
                "challenges_lost": 0.451,
                "fouls": 0.8584,
                "fouls_drawn": 1.5352,
                "assist_rate": 0.304,
                "assists": 0,
                "interceptions": 0.2359,
                "tackles_won": 0.2645,
                "tackles": 0.7222,
                "clearances": 0.18,
                "blocks": 0.0,
                "big_chances_created": 0.3185,
                "big_chances_missed": 0.9981,
                "xgot": 0.4207,
                "offsides": 0.1115,
                "ball_carries": 8.7347,
                "total_progression": 23.8176,
                "progressive_carries": 0.7903,
                "shots_off_target": 1.2206,
                "duel_xg_multiplier": 0.9719,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.181,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Buba Sangaré, Roy Revivo",
                "opponent_faced": "Buba Sangaré, Roy Revivo",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.202,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.948,
                "squad_xg_sum": 1.254,
                "squad_xa_sum": 0.9174,
                "team_expected_assists": 1.4251,
                "team_xa_to_xg_ratio": 0.7316,
                "bench_appearance_weighted": true,
                "xg_scale": 1.5534,
                "xa_scale": 1.5534,
                "opponent_lambda": 0.898,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.3179,
                  "after": 0.4939
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0633,
                  "after": 0.0983
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 12 by projected rating, fifa_overall 79.0)",
              "stats": {
                "expected_goals": 0.4939,
                "goal_rate": 0.3922,
                "goals": 0,
                "shots_on_target": 0.8603,
                "total_shots": 2.083,
                "expected_assists": 0.0983,
                "key_pass": 0.7324,
                "rating": 6.8111,
                "minutes": 71.08,
                "total_pass": 15.5278,
                "accurate_pass": 12.3016,
                "duels_won": 3.2361,
                "total_long_balls": 0.7719,
                "accurate_long_balls": 0.5705,
                "total_opp_half_passes": 10.9418,
                "accurate_opp_half_passes": 8.0951,
                "crosses_total": 0.507,
                "crosses_accurate": 0.0,
                "touches": 28.0781,
                "possession_lost": 8.2617,
                "dispossessed": 0.9096,
                "duels_lost": 5.4378,
                "aerial_lost": 1.5502,
                "total_contest": 2.1502,
                "won_contest": 0.4805,
                "ball_recovery": 1.9184,
                "challenges_lost": 0.451,
                "fouls": 0.8584,
                "fouls_drawn": 1.5352,
                "assist_rate": 0.304,
                "assists": 0,
                "interceptions": 0.2359,
                "tackles_won": 0.2645,
                "tackles": 0.7222,
                "clearances": 0.18,
                "blocks": 0.0,
                "big_chances_created": 0.3185,
                "big_chances_missed": 0.9981,
                "xgot": 0.4207,
                "offsides": 0.1115,
                "ball_carries": 8.7347,
                "total_progression": 23.8176,
                "progressive_carries": 0.7903,
                "shots_off_target": 1.2206,
                "duel_xg_multiplier": 0.9719,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.181,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Buba Sangaré, Roy Revivo",
                "opponent_faced": "Buba Sangaré, Roy Revivo",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.202,
                "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": 1453,
                "fifa_rank": 969.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": {
                "expected_goals": 0.4939,
                "goal_rate": 0.3922,
                "goals": 1,
                "shots_on_target": 0.8603,
                "total_shots": 2.083,
                "expected_assists": 0.0983,
                "key_pass": 0.7324,
                "rating": 6.8111,
                "minutes": 71.08,
                "total_pass": 15.5278,
                "accurate_pass": 12.3016,
                "duels_won": 3.2361,
                "total_long_balls": 0.7719,
                "accurate_long_balls": 0.5705,
                "total_opp_half_passes": 10.9418,
                "accurate_opp_half_passes": 8.0951,
                "crosses_total": 0.507,
                "crosses_accurate": 0.0,
                "touches": 28.0781,
                "possession_lost": 8.2617,
                "dispossessed": 0.9096,
                "duels_lost": 5.4378,
                "aerial_lost": 1.5502,
                "total_contest": 2.1502,
                "won_contest": 0.4805,
                "ball_recovery": 1.9184,
                "challenges_lost": 0.451,
                "fouls": 0.8584,
                "fouls_drawn": 1.5352,
                "assist_rate": 0.304,
                "assists": 0,
                "interceptions": 0.2359,
                "tackles_won": 0.2645,
                "tackles": 0.7222,
                "clearances": 0.18,
                "blocks": 0.0,
                "big_chances_created": 0.3185,
                "big_chances_missed": 0.9981,
                "xgot": 0.4207,
                "offsides": 0.1115,
                "ball_carries": 8.7347,
                "total_progression": 23.8176,
                "progressive_carries": 0.7903,
                "shots_off_target": 1.2206,
                "duel_xg_multiplier": 0.9719,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.181,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Buba Sangaré, Roy Revivo",
                "opponent_faced": "Buba Sangaré, Roy Revivo",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.3898,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.202,
                "creation_factor": 1.25,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 1,
                "goal_probability": 0.3898,
                "goal_rate": 0.3922,
                "scorer_weight": 0.5937,
                "squad_weight_total": 2.1033,
                "weight_share": 0.2823,
                "finishing_factor": 1.202,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ayoze Pérez",
                    "weight": 0.5937,
                    "already": 0,
                    "effective_weight": 0.5937,
                    "runner_up": "Alberto Moleiro",
                    "runner_up_effective_weight": 0.4755
                  }
                ]
              }
            },
            {
              "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.4939,
                "goal_rate": 0.3922,
                "goals": 1,
                "shots_on_target": 0.8603,
                "total_shots": 2.083,
                "expected_assists": 0.0983,
                "key_pass": 0.7324,
                "rating": 6.8111,
                "minutes": 71.08,
                "total_pass": 15.5278,
                "accurate_pass": 12.3016,
                "duels_won": 3.2361,
                "total_long_balls": 0.7719,
                "accurate_long_balls": 0.5705,
                "total_opp_half_passes": 10.9418,
                "accurate_opp_half_passes": 8.0951,
                "crosses_total": 0.507,
                "crosses_accurate": 0.0,
                "touches": 28.0781,
                "possession_lost": 8.2617,
                "dispossessed": 0.9096,
                "duels_lost": 5.4378,
                "aerial_lost": 1.5502,
                "total_contest": 2.1502,
                "won_contest": 0.4805,
                "ball_recovery": 1.9184,
                "challenges_lost": 0.451,
                "fouls": 0.8584,
                "fouls_drawn": 1.5352,
                "assist_rate": 0.304,
                "assists": 0,
                "interceptions": 0.2359,
                "tackles_won": 0.2645,
                "tackles": 0.7222,
                "clearances": 0.18,
                "blocks": 0.0,
                "big_chances_created": 0.3185,
                "big_chances_missed": 0.9981,
                "xgot": 0.4207,
                "offsides": 0.1115,
                "ball_carries": 8.7347,
                "total_progression": 23.8176,
                "progressive_carries": 0.7903,
                "shots_off_target": 1.2206,
                "duel_xg_multiplier": 0.9719,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.181,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Buba Sangaré, Roy Revivo",
                "opponent_faced": "Buba Sangaré, Roy Revivo",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.3898,
                "projected_assists": 0,
                "assist_probability": 0.0936,
                "finishing_factor": 1.202,
                "creation_factor": 1.25,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0936,
                "assist_rate": 0.304,
                "provider_weight": 0.1229,
                "squad_weight_total": 1.5258,
                "weight_share": 0.0805,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alberto Moleiro",
                    "weight": 0.3984,
                    "already": 0,
                    "effective_weight": 0.3984,
                    "runner_up": "Ilias Akhomach",
                    "runner_up_effective_weight": 0.2463,
                    "blocked_own_goal": [
                      "Ayoze Pérez"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Alberto Moleiro": {
          "player_id": 1012444,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 10,
          "height": 172,
          "market_value": 54000000,
          "stats": {
            "expected_goals": 0.446,
            "goal_rate": 0.3094,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 3,
            "expected_assists": 0.3187,
            "key_pass": 2,
            "rating": 7.336,
            "minutes": 79,
            "total_pass": 36,
            "accurate_pass": 31,
            "duels_won": 3,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 27,
            "accurate_opp_half_passes": 23,
            "crosses_total": 3,
            "crosses_accurate": 1,
            "touches": 50,
            "possession_lost": 11.4144,
            "dispossessed": 1.0662,
            "duels_lost": 5,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 3,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.3856,
            "assists": 1,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 1,
            "big_chances_missed": 0,
            "xgot": 0.6659,
            "offsides": 0,
            "ball_carries": 17,
            "total_progression": 79,
            "progressive_carries": 3,
            "shots_off_target": 2,
            "duel_xg_multiplier": 1.1695,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.6,
            "aerial_won": 1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.315,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Buba Sangaré, Roy Revivo",
            "opponent_faced": "Buba Sangaré, Roy Revivo",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.3598,
            "projected_assists": 1,
            "assist_probability": 0.2729,
            "finishing_factor": 1.0662,
            "creation_factor": 1.25,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16421066,
              "match_date": "2026-10-10",
              "home_team": "Real Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 86,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1043,
                "expected_assists": 0.1277,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 32,
                "accurate_pass": 30,
                "key_pass": 3,
                "clearances": 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": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 8.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 0.8805,
                "expected_assists": 0.6499,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 47,
                "accurate_pass": 42,
                "key_pass": 7,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 80,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3466,
                "expected_assists": 0.6761,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 54,
                "accurate_pass": 44,
                "key_pass": 2,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 35,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1381,
                "expected_assists": 0.1304,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 24,
                "accurate_pass": 23,
                "key_pass": 2,
                "tackles": 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": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 62,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2202,
                "expected_assists": 0.158,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 31,
                "accurate_pass": 25,
                "key_pass": 1,
                "tackles": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 27,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2319,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 12,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416302,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 60,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0657,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 26,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 56,
                "rating": 6.7,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.1651,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 26,
                "key_pass": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083735,
              "match_date": "2026-05-24",
              "home_team": "Villarreal",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0207,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 23,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083682,
              "match_date": "2026-05-17",
              "home_team": "Rayo Vallecano",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 5.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2361,
                "expected_assists": 0.0863,
                "total_shots": 2,
                "total_pass": 41,
                "accurate_pass": 34,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 3,
                "duels_won": 2,
                "ball_recovery": 9
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 1102,
            "combined_rank_score": 671.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 494.0,
            "sofascore_rating": 6.8622,
            "sofascore_appearances": 37.0,
            "fifa_rank": 849.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.336,
            "source_file": "data/player_rankings.csv",
            "player_name": "Alberto Moleiro",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Merih Demiral",
                  "ranking": 1097
                },
                {
                  "player_name": "César Azpilicueta",
                  "ranking": 1098
                },
                {
                  "player_name": "Sardor Mirzayev",
                  "ranking": 1099
                },
                {
                  "player_name": "Mukhammadkodir Khamraliev",
                  "ranking": 1100
                },
                {
                  "player_name": "Pascal Groß",
                  "ranking": 1101
                }
              ],
              "lower": [
                {
                  "player_name": "Angelo Stiller",
                  "ranking": 1103
                },
                {
                  "player_name": "Mauro Júnior",
                  "ranking": 1104
                },
                {
                  "player_name": "Konstantinos Tzolakis",
                  "ranking": 1105
                },
                {
                  "player_name": "Pau Torres",
                  "ranking": 1106
                },
                {
                  "player_name": "Ju-yeong Jo",
                  "ranking": 1107
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.766,
          "history_matches": 45,
          "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",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "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",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 45,
            "data_confidence": 0.766,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.01,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 142.0,
              "goals_per90": 0.0,
              "assists_per90": 0.625,
              "shots_per90": 0.0,
              "prior_reliability": 0.1067
            },
            "rationale": "XGBoost regressor (F_service) evaluated 45 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Villarreal, rel: 0.11, gls/90: 0.0, ast/90: 0.625)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.2431,
                "goals": 0.2637,
                "goal_rate": 0.2637,
                "shots_on_target": 0.8178,
                "total_shots": 2.397,
                "expected_assists": 0.2031,
                "key_pass": 2.0792,
                "rating": 7.336,
                "minutes": 78.71,
                "total_pass": 35.5977,
                "accurate_pass": 30.7218,
                "duels_won": 2.4849,
                "total_long_balls": 1.0176,
                "accurate_long_balls": 0.6755,
                "total_opp_half_passes": 26.7984,
                "accurate_opp_half_passes": 22.4892,
                "crosses_total": 2.9173,
                "crosses_accurate": 1.0056,
                "touches": 49.5094,
                "possession_lost": 11.3014,
                "dispossessed": 1.0556,
                "duels_lost": 4.9175,
                "aerial_lost": 0.293,
                "total_contest": 2.3127,
                "won_contest": 0.8534,
                "ball_recovery": 2.5718,
                "challenges_lost": 1.229,
                "fouls": 0.8902,
                "fouls_drawn": 0.7351,
                "assists": 0.3807,
                "assist_rate": 0.3807,
                "interceptions": 0.251,
                "tackles_won": 0.5612,
                "tackles": 0.8656,
                "clearances": 0.3521,
                "blocks": 0.0742,
                "big_chances_created": 0.6135,
                "big_chances_missed": 0.1366,
                "xgot": 0.363,
                "offsides": 0.2319,
                "ball_carries": 17.2623,
                "total_progression": 78.1432,
                "progressive_carries": 3.1116,
                "shots_off_target": 1.5792
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:06:24.593912+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Real Madrid",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.1501,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 8.8
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Málaga CF",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.1084,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Real Betis",
                    "minutes": 35.0,
                    "is_starting": false,
                    "weight": 0.0922,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.0666,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 56.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 5.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalOppositionHalfPasses": 25.7349,
                  "expectedGoals": 0.2189,
                  "accurateOppositionHalfPasses": 22.026,
                  "accuratePass": 28.7854,
                  "totalShots": 1.5838
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.24309247732162476,
                    "model_output": 0.2431,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0697
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0287
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0242
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0131
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": -0.0118
                        }
                      ],
                      "others": -0.0299,
                      "total": 0.2431,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.302096
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.101902
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.085474
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.047218
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": -0.042295
                        }
                      ],
                      "others_margin": -0.115843
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.26374781131744385,
                    "model_output": 0.2637,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0718
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0275
                        },
                        {
                          "name": "goals",
                          "contribution": 0.022
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0147
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0131
                        }
                      ],
                      "others": -0.0044,
                      "total": 0.2637,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.302417
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.105151
                        },
                        {
                          "name": "goals",
                          "margin": 0.085075
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.056023
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.050274
                        }
                      ],
                      "others_margin": -0.016564
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.8178454637527466,
                    "model_output": 0.8178,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1979
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0265
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0241
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.022
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0215
                        }
                      ],
                      "others": 0.0894,
                      "total": 0.8178,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.313379
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.036636
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.034586
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.031576
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.029929
                        }
                      ],
                      "others_margin": 0.115804
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.39703631401062,
                    "model_output": 2.397,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5421
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1307
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0628
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0548
                        },
                        {
                          "name": "goals",
                          "contribution": 0.049
                        }
                      ],
                      "others": 0.1838,
                      "total": 2.397,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.54206
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.13074
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.062817
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.054816
                        },
                        {
                          "name": "goals",
                          "margin": 0.049016
                        }
                      ],
                      "others_margin": 0.183746
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.20306263864040375,
                    "model_output": 0.2031,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0158
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.016
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0118
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0114
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0102
                        }
                      ],
                      "others": 0.0737,
                      "total": 0.2031,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.219435
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.18264
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.116341
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.100217
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.0819
                        }
                      ],
                      "others_margin": 0.450737
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 2.079226493835449,
                    "model_output": 2.0792,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1602
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1645
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.1423
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.1218
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0795
                        }
                      ],
                      "others": 0.7375,
                      "total": 2.0792,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.213481
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.180135
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.133292
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.101491
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.061091
                        }
                      ],
                      "others_margin": 0.437969
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.3359503746032715,
                    "model_output": 7.336,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0662
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0642
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0605
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0537
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0468
                        }
                      ],
                      "others": 0.2775,
                      "total": 7.3359,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.066229
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.064152
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.060531
                        },
                        {
                          "name": "rating",
                          "margin": 0.053672
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.046846
                        }
                      ],
                      "others_margin": 0.277517
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 45,
                  "role_matches": 36,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0100, quality 0.837)",
              "stats": {
                "expected_goals": 0.2455,
                "goals": 0.2664,
                "goal_rate": 0.2664,
                "shots_on_target": 0.826,
                "total_shots": 2.421,
                "expected_assists": 0.2051,
                "key_pass": 2.1,
                "rating": 7.336,
                "minutes": 78.71,
                "total_pass": 35.9537,
                "accurate_pass": 31.029,
                "duels_won": 2.5097,
                "total_long_balls": 1.0278,
                "accurate_long_balls": 0.6823,
                "total_opp_half_passes": 27.0664,
                "accurate_opp_half_passes": 22.7141,
                "crosses_total": 2.9465,
                "crosses_accurate": 1.0157,
                "touches": 50.0045,
                "possession_lost": 11.4144,
                "dispossessed": 1.0662,
                "duels_lost": 4.9667,
                "aerial_lost": 0.2959,
                "total_contest": 2.3358,
                "won_contest": 0.8619,
                "ball_recovery": 2.5975,
                "challenges_lost": 1.2413,
                "fouls": 0.8991,
                "fouls_drawn": 0.7425,
                "assists": 0.3845,
                "assist_rate": 0.3845,
                "interceptions": 0.2535,
                "tackles_won": 0.5668,
                "tackles": 0.8743,
                "clearances": 0.3556,
                "blocks": 0.0749,
                "big_chances_created": 0.6196,
                "big_chances_missed": 0.138,
                "xgot": 0.3666,
                "offsides": 0.2342,
                "ball_carries": 17.4349,
                "total_progression": 78.9246,
                "progressive_carries": 3.1427,
                "shots_off_target": 1.595
              },
              "params": {
                "market_value_eur": 54000000,
                "quality_factor": 0.837,
                "boost_factor": 1.01,
                "reference_quality": 0.505,
                "history_matches": 45,
                "history_shrink": 0.1,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0069)",
              "stats": {
                "expected_goals": 0.2455,
                "goals": 0.2646,
                "goal_rate": 0.2646,
                "shots_on_target": 0.8203,
                "total_shots": 2.4042,
                "expected_assists": 0.2051,
                "key_pass": 2.1,
                "rating": 7.336,
                "minutes": 78.71,
                "total_pass": 35.9537,
                "accurate_pass": 31.029,
                "duels_won": 2.5097,
                "total_long_balls": 1.0278,
                "accurate_long_balls": 0.6823,
                "total_opp_half_passes": 27.0664,
                "accurate_opp_half_passes": 22.7141,
                "crosses_total": 2.945,
                "crosses_accurate": 1.0157,
                "touches": 50.0045,
                "possession_lost": 11.4144,
                "dispossessed": 1.0662,
                "duels_lost": 4.9667,
                "aerial_lost": 0.2959,
                "total_contest": 2.3358,
                "won_contest": 0.8619,
                "ball_recovery": 2.5975,
                "challenges_lost": 1.2413,
                "fouls": 0.8967,
                "fouls_drawn": 0.7411,
                "assists": 0.3856,
                "assist_rate": 0.3856,
                "interceptions": 0.2517,
                "tackles_won": 0.5742,
                "tackles": 0.8743,
                "clearances": 0.3556,
                "blocks": 0.0749,
                "big_chances_created": 0.6196,
                "big_chances_missed": 0.138,
                "xgot": 0.3666,
                "offsides": 0.2364,
                "ball_carries": 17.4349,
                "total_progression": 78.9246,
                "progressive_carries": 3.1427,
                "shots_off_target": 1.595
              },
              "params": {
                "blend_weight": 0.0069,
                "history_matches": 45,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8746,
                "prior_reliability": 0.1067,
                "competition": "La Liga",
                "squad": "Villarreal"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.421,
                  "after": 2.4042
                },
                {
                  "stat": "wonTackle",
                  "before": 0.5668,
                  "after": 0.5742
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.826,
                  "after": 0.8203
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.2455,
                "goals": 0.2646,
                "goal_rate": 0.2646,
                "shots_on_target": 0.8203,
                "total_shots": 2.4153,
                "expected_assists": 0.2051,
                "key_pass": 2.1,
                "rating": 7.336,
                "minutes": 78.71,
                "total_pass": 35.9537,
                "accurate_pass": 31.029,
                "duels_won": 2.5097,
                "total_long_balls": 1.0278,
                "accurate_long_balls": 0.6823,
                "total_opp_half_passes": 27.0664,
                "accurate_opp_half_passes": 22.7141,
                "crosses_total": 2.945,
                "crosses_accurate": 1.0157,
                "touches": 50.0045,
                "possession_lost": 11.4144,
                "dispossessed": 1.0662,
                "duels_lost": 4.9667,
                "aerial_lost": 0.2959,
                "total_contest": 2.3358,
                "won_contest": 0.8619,
                "ball_recovery": 2.5975,
                "challenges_lost": 1.2413,
                "fouls": 0.8967,
                "fouls_drawn": 0.7411,
                "assists": 0.3856,
                "assist_rate": 0.3856,
                "interceptions": 0.2517,
                "tackles_won": 0.5742,
                "tackles": 0.8743,
                "clearances": 0.3556,
                "blocks": 0.0749,
                "big_chances_created": 0.6196,
                "big_chances_missed": 0.138,
                "xgot": 0.3666,
                "offsides": 0.2364,
                "ball_carries": 17.4349,
                "total_progression": 78.9246,
                "progressive_carries": 3.1427,
                "shots_off_target": 1.595
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": true
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "expected_goals": 0.2871,
                "goals": 0.3094,
                "goal_rate": 0.3094,
                "shots_on_target": 0.9593,
                "total_shots": 2.8247,
                "expected_assists": 0.2051,
                "key_pass": 2.1,
                "rating": 7.336,
                "minutes": 78.71,
                "total_pass": 35.9537,
                "accurate_pass": 31.029,
                "duels_won": 2.5097,
                "total_long_balls": 1.0278,
                "accurate_long_balls": 0.6823,
                "total_opp_half_passes": 27.0664,
                "accurate_opp_half_passes": 22.7141,
                "crosses_total": 2.945,
                "crosses_accurate": 1.0157,
                "touches": 50.0045,
                "possession_lost": 11.4144,
                "dispossessed": 1.0662,
                "duels_lost": 4.9667,
                "aerial_lost": 0.2959,
                "total_contest": 2.3358,
                "won_contest": 0.8619,
                "ball_recovery": 2.5975,
                "challenges_lost": 1.2413,
                "fouls": 0.8967,
                "fouls_drawn": 0.7411,
                "assists": 0.3856,
                "assist_rate": 0.3856,
                "interceptions": 0.2517,
                "tackles_won": 0.5742,
                "tackles": 0.8743,
                "clearances": 0.3556,
                "blocks": 0.0749,
                "big_chances_created": 0.6196,
                "big_chances_missed": 0.1614,
                "xgot": 0.4287,
                "offsides": 0.2364,
                "ball_carries": 17.4349,
                "total_progression": 78.9246,
                "progressive_carries": 3.1427,
                "shots_off_target": 1.8654,
                "duel_xg_multiplier": 1.1695,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "aerial_won": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.315,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Buba Sangaré, Roy Revivo",
                "opponent_faced": "Buba Sangaré, Roy Revivo",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Buba Sangaré, Roy Revivo",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.315,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 1.1695,
                  "skill_edge": 0.1613,
                  "height_edge": -0.046,
                  "attacker_skill": 0.837,
                  "defender_skill": 0.4785,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Buba Sangaré",
                      "market_value": 4900000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4809
                    },
                    {
                      "player": "Roy Revivo",
                      "market_value": 4600000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4761
                    }
                  ],
                  "xg_override": 0.2871
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.4153,
                  "after": 2.8247
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.595,
                  "after": 1.8654
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.8203,
                  "after": 0.9593
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.3666,
                  "after": 0.4287
                },
                {
                  "stat": "goals",
                  "before": 0.2646,
                  "after": 0.3094
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.2455,
                  "after": 0.2871
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.138,
                  "after": 0.1614
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.2871,
                "goal_rate": 0.3094,
                "goals": 0,
                "shots_on_target": 0.9593,
                "total_shots": 2.8247,
                "expected_assists": 0.2051,
                "key_pass": 2.1,
                "rating": 7.336,
                "minutes": 78.71,
                "total_pass": 35.9537,
                "accurate_pass": 31.029,
                "duels_won": 2.5097,
                "total_long_balls": 1.0278,
                "accurate_long_balls": 0.6823,
                "total_opp_half_passes": 27.0664,
                "accurate_opp_half_passes": 22.7141,
                "crosses_total": 2.945,
                "crosses_accurate": 1.0157,
                "touches": 50.0045,
                "possession_lost": 11.4144,
                "dispossessed": 1.0662,
                "duels_lost": 4.9667,
                "aerial_lost": 0.2959,
                "total_contest": 2.3358,
                "won_contest": 0.8619,
                "ball_recovery": 2.5975,
                "challenges_lost": 1.2413,
                "fouls": 0.8967,
                "fouls_drawn": 0.7411,
                "assist_rate": 0.3856,
                "assists": 0,
                "interceptions": 0.2517,
                "tackles_won": 0.5742,
                "tackles": 0.8743,
                "clearances": 0.3556,
                "blocks": 0.0749,
                "big_chances_created": 0.6196,
                "big_chances_missed": 0.1614,
                "xgot": 0.4287,
                "offsides": 0.2364,
                "ball_carries": 17.4349,
                "total_progression": 78.9246,
                "progressive_carries": 3.1427,
                "shots_off_target": 1.8654,
                "duel_xg_multiplier": 1.1695,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "aerial_won": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.315,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Buba Sangaré, Roy Revivo",
                "opponent_faced": "Buba Sangaré, Roy Revivo",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.95 (squad xG sum 1.2540, xG scale 1.5534, xA scale 1.5534, team xA 1.43 = 0.73 x lambda)",
              "stats": {
                "expected_goals": 0.446,
                "goal_rate": 0.3094,
                "goals": 0,
                "shots_on_target": 0.9593,
                "total_shots": 2.8247,
                "expected_assists": 0.3187,
                "key_pass": 2.1,
                "rating": 7.336,
                "minutes": 78.71,
                "total_pass": 35.9537,
                "accurate_pass": 31.029,
                "duels_won": 2.5097,
                "total_long_balls": 1.0278,
                "accurate_long_balls": 0.6823,
                "total_opp_half_passes": 27.0664,
                "accurate_opp_half_passes": 22.7141,
                "crosses_total": 2.945,
                "crosses_accurate": 1.0157,
                "touches": 50.0045,
                "possession_lost": 11.4144,
                "dispossessed": 1.0662,
                "duels_lost": 4.9667,
                "aerial_lost": 0.2959,
                "total_contest": 2.3358,
                "won_contest": 0.8619,
                "ball_recovery": 2.5975,
                "challenges_lost": 1.2413,
                "fouls": 0.8967,
                "fouls_drawn": 0.7411,
                "assist_rate": 0.3856,
                "assists": 0,
                "interceptions": 0.2517,
                "tackles_won": 0.5742,
                "tackles": 0.8743,
                "clearances": 0.3556,
                "blocks": 0.0749,
                "big_chances_created": 0.6196,
                "big_chances_missed": 0.1614,
                "xgot": 0.6659,
                "offsides": 0.2364,
                "ball_carries": 17.4349,
                "total_progression": 78.9246,
                "progressive_carries": 3.1427,
                "shots_off_target": 1.8654,
                "duel_xg_multiplier": 1.1695,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "aerial_won": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.315,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Buba Sangaré, Roy Revivo",
                "opponent_faced": "Buba Sangaré, Roy Revivo",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0662,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.948,
                "squad_xg_sum": 1.254,
                "squad_xa_sum": 0.9174,
                "team_expected_assists": 1.4251,
                "team_xa_to_xg_ratio": 0.7316,
                "bench_appearance_weighted": true,
                "xg_scale": 1.5534,
                "xa_scale": 1.5534,
                "opponent_lambda": 0.898,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2871,
                  "after": 0.446
                },
                {
                  "stat": "expected_assists",
                  "before": 0.2051,
                  "after": 0.3187
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 1 by projected rating, fifa_overall 79.0)",
              "stats": {
                "expected_goals": 0.446,
                "goal_rate": 0.3094,
                "goals": 0,
                "shots_on_target": 0.9593,
                "total_shots": 2.8247,
                "expected_assists": 0.3187,
                "key_pass": 2.1,
                "rating": 7.336,
                "minutes": 78.71,
                "total_pass": 35.9537,
                "accurate_pass": 31.029,
                "duels_won": 2.5097,
                "total_long_balls": 1.0278,
                "accurate_long_balls": 0.6823,
                "total_opp_half_passes": 27.0664,
                "accurate_opp_half_passes": 22.7141,
                "crosses_total": 2.945,
                "crosses_accurate": 1.0157,
                "touches": 50.0045,
                "possession_lost": 11.4144,
                "dispossessed": 1.0662,
                "duels_lost": 4.9667,
                "aerial_lost": 0.2959,
                "total_contest": 2.3358,
                "won_contest": 0.8619,
                "ball_recovery": 2.5975,
                "challenges_lost": 1.2413,
                "fouls": 0.8967,
                "fouls_drawn": 0.7411,
                "assist_rate": 0.3856,
                "assists": 0,
                "interceptions": 0.2517,
                "tackles_won": 0.5742,
                "tackles": 0.8743,
                "clearances": 0.3556,
                "blocks": 0.0749,
                "big_chances_created": 0.6196,
                "big_chances_missed": 0.1614,
                "xgot": 0.6659,
                "offsides": 0.2364,
                "ball_carries": 17.4349,
                "total_progression": 78.9246,
                "progressive_carries": 3.1427,
                "shots_off_target": 1.8654,
                "duel_xg_multiplier": 1.1695,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "aerial_won": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.315,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Buba Sangaré, Roy Revivo",
                "opponent_faced": "Buba Sangaré, Roy Revivo",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0662,
                "creation_factor": 1.25,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 1,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1102,
                "fifa_rank": 849.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "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": {
                "expected_goals": 0.446,
                "goal_rate": 0.3094,
                "goals": 0,
                "shots_on_target": 0.9593,
                "total_shots": 2.8247,
                "expected_assists": 0.3187,
                "key_pass": 2.1,
                "rating": 7.336,
                "minutes": 78.71,
                "total_pass": 35.9537,
                "accurate_pass": 31.029,
                "duels_won": 2.5097,
                "total_long_balls": 1.0278,
                "accurate_long_balls": 0.6823,
                "total_opp_half_passes": 27.0664,
                "accurate_opp_half_passes": 22.7141,
                "crosses_total": 2.945,
                "crosses_accurate": 1.0157,
                "touches": 50.0045,
                "possession_lost": 11.4144,
                "dispossessed": 1.0662,
                "duels_lost": 4.9667,
                "aerial_lost": 0.2959,
                "total_contest": 2.3358,
                "won_contest": 0.8619,
                "ball_recovery": 2.5975,
                "challenges_lost": 1.2413,
                "fouls": 0.8967,
                "fouls_drawn": 0.7411,
                "assist_rate": 0.3856,
                "assists": 0,
                "interceptions": 0.2517,
                "tackles_won": 0.5742,
                "tackles": 0.8743,
                "clearances": 0.3556,
                "blocks": 0.0749,
                "big_chances_created": 0.6196,
                "big_chances_missed": 0.1614,
                "xgot": 0.6659,
                "offsides": 0.2364,
                "ball_carries": 17.4349,
                "total_progression": 78.9246,
                "progressive_carries": 3.1427,
                "shots_off_target": 1.8654,
                "duel_xg_multiplier": 1.1695,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "aerial_won": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.315,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Buba Sangaré, Roy Revivo",
                "opponent_faced": "Buba Sangaré, Roy Revivo",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.3598,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0662,
                "creation_factor": 1.25,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.3598,
                "goal_rate": 0.3094,
                "scorer_weight": 0.4755,
                "squad_weight_total": 2.1033,
                "weight_share": 0.2261,
                "finishing_factor": 1.0662,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ayoze Pérez",
                    "weight": 0.5937,
                    "already": 0,
                    "effective_weight": 0.5937,
                    "runner_up": "Alberto Moleiro",
                    "runner_up_effective_weight": 0.4755
                  }
                ]
              }
            },
            {
              "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.446,
                "goal_rate": 0.3094,
                "goals": 0,
                "shots_on_target": 0.9593,
                "total_shots": 2.8247,
                "expected_assists": 0.3187,
                "key_pass": 2.1,
                "rating": 7.336,
                "minutes": 78.71,
                "total_pass": 35.9537,
                "accurate_pass": 31.029,
                "duels_won": 2.5097,
                "total_long_balls": 1.0278,
                "accurate_long_balls": 0.6823,
                "total_opp_half_passes": 27.0664,
                "accurate_opp_half_passes": 22.7141,
                "crosses_total": 2.945,
                "crosses_accurate": 1.0157,
                "touches": 50.0045,
                "possession_lost": 11.4144,
                "dispossessed": 1.0662,
                "duels_lost": 4.9667,
                "aerial_lost": 0.2959,
                "total_contest": 2.3358,
                "won_contest": 0.8619,
                "ball_recovery": 2.5975,
                "challenges_lost": 1.2413,
                "fouls": 0.8967,
                "fouls_drawn": 0.7411,
                "assist_rate": 0.3856,
                "assists": 1,
                "interceptions": 0.2517,
                "tackles_won": 0.5742,
                "tackles": 0.8743,
                "clearances": 0.3556,
                "blocks": 0.0749,
                "big_chances_created": 0.6196,
                "big_chances_missed": 0.1614,
                "xgot": 0.6659,
                "offsides": 0.2364,
                "ball_carries": 17.4349,
                "total_progression": 78.9246,
                "progressive_carries": 3.1427,
                "shots_off_target": 1.8654,
                "duel_xg_multiplier": 1.1695,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "aerial_won": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.315,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Buba Sangaré, Roy Revivo",
                "opponent_faced": "Buba Sangaré, Roy Revivo",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.3598,
                "projected_assists": 1,
                "assist_probability": 0.2729,
                "finishing_factor": 1.0662,
                "creation_factor": 1.25,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 1,
                "assist_probability": 0.2729,
                "assist_rate": 0.3856,
                "provider_weight": 0.3984,
                "squad_weight_total": 1.5258,
                "weight_share": 0.2611,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alberto Moleiro",
                    "weight": 0.3984,
                    "already": 0,
                    "effective_weight": 0.3984,
                    "runner_up": "Ilias Akhomach",
                    "runner_up_effective_weight": 0.2463,
                    "blocked_own_goal": [
                      "Ayoze Pérez"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Santi Comesaña": {
          "player_id": 843678,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 14,
          "height": 187,
          "market_value": 8400000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1292,
            "assist_rate": 0.0652,
            "assists": 0,
            "expected_goals": 0.091,
            "goal_rate": 0.055,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.9332,
            "minutes": 71,
            "total_pass": 43,
            "accurate_pass": 38,
            "duels_won": 3,
            "total_long_balls": 2,
            "accurate_long_balls": 2,
            "total_own_half_passes": 18,
            "accurate_own_half_passes": 17,
            "total_opp_half_passes": 25,
            "accurate_opp_half_passes": 21,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 54,
            "possession_lost": 7.4379,
            "dispossessed": 0.5036,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 2,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1637,
            "ball_carries": 13,
            "total_progression": 41,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "duel_xg_multiplier": 1.0275,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.2,
            "crosses_attempted": 2.2,
            "duel_win_rate": 0.439,
            "pressing_faced": "LOW",
            "matchup_zone": "Left Mid vs Right Back — Wide Channel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Matías Dituro",
            "opponent_faced": "Matías Dituro",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.087,
            "projected_assists": 0,
            "assist_probability": 0.1212,
            "finishing_factor": 0.9669,
            "creation_factor": 0.8649,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16421066,
              "match_date": "2026-10-10",
              "home_team": "Real Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 56,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0084,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 20,
                "tackles": 1,
                "tackles_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": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 37,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0953,
                "total_shots": 0,
                "total_pass": 42,
                "accurate_pass": 41,
                "key_pass": 1,
                "interceptions": 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": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5685,
                "expected_assists": 0.0428,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 70,
                "accurate_pass": 65,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 3,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 6
              },
              "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": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 28,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0293,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 24,
                "key_pass": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 62,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0546,
                "total_shots": 0,
                "total_pass": 54,
                "accurate_pass": 46,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416302,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 84,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0171,
                "total_shots": 0,
                "total_pass": 50,
                "accurate_pass": 43,
                "interceptions": 1,
                "clearances": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 56,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.459,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 26,
                "tackles": 4,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 2,
                "duels_won": 5,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083682,
              "match_date": "2026-05-17",
              "home_team": "Rayo Vallecano",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 64,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0196,
                "expected_assists": 0.0162,
                "total_shots": 1,
                "total_pass": 26,
                "accurate_pass": 23,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083644,
              "match_date": "2026-05-13",
              "home_team": "Villarreal",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 20,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0086,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 12,
                "key_pass": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083573,
              "match_date": "2026-05-10",
              "home_team": "Mallorca",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 75,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0103,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 30,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 1902,
            "combined_rank_score": 735.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 511.0,
            "sofascore_rating": 6.85,
            "sofascore_appearances": 34.0,
            "fifa_rank": 960.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9332,
            "source_file": "data/player_rankings.csv",
            "player_name": "Santi Comesaña",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jeong-hwan Kim",
                  "ranking": 1897
                },
                {
                  "player_name": "Ahmet Arslan",
                  "ranking": 1898
                },
                {
                  "player_name": "Matteo Gabbia",
                  "ranking": 1899
                },
                {
                  "player_name": "Otabek Jurakuziev",
                  "ranking": 1900
                },
                {
                  "player_name": "Choi Han-sol",
                  "ranking": 1901
                }
              ],
              "lower": [
                {
                  "player_name": "Federico Lanzillotta",
                  "ranking": 1903
                },
                {
                  "player_name": "Dong-su Lee",
                  "ranking": 1904
                },
                {
                  "player_name": "Armand Laurienté",
                  "ranking": 1905
                },
                {
                  "player_name": "Álex Jiménez",
                  "ranking": 1906
                },
                {
                  "player_name": "Carlos Baleba",
                  "ranking": 1907
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.772,
          "history_matches": 41,
          "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",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "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",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 41,
            "data_confidence": 0.772,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 199.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.1467
            },
            "rationale": "XGBoost regressor (M_service) evaluated 41 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Villarreal, 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": 0.8028,
                "expected_assists": 0.0832,
                "assists": 0.0659,
                "assist_rate": 0.0659,
                "expected_goals": 0.057,
                "goals": 0.0541,
                "goal_rate": 0.0541,
                "shots_on_target": 0.1831,
                "total_shots": 0.6257,
                "rating": 6.9332,
                "minutes": 70.67,
                "total_pass": 42.9083,
                "accurate_pass": 37.8468,
                "duels_won": 2.8458,
                "total_long_balls": 2.2378,
                "accurate_long_balls": 1.6552,
                "total_own_half_passes": 18.1303,
                "accurate_own_half_passes": 16.6594,
                "total_opp_half_passes": 24.7781,
                "accurate_opp_half_passes": 21.1875,
                "crosses_total": 0.545,
                "crosses_accurate": 0.1287,
                "touches": 54.2001,
                "possession_lost": 7.4379,
                "dispossessed": 0.5036,
                "duels_lost": 3.7858,
                "aerial_won": 0.2604,
                "aerial_lost": 0.6031,
                "interceptions": 1.2099,
                "tackles_won": 0.9166,
                "tackles": 1.2599,
                "clearances": 1.1451,
                "total_contest": 0.6316,
                "won_contest": 0.2851,
                "challenges_lost": 0.7926,
                "fouls": 1.5567,
                "fouls_drawn": 1.0404,
                "blocks": 0.4888,
                "big_chances_created": 0.0407,
                "big_chances_missed": 0.1606,
                "xgot": 0.1026,
                "ball_carries": 13.012,
                "total_progression": 40.8809,
                "progressive_carries": 0.9313,
                "shots_off_target": 0.4426
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-17T10:05:52.581708+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Real Madrid",
                    "minutes": 56.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Málaga CF",
                    "minutes": 37.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.0922,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 56.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Rayo Vallecano",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Sevilla",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.0409,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Mallorca",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.3265,
                  "creative_index": 0.3257,
                  "expectedGoals": 0.083,
                  "expectedAssists": 0.0744,
                  "onTargetScoringAttempt": 0.1473
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.8028249740600586,
                    "model_output": 0.8028,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1108
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0932
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0725
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0302
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0252
                        }
                      ],
                      "others": 0.0201,
                      "total": 0.8028,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.116993
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.097487
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.08301
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.036762
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.031734
                        }
                      ],
                      "others_margin": 0.02557
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.08317725360393524,
                    "model_output": 0.0832,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0125
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0107
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0038
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0037
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0029
                        }
                      ],
                      "others": -0.007,
                      "total": 0.0832,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.136519
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.115872
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.044686
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.043602
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.032989
                        }
                      ],
                      "others_margin": -0.081734
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.06590430438518524,
                    "model_output": 0.0659,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0083
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0066
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0064
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0049
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0022
                        }
                      ],
                      "others": -0.0061,
                      "total": 0.0659,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.099588
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.080712
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.077421
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.064142
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.030493
                        }
                      ],
                      "others_margin": -0.089547
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.05700519680976868,
                    "model_output": 0.057,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0173
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0111
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0089
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0053
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0035
                        }
                      ],
                      "others": -0.0134,
                      "total": 0.057,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.202157
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.134063
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.106483
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.069014
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.04912
                        }
                      ],
                      "others_margin": -0.210576
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.05405457690358162,
                    "model_output": 0.0541,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0194
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0126
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0077
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0053
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0044
                        }
                      ],
                      "others": -0.0097,
                      "total": 0.0541,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.22139
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.176018
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.110502
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.075296
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.067452
                        }
                      ],
                      "others_margin": -0.163159
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.18311657011508942,
                    "model_output": 0.1831,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0855
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0328
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0294
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.016
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0119
                        }
                      ],
                      "others": -0.0258,
                      "total": 0.1831,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.304267
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.146888
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.132646
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.070102
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.055613
                        }
                      ],
                      "others_margin": -0.13172
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6256745457649231,
                    "model_output": 0.6257,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2852
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.121
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.049
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0458
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0192
                        }
                      ],
                      "others": -0.0916,
                      "total": 0.6257,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.285161
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.120968
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.049024
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.045824
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.019244
                        }
                      ],
                      "others_margin": -0.091575
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.933176517486572,
                    "model_output": 6.9332,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0796
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0334
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0333
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0204
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0178
                        }
                      ],
                      "others": -0.002,
                      "total": 6.9332,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.07957
                        },
                        {
                          "name": "rating",
                          "margin": -0.033442
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.033339
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.020424
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.017778
                        }
                      ],
                      "others_margin": -0.001993
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 41,
                  "role_matches": 34,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0000, quality 0.503)",
              "stats": {
                "key_pass": 0.8028,
                "expected_assists": 0.0832,
                "assists": 0.0659,
                "assist_rate": 0.0659,
                "expected_goals": 0.057,
                "goals": 0.0541,
                "goal_rate": 0.0541,
                "shots_on_target": 0.1831,
                "total_shots": 0.6257,
                "rating": 6.9332,
                "minutes": 70.67,
                "total_pass": 42.9083,
                "accurate_pass": 37.8468,
                "duels_won": 2.8458,
                "total_long_balls": 2.2378,
                "accurate_long_balls": 1.6552,
                "total_own_half_passes": 18.1303,
                "accurate_own_half_passes": 16.6594,
                "total_opp_half_passes": 24.7781,
                "accurate_opp_half_passes": 21.1875,
                "crosses_total": 0.545,
                "crosses_accurate": 0.1287,
                "touches": 54.2001,
                "possession_lost": 7.4379,
                "dispossessed": 0.5036,
                "duels_lost": 3.7858,
                "aerial_won": 0.2604,
                "aerial_lost": 0.6031,
                "interceptions": 1.2099,
                "tackles_won": 0.9166,
                "tackles": 1.2599,
                "clearances": 1.1451,
                "total_contest": 0.6316,
                "won_contest": 0.2851,
                "challenges_lost": 0.7926,
                "fouls": 1.5567,
                "fouls_drawn": 1.0404,
                "blocks": 0.4888,
                "big_chances_created": 0.0407,
                "big_chances_missed": 0.1606,
                "xgot": 0.1026,
                "ball_carries": 13.012,
                "total_progression": 40.8809,
                "progressive_carries": 0.9313,
                "shots_off_target": 0.4426
              },
              "params": {
                "market_value_eur": 8400000,
                "quality_factor": 0.5035,
                "boost_factor": 1.0,
                "reference_quality": 0.505,
                "history_matches": 41,
                "history_shrink": 0.1087,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0104)",
              "stats": {
                "key_pass": 0.8028,
                "expected_assists": 0.0832,
                "assists": 0.0652,
                "assist_rate": 0.0652,
                "expected_goals": 0.057,
                "goals": 0.0535,
                "goal_rate": 0.0535,
                "shots_on_target": 0.1812,
                "total_shots": 0.6192,
                "rating": 6.9332,
                "minutes": 70.67,
                "total_pass": 42.9083,
                "accurate_pass": 37.8468,
                "duels_won": 2.8458,
                "total_long_balls": 2.2378,
                "accurate_long_balls": 1.6552,
                "total_own_half_passes": 18.1303,
                "accurate_own_half_passes": 16.6594,
                "total_opp_half_passes": 24.7781,
                "accurate_opp_half_passes": 21.1875,
                "crosses_total": 0.5394,
                "crosses_accurate": 0.1287,
                "touches": 54.2001,
                "possession_lost": 7.4379,
                "dispossessed": 0.5036,
                "duels_lost": 3.7858,
                "aerial_won": 0.2604,
                "aerial_lost": 0.6031,
                "interceptions": 1.2085,
                "tackles_won": 0.9219,
                "tackles": 1.2599,
                "clearances": 1.1451,
                "total_contest": 0.6316,
                "won_contest": 0.2851,
                "challenges_lost": 0.7926,
                "fouls": 1.5628,
                "fouls_drawn": 1.0333,
                "blocks": 0.4888,
                "big_chances_created": 0.0407,
                "big_chances_missed": 0.1606,
                "xgot": 0.1026,
                "ball_carries": 13.012,
                "total_progression": 40.8809,
                "progressive_carries": 0.9313,
                "shots_off_target": 0.4426
              },
              "params": {
                "blend_weight": 0.0104,
                "history_matches": 41,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.7852,
                "prior_reliability": 0.1467,
                "competition": "La Liga",
                "squad": "Villarreal"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 1.0404,
                  "after": 1.0333
                },
                {
                  "stat": "totalShots",
                  "before": 0.6257,
                  "after": 0.6192
                },
                {
                  "stat": "fouls",
                  "before": 1.5567,
                  "after": 1.5628
                },
                {
                  "stat": "totalCross",
                  "before": 0.545,
                  "after": 0.5394
                },
                {
                  "stat": "wonTackle",
                  "before": 0.9166,
                  "after": 0.9219
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.8028,
                "expected_assists": 0.0832,
                "assists": 0.0652,
                "assist_rate": 0.0652,
                "expected_goals": 0.057,
                "goals": 0.0535,
                "goal_rate": 0.0535,
                "shots_on_target": 0.1812,
                "total_shots": 0.6238,
                "rating": 6.9332,
                "minutes": 70.67,
                "total_pass": 42.9083,
                "accurate_pass": 37.8468,
                "duels_won": 2.8458,
                "total_long_balls": 2.2378,
                "accurate_long_balls": 1.6552,
                "total_own_half_passes": 18.1303,
                "accurate_own_half_passes": 16.6594,
                "total_opp_half_passes": 24.7781,
                "accurate_opp_half_passes": 21.1875,
                "crosses_total": 0.5394,
                "crosses_accurate": 0.1287,
                "touches": 54.2001,
                "possession_lost": 7.4379,
                "dispossessed": 0.5036,
                "duels_lost": 3.7858,
                "aerial_won": 0.2604,
                "aerial_lost": 0.6031,
                "interceptions": 1.2085,
                "tackles_won": 0.9219,
                "tackles": 1.2599,
                "clearances": 1.1451,
                "total_contest": 0.6316,
                "won_contest": 0.2851,
                "challenges_lost": 0.7926,
                "fouls": 1.5628,
                "fouls_drawn": 1.0333,
                "blocks": 0.4888,
                "big_chances_created": 0.0407,
                "big_chances_missed": 0.1606,
                "xgot": 0.1026,
                "ball_carries": 13.012,
                "total_progression": 40.8809,
                "progressive_carries": 0.9313,
                "shots_off_target": 0.4426
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 0.8028,
                "expected_assists": 0.0832,
                "assists": 0.0652,
                "assist_rate": 0.0652,
                "expected_goals": 0.0586,
                "goals": 0.055,
                "goal_rate": 0.055,
                "shots_on_target": 0.1862,
                "total_shots": 0.641,
                "rating": 6.9332,
                "minutes": 70.67,
                "total_pass": 42.9083,
                "accurate_pass": 37.8468,
                "duels_won": 2.8458,
                "total_long_balls": 2.2378,
                "accurate_long_balls": 1.6552,
                "total_own_half_passes": 18.1303,
                "accurate_own_half_passes": 16.6594,
                "total_opp_half_passes": 24.7781,
                "accurate_opp_half_passes": 21.1875,
                "crosses_total": 0.5394,
                "crosses_accurate": 0.1287,
                "touches": 54.2001,
                "possession_lost": 7.4379,
                "dispossessed": 0.5036,
                "duels_lost": 3.7858,
                "aerial_won": 1.2,
                "aerial_lost": 0.6031,
                "interceptions": 1.2085,
                "tackles_won": 0.9219,
                "tackles": 1.2599,
                "clearances": 1.1451,
                "total_contest": 0.6316,
                "won_contest": 0.2851,
                "challenges_lost": 0.7926,
                "fouls": 1.5628,
                "fouls_drawn": 1.0333,
                "blocks": 0.4888,
                "big_chances_created": 0.0407,
                "big_chances_missed": 0.165,
                "xgot": 0.1054,
                "ball_carries": 13.012,
                "total_progression": 40.8809,
                "progressive_carries": 0.9313,
                "shots_off_target": 0.4548,
                "duel_xg_multiplier": 1.0275,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.2,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.439,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Matías Dituro",
                "opponent_faced": "Matías Dituro",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Matías Dituro",
                  "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                  "duel_win_rate": 0.439,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.0275,
                  "skill_edge": 0.0347,
                  "height_edge": -0.016,
                  "attacker_skill": 0.5146,
                  "defender_skill": 0.4374,
                  "attacker_role": "LM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Matías Dituro",
                      "market_value": 105000,
                      "role": "GK",
                      "price_index": 0.55,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.0586
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.2604,
                  "after": 1.2
                },
                {
                  "stat": "totalShots",
                  "before": 0.6238,
                  "after": 0.641
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.4426,
                  "after": 0.4548
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1812,
                  "after": 0.1862
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.8028,
                "expected_assists": 0.0832,
                "assist_rate": 0.0652,
                "assists": 0,
                "expected_goals": 0.0586,
                "goal_rate": 0.055,
                "goals": 0,
                "shots_on_target": 0.1862,
                "total_shots": 0.641,
                "rating": 6.9332,
                "minutes": 70.67,
                "total_pass": 42.9083,
                "accurate_pass": 37.8468,
                "duels_won": 2.8458,
                "total_long_balls": 2.2378,
                "accurate_long_balls": 1.6552,
                "total_own_half_passes": 18.1303,
                "accurate_own_half_passes": 16.6594,
                "total_opp_half_passes": 24.7781,
                "accurate_opp_half_passes": 21.1875,
                "crosses_total": 0.5394,
                "crosses_accurate": 0.1287,
                "touches": 54.2001,
                "possession_lost": 7.4379,
                "dispossessed": 0.5036,
                "duels_lost": 3.7858,
                "aerial_won": 1.2,
                "aerial_lost": 0.6031,
                "interceptions": 1.2085,
                "tackles_won": 0.9219,
                "tackles": 1.2599,
                "clearances": 1.1451,
                "total_contest": 0.6316,
                "won_contest": 0.2851,
                "challenges_lost": 0.7926,
                "fouls": 1.5628,
                "fouls_drawn": 1.0333,
                "blocks": 0.4888,
                "big_chances_created": 0.0407,
                "big_chances_missed": 0.165,
                "xgot": 0.1054,
                "ball_carries": 13.012,
                "total_progression": 40.8809,
                "progressive_carries": 0.9313,
                "shots_off_target": 0.4548,
                "duel_xg_multiplier": 1.0275,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.2,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.439,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Matías Dituro",
                "opponent_faced": "Matías Dituro",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.95 (squad xG sum 1.2540, xG scale 1.5534, xA scale 1.5534, team xA 1.43 = 0.73 x lambda)",
              "stats": {
                "key_pass": 0.8028,
                "expected_assists": 0.1292,
                "assist_rate": 0.0652,
                "assists": 0,
                "expected_goals": 0.091,
                "goal_rate": 0.055,
                "goals": 0,
                "shots_on_target": 0.1862,
                "total_shots": 0.641,
                "rating": 6.9332,
                "minutes": 70.67,
                "total_pass": 42.9083,
                "accurate_pass": 37.8468,
                "duels_won": 2.8458,
                "total_long_balls": 2.2378,
                "accurate_long_balls": 1.6552,
                "total_own_half_passes": 18.1303,
                "accurate_own_half_passes": 16.6594,
                "total_opp_half_passes": 24.7781,
                "accurate_opp_half_passes": 21.1875,
                "crosses_total": 0.5394,
                "crosses_accurate": 0.1287,
                "touches": 54.2001,
                "possession_lost": 7.4379,
                "dispossessed": 0.5036,
                "duels_lost": 3.7858,
                "aerial_won": 1.2,
                "aerial_lost": 0.6031,
                "interceptions": 1.2085,
                "tackles_won": 0.9219,
                "tackles": 1.2599,
                "clearances": 1.1451,
                "total_contest": 0.6316,
                "won_contest": 0.2851,
                "challenges_lost": 0.7926,
                "fouls": 1.5628,
                "fouls_drawn": 1.0333,
                "blocks": 0.4888,
                "big_chances_created": 0.0407,
                "big_chances_missed": 0.165,
                "xgot": 0.1637,
                "ball_carries": 13.012,
                "total_progression": 40.8809,
                "progressive_carries": 0.9313,
                "shots_off_target": 0.4548,
                "duel_xg_multiplier": 1.0275,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.2,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.439,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Matías Dituro",
                "opponent_faced": "Matías Dituro",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9669,
                "creation_factor": 0.8649
              },
              "params": {
                "team_lambda": 1.948,
                "squad_xg_sum": 1.254,
                "squad_xa_sum": 0.9174,
                "team_expected_assists": 1.4251,
                "team_xa_to_xg_ratio": 0.7316,
                "bench_appearance_weighted": true,
                "xg_scale": 1.5534,
                "xa_scale": 1.5534,
                "opponent_lambda": 0.898,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0586,
                  "after": 0.091
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0832,
                  "after": 0.1292
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 8 by projected rating, fifa_overall 79.0)",
              "stats": {
                "key_pass": 0.8028,
                "expected_assists": 0.1292,
                "assist_rate": 0.0652,
                "assists": 0,
                "expected_goals": 0.091,
                "goal_rate": 0.055,
                "goals": 0,
                "shots_on_target": 0.1862,
                "total_shots": 0.641,
                "rating": 6.9332,
                "minutes": 70.67,
                "total_pass": 42.9083,
                "accurate_pass": 37.8468,
                "duels_won": 2.8458,
                "total_long_balls": 2.2378,
                "accurate_long_balls": 1.6552,
                "total_own_half_passes": 18.1303,
                "accurate_own_half_passes": 16.6594,
                "total_opp_half_passes": 24.7781,
                "accurate_opp_half_passes": 21.1875,
                "crosses_total": 0.5394,
                "crosses_accurate": 0.1287,
                "touches": 54.2001,
                "possession_lost": 7.4379,
                "dispossessed": 0.5036,
                "duels_lost": 3.7858,
                "aerial_won": 1.2,
                "aerial_lost": 0.6031,
                "interceptions": 1.2085,
                "tackles_won": 0.9219,
                "tackles": 1.2599,
                "clearances": 1.1451,
                "total_contest": 0.6316,
                "won_contest": 0.2851,
                "challenges_lost": 0.7926,
                "fouls": 1.5628,
                "fouls_drawn": 1.0333,
                "blocks": 0.4888,
                "big_chances_created": 0.0407,
                "big_chances_missed": 0.165,
                "xgot": 0.1637,
                "ball_carries": 13.012,
                "total_progression": 40.8809,
                "progressive_carries": 0.9313,
                "shots_off_target": 0.4548,
                "duel_xg_multiplier": 1.0275,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.2,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.439,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Matías Dituro",
                "opponent_faced": "Matías Dituro",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9669,
                "creation_factor": 0.8649,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1902,
                "fifa_rank": 960.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": 0.8028,
                "expected_assists": 0.1292,
                "assist_rate": 0.0652,
                "assists": 0,
                "expected_goals": 0.091,
                "goal_rate": 0.055,
                "goals": 0,
                "shots_on_target": 0.1862,
                "total_shots": 0.641,
                "rating": 6.9332,
                "minutes": 70.67,
                "total_pass": 42.9083,
                "accurate_pass": 37.8468,
                "duels_won": 2.8458,
                "total_long_balls": 2.2378,
                "accurate_long_balls": 1.6552,
                "total_own_half_passes": 18.1303,
                "accurate_own_half_passes": 16.6594,
                "total_opp_half_passes": 24.7781,
                "accurate_opp_half_passes": 21.1875,
                "crosses_total": 0.5394,
                "crosses_accurate": 0.1287,
                "touches": 54.2001,
                "possession_lost": 7.4379,
                "dispossessed": 0.5036,
                "duels_lost": 3.7858,
                "aerial_won": 1.2,
                "aerial_lost": 0.6031,
                "interceptions": 1.2085,
                "tackles_won": 0.9219,
                "tackles": 1.2599,
                "clearances": 1.1451,
                "total_contest": 0.6316,
                "won_contest": 0.2851,
                "challenges_lost": 0.7926,
                "fouls": 1.5628,
                "fouls_drawn": 1.0333,
                "blocks": 0.4888,
                "big_chances_created": 0.0407,
                "big_chances_missed": 0.165,
                "xgot": 0.1637,
                "ball_carries": 13.012,
                "total_progression": 40.8809,
                "progressive_carries": 0.9313,
                "shots_off_target": 0.4548,
                "duel_xg_multiplier": 1.0275,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.2,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.439,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Matías Dituro",
                "opponent_faced": "Matías Dituro",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.087,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9669,
                "creation_factor": 0.8649,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.087,
                "goal_rate": 0.055,
                "scorer_weight": 0.088,
                "squad_weight_total": 2.1033,
                "weight_share": 0.0418,
                "finishing_factor": 0.9669,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ayoze Pérez",
                    "weight": 0.5937,
                    "already": 0,
                    "effective_weight": 0.5937,
                    "runner_up": "Alberto Moleiro",
                    "runner_up_effective_weight": 0.4755
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 0.8028,
                "expected_assists": 0.1292,
                "assist_rate": 0.0652,
                "assists": 0,
                "expected_goals": 0.091,
                "goal_rate": 0.055,
                "goals": 0,
                "shots_on_target": 0.1862,
                "total_shots": 0.641,
                "rating": 6.9332,
                "minutes": 70.67,
                "total_pass": 42.9083,
                "accurate_pass": 37.8468,
                "duels_won": 2.8458,
                "total_long_balls": 2.2378,
                "accurate_long_balls": 1.6552,
                "total_own_half_passes": 18.1303,
                "accurate_own_half_passes": 16.6594,
                "total_opp_half_passes": 24.7781,
                "accurate_opp_half_passes": 21.1875,
                "crosses_total": 0.5394,
                "crosses_accurate": 0.1287,
                "touches": 54.2001,
                "possession_lost": 7.4379,
                "dispossessed": 0.5036,
                "duels_lost": 3.7858,
                "aerial_won": 1.2,
                "aerial_lost": 0.6031,
                "interceptions": 1.2085,
                "tackles_won": 0.9219,
                "tackles": 1.2599,
                "clearances": 1.1451,
                "total_contest": 0.6316,
                "won_contest": 0.2851,
                "challenges_lost": 0.7926,
                "fouls": 1.5628,
                "fouls_drawn": 1.0333,
                "blocks": 0.4888,
                "big_chances_created": 0.0407,
                "big_chances_missed": 0.165,
                "xgot": 0.1637,
                "ball_carries": 13.012,
                "total_progression": 40.8809,
                "progressive_carries": 0.9313,
                "shots_off_target": 0.4548,
                "duel_xg_multiplier": 1.0275,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.2,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.439,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Matías Dituro",
                "opponent_faced": "Matías Dituro",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.087,
                "projected_assists": 0,
                "assist_probability": 0.1212,
                "finishing_factor": 0.9669,
                "creation_factor": 0.8649,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1212,
                "assist_rate": 0.0652,
                "provider_weight": 0.1117,
                "squad_weight_total": 1.5258,
                "weight_share": 0.0732,
                "creation_factor": 0.8649,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alberto Moleiro",
                    "weight": 0.3984,
                    "already": 0,
                    "effective_weight": 0.3984,
                    "runner_up": "Ilias Akhomach",
                    "runner_up_effective_weight": 0.2463,
                    "blocked_own_goal": [
                      "Ayoze Pérez"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Pape Gueye": {
          "player_id": 879694,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 18,
          "height": 187,
          "market_value": 39000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1566,
            "assist_rate": 0.0985,
            "assists": 0,
            "expected_goals": 0.221,
            "goal_rate": 0.1759,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "rating": 7.1436,
            "minutes": 79,
            "total_pass": 52,
            "accurate_pass": 44,
            "duels_won": 4,
            "total_long_balls": 7,
            "accurate_long_balls": 4,
            "total_own_half_passes": 21,
            "accurate_own_half_passes": 19,
            "total_opp_half_passes": 31,
            "accurate_opp_half_passes": 25,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 66,
            "possession_lost": 11.8317,
            "dispossessed": 0.6053,
            "duels_lost": 3,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 2,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 2,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1651,
            "ball_carries": 20,
            "total_progression": 53,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.2615,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.7,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.628,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Javi Morcillo",
            "opponent_faced": "Javi Morcillo",
            "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1983,
            "projected_assists": 0,
            "assist_probability": 0.145,
            "finishing_factor": 1.1747,
            "creation_factor": 0.9847,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 16421066,
              "match_date": "2026-10-10",
              "home_team": "Real Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0789,
                "expected_assists": 0.0297,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 46,
                "accurate_pass": 40,
                "key_pass": 1,
                "tackles": 2,
                "interceptions": 1,
                "clearances": 2,
                "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": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 87,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0742,
                "total_shots": 0,
                "total_pass": 56,
                "accurate_pass": 46,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 53,
                "rating": 9.0,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.1957,
                "expected_assists": 0.051,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 47,
                "accurate_pass": 41,
                "interceptions": 1,
                "duels_won": 2,
                "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": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 54,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0333,
                "total_shots": 0,
                "total_pass": 40,
                "accurate_pass": 35,
                "key_pass": 1,
                "clearances": 3,
                "duels_won": 2,
                "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": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 62,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.029,
                "expected_assists": 0.1173,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 59,
                "accurate_pass": 52,
                "key_pass": 2,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1195,
                "total_shots": 0,
                "total_pass": 85,
                "accurate_pass": 68,
                "key_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 3,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416302,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0469,
                "expected_assists": 0.0538,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 70,
                "accurate_pass": 63,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 8.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0217,
                "expected_assists": 0.1321,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 56,
                "accurate_pass": 47,
                "key_pass": 2,
                "tackles": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083735,
              "match_date": "2026-05-24",
              "home_team": "Villarreal",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 75,
                "rating": 8.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0716,
                "expected_assists": 0.0361,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 49,
                "accurate_pass": 42,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 4,
                "duels_won": 2,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083682,
              "match_date": "2026-05-17",
              "home_team": "Rayo Vallecano",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 72,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0569,
                "total_shots": 0,
                "total_pass": 37,
                "accurate_pass": 27,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 826,
            "combined_rank_score": 394.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 30.0,
            "sofascore_rating": 8.0,
            "sofascore_appearances": 1.0,
            "fifa_rank": 758.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.1436,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pape Gueye",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Florian Thauvin",
                  "ranking": 821
                },
                {
                  "player_name": "Corentin Tolisso",
                  "ranking": 822
                },
                {
                  "player_name": "José María Giménez",
                  "ranking": 823
                },
                {
                  "player_name": "Dean Henderson",
                  "ranking": 824
                },
                {
                  "player_name": "Palhinha",
                  "ranking": 825
                }
              ],
              "lower": [
                {
                  "player_name": "Caoimhin Kelleher",
                  "ranking": 827
                },
                {
                  "player_name": "Antonio Raíllo",
                  "ranking": 828
                },
                {
                  "player_name": "Dilshod Akhmadaliev",
                  "ranking": 829
                },
                {
                  "player_name": "Botirali Ergashev",
                  "ranking": 830
                },
                {
                  "player_name": "Mathias Jensen",
                  "ranking": 831
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 38,
          "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",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "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",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 38,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0094,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 270.0,
              "goals_per90": 0.3333333333333333,
              "assists_per90": 0.0,
              "shots_per90": 1.0,
              "shots_on_target_pct": 33.3,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (M_service) evaluated 38 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Villarreal, rel: 0.20, gls/90: 0.3333333333333333, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.0347,
                "expected_assists": 0.0999,
                "assists": 0.0991,
                "assist_rate": 0.0991,
                "expected_goals": 0.1117,
                "goals": 0.1357,
                "goal_rate": 0.1357,
                "shots_on_target": 0.5828,
                "total_shots": 1.5412,
                "rating": 7.1436,
                "minutes": 79.43,
                "total_pass": 51.4659,
                "accurate_pass": 43.3123,
                "duels_won": 3.6717,
                "total_long_balls": 6.7217,
                "accurate_long_balls": 3.6493,
                "total_own_half_passes": 20.3545,
                "accurate_own_half_passes": 18.6114,
                "total_opp_half_passes": 31.1115,
                "accurate_opp_half_passes": 24.701,
                "crosses_total": 0.6652,
                "crosses_accurate": 0.1657,
                "touches": 65.2273,
                "possession_lost": 11.7215,
                "dispossessed": 0.5997,
                "duels_lost": 2.9634,
                "aerial_won": 0.3904,
                "aerial_lost": 0.8218,
                "interceptions": 0.8629,
                "tackles_won": 0.4143,
                "tackles": 0.9926,
                "clearances": 1.6325,
                "total_contest": 0.805,
                "won_contest": 0.2543,
                "challenges_lost": 0.1878,
                "fouls": 0.8067,
                "fouls_drawn": 2.0345,
                "blocks": 0.3628,
                "big_chances_created": 0.0184,
                "big_chances_missed": 0.0553,
                "xgot": 0.0835,
                "ball_carries": 19.4355,
                "total_progression": 52.9071,
                "progressive_carries": 0.5388,
                "shots_off_target": 0.9584
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-17T10:05:52.581708+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1503,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Levante UD",
                    "minutes": 87.0,
                    "is_starting": true,
                    "weight": 0.1278,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Málaga CF",
                    "minutes": 53.0,
                    "is_starting": false,
                    "weight": 0.1086,
                    "rating": 9.0
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Real Betis",
                    "minutes": 54.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.0785,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Atlético Madrid",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Rayo Vallecano",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.4852,
                  "creative_index": 0.3887,
                  "expectedGoals": 0.1865,
                  "expectedAssists": 0.0656,
                  "onTargetScoringAttempt": 0.7689
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.0346739292144775,
                    "model_output": 1.0347,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1334
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0763
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0655
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0467
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.025
                        }
                      ],
                      "others": 0.0784,
                      "total": 1.0347,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.139232
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.077284
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.071385
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.051437
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.026534
                        }
                      ],
                      "others_margin": 0.078742
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.09988092631101608,
                    "model_output": 0.0999,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0124
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0112
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0033
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0024
                        },
                        {
                          "name": "goalAssist",
                          "contribution": -0.0023
                        }
                      ],
                      "others": 0.0163,
                      "total": 0.0999,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.134911
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.121116
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.039138
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.027836
                        },
                        {
                          "name": "goalAssist",
                          "margin": -0.027152
                        }
                      ],
                      "others_margin": 0.178483
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.09906923025846481,
                    "model_output": 0.0991,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0084
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0057
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0054
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0052
                        },
                        {
                          "name": "goals",
                          "contribution": 0.005
                        }
                      ],
                      "others": -0.0074,
                      "total": 0.0991,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.0922
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.058178
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.051471
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.049654
                        },
                        {
                          "name": "goals",
                          "margin": 0.047619
                        }
                      ],
                      "others_margin": -0.072677
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1117214560508728,
                    "model_output": 0.1117,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0307
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0133
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0116
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0083
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0082
                        }
                      ],
                      "others": -0.0151,
                      "total": 0.1117,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.281821
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.100816
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.087717
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.063607
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.062689
                        }
                      ],
                      "others_margin": -0.126258
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1357193887233734,
                    "model_output": 0.1357,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0261
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0259
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0146
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0138
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0094
                        }
                      ],
                      "others": -0.0227,
                      "total": 0.1357,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.236874
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.189952
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.102588
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.097214
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.061062
                        }
                      ],
                      "others_margin": -0.154733
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5828391909599304,
                    "model_output": 0.5828,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0831
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.086
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0649
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0349
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0272
                        }
                      ],
                      "others": 0.0308,
                      "total": 0.5828,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.227149
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.190877
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.123214
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.064479
                        },
                        {
                          "name": "goals",
                          "margin": 0.050568
                        }
                      ],
                      "others_margin": 0.054517
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.5412291288375854,
                    "model_output": 1.5412,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.3223
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1635
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0698
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0576
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0495
                        }
                      ],
                      "others": -0.117,
                      "total": 1.5412,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.322256
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.1635
                        },
                        {
                          "name": "goals",
                          "margin": 0.069848
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.057606
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.049487
                        }
                      ],
                      "others_margin": -0.117003
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.143579483032227,
                    "model_output": 7.1436,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.1257
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0974
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0234
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0223
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0188
                        }
                      ],
                      "others": 0.0029,
                      "total": 7.1436,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.12567
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.09743
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.023396
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.022252
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.018839
                        }
                      ],
                      "others_margin": 0.002936
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 38,
                  "role_matches": 33,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0094, quality 0.775)",
              "stats": {
                "key_pass": 1.0444,
                "expected_assists": 0.1008,
                "assists": 0.1,
                "assist_rate": 0.1,
                "expected_goals": 0.1128,
                "goals": 0.137,
                "goal_rate": 0.137,
                "shots_on_target": 0.5883,
                "total_shots": 1.5557,
                "rating": 7.1436,
                "minutes": 79.43,
                "total_pass": 51.9497,
                "accurate_pass": 43.7194,
                "duels_won": 3.7062,
                "total_long_balls": 6.7849,
                "accurate_long_balls": 3.6836,
                "total_own_half_passes": 20.5458,
                "accurate_own_half_passes": 18.7863,
                "total_opp_half_passes": 31.4039,
                "accurate_opp_half_passes": 24.9332,
                "crosses_total": 0.6715,
                "crosses_accurate": 0.1673,
                "touches": 65.8404,
                "possession_lost": 11.8317,
                "dispossessed": 0.6053,
                "duels_lost": 2.9913,
                "aerial_won": 0.3941,
                "aerial_lost": 0.8295,
                "interceptions": 0.871,
                "tackles_won": 0.4182,
                "tackles": 1.0019,
                "clearances": 1.6478,
                "total_contest": 0.8126,
                "won_contest": 0.2567,
                "challenges_lost": 0.1896,
                "fouls": 0.8143,
                "fouls_drawn": 2.0536,
                "blocks": 0.3662,
                "big_chances_created": 0.0186,
                "big_chances_missed": 0.0558,
                "xgot": 0.0843,
                "ball_carries": 19.6182,
                "total_progression": 53.4044,
                "progressive_carries": 0.5439,
                "shots_off_target": 0.9674
              },
              "params": {
                "market_value_eur": 39000000,
                "quality_factor": 0.7754,
                "boost_factor": 1.0094,
                "reference_quality": 0.505,
                "history_matches": 38,
                "history_shrink": 0.1163,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0151)",
              "stats": {
                "key_pass": 1.0444,
                "expected_assists": 0.1008,
                "assists": 0.0985,
                "assist_rate": 0.0985,
                "expected_goals": 0.1128,
                "goals": 0.1394,
                "goal_rate": 0.1394,
                "shots_on_target": 0.5838,
                "total_shots": 1.5455,
                "rating": 7.1436,
                "minutes": 79.43,
                "total_pass": 51.9497,
                "accurate_pass": 43.7194,
                "duels_won": 3.7062,
                "total_long_balls": 6.7849,
                "accurate_long_balls": 3.6836,
                "total_own_half_passes": 20.5458,
                "accurate_own_half_passes": 18.7863,
                "total_opp_half_passes": 31.4039,
                "accurate_opp_half_passes": 24.9332,
                "crosses_total": 0.6658,
                "crosses_accurate": 0.1673,
                "touches": 65.8404,
                "possession_lost": 11.8317,
                "dispossessed": 0.6053,
                "duels_lost": 2.9913,
                "aerial_won": 0.3941,
                "aerial_lost": 0.8295,
                "interceptions": 0.8756,
                "tackles_won": 0.4208,
                "tackles": 1.0019,
                "clearances": 1.6478,
                "total_contest": 0.8126,
                "won_contest": 0.2567,
                "challenges_lost": 0.1896,
                "fouls": 0.8198,
                "fouls_drawn": 2.0492,
                "blocks": 0.3662,
                "big_chances_created": 0.0186,
                "big_chances_missed": 0.0558,
                "xgot": 0.0843,
                "ball_carries": 19.6182,
                "total_progression": 53.4044,
                "progressive_carries": 0.5439,
                "shots_off_target": 0.9674
              },
              "params": {
                "blend_weight": 0.0151,
                "history_matches": 38,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8826,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Villarreal"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.5557,
                  "after": 1.5455
                },
                {
                  "stat": "totalCross",
                  "before": 0.6715,
                  "after": 0.6658
                },
                {
                  "stat": "fouls",
                  "before": 0.8143,
                  "after": 0.8198
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.0444,
                "expected_assists": 0.1008,
                "assists": 0.0985,
                "assist_rate": 0.0985,
                "expected_goals": 0.1128,
                "goals": 0.1394,
                "goal_rate": 0.1394,
                "shots_on_target": 0.5838,
                "total_shots": 1.5512,
                "rating": 7.1436,
                "minutes": 79.43,
                "total_pass": 51.9497,
                "accurate_pass": 43.7194,
                "duels_won": 3.7062,
                "total_long_balls": 6.7849,
                "accurate_long_balls": 3.6836,
                "total_own_half_passes": 20.5458,
                "accurate_own_half_passes": 18.7863,
                "total_opp_half_passes": 31.4039,
                "accurate_opp_half_passes": 24.9332,
                "crosses_total": 0.6658,
                "crosses_accurate": 0.1673,
                "touches": 65.8404,
                "possession_lost": 11.8317,
                "dispossessed": 0.6053,
                "duels_lost": 2.9913,
                "aerial_won": 0.3941,
                "aerial_lost": 0.8295,
                "interceptions": 0.8756,
                "tackles_won": 0.4208,
                "tackles": 1.0019,
                "clearances": 1.6478,
                "total_contest": 0.8126,
                "won_contest": 0.2567,
                "challenges_lost": 0.1896,
                "fouls": 0.8198,
                "fouls_drawn": 2.0492,
                "blocks": 0.3662,
                "big_chances_created": 0.0186,
                "big_chances_missed": 0.0558,
                "xgot": 0.0843,
                "ball_carries": 19.6182,
                "total_progression": 53.4044,
                "progressive_carries": 0.5439,
                "shots_off_target": 0.9674
              },
              "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.0444,
                "expected_assists": 0.1008,
                "assists": 0.0985,
                "assist_rate": 0.0985,
                "expected_goals": 0.1423,
                "goals": 0.1759,
                "goal_rate": 0.1759,
                "shots_on_target": 0.7365,
                "total_shots": 1.9569,
                "rating": 7.1436,
                "minutes": 79.43,
                "total_pass": 51.9497,
                "accurate_pass": 43.7194,
                "duels_won": 3.7062,
                "total_long_balls": 6.7849,
                "accurate_long_balls": 3.6836,
                "total_own_half_passes": 20.5458,
                "accurate_own_half_passes": 18.7863,
                "total_opp_half_passes": 31.4039,
                "accurate_opp_half_passes": 24.9332,
                "crosses_total": 0.6658,
                "crosses_accurate": 0.1673,
                "touches": 65.8404,
                "possession_lost": 11.8317,
                "dispossessed": 0.6053,
                "duels_lost": 2.9913,
                "aerial_won": 1.2,
                "aerial_lost": 0.8295,
                "interceptions": 0.8756,
                "tackles_won": 0.4208,
                "tackles": 1.0019,
                "clearances": 1.6478,
                "total_contest": 0.8126,
                "won_contest": 0.2567,
                "challenges_lost": 0.1896,
                "fouls": 0.8198,
                "fouls_drawn": 2.0492,
                "blocks": 0.3662,
                "big_chances_created": 0.0186,
                "big_chances_missed": 0.0704,
                "xgot": 0.1063,
                "ball_carries": 19.6182,
                "total_progression": 53.4044,
                "progressive_carries": 0.5439,
                "shots_off_target": 1.2204,
                "duel_xg_multiplier": 1.2615,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.628,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Javi Morcillo",
                "opponent_faced": "Javi Morcillo",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Javi Morcillo",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                  "duel_win_rate": 0.628,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.2615,
                  "skill_edge": 0.1619,
                  "height_edge": 0.016,
                  "attacker_skill": 0.7972,
                  "defender_skill": 0.4374,
                  "attacker_role": "CM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Javi Morcillo",
                      "market_value": 2100000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.1423
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.3941,
                  "after": 1.2
                },
                {
                  "stat": "totalShots",
                  "before": 1.5512,
                  "after": 1.9569
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.9674,
                  "after": 1.2204
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.5838,
                  "after": 0.7365
                },
                {
                  "stat": "goals",
                  "before": 0.1394,
                  "after": 0.1759
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1128,
                  "after": 0.1423
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.0843,
                  "after": 0.1063
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.0558,
                  "after": 0.0704
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 1.0444,
                "expected_assists": 0.1008,
                "assist_rate": 0.0985,
                "assists": 0,
                "expected_goals": 0.1423,
                "goal_rate": 0.1759,
                "goals": 0,
                "shots_on_target": 0.7365,
                "total_shots": 1.9569,
                "rating": 7.1436,
                "minutes": 79.43,
                "total_pass": 51.9497,
                "accurate_pass": 43.7194,
                "duels_won": 3.7062,
                "total_long_balls": 6.7849,
                "accurate_long_balls": 3.6836,
                "total_own_half_passes": 20.5458,
                "accurate_own_half_passes": 18.7863,
                "total_opp_half_passes": 31.4039,
                "accurate_opp_half_passes": 24.9332,
                "crosses_total": 0.6658,
                "crosses_accurate": 0.1673,
                "touches": 65.8404,
                "possession_lost": 11.8317,
                "dispossessed": 0.6053,
                "duels_lost": 2.9913,
                "aerial_won": 1.2,
                "aerial_lost": 0.8295,
                "interceptions": 0.8756,
                "tackles_won": 0.4208,
                "tackles": 1.0019,
                "clearances": 1.6478,
                "total_contest": 0.8126,
                "won_contest": 0.2567,
                "challenges_lost": 0.1896,
                "fouls": 0.8198,
                "fouls_drawn": 2.0492,
                "blocks": 0.3662,
                "big_chances_created": 0.0186,
                "big_chances_missed": 0.0704,
                "xgot": 0.1063,
                "ball_carries": 19.6182,
                "total_progression": 53.4044,
                "progressive_carries": 0.5439,
                "shots_off_target": 1.2204,
                "duel_xg_multiplier": 1.2615,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.628,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Javi Morcillo",
                "opponent_faced": "Javi Morcillo",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.95 (squad xG sum 1.2540, xG scale 1.5534, xA scale 1.5534, team xA 1.43 = 0.73 x lambda)",
              "stats": {
                "key_pass": 1.0444,
                "expected_assists": 0.1566,
                "assist_rate": 0.0985,
                "assists": 0,
                "expected_goals": 0.221,
                "goal_rate": 0.1759,
                "goals": 0,
                "shots_on_target": 0.7365,
                "total_shots": 1.9569,
                "rating": 7.1436,
                "minutes": 79.43,
                "total_pass": 51.9497,
                "accurate_pass": 43.7194,
                "duels_won": 3.7062,
                "total_long_balls": 6.7849,
                "accurate_long_balls": 3.6836,
                "total_own_half_passes": 20.5458,
                "accurate_own_half_passes": 18.7863,
                "total_opp_half_passes": 31.4039,
                "accurate_opp_half_passes": 24.9332,
                "crosses_total": 0.6658,
                "crosses_accurate": 0.1673,
                "touches": 65.8404,
                "possession_lost": 11.8317,
                "dispossessed": 0.6053,
                "duels_lost": 2.9913,
                "aerial_won": 1.2,
                "aerial_lost": 0.8295,
                "interceptions": 0.8756,
                "tackles_won": 0.4208,
                "tackles": 1.0019,
                "clearances": 1.6478,
                "total_contest": 0.8126,
                "won_contest": 0.2567,
                "challenges_lost": 0.1896,
                "fouls": 0.8198,
                "fouls_drawn": 2.0492,
                "blocks": 0.3662,
                "big_chances_created": 0.0186,
                "big_chances_missed": 0.0704,
                "xgot": 0.1651,
                "ball_carries": 19.6182,
                "total_progression": 53.4044,
                "progressive_carries": 0.5439,
                "shots_off_target": 1.2204,
                "duel_xg_multiplier": 1.2615,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.628,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Javi Morcillo",
                "opponent_faced": "Javi Morcillo",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1747,
                "creation_factor": 0.9847
              },
              "params": {
                "team_lambda": 1.948,
                "squad_xg_sum": 1.254,
                "squad_xa_sum": 0.9174,
                "team_expected_assists": 1.4251,
                "team_xa_to_xg_ratio": 0.7316,
                "bench_appearance_weighted": true,
                "xg_scale": 1.5534,
                "xa_scale": 1.5534,
                "opponent_lambda": 0.898,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1423,
                  "after": 0.221
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1008,
                  "after": 0.1566
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 2 by projected rating, fifa_overall 80.0)",
              "stats": {
                "key_pass": 1.0444,
                "expected_assists": 0.1566,
                "assist_rate": 0.0985,
                "assists": 0,
                "expected_goals": 0.221,
                "goal_rate": 0.1759,
                "goals": 0,
                "shots_on_target": 0.7365,
                "total_shots": 1.9569,
                "rating": 7.1436,
                "minutes": 79.43,
                "total_pass": 51.9497,
                "accurate_pass": 43.7194,
                "duels_won": 3.7062,
                "total_long_balls": 6.7849,
                "accurate_long_balls": 3.6836,
                "total_own_half_passes": 20.5458,
                "accurate_own_half_passes": 18.7863,
                "total_opp_half_passes": 31.4039,
                "accurate_opp_half_passes": 24.9332,
                "crosses_total": 0.6658,
                "crosses_accurate": 0.1673,
                "touches": 65.8404,
                "possession_lost": 11.8317,
                "dispossessed": 0.6053,
                "duels_lost": 2.9913,
                "aerial_won": 1.2,
                "aerial_lost": 0.8295,
                "interceptions": 0.8756,
                "tackles_won": 0.4208,
                "tackles": 1.0019,
                "clearances": 1.6478,
                "total_contest": 0.8126,
                "won_contest": 0.2567,
                "challenges_lost": 0.1896,
                "fouls": 0.8198,
                "fouls_drawn": 2.0492,
                "blocks": 0.3662,
                "big_chances_created": 0.0186,
                "big_chances_missed": 0.0704,
                "xgot": 0.1651,
                "ball_carries": 19.6182,
                "total_progression": 53.4044,
                "progressive_carries": 0.5439,
                "shots_off_target": 1.2204,
                "duel_xg_multiplier": 1.2615,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.628,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Javi Morcillo",
                "opponent_faced": "Javi Morcillo",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1747,
                "creation_factor": 0.9847,
                "fifa_overall": 80.0
              },
              "params": {
                "match_squad_rank": 2,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 826,
                "fifa_rank": 758.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": {
                "key_pass": 1.0444,
                "expected_assists": 0.1566,
                "assist_rate": 0.0985,
                "assists": 0,
                "expected_goals": 0.221,
                "goal_rate": 0.1759,
                "goals": 0,
                "shots_on_target": 0.7365,
                "total_shots": 1.9569,
                "rating": 7.1436,
                "minutes": 79.43,
                "total_pass": 51.9497,
                "accurate_pass": 43.7194,
                "duels_won": 3.7062,
                "total_long_balls": 6.7849,
                "accurate_long_balls": 3.6836,
                "total_own_half_passes": 20.5458,
                "accurate_own_half_passes": 18.7863,
                "total_opp_half_passes": 31.4039,
                "accurate_opp_half_passes": 24.9332,
                "crosses_total": 0.6658,
                "crosses_accurate": 0.1673,
                "touches": 65.8404,
                "possession_lost": 11.8317,
                "dispossessed": 0.6053,
                "duels_lost": 2.9913,
                "aerial_won": 1.2,
                "aerial_lost": 0.8295,
                "interceptions": 0.8756,
                "tackles_won": 0.4208,
                "tackles": 1.0019,
                "clearances": 1.6478,
                "total_contest": 0.8126,
                "won_contest": 0.2567,
                "challenges_lost": 0.1896,
                "fouls": 0.8198,
                "fouls_drawn": 2.0492,
                "blocks": 0.3662,
                "big_chances_created": 0.0186,
                "big_chances_missed": 0.0704,
                "xgot": 0.1651,
                "ball_carries": 19.6182,
                "total_progression": 53.4044,
                "progressive_carries": 0.5439,
                "shots_off_target": 1.2204,
                "duel_xg_multiplier": 1.2615,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.628,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Javi Morcillo",
                "opponent_faced": "Javi Morcillo",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1983,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1747,
                "creation_factor": 0.9847,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1983,
                "goal_rate": 0.1759,
                "scorer_weight": 0.2596,
                "squad_weight_total": 2.1033,
                "weight_share": 0.1234,
                "finishing_factor": 1.1747,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ayoze Pérez",
                    "weight": 0.5937,
                    "already": 0,
                    "effective_weight": 0.5937,
                    "runner_up": "Alberto Moleiro",
                    "runner_up_effective_weight": 0.4755
                  }
                ]
              }
            },
            {
              "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.0444,
                "expected_assists": 0.1566,
                "assist_rate": 0.0985,
                "assists": 0,
                "expected_goals": 0.221,
                "goal_rate": 0.1759,
                "goals": 0,
                "shots_on_target": 0.7365,
                "total_shots": 1.9569,
                "rating": 7.1436,
                "minutes": 79.43,
                "total_pass": 51.9497,
                "accurate_pass": 43.7194,
                "duels_won": 3.7062,
                "total_long_balls": 6.7849,
                "accurate_long_balls": 3.6836,
                "total_own_half_passes": 20.5458,
                "accurate_own_half_passes": 18.7863,
                "total_opp_half_passes": 31.4039,
                "accurate_opp_half_passes": 24.9332,
                "crosses_total": 0.6658,
                "crosses_accurate": 0.1673,
                "touches": 65.8404,
                "possession_lost": 11.8317,
                "dispossessed": 0.6053,
                "duels_lost": 2.9913,
                "aerial_won": 1.2,
                "aerial_lost": 0.8295,
                "interceptions": 0.8756,
                "tackles_won": 0.4208,
                "tackles": 1.0019,
                "clearances": 1.6478,
                "total_contest": 0.8126,
                "won_contest": 0.2567,
                "challenges_lost": 0.1896,
                "fouls": 0.8198,
                "fouls_drawn": 2.0492,
                "blocks": 0.3662,
                "big_chances_created": 0.0186,
                "big_chances_missed": 0.0704,
                "xgot": 0.1651,
                "ball_carries": 19.6182,
                "total_progression": 53.4044,
                "progressive_carries": 0.5439,
                "shots_off_target": 1.2204,
                "duel_xg_multiplier": 1.2615,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.628,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Javi Morcillo",
                "opponent_faced": "Javi Morcillo",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1983,
                "projected_assists": 0,
                "assist_probability": 0.145,
                "finishing_factor": 1.1747,
                "creation_factor": 0.9847,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.145,
                "assist_rate": 0.0985,
                "provider_weight": 0.1542,
                "squad_weight_total": 1.5258,
                "weight_share": 0.1011,
                "creation_factor": 0.9847,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alberto Moleiro",
                    "weight": 0.3984,
                    "already": 0,
                    "effective_weight": 0.3984,
                    "runner_up": "Ilias Akhomach",
                    "runner_up_effective_weight": 0.2463,
                    "blocked_own_goal": [
                      "Ayoze Pérez"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Ilias Akhomach": {
          "player_id": 1089108,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 11,
          "height": 175,
          "market_value": 11100000,
          "stats": {
            "expected_goals": 0.173,
            "goal_rate": 0.179,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.197,
            "key_pass": 1,
            "rating": 6.9672,
            "minutes": 72,
            "total_pass": 21,
            "accurate_pass": 17,
            "duels_won": 6,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 16,
            "accurate_opp_half_passes": 13,
            "crosses_total": 3,
            "crosses_accurate": 0,
            "touches": 41,
            "possession_lost": 13.3672,
            "dispossessed": 2.1431,
            "duels_lost": 5,
            "aerial_lost": 0,
            "total_contest": 4,
            "won_contest": 2,
            "ball_recovery": 2,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 2,
            "assist_rate": 0.2745,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 1,
            "big_chances_missed": 0,
            "xgot": 0.0808,
            "offsides": 0,
            "ball_carries": 17,
            "total_progression": 92,
            "progressive_carries": 3,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9876,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.192,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Buba Sangaré, Roy Revivo",
            "opponent_faced": "Buba Sangaré, Roy Revivo",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.1589,
            "projected_assists": 0,
            "assist_probability": 0.1788,
            "finishing_factor": 1.25,
            "creation_factor": 1.25,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "match_id": 16421066,
              "match_date": "2026-10-10",
              "home_team": "Real Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 67,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0363,
                "expected_assists": 0.0483,
                "total_shots": 1,
                "total_pass": 14,
                "accurate_pass": 13,
                "key_pass": 1,
                "tackles": 2,
                "clearances": 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": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 67,
                "rating": 8.5,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0726,
                "expected_assists": 0.8929,
                "total_shots": 1,
                "total_pass": 25,
                "accurate_pass": 20,
                "key_pass": 2,
                "duels_won": 9,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 63,
                "rating": 6.8,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0258,
                "expected_assists": 0.4781,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 29,
                "accurate_pass": 25,
                "key_pass": 2,
                "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": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 13,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0127,
                "expected_assists": 0.0046,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 6,
                "accurate_pass": 5,
                "tackles": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 20,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0248,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 18,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416302,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 11,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1,
                "interceptions": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 13,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0069,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 6,
                "tackles": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083239,
              "match_date": "2026-04-26",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1036,
                "expected_assists": 0.0194,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 24,
                "accurate_pass": 16,
                "key_pass": 4,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 7,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083330,
              "match_date": "2026-04-23",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 32,
                "rating": 7.1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0636,
                "expected_assists": 0.0197,
                "total_shots": 1,
                "total_pass": 6,
                "accurate_pass": 6,
                "key_pass": 1,
                "clearances": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083142,
              "match_date": "2026-04-12",
              "home_team": "Mallorca",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 67,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0321,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 16,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3623,
            "combined_rank_score": 1590.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 768.0,
            "sofascore_rating": 6.645,
            "sofascore_appearances": 20.0,
            "fifa_rank": 2412.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9672,
            "source_file": "data/player_rankings.csv",
            "player_name": "Ilias Akhomach",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Joe Scally",
                  "ranking": 3618
                },
                {
                  "player_name": "Petros Mantalos",
                  "ranking": 3619
                },
                {
                  "player_name": "Rodinei",
                  "ranking": 3620
                },
                {
                  "player_name": "David Jurásek",
                  "ranking": 3621
                },
                {
                  "player_name": "Raúl Moro",
                  "ranking": 3622
                }
              ],
              "lower": [
                {
                  "player_name": "Andrija Živković",
                  "ranking": 3624
                },
                {
                  "player_name": "Maffeo",
                  "ranking": 3625
                },
                {
                  "player_name": "Harold Moukoudi",
                  "ranking": 3626
                },
                {
                  "player_name": "Davide Calabria",
                  "ranking": 3627
                },
                {
                  "player_name": "Luka Jović",
                  "ranking": 3628
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.755,
          "history_matches": 27,
          "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",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "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",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 27,
            "data_confidence": 0.755,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0014,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 0.0,
              "minutes": 47.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.0333
            },
            "rationale": "XGBoost regressor (F_service) evaluated 27 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Villarreal, rel: 0.03, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1126,
                "goals": 0.1815,
                "goal_rate": 0.1815,
                "shots_on_target": 0.4723,
                "total_shots": 1.3448,
                "expected_assists": 0.1267,
                "key_pass": 1.0055,
                "rating": 6.9672,
                "minutes": 72.45,
                "total_pass": 20.972,
                "accurate_pass": 17.4268,
                "duels_won": 5.6772,
                "total_long_balls": 0.9106,
                "accurate_long_balls": 0.553,
                "total_opp_half_passes": 16.1796,
                "accurate_opp_half_passes": 13.0816,
                "crosses_total": 2.6867,
                "crosses_accurate": 0.2484,
                "touches": 41.1798,
                "possession_lost": 13.3485,
                "dispossessed": 2.1401,
                "duels_lost": 5.4367,
                "aerial_lost": 0.1545,
                "total_contest": 4.3534,
                "won_contest": 2.4917,
                "ball_recovery": 2.2056,
                "challenges_lost": 0.5085,
                "fouls": 0.7719,
                "fouls_drawn": 1.8632,
                "assists": 0.275,
                "assist_rate": 0.275,
                "interceptions": 0.1181,
                "tackles_won": 0.4969,
                "tackles": 1.3223,
                "clearances": 0.4597,
                "blocks": 0.0689,
                "big_chances_created": 0.5057,
                "big_chances_missed": 0.0769,
                "xgot": 0.0526,
                "offsides": 0.0776,
                "ball_carries": 16.6842,
                "total_progression": 92.2554,
                "progressive_carries": 3.4707,
                "shots_off_target": 0.8725
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:06:24.593912+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Real Madrid",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.1519,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Levante UD",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.1291,
                    "rating": 8.5
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Málaga CF",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.1097,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.0933,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.0793,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.0674,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.0573,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-04-26",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0487,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-04-23",
                    "opponent": "Espanyol",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.0414,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-04-12",
                    "opponent": "Mallorca",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.0352,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalOppositionHalfPasses": 12.8465,
                  "expectedGoals": 0.0487,
                  "accurateOppositionHalfPasses": 10.722,
                  "accuratePass": 13.5575,
                  "totalShots": 0.9413
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.11262836307287216,
                    "model_output": 0.1126,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0643
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0605
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0272
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.01
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0091
                        }
                      ],
                      "others": -0.0424,
                      "total": 0.1126,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.281854
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.262586
                        },
                        {
                          "name": "goals",
                          "margin": -0.144952
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.059252
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.057323
                        }
                      ],
                      "others_margin": -0.319485
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1815400868654251,
                    "model_output": 0.1815,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0747
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0305
                        },
                        {
                          "name": "goals",
                          "contribution": -0.023
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0125
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0101
                        }
                      ],
                      "others": -0.0455,
                      "total": 0.1815,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.312858
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.115998
                        },
                        {
                          "name": "goals",
                          "margin": -0.09742
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.054152
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.043586
                        }
                      ],
                      "others_margin": -0.223496
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.47230207920074463,
                    "model_output": 0.4723,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1896
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0694
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0582
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0434
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0303
                        }
                      ],
                      "others": -0.1142,
                      "total": 0.4723,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.30205
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.100338
                        },
                        {
                          "name": "goals",
                          "margin": -0.09271
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.075226
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.053099
                        }
                      ],
                      "others_margin": -0.216462
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.3448296785354614,
                    "model_output": 1.3448,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4145
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1753
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0941
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0601
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0494
                        }
                      ],
                      "others": -0.0646,
                      "total": 1.3448,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.414491
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.175283
                        },
                        {
                          "name": "goals",
                          "margin": -0.094111
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.060079
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.049362
                        }
                      ],
                      "others_margin": -0.064666
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.12666667997837067,
                    "model_output": 0.1267,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0141
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.011
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0109
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0093
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0069
                        }
                      ],
                      "others": 0.0103,
                      "total": 0.1267,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.198276
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.131022
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.115545
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.089217
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.061305
                        }
                      ],
                      "others_margin": 0.083949
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.005496859550476,
                    "model_output": 1.0055,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1769
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0536
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0477
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0416
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0391
                        }
                      ],
                      "others": -0.0268,
                      "total": 1.0055,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.233294
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.061148
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.051462
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.042829
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.038594
                        }
                      ],
                      "others_margin": -0.026383
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.967158317565918,
                    "model_output": 6.9672,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0719
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0391
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0285
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0258
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0224
                        }
                      ],
                      "others": 0.0125,
                      "total": 6.9672,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.071865
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.039058
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.028514
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.025782
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.022424
                        }
                      ],
                      "others_margin": 0.012515
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 27,
                  "role_matches": 12,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0014, quality 0.535)",
              "stats": {
                "expected_goals": 0.1128,
                "goals": 0.1818,
                "goal_rate": 0.1818,
                "shots_on_target": 0.473,
                "total_shots": 1.3467,
                "expected_assists": 0.1268,
                "key_pass": 1.0069,
                "rating": 6.9672,
                "minutes": 72.45,
                "total_pass": 21.0014,
                "accurate_pass": 17.4512,
                "duels_won": 5.6851,
                "total_long_balls": 0.9119,
                "accurate_long_balls": 0.5538,
                "total_opp_half_passes": 16.2023,
                "accurate_opp_half_passes": 13.0999,
                "crosses_total": 2.6905,
                "crosses_accurate": 0.2487,
                "touches": 41.2375,
                "possession_lost": 13.3672,
                "dispossessed": 2.1431,
                "duels_lost": 5.4443,
                "aerial_lost": 0.1547,
                "total_contest": 4.3595,
                "won_contest": 2.4952,
                "ball_recovery": 2.2087,
                "challenges_lost": 0.5092,
                "fouls": 0.773,
                "fouls_drawn": 1.8658,
                "assists": 0.2754,
                "assist_rate": 0.2754,
                "interceptions": 0.1183,
                "tackles_won": 0.4976,
                "tackles": 1.3242,
                "clearances": 0.4603,
                "blocks": 0.069,
                "big_chances_created": 0.5064,
                "big_chances_missed": 0.077,
                "xgot": 0.0527,
                "offsides": 0.0777,
                "ball_carries": 16.7076,
                "total_progression": 92.3846,
                "progressive_carries": 3.4756,
                "shots_off_target": 0.8737
              },
              "params": {
                "market_value_eur": 11100000,
                "quality_factor": 0.5353,
                "boost_factor": 1.0014,
                "reference_quality": 0.505,
                "history_matches": 27,
                "history_shrink": 0.1562,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0034)",
              "stats": {
                "expected_goals": 0.1128,
                "goals": 0.1812,
                "goal_rate": 0.1812,
                "shots_on_target": 0.4714,
                "total_shots": 1.3421,
                "expected_assists": 0.1268,
                "key_pass": 1.0069,
                "rating": 6.9672,
                "minutes": 72.45,
                "total_pass": 21.0014,
                "accurate_pass": 17.4512,
                "duels_won": 5.6851,
                "total_long_balls": 0.9119,
                "accurate_long_balls": 0.5538,
                "total_opp_half_passes": 16.2023,
                "accurate_opp_half_passes": 13.0999,
                "crosses_total": 2.725,
                "crosses_accurate": 0.2487,
                "touches": 41.2375,
                "possession_lost": 13.3672,
                "dispossessed": 2.1431,
                "duels_lost": 5.4443,
                "aerial_lost": 0.1547,
                "total_contest": 4.3595,
                "won_contest": 2.4952,
                "ball_recovery": 2.2087,
                "challenges_lost": 0.5092,
                "fouls": 0.7758,
                "fouls_drawn": 1.8704,
                "assists": 0.2745,
                "assist_rate": 0.2745,
                "interceptions": 0.1233,
                "tackles_won": 0.4959,
                "tackles": 1.3242,
                "clearances": 0.4603,
                "blocks": 0.069,
                "big_chances_created": 0.5064,
                "big_chances_missed": 0.077,
                "xgot": 0.0527,
                "offsides": 0.0774,
                "ball_carries": 16.7076,
                "total_progression": 92.3846,
                "progressive_carries": 3.4756,
                "shots_off_target": 0.8737
              },
              "params": {
                "blend_weight": 0.0034,
                "history_matches": 27,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.805,
                "prior_reliability": 0.0333,
                "competition": "La Liga",
                "squad": "Villarreal"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 2.6905,
                  "after": 2.725
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.1183,
                  "after": 0.1233
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1128,
                "goals": 0.1812,
                "goal_rate": 0.1812,
                "shots_on_target": 0.4714,
                "total_shots": 1.3451,
                "expected_assists": 0.1268,
                "key_pass": 1.0069,
                "rating": 6.9672,
                "minutes": 72.45,
                "total_pass": 21.0014,
                "accurate_pass": 17.4512,
                "duels_won": 5.6851,
                "total_long_balls": 0.9119,
                "accurate_long_balls": 0.5538,
                "total_opp_half_passes": 16.2023,
                "accurate_opp_half_passes": 13.0999,
                "crosses_total": 2.725,
                "crosses_accurate": 0.2487,
                "touches": 41.2375,
                "possession_lost": 13.3672,
                "dispossessed": 2.1431,
                "duels_lost": 5.4443,
                "aerial_lost": 0.1547,
                "total_contest": 4.3595,
                "won_contest": 2.4952,
                "ball_recovery": 2.2087,
                "challenges_lost": 0.5092,
                "fouls": 0.7758,
                "fouls_drawn": 1.8704,
                "assists": 0.2745,
                "assist_rate": 0.2745,
                "interceptions": 0.1233,
                "tackles_won": 0.4959,
                "tackles": 1.3242,
                "clearances": 0.4603,
                "blocks": 0.069,
                "big_chances_created": 0.5064,
                "big_chances_missed": 0.077,
                "xgot": 0.0527,
                "offsides": 0.0774,
                "ball_carries": 16.7076,
                "total_progression": 92.3846,
                "progressive_carries": 3.4756,
                "shots_off_target": 0.8737
              },
              "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.1114,
                "goals": 0.179,
                "goal_rate": 0.179,
                "shots_on_target": 0.4656,
                "total_shots": 1.3285,
                "expected_assists": 0.1268,
                "key_pass": 1.0069,
                "rating": 6.9672,
                "minutes": 72.45,
                "total_pass": 21.0014,
                "accurate_pass": 17.4512,
                "duels_won": 5.6851,
                "total_long_balls": 0.9119,
                "accurate_long_balls": 0.5538,
                "total_opp_half_passes": 16.2023,
                "accurate_opp_half_passes": 13.0999,
                "crosses_total": 2.725,
                "crosses_accurate": 0.2487,
                "touches": 41.2375,
                "possession_lost": 13.3672,
                "dispossessed": 2.1431,
                "duels_lost": 5.4443,
                "aerial_lost": 0.1547,
                "total_contest": 4.3595,
                "won_contest": 2.4952,
                "ball_recovery": 2.2087,
                "challenges_lost": 0.5092,
                "fouls": 0.7758,
                "fouls_drawn": 1.8704,
                "assists": 0.2745,
                "assist_rate": 0.2745,
                "interceptions": 0.1233,
                "tackles_won": 0.4959,
                "tackles": 1.3242,
                "clearances": 0.4603,
                "blocks": 0.069,
                "big_chances_created": 0.5064,
                "big_chances_missed": 0.076,
                "xgot": 0.052,
                "offsides": 0.0774,
                "ball_carries": 16.7076,
                "total_progression": 92.3846,
                "progressive_carries": 3.4756,
                "shots_off_target": 0.8629,
                "duel_xg_multiplier": 0.9876,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.192,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Buba Sangaré, Roy Revivo",
                "opponent_faced": "Buba Sangaré, Roy Revivo",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Buba Sangaré, Roy Revivo",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.192,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.9876,
                  "skill_edge": 0.0256,
                  "height_edge": -0.034,
                  "attacker_skill": 0.5353,
                  "defender_skill": 0.4785,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Buba Sangaré",
                      "market_value": 4900000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4809
                    },
                    {
                      "player": "Roy Revivo",
                      "market_value": 4600000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4761
                    }
                  ],
                  "xg_override": 0.1114
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.3451,
                  "after": 1.3285
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.8737,
                  "after": 0.8629
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.4714,
                  "after": 0.4656
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.1114,
                "goal_rate": 0.179,
                "goals": 0,
                "shots_on_target": 0.4656,
                "total_shots": 1.3285,
                "expected_assists": 0.1268,
                "key_pass": 1.0069,
                "rating": 6.9672,
                "minutes": 72.45,
                "total_pass": 21.0014,
                "accurate_pass": 17.4512,
                "duels_won": 5.6851,
                "total_long_balls": 0.9119,
                "accurate_long_balls": 0.5538,
                "total_opp_half_passes": 16.2023,
                "accurate_opp_half_passes": 13.0999,
                "crosses_total": 2.725,
                "crosses_accurate": 0.2487,
                "touches": 41.2375,
                "possession_lost": 13.3672,
                "dispossessed": 2.1431,
                "duels_lost": 5.4443,
                "aerial_lost": 0.1547,
                "total_contest": 4.3595,
                "won_contest": 2.4952,
                "ball_recovery": 2.2087,
                "challenges_lost": 0.5092,
                "fouls": 0.7758,
                "fouls_drawn": 1.8704,
                "assist_rate": 0.2745,
                "assists": 0,
                "interceptions": 0.1233,
                "tackles_won": 0.4959,
                "tackles": 1.3242,
                "clearances": 0.4603,
                "blocks": 0.069,
                "big_chances_created": 0.5064,
                "big_chances_missed": 0.076,
                "xgot": 0.052,
                "offsides": 0.0774,
                "ball_carries": 16.7076,
                "total_progression": 92.3846,
                "progressive_carries": 3.4756,
                "shots_off_target": 0.8629,
                "duel_xg_multiplier": 0.9876,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.192,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Buba Sangaré, Roy Revivo",
                "opponent_faced": "Buba Sangaré, Roy Revivo",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.95 (squad xG sum 1.2540, xG scale 1.5534, xA scale 1.5534, team xA 1.43 = 0.73 x lambda)",
              "stats": {
                "expected_goals": 0.173,
                "goal_rate": 0.179,
                "goals": 0,
                "shots_on_target": 0.4656,
                "total_shots": 1.3285,
                "expected_assists": 0.197,
                "key_pass": 1.0069,
                "rating": 6.9672,
                "minutes": 72.45,
                "total_pass": 21.0014,
                "accurate_pass": 17.4512,
                "duels_won": 5.6851,
                "total_long_balls": 0.9119,
                "accurate_long_balls": 0.5538,
                "total_opp_half_passes": 16.2023,
                "accurate_opp_half_passes": 13.0999,
                "crosses_total": 2.725,
                "crosses_accurate": 0.2487,
                "touches": 41.2375,
                "possession_lost": 13.3672,
                "dispossessed": 2.1431,
                "duels_lost": 5.4443,
                "aerial_lost": 0.1547,
                "total_contest": 4.3595,
                "won_contest": 2.4952,
                "ball_recovery": 2.2087,
                "challenges_lost": 0.5092,
                "fouls": 0.7758,
                "fouls_drawn": 1.8704,
                "assist_rate": 0.2745,
                "assists": 0,
                "interceptions": 0.1233,
                "tackles_won": 0.4959,
                "tackles": 1.3242,
                "clearances": 0.4603,
                "blocks": 0.069,
                "big_chances_created": 0.5064,
                "big_chances_missed": 0.076,
                "xgot": 0.0808,
                "offsides": 0.0774,
                "ball_carries": 16.7076,
                "total_progression": 92.3846,
                "progressive_carries": 3.4756,
                "shots_off_target": 0.8629,
                "duel_xg_multiplier": 0.9876,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.192,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Buba Sangaré, Roy Revivo",
                "opponent_faced": "Buba Sangaré, Roy Revivo",
                "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.948,
                "squad_xg_sum": 1.254,
                "squad_xa_sum": 0.9174,
                "team_expected_assists": 1.4251,
                "team_xa_to_xg_ratio": 0.7316,
                "bench_appearance_weighted": true,
                "xg_scale": 1.5534,
                "xa_scale": 1.5534,
                "opponent_lambda": 0.898,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1114,
                  "after": 0.173
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1268,
                  "after": 0.197
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 7 by projected rating, fifa_overall 75.0)",
              "stats": {
                "expected_goals": 0.173,
                "goal_rate": 0.179,
                "goals": 0,
                "shots_on_target": 0.4656,
                "total_shots": 1.3285,
                "expected_assists": 0.197,
                "key_pass": 1.0069,
                "rating": 6.9672,
                "minutes": 72.45,
                "total_pass": 21.0014,
                "accurate_pass": 17.4512,
                "duels_won": 5.6851,
                "total_long_balls": 0.9119,
                "accurate_long_balls": 0.5538,
                "total_opp_half_passes": 16.2023,
                "accurate_opp_half_passes": 13.0999,
                "crosses_total": 2.725,
                "crosses_accurate": 0.2487,
                "touches": 41.2375,
                "possession_lost": 13.3672,
                "dispossessed": 2.1431,
                "duels_lost": 5.4443,
                "aerial_lost": 0.1547,
                "total_contest": 4.3595,
                "won_contest": 2.4952,
                "ball_recovery": 2.2087,
                "challenges_lost": 0.5092,
                "fouls": 0.7758,
                "fouls_drawn": 1.8704,
                "assist_rate": 0.2745,
                "assists": 0,
                "interceptions": 0.1233,
                "tackles_won": 0.4959,
                "tackles": 1.3242,
                "clearances": 0.4603,
                "blocks": 0.069,
                "big_chances_created": 0.5064,
                "big_chances_missed": 0.076,
                "xgot": 0.0808,
                "offsides": 0.0774,
                "ball_carries": 16.7076,
                "total_progression": 92.3846,
                "progressive_carries": 3.4756,
                "shots_off_target": 0.8629,
                "duel_xg_multiplier": 0.9876,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.192,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Buba Sangaré, Roy Revivo",
                "opponent_faced": "Buba Sangaré, Roy Revivo",
                "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": 75.0
              },
              "params": {
                "match_squad_rank": 7,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3623,
                "fifa_rank": 2412.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 75.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.173,
                "goal_rate": 0.179,
                "goals": 0,
                "shots_on_target": 0.4656,
                "total_shots": 1.3285,
                "expected_assists": 0.197,
                "key_pass": 1.0069,
                "rating": 6.9672,
                "minutes": 72.45,
                "total_pass": 21.0014,
                "accurate_pass": 17.4512,
                "duels_won": 5.6851,
                "total_long_balls": 0.9119,
                "accurate_long_balls": 0.5538,
                "total_opp_half_passes": 16.2023,
                "accurate_opp_half_passes": 13.0999,
                "crosses_total": 2.725,
                "crosses_accurate": 0.2487,
                "touches": 41.2375,
                "possession_lost": 13.3672,
                "dispossessed": 2.1431,
                "duels_lost": 5.4443,
                "aerial_lost": 0.1547,
                "total_contest": 4.3595,
                "won_contest": 2.4952,
                "ball_recovery": 2.2087,
                "challenges_lost": 0.5092,
                "fouls": 0.7758,
                "fouls_drawn": 1.8704,
                "assist_rate": 0.2745,
                "assists": 0,
                "interceptions": 0.1233,
                "tackles_won": 0.4959,
                "tackles": 1.3242,
                "clearances": 0.4603,
                "blocks": 0.069,
                "big_chances_created": 0.5064,
                "big_chances_missed": 0.076,
                "xgot": 0.0808,
                "offsides": 0.0774,
                "ball_carries": 16.7076,
                "total_progression": 92.3846,
                "progressive_carries": 3.4756,
                "shots_off_target": 0.8629,
                "duel_xg_multiplier": 0.9876,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.192,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Buba Sangaré, Roy Revivo",
                "opponent_faced": "Buba Sangaré, Roy Revivo",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1589,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1589,
                "goal_rate": 0.179,
                "scorer_weight": 0.2162,
                "squad_weight_total": 2.1033,
                "weight_share": 0.1028,
                "finishing_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ayoze Pérez",
                    "weight": 0.5937,
                    "already": 0,
                    "effective_weight": 0.5937,
                    "runner_up": "Alberto Moleiro",
                    "runner_up_effective_weight": 0.4755
                  }
                ]
              }
            },
            {
              "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.173,
                "goal_rate": 0.179,
                "goals": 0,
                "shots_on_target": 0.4656,
                "total_shots": 1.3285,
                "expected_assists": 0.197,
                "key_pass": 1.0069,
                "rating": 6.9672,
                "minutes": 72.45,
                "total_pass": 21.0014,
                "accurate_pass": 17.4512,
                "duels_won": 5.6851,
                "total_long_balls": 0.9119,
                "accurate_long_balls": 0.5538,
                "total_opp_half_passes": 16.2023,
                "accurate_opp_half_passes": 13.0999,
                "crosses_total": 2.725,
                "crosses_accurate": 0.2487,
                "touches": 41.2375,
                "possession_lost": 13.3672,
                "dispossessed": 2.1431,
                "duels_lost": 5.4443,
                "aerial_lost": 0.1547,
                "total_contest": 4.3595,
                "won_contest": 2.4952,
                "ball_recovery": 2.2087,
                "challenges_lost": 0.5092,
                "fouls": 0.7758,
                "fouls_drawn": 1.8704,
                "assist_rate": 0.2745,
                "assists": 0,
                "interceptions": 0.1233,
                "tackles_won": 0.4959,
                "tackles": 1.3242,
                "clearances": 0.4603,
                "blocks": 0.069,
                "big_chances_created": 0.5064,
                "big_chances_missed": 0.076,
                "xgot": 0.0808,
                "offsides": 0.0774,
                "ball_carries": 16.7076,
                "total_progression": 92.3846,
                "progressive_carries": 3.4756,
                "shots_off_target": 0.8629,
                "duel_xg_multiplier": 0.9876,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.192,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Buba Sangaré, Roy Revivo",
                "opponent_faced": "Buba Sangaré, Roy Revivo",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1589,
                "projected_assists": 0,
                "assist_probability": 0.1788,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1788,
                "assist_rate": 0.2745,
                "provider_weight": 0.2463,
                "squad_weight_total": 1.5258,
                "weight_share": 0.1614,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alberto Moleiro",
                    "weight": 0.3984,
                    "already": 0,
                    "effective_weight": 0.3984,
                    "runner_up": "Ilias Akhomach",
                    "runner_up_effective_weight": 0.2463,
                    "blocked_own_goal": [
                      "Ayoze Pérez"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Sergi Cardona": {
          "player_id": 986245,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 23,
          "height": 186,
          "market_value": 8600000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.7409,
            "minutes": 85,
            "total_pass": 43,
            "accurate_pass": 37,
            "duels_won": 4,
            "total_long_balls": 3,
            "accurate_long_balls": 1,
            "total_own_half_passes": 21,
            "accurate_own_half_passes": 20,
            "total_opp_half_passes": 22,
            "accurate_opp_half_passes": 17,
            "crosses_total": 3,
            "crosses_accurate": 0,
            "touches": 68,
            "possession_lost": 12.3254,
            "dispossessed": 0.4059,
            "duels_lost": 4,
            "aerial_lost": 0,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.0491,
            "goals": 0,
            "assist_rate": 0.0113,
            "assists": 0,
            "expected_goals": 0.0458,
            "expected_assists": 0.151,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0284,
            "ball_carries": 15,
            "total_progression": 68,
            "progressive_carries": 1,
            "key_pass": 1,
            "shots_off_target": 0,
            "opponent_faced": "Lucas Cepeda",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0448,
            "projected_assists": 0,
            "assist_probability": 0.1402,
            "finishing_factor": 1.2465,
            "creation_factor": 0.8,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16421066,
              "match_date": "2026-10-10",
              "home_team": "Real Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 67,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0064,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 25,
                "aerial_won": 1,
                "duels_won": 2,
                "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": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.015,
                "expected_assists": 0.3181,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 62,
                "accurate_pass": 52,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0457,
                "expected_assists": 0.0406,
                "total_shots": 2,
                "total_pass": 80,
                "accurate_pass": 73,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 3,
                "clearances": 2,
                "duels_won": 4,
                "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": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0381,
                "total_shots": 0,
                "total_pass": 59,
                "accurate_pass": 52,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083735,
              "match_date": "2026-05-24",
              "home_team": "Villarreal",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 23,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0146,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 10,
                "clearances": 2,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083682,
              "match_date": "2026-05-17",
              "home_team": "Rayo Vallecano",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.043,
                "expected_assists": 0.0321,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 40,
                "accurate_pass": 38,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083573,
              "match_date": "2026-05-10",
              "home_team": "Mallorca",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0138,
                "expected_assists": 0.007,
                "total_shots": 1,
                "total_pass": 38,
                "accurate_pass": 31,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083512,
              "match_date": "2026-05-02",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 17,
                "rating": 7.2,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.0041,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 11,
                "key_pass": 1,
                "interceptions": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083248,
              "match_date": "2026-04-26",
              "home_team": "Villarreal",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 12,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0055,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 7,
                "clearances": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083282,
              "match_date": "2026-04-23",
              "home_team": "Real Oviedo",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2454,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 27,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 3,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 6
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 2148,
            "combined_rank_score": 810.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 653.0,
            "sofascore_rating": 6.7387,
            "sofascore_appearances": 31.0,
            "fifa_rank": 967.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7409,
            "source_file": "data/player_rankings.csv",
            "player_name": "Sergi Cardona",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Álvaro Valles",
                  "ranking": 2143
                },
                {
                  "player_name": "Lazar Samardžić",
                  "ranking": 2144
                },
                {
                  "player_name": "Giovanny Avalos",
                  "ranking": 2145
                },
                {
                  "player_name": "Nahuel Tenaglia",
                  "ranking": 2146
                },
                {
                  "player_name": "Breel Embolo",
                  "ranking": 2147
                }
              ],
              "lower": [
                {
                  "player_name": "Kim Geon-oh",
                  "ranking": 2149
                },
                {
                  "player_name": "Ben Chilwell",
                  "ranking": 2150
                },
                {
                  "player_name": "Nicholas Duarte",
                  "ranking": 2151
                },
                {
                  "player_name": "Edem Nemanov",
                  "ranking": 2152
                },
                {
                  "player_name": "Samú Costa",
                  "ranking": 2153
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 35,
          "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",
              "totalTackle",
              "totalShots",
              "rating",
              "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": 35,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "XGBoost regressor (D_service) evaluated 35 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Villarreal, rel: 0.00, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.0764,
                "tackles": 1.5816,
                "tackles_won": 0.9731,
                "clearances": 2.2625,
                "aerial_won": 0.8589,
                "total_shots": 0.572,
                "rating": 6.7409,
                "minutes": 85.18,
                "total_pass": 43.45,
                "accurate_pass": 37.0602,
                "duels_won": 4.0066,
                "total_long_balls": 2.9786,
                "accurate_long_balls": 1.1963,
                "total_own_half_passes": 21.102,
                "accurate_own_half_passes": 19.6095,
                "total_opp_half_passes": 22.348,
                "accurate_opp_half_passes": 17.4508,
                "crosses_total": 2.6854,
                "crosses_accurate": 0.4611,
                "touches": 67.742,
                "possession_lost": 12.3254,
                "dispossessed": 0.4059,
                "duels_lost": 4.0731,
                "aerial_lost": 0.3631,
                "total_contest": 0.8939,
                "won_contest": 0.2406,
                "ball_recovery": 3.5455,
                "challenges_lost": 1.268,
                "fouls": 1.3899,
                "fouls_drawn": 1.1097,
                "blocks": 0.2491,
                "goals": 0.0491,
                "goal_rate": 0.0491,
                "assists": 0.0113,
                "assist_rate": 0.0113,
                "expected_goals": 0.0295,
                "expected_assists": 0.0972,
                "shots_on_target": 0.1664,
                "big_chances_created": 0.1615,
                "xgot": 0.0183,
                "ball_carries": 14.6722,
                "total_progression": 68.0218,
                "progressive_carries": 1.4927,
                "key_pass": 0.6143,
                "shots_off_target": 0.4056
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:05:00.533351+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Real Madrid",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.1505,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1279,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1087,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0924,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Atlético Madrid",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.0786,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0668,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Mallorca",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0568,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Levante UD",
                    "minutes": 17.0,
                    "is_starting": false,
                    "weight": 0.0482,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-04-26",
                    "opponent": "Celta Vigo",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.041,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-04-23",
                    "opponent": "Real Oviedo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 1.8199,
                  "aerialWon": 0.8093,
                  "totalClearance_p90": 2.8446,
                  "totalTackle": 1.2855,
                  "defensive_actions": 2.4187
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.076396107673645,
                    "model_output": 1.0764,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1172
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0797
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0351
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0215
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": 0.019
                        }
                      ],
                      "others": 0.0132,
                      "total": 1.0764,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.127609
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.078356
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.033789
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.020846
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": 0.018074
                        }
                      ],
                      "others_margin": 0.012329
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.5815558433532715,
                    "model_output": 1.5816,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1842
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0733
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0628
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0594
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0507
                        }
                      ],
                      "others": 0.0077,
                      "total": 1.5816,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.124313
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.047612
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.040978
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.037265
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.031689
                        }
                      ],
                      "others_margin": 0.004768
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.9731279015541077,
                    "model_output": 0.9731,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1199
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0566
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.054
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0306
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0265
                        }
                      ],
                      "others": 0.0587,
                      "total": 0.9731,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.131326
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.05986
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.05721
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.032043
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.028529
                        }
                      ],
                      "others_margin": 0.062285
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.2624990940093994,
                    "model_output": 2.2625,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.6763
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3723
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.2527
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.2199
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0838
                        }
                      ],
                      "others": -0.3098,
                      "total": 2.2625,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.219422
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.126692
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.08422
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.079534
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.032044
                        }
                      ],
                      "others_margin": -0.128358
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.8589178323745728,
                    "model_output": 0.8589,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.3071
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1453
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.1011
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0854
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0597
                        }
                      ],
                      "others": -0.1104,
                      "total": 0.8589,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.252268
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.12732
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.086806
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.079733
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.059733
                        }
                      ],
                      "others_margin": -0.120996
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5719964504241943,
                    "model_output": 0.572,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0642
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0425
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0226
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0206
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0093
                        }
                      ],
                      "others": -0.0165,
                      "total": 0.572,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.064228
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.042522
                        },
                        {
                          "name": "rating",
                          "margin": -0.022587
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.020627
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.009298
                        }
                      ],
                      "others_margin": -0.016591
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.740901470184326,
                    "model_output": 6.7409,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0192
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0137
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0122
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0108
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": 0.0096
                        }
                      ],
                      "others": -0.0249,
                      "total": 6.7409,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.019153
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.0137
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.012241
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.01078
                        },
                        {
                          "name": "tackle_success_rate",
                          "margin": 0.009608
                        }
                      ],
                      "others_margin": -0.024934
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 35,
                  "role_matches": 24,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0000, quality 0.506)",
              "stats": {
                "interceptions": 1.0764,
                "tackles": 1.5816,
                "tackles_won": 0.9731,
                "clearances": 2.2625,
                "aerial_won": 0.8589,
                "total_shots": 0.572,
                "rating": 6.7409,
                "minutes": 85.18,
                "total_pass": 43.45,
                "accurate_pass": 37.0602,
                "duels_won": 4.0066,
                "total_long_balls": 2.9786,
                "accurate_long_balls": 1.1963,
                "total_own_half_passes": 21.102,
                "accurate_own_half_passes": 19.6095,
                "total_opp_half_passes": 22.348,
                "accurate_opp_half_passes": 17.4508,
                "crosses_total": 2.6854,
                "crosses_accurate": 0.4611,
                "touches": 67.742,
                "possession_lost": 12.3254,
                "dispossessed": 0.4059,
                "duels_lost": 4.0731,
                "aerial_lost": 0.3631,
                "total_contest": 0.8939,
                "won_contest": 0.2406,
                "ball_recovery": 3.5455,
                "challenges_lost": 1.268,
                "fouls": 1.3899,
                "fouls_drawn": 1.1097,
                "blocks": 0.2491,
                "goals": 0.0491,
                "goal_rate": 0.0491,
                "assists": 0.0113,
                "assist_rate": 0.0113,
                "expected_goals": 0.0295,
                "expected_assists": 0.0972,
                "shots_on_target": 0.1664,
                "big_chances_created": 0.1615,
                "xgot": 0.0183,
                "ball_carries": 14.6722,
                "total_progression": 68.0218,
                "progressive_carries": 1.4927,
                "key_pass": 0.6143,
                "shots_off_target": 0.4056
              },
              "params": {
                "market_value_eur": 8600000,
                "quality_factor": 0.5059,
                "boost_factor": 1.0,
                "reference_quality": 0.505,
                "history_matches": 35,
                "history_shrink": 0.125,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.0764,
                "tackles": 1.5816,
                "tackles_won": 0.9731,
                "clearances": 2.2625,
                "aerial_won": 0.8589,
                "total_shots": 0.572,
                "rating": 6.7409,
                "minutes": 85.18,
                "total_pass": 43.45,
                "accurate_pass": 37.0602,
                "duels_won": 4.0066,
                "total_long_balls": 2.9786,
                "accurate_long_balls": 1.1963,
                "total_own_half_passes": 21.102,
                "accurate_own_half_passes": 19.6095,
                "total_opp_half_passes": 22.348,
                "accurate_opp_half_passes": 17.4508,
                "crosses_total": 2.6854,
                "crosses_accurate": 0.4611,
                "touches": 67.742,
                "possession_lost": 12.3254,
                "dispossessed": 0.4059,
                "duels_lost": 4.0731,
                "aerial_lost": 0.3631,
                "total_contest": 0.8939,
                "won_contest": 0.2406,
                "ball_recovery": 3.5455,
                "challenges_lost": 1.268,
                "fouls": 1.3899,
                "fouls_drawn": 1.1097,
                "blocks": 0.2491,
                "goals": 0.0491,
                "goal_rate": 0.0491,
                "assists": 0.0113,
                "assist_rate": 0.0113,
                "expected_goals": 0.0295,
                "expected_assists": 0.0972,
                "shots_on_target": 0.1664,
                "big_chances_created": 0.1615,
                "xgot": 0.0183,
                "ball_carries": 14.6722,
                "total_progression": 68.0218,
                "progressive_carries": 1.4927,
                "key_pass": 0.6143,
                "shots_off_target": 0.4056
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": true
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 1.0764,
                "tackles": 1.5816,
                "tackles_won": 0.9731,
                "clearances": 2.2625,
                "aerial_won": 0.8589,
                "total_shots": 0.572,
                "rating": 6.7409,
                "minutes": 85.18,
                "total_pass": 43.45,
                "accurate_pass": 37.0602,
                "duels_won": 4.0066,
                "total_long_balls": 2.9786,
                "accurate_long_balls": 1.1963,
                "total_own_half_passes": 21.102,
                "accurate_own_half_passes": 19.6095,
                "total_opp_half_passes": 22.348,
                "accurate_opp_half_passes": 17.4508,
                "crosses_total": 2.6854,
                "crosses_accurate": 0.4611,
                "touches": 67.742,
                "possession_lost": 12.3254,
                "dispossessed": 0.4059,
                "duels_lost": 4.0731,
                "aerial_lost": 0.3631,
                "total_contest": 0.8939,
                "won_contest": 0.2406,
                "ball_recovery": 3.5455,
                "challenges_lost": 1.268,
                "fouls": 1.3899,
                "fouls_drawn": 1.1097,
                "blocks": 0.2491,
                "goals": 0.0491,
                "goal_rate": 0.0491,
                "assists": 0.0113,
                "assist_rate": 0.0113,
                "expected_goals": 0.0295,
                "expected_assists": 0.0972,
                "shots_on_target": 0.1664,
                "big_chances_created": 0.1615,
                "xgot": 0.0183,
                "ball_carries": 14.6722,
                "total_progression": 68.0218,
                "progressive_carries": 1.4927,
                "key_pass": 0.6143,
                "shots_off_target": 0.4056,
                "opponent_faced": "Lucas Cepeda",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Lucas Cepeda",
                  "matchup_zone": "Shape fallback"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 1.0764,
                "tackles": 1.5816,
                "tackles_won": 0.9731,
                "clearances": 2.2625,
                "aerial_won": 0.8589,
                "total_shots": 0.572,
                "rating": 6.7409,
                "minutes": 85.18,
                "total_pass": 43.45,
                "accurate_pass": 37.0602,
                "duels_won": 4.0066,
                "total_long_balls": 2.9786,
                "accurate_long_balls": 1.1963,
                "total_own_half_passes": 21.102,
                "accurate_own_half_passes": 19.6095,
                "total_opp_half_passes": 22.348,
                "accurate_opp_half_passes": 17.4508,
                "crosses_total": 2.6854,
                "crosses_accurate": 0.4611,
                "touches": 67.742,
                "possession_lost": 12.3254,
                "dispossessed": 0.4059,
                "duels_lost": 4.0731,
                "aerial_lost": 0.3631,
                "total_contest": 0.8939,
                "won_contest": 0.2406,
                "ball_recovery": 3.5455,
                "challenges_lost": 1.268,
                "fouls": 1.3899,
                "fouls_drawn": 1.1097,
                "blocks": 0.2491,
                "goal_rate": 0.0491,
                "goals": 0,
                "assist_rate": 0.0113,
                "assists": 0,
                "expected_goals": 0.0295,
                "expected_assists": 0.0972,
                "shots_on_target": 0.1664,
                "big_chances_created": 0.1615,
                "xgot": 0.0183,
                "ball_carries": 14.6722,
                "total_progression": 68.0218,
                "progressive_carries": 1.4927,
                "key_pass": 0.6143,
                "shots_off_target": 0.4056,
                "opponent_faced": "Lucas Cepeda",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.95 (squad xG sum 1.2540, xG scale 1.5534, xA scale 1.5534, team xA 1.43 = 0.73 x lambda)",
              "stats": {
                "interceptions": 1.0764,
                "tackles": 1.5816,
                "tackles_won": 0.9731,
                "clearances": 2.2625,
                "aerial_won": 0.8589,
                "total_shots": 0.572,
                "rating": 6.7409,
                "minutes": 85.18,
                "total_pass": 43.45,
                "accurate_pass": 37.0602,
                "duels_won": 4.0066,
                "total_long_balls": 2.9786,
                "accurate_long_balls": 1.1963,
                "total_own_half_passes": 21.102,
                "accurate_own_half_passes": 19.6095,
                "total_opp_half_passes": 22.348,
                "accurate_opp_half_passes": 17.4508,
                "crosses_total": 2.6854,
                "crosses_accurate": 0.4611,
                "touches": 67.742,
                "possession_lost": 12.3254,
                "dispossessed": 0.4059,
                "duels_lost": 4.0731,
                "aerial_lost": 0.3631,
                "total_contest": 0.8939,
                "won_contest": 0.2406,
                "ball_recovery": 3.5455,
                "challenges_lost": 1.268,
                "fouls": 1.3899,
                "fouls_drawn": 1.1097,
                "blocks": 0.2491,
                "goal_rate": 0.0491,
                "goals": 0,
                "assist_rate": 0.0113,
                "assists": 0,
                "expected_goals": 0.0458,
                "expected_assists": 0.151,
                "shots_on_target": 0.1664,
                "big_chances_created": 0.1615,
                "xgot": 0.0284,
                "ball_carries": 14.6722,
                "total_progression": 68.0218,
                "progressive_carries": 1.4927,
                "key_pass": 0.6143,
                "shots_off_target": 0.4056,
                "opponent_faced": "Lucas Cepeda",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2465,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.948,
                "squad_xg_sum": 1.254,
                "squad_xa_sum": 0.9174,
                "team_expected_assists": 1.4251,
                "team_xa_to_xg_ratio": 0.7316,
                "bench_appearance_weighted": true,
                "xg_scale": 1.5534,
                "xa_scale": 1.5534,
                "opponent_lambda": 0.898,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0295,
                  "after": 0.0458
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0972,
                  "after": 0.151
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 16 by projected rating, fifa_overall 79.0)",
              "stats": {
                "interceptions": 1.0764,
                "tackles": 1.5816,
                "tackles_won": 0.9731,
                "clearances": 2.2625,
                "aerial_won": 0.8589,
                "total_shots": 0.572,
                "rating": 6.7409,
                "minutes": 85.18,
                "total_pass": 43.45,
                "accurate_pass": 37.0602,
                "duels_won": 4.0066,
                "total_long_balls": 2.9786,
                "accurate_long_balls": 1.1963,
                "total_own_half_passes": 21.102,
                "accurate_own_half_passes": 19.6095,
                "total_opp_half_passes": 22.348,
                "accurate_opp_half_passes": 17.4508,
                "crosses_total": 2.6854,
                "crosses_accurate": 0.4611,
                "touches": 67.742,
                "possession_lost": 12.3254,
                "dispossessed": 0.4059,
                "duels_lost": 4.0731,
                "aerial_lost": 0.3631,
                "total_contest": 0.8939,
                "won_contest": 0.2406,
                "ball_recovery": 3.5455,
                "challenges_lost": 1.268,
                "fouls": 1.3899,
                "fouls_drawn": 1.1097,
                "blocks": 0.2491,
                "goal_rate": 0.0491,
                "goals": 0,
                "assist_rate": 0.0113,
                "assists": 0,
                "expected_goals": 0.0458,
                "expected_assists": 0.151,
                "shots_on_target": 0.1664,
                "big_chances_created": 0.1615,
                "xgot": 0.0284,
                "ball_carries": 14.6722,
                "total_progression": 68.0218,
                "progressive_carries": 1.4927,
                "key_pass": 0.6143,
                "shots_off_target": 0.4056,
                "opponent_faced": "Lucas Cepeda",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2465,
                "creation_factor": 0.8,
                "fifa_overall": 79.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": 2148,
                "fifa_rank": 967.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": {
                "interceptions": 1.0764,
                "tackles": 1.5816,
                "tackles_won": 0.9731,
                "clearances": 2.2625,
                "aerial_won": 0.8589,
                "total_shots": 0.572,
                "rating": 6.7409,
                "minutes": 85.18,
                "total_pass": 43.45,
                "accurate_pass": 37.0602,
                "duels_won": 4.0066,
                "total_long_balls": 2.9786,
                "accurate_long_balls": 1.1963,
                "total_own_half_passes": 21.102,
                "accurate_own_half_passes": 19.6095,
                "total_opp_half_passes": 22.348,
                "accurate_opp_half_passes": 17.4508,
                "crosses_total": 2.6854,
                "crosses_accurate": 0.4611,
                "touches": 67.742,
                "possession_lost": 12.3254,
                "dispossessed": 0.4059,
                "duels_lost": 4.0731,
                "aerial_lost": 0.3631,
                "total_contest": 0.8939,
                "won_contest": 0.2406,
                "ball_recovery": 3.5455,
                "challenges_lost": 1.268,
                "fouls": 1.3899,
                "fouls_drawn": 1.1097,
                "blocks": 0.2491,
                "goal_rate": 0.0491,
                "goals": 0,
                "assist_rate": 0.0113,
                "assists": 0,
                "expected_goals": 0.0458,
                "expected_assists": 0.151,
                "shots_on_target": 0.1664,
                "big_chances_created": 0.1615,
                "xgot": 0.0284,
                "ball_carries": 14.6722,
                "total_progression": 68.0218,
                "progressive_carries": 1.4927,
                "key_pass": 0.6143,
                "shots_off_target": 0.4056,
                "opponent_faced": "Lucas Cepeda",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0448,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2465,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0448,
                "goal_rate": 0.0491,
                "scorer_weight": 0.0571,
                "squad_weight_total": 2.1033,
                "weight_share": 0.0271,
                "finishing_factor": 1.2465,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ayoze Pérez",
                    "weight": 0.5937,
                    "already": 0,
                    "effective_weight": 0.5937,
                    "runner_up": "Alberto Moleiro",
                    "runner_up_effective_weight": 0.4755
                  }
                ]
              }
            },
            {
              "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.0764,
                "tackles": 1.5816,
                "tackles_won": 0.9731,
                "clearances": 2.2625,
                "aerial_won": 0.8589,
                "total_shots": 0.572,
                "rating": 6.7409,
                "minutes": 85.18,
                "total_pass": 43.45,
                "accurate_pass": 37.0602,
                "duels_won": 4.0066,
                "total_long_balls": 2.9786,
                "accurate_long_balls": 1.1963,
                "total_own_half_passes": 21.102,
                "accurate_own_half_passes": 19.6095,
                "total_opp_half_passes": 22.348,
                "accurate_opp_half_passes": 17.4508,
                "crosses_total": 2.6854,
                "crosses_accurate": 0.4611,
                "touches": 67.742,
                "possession_lost": 12.3254,
                "dispossessed": 0.4059,
                "duels_lost": 4.0731,
                "aerial_lost": 0.3631,
                "total_contest": 0.8939,
                "won_contest": 0.2406,
                "ball_recovery": 3.5455,
                "challenges_lost": 1.268,
                "fouls": 1.3899,
                "fouls_drawn": 1.1097,
                "blocks": 0.2491,
                "goal_rate": 0.0491,
                "goals": 0,
                "assist_rate": 0.0113,
                "assists": 0,
                "expected_goals": 0.0458,
                "expected_assists": 0.151,
                "shots_on_target": 0.1664,
                "big_chances_created": 0.1615,
                "xgot": 0.0284,
                "ball_carries": 14.6722,
                "total_progression": 68.0218,
                "progressive_carries": 1.4927,
                "key_pass": 0.6143,
                "shots_off_target": 0.4056,
                "opponent_faced": "Lucas Cepeda",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0448,
                "projected_assists": 0,
                "assist_probability": 0.1402,
                "finishing_factor": 1.2465,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1402,
                "assist_rate": 0.0113,
                "provider_weight": 0.1208,
                "squad_weight_total": 1.5258,
                "weight_share": 0.0792,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alberto Moleiro",
                    "weight": 0.3984,
                    "already": 0,
                    "effective_weight": 0.3984,
                    "runner_up": "Ilias Akhomach",
                    "runner_up_effective_weight": 0.2463,
                    "blocked_own_goal": [
                      "Ayoze Pérez"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Renato Veiga": {
          "player_id": 1087359,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 12,
          "height": 190,
          "market_value": 29000000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 5,
            "aerial_won": 2,
            "total_shots": 1,
            "rating": 7.091,
            "minutes": 90,
            "total_pass": 79,
            "accurate_pass": 72,
            "duels_won": 2,
            "total_long_balls": 9,
            "accurate_long_balls": 5,
            "total_own_half_passes": 48,
            "accurate_own_half_passes": 46,
            "total_opp_half_passes": 31,
            "accurate_opp_half_passes": 26,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 91,
            "possession_lost": 8.3699,
            "dispossessed": 0.1855,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0917,
            "assists": 0,
            "expected_goals": 0.0289,
            "expected_assists": 0.139,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0005,
            "ball_carries": 31,
            "total_progression": 122,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 1,
            "tackles_in_zone": 1.1,
            "tackles_won_in_zone": 1.0,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 1.0,
            "aerial_duels_won": 0.5,
            "defensive_success_rate": 0.82,
            "opponent_faced": "Fernando Niñ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.0285,
            "projected_assists": 0,
            "assist_probability": 0.1298,
            "finishing_factor": 0.8,
            "creation_factor": 1.0158,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16421066,
              "match_date": "2026-10-10",
              "home_team": "Real Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0299,
                "expected_assists": 0.0139,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 68,
                "accurate_pass": 56,
                "interceptions": 1,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 2,
                "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": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2275,
                "total_shots": 0,
                "total_pass": 110,
                "accurate_pass": 106,
                "key_pass": 1,
                "clearances": 5,
                "duels_won": 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": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0176,
                "expected_assists": 0.0731,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 92,
                "accurate_pass": 82,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 2,
                "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": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.9,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.3191,
                "total_shots": 0,
                "total_pass": 91,
                "accurate_pass": 84,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 7
              },
              "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": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0209,
                "total_shots": 0,
                "total_pass": 78,
                "accurate_pass": 74,
                "interceptions": 3,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1297,
                "expected_assists": 0.0324,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 92,
                "accurate_pass": 84,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416302,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0087,
                "total_shots": 0,
                "total_pass": 58,
                "accurate_pass": 52,
                "interceptions": 2,
                "clearances": 8,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2498,
                "total_shots": 0,
                "total_pass": 80,
                "accurate_pass": 76,
                "interceptions": 2,
                "clearances": 9,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083644,
              "match_date": "2026-05-13",
              "home_team": "Villarreal",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0324,
                "total_shots": 0,
                "total_pass": 88,
                "accurate_pass": 81,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 3,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083573,
              "match_date": "2026-05-10",
              "home_team": "Mallorca",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0034,
                "total_shots": 0,
                "total_pass": 50,
                "accurate_pass": 45,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 2081,
            "combined_rank_score": 791.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 336.0,
            "sofascore_rating": 7.0,
            "sofascore_appearances": 1.0,
            "fifa_rank": 1247.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.091,
            "source_file": "data/player_rankings.csv",
            "player_name": "Renato Veiga",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Chan-dong Lee",
                  "ranking": 2076
                },
                {
                  "player_name": "Leonardo Spinazzola",
                  "ranking": 2077
                },
                {
                  "player_name": "Toni Martínez",
                  "ranking": 2078
                },
                {
                  "player_name": "Callum Hudson Odoi",
                  "ranking": 2079
                },
                {
                  "player_name": "Cédric Bakambu",
                  "ranking": 2080
                }
              ],
              "lower": [
                {
                  "player_name": "Shodiyor Shodiboev",
                  "ranking": 2082
                },
                {
                  "player_name": "Matija Rom",
                  "ranking": 2083
                },
                {
                  "player_name": "Franco Rami",
                  "ranking": 2084
                },
                {
                  "player_name": "Jon Aramburu",
                  "ranking": 2085
                },
                {
                  "player_name": "Nikita Haikin",
                  "ranking": 2086
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 40,
          "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",
              "totalTackle",
              "totalShots",
              "rating",
              "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": 40,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0068,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 270.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.67,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (D_service) evaluated 40 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Villarreal, rel: 0.20, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.0266,
                "tackles": 0.8883,
                "tackles_won": 0.5747,
                "clearances": 5.2712,
                "aerial_won": 1.584,
                "total_shots": 0.5942,
                "rating": 7.091,
                "minutes": 89.85,
                "total_pass": 78.6096,
                "accurate_pass": 71.5111,
                "duels_won": 2.114,
                "total_long_balls": 8.8836,
                "accurate_long_balls": 4.4913,
                "total_own_half_passes": 48.0417,
                "accurate_own_half_passes": 45.9022,
                "total_opp_half_passes": 30.568,
                "accurate_opp_half_passes": 25.609,
                "crosses_total": 0.0703,
                "crosses_accurate": 0.0,
                "touches": 90.8441,
                "possession_lost": 8.3134,
                "dispossessed": 0.1842,
                "duels_lost": 2.1063,
                "aerial_lost": 0.7154,
                "total_contest": 0.4827,
                "won_contest": 0.3452,
                "ball_recovery": 3.4354,
                "challenges_lost": 0.4344,
                "fouls": 0.7289,
                "fouls_drawn": 0.1287,
                "blocks": 1.2299,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0924,
                "assist_rate": 0.0924,
                "expected_goals": 0.0185,
                "expected_assists": 0.0889,
                "shots_on_target": 0.0075,
                "big_chances_created": 0.0962,
                "xgot": 0.0003,
                "ball_carries": 31.2242,
                "total_progression": 121.0688,
                "progressive_carries": 0.778,
                "key_pass": 0.3587,
                "shots_off_target": 0.5867
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:05:00.533351+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Mallorca",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 5.1221,
                  "aerialWon": 1.2728,
                  "totalClearance_p90": 5.3445,
                  "totalTackle": 0.3343,
                  "defensive_actions": 1.3823
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.0266064405441284,
                    "model_output": 1.0266,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1101
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0401
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0323
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0281
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0261
                        }
                      ],
                      "others": 0.0374,
                      "total": 1.0266,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.120375
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.040465
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.031465
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": -0.027301
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.026084
                        }
                      ],
                      "others_margin": 0.037146
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.888306200504303,
                    "model_output": 0.8883,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.1891
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1398
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.1239
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0795
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0571
                        }
                      ],
                      "others": -0.1934,
                      "total": 0.8883,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.146054
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.110011
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.096855
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.067518
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.051418
                        }
                      ],
                      "others_margin": -0.196991
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.5746592283248901,
                    "model_output": 0.5747,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.1082
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.085
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0737
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0381
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0342
                        }
                      ],
                      "others": -0.1103,
                      "total": 0.5747,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.135456
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.10787
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.092828
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.051637
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.048732
                        }
                      ],
                      "others_margin": -0.175565
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 5.271219253540039,
                    "model_output": 5.2712,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.6934
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5274
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.4005
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.2906
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.2264
                        }
                      ],
                      "others": -0.2998,
                      "total": 5.2712,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.183982
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.12029
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.082564
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.05591
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.041488
                        }
                      ],
                      "others_margin": -0.055328
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.584022879600525,
                    "model_output": 1.584,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1343
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1342
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0932
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0908
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0827
                        }
                      ],
                      "others": 0.1215,
                      "total": 1.584,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.093074
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.092965
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.065466
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.063744
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.058181
                        }
                      ],
                      "others_margin": 0.079822
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5941957831382751,
                    "model_output": 0.5942,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0575
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0568
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0221
                        },
                        {
                          "name": "wonTackle",
                          "contribution": 0.0179
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0164
                        }
                      ],
                      "others": -0.0068,
                      "total": 0.5942,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": 0.057524
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.056826
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.022109
                        },
                        {
                          "name": "wonTackle",
                          "margin": 0.017863
                        },
                        {
                          "name": "rating",
                          "margin": 0.016368
                        }
                      ],
                      "others_margin": -0.006777
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.091034889221191,
                    "model_output": 7.091,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.102
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0712
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0461
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0285
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0227
                        }
                      ],
                      "others": 0.0358,
                      "total": 7.091,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.102026
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.071152
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.046129
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.028521
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.022745
                        }
                      ],
                      "others_margin": 0.035759
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 40,
                  "role_matches": 35,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0068, quality 0.710)",
              "stats": {
                "interceptions": 1.0336,
                "tackles": 0.8943,
                "tackles_won": 0.5786,
                "clearances": 5.3071,
                "aerial_won": 1.5948,
                "total_shots": 0.5983,
                "rating": 7.091,
                "minutes": 89.85,
                "total_pass": 79.1441,
                "accurate_pass": 71.9974,
                "duels_won": 2.1284,
                "total_long_balls": 8.944,
                "accurate_long_balls": 4.5218,
                "total_own_half_passes": 48.3684,
                "accurate_own_half_passes": 46.2143,
                "total_opp_half_passes": 30.7759,
                "accurate_opp_half_passes": 25.7831,
                "crosses_total": 0.0708,
                "crosses_accurate": 0.0,
                "touches": 91.4618,
                "possession_lost": 8.3699,
                "dispossessed": 0.1855,
                "duels_lost": 2.1206,
                "aerial_lost": 0.7203,
                "total_contest": 0.486,
                "won_contest": 0.3475,
                "ball_recovery": 3.4588,
                "challenges_lost": 0.4374,
                "fouls": 0.7339,
                "fouls_drawn": 0.1296,
                "blocks": 1.2383,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.093,
                "assist_rate": 0.093,
                "expected_goals": 0.0186,
                "expected_assists": 0.0895,
                "shots_on_target": 0.0076,
                "big_chances_created": 0.0969,
                "xgot": 0.0003,
                "ball_carries": 31.4365,
                "total_progression": 121.8921,
                "progressive_carries": 0.7833,
                "key_pass": 0.3611,
                "shots_off_target": 0.5907
              },
              "params": {
                "market_value_eur": 29000000,
                "quality_factor": 0.71,
                "boost_factor": 1.0068,
                "reference_quality": 0.505,
                "history_matches": 40,
                "history_shrink": 0.1111,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0144)",
              "stats": {
                "interceptions": 1.0379,
                "tackles": 0.8943,
                "tackles_won": 0.5702,
                "clearances": 5.3071,
                "aerial_won": 1.5948,
                "total_shots": 0.5993,
                "rating": 7.091,
                "minutes": 89.85,
                "total_pass": 79.1441,
                "accurate_pass": 71.9974,
                "duels_won": 2.1284,
                "total_long_balls": 8.944,
                "accurate_long_balls": 4.5218,
                "total_own_half_passes": 48.3684,
                "accurate_own_half_passes": 46.2143,
                "total_opp_half_passes": 30.7759,
                "accurate_opp_half_passes": 25.7831,
                "crosses_total": 0.0746,
                "crosses_accurate": 0.0,
                "touches": 91.4618,
                "possession_lost": 8.3699,
                "dispossessed": 0.1855,
                "duels_lost": 2.1206,
                "aerial_lost": 0.7203,
                "total_contest": 0.486,
                "won_contest": 0.3475,
                "ball_recovery": 3.4588,
                "challenges_lost": 0.4374,
                "fouls": 0.7377,
                "fouls_drawn": 0.1325,
                "blocks": 1.2383,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0917,
                "assist_rate": 0.0917,
                "expected_goals": 0.0186,
                "expected_assists": 0.0895,
                "shots_on_target": 0.0075,
                "big_chances_created": 0.0969,
                "xgot": 0.0003,
                "ball_carries": 31.4365,
                "total_progression": 121.8921,
                "progressive_carries": 0.7833,
                "key_pass": 0.3611,
                "shots_off_target": 0.5907
              },
              "params": {
                "blend_weight": 0.0144,
                "history_matches": 40,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9983,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Villarreal"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.5786,
                  "after": 0.5702
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.0379,
                "tackles": 0.8943,
                "tackles_won": 0.5702,
                "clearances": 5.3071,
                "aerial_won": 1.5948,
                "total_shots": 0.5993,
                "rating": 7.091,
                "minutes": 89.85,
                "total_pass": 79.1441,
                "accurate_pass": 71.9974,
                "duels_won": 2.1284,
                "total_long_balls": 8.944,
                "accurate_long_balls": 4.5218,
                "total_own_half_passes": 48.3684,
                "accurate_own_half_passes": 46.2143,
                "total_opp_half_passes": 30.7759,
                "accurate_opp_half_passes": 25.7831,
                "crosses_total": 0.0746,
                "crosses_accurate": 0.0,
                "touches": 91.4618,
                "possession_lost": 8.3699,
                "dispossessed": 0.1855,
                "duels_lost": 2.1206,
                "aerial_lost": 0.7203,
                "total_contest": 0.486,
                "won_contest": 0.3475,
                "ball_recovery": 3.4588,
                "challenges_lost": 0.4374,
                "fouls": 0.7377,
                "fouls_drawn": 0.1325,
                "blocks": 1.2383,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0917,
                "assist_rate": 0.0917,
                "expected_goals": 0.0186,
                "expected_assists": 0.0895,
                "shots_on_target": 0.0075,
                "big_chances_created": 0.0969,
                "xgot": 0.0003,
                "ball_carries": 31.4365,
                "total_progression": 121.8921,
                "progressive_carries": 0.7833,
                "key_pass": 0.3611,
                "shots_off_target": 0.5907
              },
              "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.0379,
                "tackles": 0.8943,
                "tackles_won": 0.5702,
                "clearances": 5.3071,
                "aerial_won": 1.5948,
                "total_shots": 0.5993,
                "rating": 7.091,
                "minutes": 89.85,
                "total_pass": 79.1441,
                "accurate_pass": 71.9974,
                "duels_won": 2.1284,
                "total_long_balls": 8.944,
                "accurate_long_balls": 4.5218,
                "total_own_half_passes": 48.3684,
                "accurate_own_half_passes": 46.2143,
                "total_opp_half_passes": 30.7759,
                "accurate_opp_half_passes": 25.7831,
                "crosses_total": 0.0746,
                "crosses_accurate": 0.0,
                "touches": 91.4618,
                "possession_lost": 8.3699,
                "dispossessed": 0.1855,
                "duels_lost": 2.1206,
                "aerial_lost": 0.7203,
                "total_contest": 0.486,
                "won_contest": 0.3475,
                "ball_recovery": 3.4588,
                "challenges_lost": 0.4374,
                "fouls": 0.7377,
                "fouls_drawn": 0.1325,
                "blocks": 1.2383,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0917,
                "assist_rate": 0.0917,
                "expected_goals": 0.0186,
                "expected_assists": 0.0895,
                "shots_on_target": 0.0075,
                "big_chances_created": 0.0969,
                "xgot": 0.0003,
                "ball_carries": 31.4365,
                "total_progression": 121.8921,
                "progressive_carries": 0.7833,
                "key_pass": 0.3611,
                "shots_off_target": 0.5907,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 1.0,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Fernando Niñ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": "Fernando Niño",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 1.0379,
                "tackles": 0.8943,
                "tackles_won": 0.5702,
                "clearances": 5.3071,
                "aerial_won": 1.5948,
                "total_shots": 0.5993,
                "rating": 7.091,
                "minutes": 89.85,
                "total_pass": 79.1441,
                "accurate_pass": 71.9974,
                "duels_won": 2.1284,
                "total_long_balls": 8.944,
                "accurate_long_balls": 4.5218,
                "total_own_half_passes": 48.3684,
                "accurate_own_half_passes": 46.2143,
                "total_opp_half_passes": 30.7759,
                "accurate_opp_half_passes": 25.7831,
                "crosses_total": 0.0746,
                "crosses_accurate": 0.0,
                "touches": 91.4618,
                "possession_lost": 8.3699,
                "dispossessed": 0.1855,
                "duels_lost": 2.1206,
                "aerial_lost": 0.7203,
                "total_contest": 0.486,
                "won_contest": 0.3475,
                "ball_recovery": 3.4588,
                "challenges_lost": 0.4374,
                "fouls": 0.7377,
                "fouls_drawn": 0.1325,
                "blocks": 1.2383,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0917,
                "assists": 0,
                "expected_goals": 0.0186,
                "expected_assists": 0.0895,
                "shots_on_target": 0.0075,
                "big_chances_created": 0.0969,
                "xgot": 0.0003,
                "ball_carries": 31.4365,
                "total_progression": 121.8921,
                "progressive_carries": 0.7833,
                "key_pass": 0.3611,
                "shots_off_target": 0.5907,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 1.0,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Fernando Niño",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.95 (squad xG sum 1.2540, xG scale 1.5534, xA scale 1.5534, team xA 1.43 = 0.73 x lambda)",
              "stats": {
                "interceptions": 1.0379,
                "tackles": 0.8943,
                "tackles_won": 0.5702,
                "clearances": 5.3071,
                "aerial_won": 1.5948,
                "total_shots": 0.5993,
                "rating": 7.091,
                "minutes": 89.85,
                "total_pass": 79.1441,
                "accurate_pass": 71.9974,
                "duels_won": 2.1284,
                "total_long_balls": 8.944,
                "accurate_long_balls": 4.5218,
                "total_own_half_passes": 48.3684,
                "accurate_own_half_passes": 46.2143,
                "total_opp_half_passes": 30.7759,
                "accurate_opp_half_passes": 25.7831,
                "crosses_total": 0.0746,
                "crosses_accurate": 0.0,
                "touches": 91.4618,
                "possession_lost": 8.3699,
                "dispossessed": 0.1855,
                "duels_lost": 2.1206,
                "aerial_lost": 0.7203,
                "total_contest": 0.486,
                "won_contest": 0.3475,
                "ball_recovery": 3.4588,
                "challenges_lost": 0.4374,
                "fouls": 0.7377,
                "fouls_drawn": 0.1325,
                "blocks": 1.2383,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0917,
                "assists": 0,
                "expected_goals": 0.0289,
                "expected_assists": 0.139,
                "shots_on_target": 0.0075,
                "big_chances_created": 0.0969,
                "xgot": 0.0005,
                "ball_carries": 31.4365,
                "total_progression": 121.8921,
                "progressive_carries": 0.7833,
                "key_pass": 0.3611,
                "shots_off_target": 0.5907,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 1.0,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Fernando Niñ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": 0.8,
                "creation_factor": 1.0158
              },
              "params": {
                "team_lambda": 1.948,
                "squad_xg_sum": 1.254,
                "squad_xa_sum": 0.9174,
                "team_expected_assists": 1.4251,
                "team_xa_to_xg_ratio": 0.7316,
                "bench_appearance_weighted": true,
                "xg_scale": 1.5534,
                "xa_scale": 1.5534,
                "opponent_lambda": 0.898,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0186,
                  "after": 0.0289
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0895,
                  "after": 0.139
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 4 by projected rating, fifa_overall 78.0)",
              "stats": {
                "interceptions": 1.0379,
                "tackles": 0.8943,
                "tackles_won": 0.5702,
                "clearances": 5.3071,
                "aerial_won": 1.5948,
                "total_shots": 0.5993,
                "rating": 7.091,
                "minutes": 89.85,
                "total_pass": 79.1441,
                "accurate_pass": 71.9974,
                "duels_won": 2.1284,
                "total_long_balls": 8.944,
                "accurate_long_balls": 4.5218,
                "total_own_half_passes": 48.3684,
                "accurate_own_half_passes": 46.2143,
                "total_opp_half_passes": 30.7759,
                "accurate_opp_half_passes": 25.7831,
                "crosses_total": 0.0746,
                "crosses_accurate": 0.0,
                "touches": 91.4618,
                "possession_lost": 8.3699,
                "dispossessed": 0.1855,
                "duels_lost": 2.1206,
                "aerial_lost": 0.7203,
                "total_contest": 0.486,
                "won_contest": 0.3475,
                "ball_recovery": 3.4588,
                "challenges_lost": 0.4374,
                "fouls": 0.7377,
                "fouls_drawn": 0.1325,
                "blocks": 1.2383,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0917,
                "assists": 0,
                "expected_goals": 0.0289,
                "expected_assists": 0.139,
                "shots_on_target": 0.0075,
                "big_chances_created": 0.0969,
                "xgot": 0.0005,
                "ball_carries": 31.4365,
                "total_progression": 121.8921,
                "progressive_carries": 0.7833,
                "key_pass": 0.3611,
                "shots_off_target": 0.5907,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 1.0,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Fernando Niñ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": 0.8,
                "creation_factor": 1.0158,
                "fifa_overall": 78.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": 2081,
                "fifa_rank": 1247.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.0379,
                "tackles": 0.8943,
                "tackles_won": 0.5702,
                "clearances": 5.3071,
                "aerial_won": 1.5948,
                "total_shots": 0.5993,
                "rating": 7.091,
                "minutes": 89.85,
                "total_pass": 79.1441,
                "accurate_pass": 71.9974,
                "duels_won": 2.1284,
                "total_long_balls": 8.944,
                "accurate_long_balls": 4.5218,
                "total_own_half_passes": 48.3684,
                "accurate_own_half_passes": 46.2143,
                "total_opp_half_passes": 30.7759,
                "accurate_opp_half_passes": 25.7831,
                "crosses_total": 0.0746,
                "crosses_accurate": 0.0,
                "touches": 91.4618,
                "possession_lost": 8.3699,
                "dispossessed": 0.1855,
                "duels_lost": 2.1206,
                "aerial_lost": 0.7203,
                "total_contest": 0.486,
                "won_contest": 0.3475,
                "ball_recovery": 3.4588,
                "challenges_lost": 0.4374,
                "fouls": 0.7377,
                "fouls_drawn": 0.1325,
                "blocks": 1.2383,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0917,
                "assists": 0,
                "expected_goals": 0.0289,
                "expected_assists": 0.139,
                "shots_on_target": 0.0075,
                "big_chances_created": 0.0969,
                "xgot": 0.0005,
                "ball_carries": 31.4365,
                "total_progression": 121.8921,
                "progressive_carries": 0.7833,
                "key_pass": 0.3611,
                "shots_off_target": 0.5907,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 1.0,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Fernando Niñ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.0285,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.0158,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0285,
                "goal_rate": 0.0,
                "scorer_weight": 0.0231,
                "squad_weight_total": 2.1033,
                "weight_share": 0.011,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ayoze Pérez",
                    "weight": 0.5937,
                    "already": 0,
                    "effective_weight": 0.5937,
                    "runner_up": "Alberto Moleiro",
                    "runner_up_effective_weight": 0.4755
                  }
                ]
              }
            },
            {
              "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.0379,
                "tackles": 0.8943,
                "tackles_won": 0.5702,
                "clearances": 5.3071,
                "aerial_won": 1.5948,
                "total_shots": 0.5993,
                "rating": 7.091,
                "minutes": 89.85,
                "total_pass": 79.1441,
                "accurate_pass": 71.9974,
                "duels_won": 2.1284,
                "total_long_balls": 8.944,
                "accurate_long_balls": 4.5218,
                "total_own_half_passes": 48.3684,
                "accurate_own_half_passes": 46.2143,
                "total_opp_half_passes": 30.7759,
                "accurate_opp_half_passes": 25.7831,
                "crosses_total": 0.0746,
                "crosses_accurate": 0.0,
                "touches": 91.4618,
                "possession_lost": 8.3699,
                "dispossessed": 0.1855,
                "duels_lost": 2.1206,
                "aerial_lost": 0.7203,
                "total_contest": 0.486,
                "won_contest": 0.3475,
                "ball_recovery": 3.4588,
                "challenges_lost": 0.4374,
                "fouls": 0.7377,
                "fouls_drawn": 0.1325,
                "blocks": 1.2383,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0917,
                "assists": 0,
                "expected_goals": 0.0289,
                "expected_assists": 0.139,
                "shots_on_target": 0.0075,
                "big_chances_created": 0.0969,
                "xgot": 0.0005,
                "ball_carries": 31.4365,
                "total_progression": 121.8921,
                "progressive_carries": 0.7833,
                "key_pass": 0.3611,
                "shots_off_target": 0.5907,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 1.0,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Fernando Niñ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.0285,
                "projected_assists": 0,
                "assist_probability": 0.1298,
                "finishing_factor": 0.8,
                "creation_factor": 1.0158,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1298,
                "assist_rate": 0.0917,
                "provider_weight": 0.1412,
                "squad_weight_total": 1.5258,
                "weight_share": 0.0925,
                "creation_factor": 1.0158,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alberto Moleiro",
                    "weight": 0.3984,
                    "already": 0,
                    "effective_weight": 0.3984,
                    "runner_up": "Ilias Akhomach",
                    "runner_up_effective_weight": 0.2463,
                    "blocked_own_goal": [
                      "Ayoze Pérez"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Juan Foyth": {
          "player_id": 873189,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 8,
          "height": 187,
          "market_value": 8600000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 5,
            "aerial_won": 2,
            "total_shots": 1,
            "rating": 6.899,
            "minutes": 79,
            "total_pass": 55,
            "accurate_pass": 50,
            "duels_won": 4,
            "total_long_balls": 4,
            "accurate_long_balls": 3,
            "total_own_half_passes": 33,
            "accurate_own_half_passes": 31,
            "total_opp_half_passes": 22,
            "accurate_opp_half_passes": 19,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 68,
            "possession_lost": 5.7893,
            "dispossessed": 0.6508,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0735,
            "expected_assists": 0.0761,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0037,
            "ball_carries": 20,
            "total_progression": 73,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 1,
            "tackles_in_zone": 2.0,
            "tackles_won_in_zone": 1.7,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 1.2,
            "defensive_success_rate": 0.63,
            "opponent_faced": "Thomas Lemar",
            "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.0709,
            "projected_assists": 0,
            "assist_probability": 0.0733,
            "finishing_factor": 0.8,
            "creation_factor": 0.8,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16421066,
              "match_date": "2026-10-10",
              "home_team": "Real Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 56,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0116,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 35,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 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": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3212,
                "expected_assists": 0.0206,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 88,
                "accurate_pass": 83,
                "tackles": 5,
                "tackles_won": 4,
                "interceptions": 2,
                "clearances": 4,
                "aerial_won": 4,
                "duels_won": 11,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416302,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2948,
                "total_shots": 0,
                "total_pass": 68,
                "accurate_pass": 62,
                "key_pass": 1,
                "interceptions": 3,
                "clearances": 4,
                "aerial_won": 3,
                "duels_won": 3,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0313,
                "total_shots": 0,
                "total_pass": 75,
                "accurate_pass": 68,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 8,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083186,
              "match_date": "2026-01-24",
              "home_team": "Villarreal",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 24,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0013,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 12,
                "clearances": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083224,
              "match_date": "2026-01-17",
              "home_team": "Real Betis",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.005,
                "total_shots": 0,
                "total_pass": 41,
                "accurate_pass": 33,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 4,
                "duels_won": 2,
                "ball_recovery": 6
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083214,
              "match_date": "2026-01-10",
              "home_team": "Villarreal",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0154,
                "total_shots": 0,
                "total_pass": 63,
                "accurate_pass": 54,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 8,
                "aerial_won": 4,
                "duels_won": 8,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083198,
              "match_date": "2026-01-03",
              "home_team": "Elche",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Elche",
              "stats": {
                "minutes": 10,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1,
                "clearances": 6
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083159,
              "match_date": "2025-12-06",
              "home_team": "Villarreal",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0474,
                "total_shots": 0,
                "total_pass": 67,
                "accurate_pass": 59,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083143,
              "match_date": "2025-11-30",
              "home_team": "Real Sociedad",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0233,
                "expected_assists": 0.0075,
                "total_shots": 1,
                "total_pass": 48,
                "accurate_pass": 40,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 3,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 6
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 1291,
            "combined_rank_score": 559.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 157.0,
            "sofascore_rating": 7.3,
            "sofascore_appearances": 1.0,
            "fifa_rank": 962.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.899,
            "source_file": "data/player_rankings.csv",
            "player_name": "Juan Foyth",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Mario Hermoso",
                  "ranking": 1286
                },
                {
                  "player_name": "Giovani Lo Celso",
                  "ranking": 1287
                },
                {
                  "player_name": "Lucas Torreira",
                  "ranking": 1288
                },
                {
                  "player_name": "Diego Ulloa",
                  "ranking": 1289
                },
                {
                  "player_name": "David Neres",
                  "ranking": 1290
                }
              ],
              "lower": [
                {
                  "player_name": "Patrick Berg",
                  "ranking": 1292
                },
                {
                  "player_name": "Nicholas Pennington",
                  "ranking": 1293
                },
                {
                  "player_name": "Park Jae-Hwan",
                  "ranking": 1294
                },
                {
                  "player_name": "Franco Frías",
                  "ranking": 1295
                },
                {
                  "player_name": "César Fuentes",
                  "ranking": 1296
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 17,
          "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",
              "totalTackle",
              "totalShots",
              "rating",
              "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": 17,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0001,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 270.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 1.33,
              "shots_on_target_pct": 25.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (D_service) evaluated 17 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Villarreal, rel: 0.20, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.1626,
                "tackles": 1.5307,
                "tackles_won": 0.9671,
                "clearances": 4.5086,
                "aerial_won": 1.698,
                "total_shots": 0.6607,
                "rating": 6.899,
                "minutes": 78.67,
                "total_pass": 55.1739,
                "accurate_pass": 50.3653,
                "duels_won": 3.6954,
                "total_long_balls": 4.0681,
                "accurate_long_balls": 2.532,
                "total_own_half_passes": 32.7824,
                "accurate_own_half_passes": 31.063,
                "total_opp_half_passes": 22.3915,
                "accurate_opp_half_passes": 19.3023,
                "crosses_total": 0.0519,
                "crosses_accurate": 0.0519,
                "touches": 67.6344,
                "possession_lost": 5.7887,
                "dispossessed": 0.6507,
                "duels_lost": 2.42,
                "aerial_lost": 0.8646,
                "total_contest": 0.1551,
                "won_contest": 0.1032,
                "ball_recovery": 3.9307,
                "challenges_lost": 0.1519,
                "fouls": 0.7008,
                "fouls_drawn": 0.3366,
                "blocks": 1.1577,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0473,
                "expected_assists": 0.049,
                "shots_on_target": 0.1377,
                "big_chances_created": 0.1235,
                "xgot": 0.0024,
                "ball_carries": 19.8005,
                "total_progression": 72.8924,
                "progressive_carries": 0.1356,
                "key_pass": 0.1171,
                "shots_off_target": 0.523
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:05:00.533351+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Real Madrid",
                    "minutes": 56.0,
                    "is_starting": true,
                    "weight": 0.1601,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1361,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1157,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0983,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-01-24",
                    "opponent": "Real Madrid",
                    "minutes": 24.0,
                    "is_starting": true,
                    "weight": 0.0836,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-01-17",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.071,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-01-10",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0604,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-01-03",
                    "opponent": "Elche",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.0513,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2025-12-06",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0436,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2025-11-30",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0371,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 17.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 3.9805,
                  "aerialWon": 1.47,
                  "totalClearance_p90": 6.9648,
                  "totalTackle": 1.6532,
                  "defensive_actions": 3.1611
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.1626311540603638,
                    "model_output": 1.1626,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1192
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0842
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0224
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0171
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0174
                        }
                      ],
                      "others": 0.0414,
                      "total": 1.1626,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.129711
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.082454
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.020826
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": 0.015605
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.015597
                        }
                      ],
                      "others_margin": 0.036301
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.5306751728057861,
                    "model_output": 1.5307,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1783
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.1142
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0585
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0542
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0508
                        }
                      ],
                      "others": -0.0884,
                      "total": 1.5307,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.120581
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.075508
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.039421
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.035156
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.031884
                        }
                      ],
                      "others_margin": -0.056213
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.9670802354812622,
                    "model_output": 0.9671,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1221
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0642
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0623
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0416
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0428
                        }
                      ],
                      "others": -0.0955,
                      "total": 0.9671,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.133617
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.063646
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.061744
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.041665
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.041107
                        }
                      ],
                      "others_margin": -0.094135
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 4.508607387542725,
                    "model_output": 4.5086,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4317
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.4258
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.3126
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.309
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.1693
                        }
                      ],
                      "others": -0.5725,
                      "total": 4.5086,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.118453
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.104526
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.070341
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.064971
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.033894
                        }
                      ],
                      "others_margin": -0.119554
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.6979862451553345,
                    "model_output": 1.698,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1677
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0913
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0866
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0914
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0924
                        }
                      ],
                      "others": -0.0261,
                      "total": 1.698,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.114919
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.060943
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.057858
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.057624
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.055101
                        }
                      ],
                      "others_margin": -0.01525
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6607165932655334,
                    "model_output": 0.6607,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0622
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0419
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0262
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0228
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0207
                        }
                      ],
                      "others": 0.0124,
                      "total": 0.6607,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.062234
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.041894
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.026191
                        },
                        {
                          "name": "rating",
                          "margin": 0.022842
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.020738
                        }
                      ],
                      "others_margin": 0.012317
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.89900016784668,
                    "model_output": 6.899,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.0408
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.028
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0186
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": -0.0094
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.007
                        }
                      ],
                      "others": 0.0293,
                      "total": 6.899,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.040838
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.028042
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.018634
                        },
                        {
                          "name": "tackle_success_rate",
                          "margin": -0.009362
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.00705
                        }
                      ],
                      "others_margin": 0.029096
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 17,
                  "role_matches": 16,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0001, quality 0.506)",
              "stats": {
                "interceptions": 1.1627,
                "tackles": 1.5308,
                "tackles_won": 0.9672,
                "clearances": 4.5091,
                "aerial_won": 1.6982,
                "total_shots": 0.6608,
                "rating": 6.899,
                "minutes": 78.67,
                "total_pass": 55.1794,
                "accurate_pass": 50.3703,
                "duels_won": 3.6958,
                "total_long_balls": 4.0685,
                "accurate_long_balls": 2.5323,
                "total_own_half_passes": 32.7857,
                "accurate_own_half_passes": 31.0661,
                "total_opp_half_passes": 22.3937,
                "accurate_opp_half_passes": 19.3042,
                "crosses_total": 0.0519,
                "crosses_accurate": 0.0519,
                "touches": 67.6412,
                "possession_lost": 5.7893,
                "dispossessed": 0.6508,
                "duels_lost": 2.4202,
                "aerial_lost": 0.8647,
                "total_contest": 0.1551,
                "won_contest": 0.1032,
                "ball_recovery": 3.9311,
                "challenges_lost": 0.1519,
                "fouls": 0.7009,
                "fouls_drawn": 0.3366,
                "blocks": 1.1578,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0473,
                "expected_assists": 0.049,
                "shots_on_target": 0.1377,
                "big_chances_created": 0.1235,
                "xgot": 0.0024,
                "ball_carries": 19.8025,
                "total_progression": 72.8997,
                "progressive_carries": 0.1356,
                "key_pass": 0.1171,
                "shots_off_target": 0.5231
              },
              "params": {
                "market_value_eur": 8600000,
                "quality_factor": 0.5059,
                "boost_factor": 1.0001,
                "reference_quality": 0.505,
                "history_matches": 17,
                "history_shrink": 0.2273,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0295)",
              "stats": {
                "interceptions": 1.1886,
                "tackles": 1.5308,
                "tackles_won": 0.9817,
                "clearances": 4.5091,
                "aerial_won": 1.6982,
                "total_shots": 0.6756,
                "rating": 6.899,
                "minutes": 78.67,
                "total_pass": 55.1794,
                "accurate_pass": 50.3703,
                "duels_won": 3.6958,
                "total_long_balls": 4.0685,
                "accurate_long_balls": 2.5323,
                "total_own_half_passes": 32.7857,
                "accurate_own_half_passes": 31.0661,
                "total_opp_half_passes": 22.3937,
                "accurate_opp_half_passes": 19.3042,
                "crosses_total": 0.0504,
                "crosses_accurate": 0.0519,
                "touches": 67.6412,
                "possession_lost": 5.7893,
                "dispossessed": 0.6508,
                "duels_lost": 2.4202,
                "aerial_lost": 0.8647,
                "total_contest": 0.1551,
                "won_contest": 0.1032,
                "ball_recovery": 3.9311,
                "challenges_lost": 0.1519,
                "fouls": 0.6888,
                "fouls_drawn": 0.3439,
                "blocks": 1.1578,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0473,
                "expected_assists": 0.049,
                "shots_on_target": 0.1422,
                "big_chances_created": 0.1235,
                "xgot": 0.0024,
                "ball_carries": 19.8025,
                "total_progression": 72.8997,
                "progressive_carries": 0.1356,
                "key_pass": 0.1171,
                "shots_off_target": 0.5231
              },
              "params": {
                "blend_weight": 0.0295,
                "history_matches": 17,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8741,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Villarreal"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 1.1627,
                  "after": 1.1886
                },
                {
                  "stat": "totalShots",
                  "before": 0.6608,
                  "after": 0.6756
                },
                {
                  "stat": "wonTackle",
                  "before": 0.9672,
                  "after": 0.9817
                },
                {
                  "stat": "fouls",
                  "before": 0.7009,
                  "after": 0.6888
                },
                {
                  "stat": "wasFouled",
                  "before": 0.3366,
                  "after": 0.3439
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.1886,
                "tackles": 1.5308,
                "tackles_won": 0.9817,
                "clearances": 4.5091,
                "aerial_won": 1.6982,
                "total_shots": 0.6756,
                "rating": 6.899,
                "minutes": 78.67,
                "total_pass": 55.1794,
                "accurate_pass": 50.3703,
                "duels_won": 3.6958,
                "total_long_balls": 4.0685,
                "accurate_long_balls": 2.5323,
                "total_own_half_passes": 32.7857,
                "accurate_own_half_passes": 31.0661,
                "total_opp_half_passes": 22.3937,
                "accurate_opp_half_passes": 19.3042,
                "crosses_total": 0.0504,
                "crosses_accurate": 0.0504,
                "touches": 67.6412,
                "possession_lost": 5.7893,
                "dispossessed": 0.6508,
                "duels_lost": 2.4202,
                "aerial_lost": 0.8647,
                "total_contest": 0.1551,
                "won_contest": 0.1032,
                "ball_recovery": 3.9311,
                "challenges_lost": 0.1519,
                "fouls": 0.6888,
                "fouls_drawn": 0.3439,
                "blocks": 1.1578,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0473,
                "expected_assists": 0.049,
                "shots_on_target": 0.1422,
                "big_chances_created": 0.1235,
                "xgot": 0.0024,
                "ball_carries": 19.8025,
                "total_progression": 72.8997,
                "progressive_carries": 0.1356,
                "key_pass": 0.1171,
                "shots_off_target": 0.5231
              },
              "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.1886,
                "tackles": 1.5308,
                "tackles_won": 0.9817,
                "clearances": 4.5091,
                "aerial_won": 1.6982,
                "total_shots": 0.6756,
                "rating": 6.899,
                "minutes": 78.67,
                "total_pass": 55.1794,
                "accurate_pass": 50.3703,
                "duels_won": 3.6958,
                "total_long_balls": 4.0685,
                "accurate_long_balls": 2.5323,
                "total_own_half_passes": 32.7857,
                "accurate_own_half_passes": 31.0661,
                "total_opp_half_passes": 22.3937,
                "accurate_opp_half_passes": 19.3042,
                "crosses_total": 0.0504,
                "crosses_accurate": 0.0504,
                "touches": 67.6412,
                "possession_lost": 5.7893,
                "dispossessed": 0.6508,
                "duels_lost": 2.4202,
                "aerial_lost": 0.8647,
                "total_contest": 0.1551,
                "won_contest": 0.1032,
                "ball_recovery": 3.9311,
                "challenges_lost": 0.1519,
                "fouls": 0.6888,
                "fouls_drawn": 0.3439,
                "blocks": 1.1578,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0473,
                "expected_assists": 0.049,
                "shots_on_target": 0.1422,
                "big_chances_created": 0.1235,
                "xgot": 0.0024,
                "ball_carries": 19.8025,
                "total_progression": 72.8997,
                "progressive_carries": 0.1356,
                "key_pass": 0.1171,
                "shots_off_target": 0.5231,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 1.2,
                "defensive_success_rate": 0.63,
                "opponent_faced": "Thomas Lemar",
                "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": "Thomas Lemar",
                  "matchup_zone": "Left Wing vs Right Back — Flank Battle"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 1.1886,
                "tackles": 1.5308,
                "tackles_won": 0.9817,
                "clearances": 4.5091,
                "aerial_won": 1.6982,
                "total_shots": 0.6756,
                "rating": 6.899,
                "minutes": 78.67,
                "total_pass": 55.1794,
                "accurate_pass": 50.3703,
                "duels_won": 3.6958,
                "total_long_balls": 4.0685,
                "accurate_long_balls": 2.5323,
                "total_own_half_passes": 32.7857,
                "accurate_own_half_passes": 31.0661,
                "total_opp_half_passes": 22.3937,
                "accurate_opp_half_passes": 19.3042,
                "crosses_total": 0.0504,
                "crosses_accurate": 0.0504,
                "touches": 67.6412,
                "possession_lost": 5.7893,
                "dispossessed": 0.6508,
                "duels_lost": 2.4202,
                "aerial_lost": 0.8647,
                "total_contest": 0.1551,
                "won_contest": 0.1032,
                "ball_recovery": 3.9311,
                "challenges_lost": 0.1519,
                "fouls": 0.6888,
                "fouls_drawn": 0.3439,
                "blocks": 1.1578,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0473,
                "expected_assists": 0.049,
                "shots_on_target": 0.1422,
                "big_chances_created": 0.1235,
                "xgot": 0.0024,
                "ball_carries": 19.8025,
                "total_progression": 72.8997,
                "progressive_carries": 0.1356,
                "key_pass": 0.1171,
                "shots_off_target": 0.5231,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 1.2,
                "defensive_success_rate": 0.63,
                "opponent_faced": "Thomas Lemar",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.95 (squad xG sum 1.2540, xG scale 1.5534, xA scale 1.5534, team xA 1.43 = 0.73 x lambda)",
              "stats": {
                "interceptions": 1.1886,
                "tackles": 1.5308,
                "tackles_won": 0.9817,
                "clearances": 4.5091,
                "aerial_won": 1.6982,
                "total_shots": 0.6756,
                "rating": 6.899,
                "minutes": 78.67,
                "total_pass": 55.1794,
                "accurate_pass": 50.3703,
                "duels_won": 3.6958,
                "total_long_balls": 4.0685,
                "accurate_long_balls": 2.5323,
                "total_own_half_passes": 32.7857,
                "accurate_own_half_passes": 31.0661,
                "total_opp_half_passes": 22.3937,
                "accurate_opp_half_passes": 19.3042,
                "crosses_total": 0.0504,
                "crosses_accurate": 0.0504,
                "touches": 67.6412,
                "possession_lost": 5.7893,
                "dispossessed": 0.6508,
                "duels_lost": 2.4202,
                "aerial_lost": 0.8647,
                "total_contest": 0.1551,
                "won_contest": 0.1032,
                "ball_recovery": 3.9311,
                "challenges_lost": 0.1519,
                "fouls": 0.6888,
                "fouls_drawn": 0.3439,
                "blocks": 1.1578,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0735,
                "expected_assists": 0.0761,
                "shots_on_target": 0.1422,
                "big_chances_created": 0.1235,
                "xgot": 0.0037,
                "ball_carries": 19.8025,
                "total_progression": 72.8997,
                "progressive_carries": 0.1356,
                "key_pass": 0.1171,
                "shots_off_target": 0.5231,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 1.2,
                "defensive_success_rate": 0.63,
                "opponent_faced": "Thomas Lemar",
                "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": 0.8,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.948,
                "squad_xg_sum": 1.254,
                "squad_xa_sum": 0.9174,
                "team_expected_assists": 1.4251,
                "team_xa_to_xg_ratio": 0.7316,
                "bench_appearance_weighted": true,
                "xg_scale": 1.5534,
                "xa_scale": 1.5534,
                "opponent_lambda": 0.898,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0473,
                  "after": 0.0735
                },
                {
                  "stat": "expected_assists",
                  "before": 0.049,
                  "after": 0.0761
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 10 by projected rating, fifa_overall 79.0)",
              "stats": {
                "interceptions": 1.1886,
                "tackles": 1.5308,
                "tackles_won": 0.9817,
                "clearances": 4.5091,
                "aerial_won": 1.6982,
                "total_shots": 0.6756,
                "rating": 6.899,
                "minutes": 78.67,
                "total_pass": 55.1794,
                "accurate_pass": 50.3703,
                "duels_won": 3.6958,
                "total_long_balls": 4.0685,
                "accurate_long_balls": 2.5323,
                "total_own_half_passes": 32.7857,
                "accurate_own_half_passes": 31.0661,
                "total_opp_half_passes": 22.3937,
                "accurate_opp_half_passes": 19.3042,
                "crosses_total": 0.0504,
                "crosses_accurate": 0.0504,
                "touches": 67.6412,
                "possession_lost": 5.7893,
                "dispossessed": 0.6508,
                "duels_lost": 2.4202,
                "aerial_lost": 0.8647,
                "total_contest": 0.1551,
                "won_contest": 0.1032,
                "ball_recovery": 3.9311,
                "challenges_lost": 0.1519,
                "fouls": 0.6888,
                "fouls_drawn": 0.3439,
                "blocks": 1.1578,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0735,
                "expected_assists": 0.0761,
                "shots_on_target": 0.1422,
                "big_chances_created": 0.1235,
                "xgot": 0.0037,
                "ball_carries": 19.8025,
                "total_progression": 72.8997,
                "progressive_carries": 0.1356,
                "key_pass": 0.1171,
                "shots_off_target": 0.5231,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 1.2,
                "defensive_success_rate": 0.63,
                "opponent_faced": "Thomas Lemar",
                "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": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 79.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": 1291,
                "fifa_rank": 962.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": {
                "interceptions": 1.1886,
                "tackles": 1.5308,
                "tackles_won": 0.9817,
                "clearances": 4.5091,
                "aerial_won": 1.6982,
                "total_shots": 0.6756,
                "rating": 6.899,
                "minutes": 78.67,
                "total_pass": 55.1794,
                "accurate_pass": 50.3703,
                "duels_won": 3.6958,
                "total_long_balls": 4.0685,
                "accurate_long_balls": 2.5323,
                "total_own_half_passes": 32.7857,
                "accurate_own_half_passes": 31.0661,
                "total_opp_half_passes": 22.3937,
                "accurate_opp_half_passes": 19.3042,
                "crosses_total": 0.0504,
                "crosses_accurate": 0.0504,
                "touches": 67.6412,
                "possession_lost": 5.7893,
                "dispossessed": 0.6508,
                "duels_lost": 2.4202,
                "aerial_lost": 0.8647,
                "total_contest": 0.1551,
                "won_contest": 0.1032,
                "ball_recovery": 3.9311,
                "challenges_lost": 0.1519,
                "fouls": 0.6888,
                "fouls_drawn": 0.3439,
                "blocks": 1.1578,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0735,
                "expected_assists": 0.0761,
                "shots_on_target": 0.1422,
                "big_chances_created": 0.1235,
                "xgot": 0.0037,
                "ball_carries": 19.8025,
                "total_progression": 72.8997,
                "progressive_carries": 0.1356,
                "key_pass": 0.1171,
                "shots_off_target": 0.5231,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 1.2,
                "defensive_success_rate": 0.63,
                "opponent_faced": "Thomas Lemar",
                "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.0709,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0709,
                "goal_rate": 0.0,
                "scorer_weight": 0.0588,
                "squad_weight_total": 2.1033,
                "weight_share": 0.028,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ayoze Pérez",
                    "weight": 0.5937,
                    "already": 0,
                    "effective_weight": 0.5937,
                    "runner_up": "Alberto Moleiro",
                    "runner_up_effective_weight": 0.4755
                  }
                ]
              }
            },
            {
              "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.1886,
                "tackles": 1.5308,
                "tackles_won": 0.9817,
                "clearances": 4.5091,
                "aerial_won": 1.6982,
                "total_shots": 0.6756,
                "rating": 6.899,
                "minutes": 78.67,
                "total_pass": 55.1794,
                "accurate_pass": 50.3703,
                "duels_won": 3.6958,
                "total_long_balls": 4.0685,
                "accurate_long_balls": 2.5323,
                "total_own_half_passes": 32.7857,
                "accurate_own_half_passes": 31.0661,
                "total_opp_half_passes": 22.3937,
                "accurate_opp_half_passes": 19.3042,
                "crosses_total": 0.0504,
                "crosses_accurate": 0.0504,
                "touches": 67.6412,
                "possession_lost": 5.7893,
                "dispossessed": 0.6508,
                "duels_lost": 2.4202,
                "aerial_lost": 0.8647,
                "total_contest": 0.1551,
                "won_contest": 0.1032,
                "ball_recovery": 3.9311,
                "challenges_lost": 0.1519,
                "fouls": 0.6888,
                "fouls_drawn": 0.3439,
                "blocks": 1.1578,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0735,
                "expected_assists": 0.0761,
                "shots_on_target": 0.1422,
                "big_chances_created": 0.1235,
                "xgot": 0.0037,
                "ball_carries": 19.8025,
                "total_progression": 72.8997,
                "progressive_carries": 0.1356,
                "key_pass": 0.1171,
                "shots_off_target": 0.5231,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 1.2,
                "defensive_success_rate": 0.63,
                "opponent_faced": "Thomas Lemar",
                "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.0709,
                "projected_assists": 0,
                "assist_probability": 0.0733,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0733,
                "assist_rate": 0.0,
                "provider_weight": 0.0609,
                "squad_weight_total": 1.5258,
                "weight_share": 0.0399,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alberto Moleiro",
                    "weight": 0.3984,
                    "already": 0,
                    "effective_weight": 0.3984,
                    "runner_up": "Ilias Akhomach",
                    "runner_up_effective_weight": 0.2463,
                    "blocked_own_goal": [
                      "Ayoze Pérez"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Alexander Freeman": {
          "player_id": 1184541,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 3,
          "height": 188,
          "market_value": 13800000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 3,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.9036,
            "minutes": 90,
            "total_pass": 66,
            "accurate_pass": 61,
            "duels_won": 7,
            "total_long_balls": 4,
            "accurate_long_balls": 3,
            "total_own_half_passes": 32,
            "accurate_own_half_passes": 30,
            "total_opp_half_passes": 34,
            "accurate_opp_half_passes": 31,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 92,
            "possession_lost": 7.9574,
            "dispossessed": 0.5089,
            "duels_lost": 4,
            "aerial_lost": 1,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 6,
            "challenges_lost": 2,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0437,
            "expected_assists": 0.052,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0332,
            "ball_carries": 22,
            "total_progression": 75,
            "progressive_carries": 1,
            "key_pass": 1,
            "shots_off_target": 0,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.9,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 0.5,
            "defensive_success_rate": 0.82,
            "opponent_faced": "Fernando Niñ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.0428,
            "projected_assists": 0,
            "assist_probability": 0.0507,
            "finishing_factor": 0.8,
            "creation_factor": 0.8,
            "fifa_overall": 81.0
          },
          "latest_10_games": [
            {
              "match_id": 16421066,
              "match_date": "2026-10-10",
              "home_team": "Real Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0267,
                "total_shots": 0,
                "total_pass": 53,
                "accurate_pass": 48,
                "key_pass": 2,
                "tackles": 7,
                "tackles_won": 5,
                "interceptions": 3,
                "clearances": 7,
                "aerial_won": 3,
                "duels_won": 11,
                "ball_recovery": 6
              },
              "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": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0975,
                "expected_assists": 0.0373,
                "total_shots": 1,
                "total_pass": 72,
                "accurate_pass": 69,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 9
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0657,
                "total_shots": 0,
                "total_pass": 68,
                "accurate_pass": 62,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 3,
                "duels_won": 8,
                "ball_recovery": 9
              },
              "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": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 14,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0127,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 17,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0716,
                "expected_assists": 0.0423,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 83,
                "accurate_pass": 80,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 28,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.059,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 30,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083644,
              "match_date": "2026-05-13",
              "home_team": "Villarreal",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0261,
                "total_shots": 0,
                "total_pass": 72,
                "accurate_pass": 65,
                "tackles": 5,
                "tackles_won": 4,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 8,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083512,
              "match_date": "2026-05-02",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0066,
                "total_shots": 0,
                "total_pass": 54,
                "accurate_pass": 51,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "duels_won": 5,
                "ball_recovery": 7
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083248,
              "match_date": "2026-04-26",
              "home_team": "Villarreal",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0071,
                "total_shots": 0,
                "total_pass": 52,
                "accurate_pass": 50,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 6,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 6
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 416,
            "combined_rank_score": 378.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 257.0,
            "sofascore_rating": 7.1,
            "sofascore_appearances": 2.0,
            "fifa_rank": 500.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9036,
            "source_file": "data/player_rankings.csv",
            "player_name": "Alexander Freeman",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Itsuki Urata",
                  "ranking": 411
                },
                {
                  "player_name": "Chi-Won Choi",
                  "ranking": 412
                },
                {
                  "player_name": "Youssef Enriquez",
                  "ranking": 413
                },
                {
                  "player_name": "Beom Song",
                  "ranking": 414
                },
                {
                  "player_name": "Irakli Azarovi",
                  "ranking": 415
                }
              ],
              "lower": [
                {
                  "player_name": "Johaneko Louis Jean",
                  "ranking": 417
                },
                {
                  "player_name": "Roman Begunov",
                  "ranking": 418
                },
                {
                  "player_name": "Cristhian Paredes",
                  "ranking": 419
                },
                {
                  "player_name": "Alex Sandro",
                  "ranking": 420
                },
                {
                  "player_name": "Ismoilbek Usmonxo'jayev",
                  "ranking": 421
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 16,
          "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",
              "totalTackle",
              "totalShots",
              "rating",
              "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": 16,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0044,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (D_service) evaluated 16 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.2318,
                "tackles": 2.1826,
                "tackles_won": 1.3232,
                "clearances": 2.9336,
                "aerial_won": 1.4775,
                "total_shots": 0.57,
                "rating": 6.9036,
                "minutes": 90.0,
                "total_pass": 65.2301,
                "accurate_pass": 60.9323,
                "duels_won": 7.1489,
                "total_long_balls": 3.6513,
                "accurate_long_balls": 2.8162,
                "total_own_half_passes": 31.4308,
                "accurate_own_half_passes": 29.9767,
                "total_opp_half_passes": 33.7992,
                "accurate_opp_half_passes": 30.9555,
                "crosses_total": 0.7556,
                "crosses_accurate": 0.0,
                "touches": 91.8193,
                "possession_lost": 7.9225,
                "dispossessed": 0.5067,
                "duels_lost": 3.9332,
                "aerial_lost": 1.0045,
                "total_contest": 1.6027,
                "won_contest": 1.1514,
                "ball_recovery": 6.2717,
                "challenges_lost": 1.7133,
                "fouls": 0.2575,
                "fouls_drawn": 0.7939,
                "blocks": 0.4193,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.028,
                "expected_assists": 0.0334,
                "shots_on_target": 0.1356,
                "big_chances_created": 0.0,
                "xgot": 0.0213,
                "ball_carries": 21.9258,
                "total_progression": 74.2301,
                "progressive_carries": 1.409,
                "key_pass": 0.9764,
                "shots_off_target": 0.4344
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:05:00.533351+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.162,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1377,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1171,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Real Betis",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.0995,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0846,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.0719,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 2.0,
                    "is_starting": false,
                    "weight": 0.0611,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0519,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0442,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-04-26",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0375,
                    "rating": 7.6
                  }
                ],
                "feature_row": {
                  "history_matches": 16.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 2.8617,
                  "aerialWon": 1.3785,
                  "totalClearance_p90": 4.2786,
                  "totalTackle": 2.4442,
                  "defensive_actions": 3.3039
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.231804370880127,
                    "model_output": 1.2318,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1223
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0332
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0339
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0287
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0234
                        }
                      ],
                      "others": 0.1294,
                      "total": 1.2318,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.132882
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.033204
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.032817
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.026974
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.021461
                        }
                      ],
                      "others_margin": 0.110949
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 2.1826159954071045,
                    "model_output": 2.1826,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2108
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.1187
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.1116
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.111
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0865
                        }
                      ],
                      "others": 0.1525,
                      "total": 2.1826,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.141031
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.071486
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.062835
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.058821
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.043545
                        }
                      ],
                      "others_margin": 0.072421
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.3231558799743652,
                    "model_output": 1.3232,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1335
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0863
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0753
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0721
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0689
                        }
                      ],
                      "others": 0.0329,
                      "total": 1.3232,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.145256
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.083748
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.067736
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.060826
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.054865
                        }
                      ],
                      "others_margin": 0.025218
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.933643102645874,
                    "model_output": 2.9336,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4791
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.3463
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.3127
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0984
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0931
                        }
                      ],
                      "others": -0.1277,
                      "total": 2.9336,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.13064
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.09269
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.091779
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.030708
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.029968
                        }
                      ],
                      "others_margin": -0.042607
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.477508783340454,
                    "model_output": 1.4775,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "touches_p90",
                          "contribution": 0.1669
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1824
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1126
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0615
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0438
                        }
                      ],
                      "others": -0.0312,
                      "total": 1.4775,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "touches_p90",
                          "margin": 0.114387
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.111629
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.067456
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.038835
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.028614
                        }
                      ],
                      "others_margin": -0.020889
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5700282454490662,
                    "model_output": 0.57,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0636
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0312
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0308
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0227
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0092
                        }
                      ],
                      "others": -0.0004,
                      "total": 0.57,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.063565
                        },
                        {
                          "name": "duelWon",
                          "margin": 0.031216
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.030836
                        },
                        {
                          "name": "rating",
                          "margin": 0.022727
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.009196
                        }
                      ],
                      "others_margin": -0.00034
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.9036407470703125,
                    "model_output": 6.9036,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "touches_p90",
                          "contribution": 0.0423
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0375
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0209
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0187
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0106
                        }
                      ],
                      "others": -0.0111,
                      "total": 6.9036,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "touches_p90",
                          "margin": 0.042345
                        },
                        {
                          "name": "rating",
                          "margin": 0.037464
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.020927
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.018745
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": 0.010552
                        }
                      ],
                      "others_margin": -0.011096
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 16,
                  "role_matches": 7,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0044, quality 0.566)",
              "stats": {
                "interceptions": 1.2372,
                "tackles": 2.1922,
                "tackles_won": 1.329,
                "clearances": 2.9466,
                "aerial_won": 1.484,
                "total_shots": 0.5725,
                "rating": 6.9036,
                "minutes": 90.0,
                "total_pass": 65.5171,
                "accurate_pass": 61.2004,
                "duels_won": 7.1804,
                "total_long_balls": 3.6674,
                "accurate_long_balls": 2.8286,
                "total_own_half_passes": 31.5691,
                "accurate_own_half_passes": 30.1086,
                "total_opp_half_passes": 33.9479,
                "accurate_opp_half_passes": 31.0917,
                "crosses_total": 0.7589,
                "crosses_accurate": 0.0,
                "touches": 92.2233,
                "possession_lost": 7.9574,
                "dispossessed": 0.5089,
                "duels_lost": 3.9505,
                "aerial_lost": 1.0089,
                "total_contest": 1.6098,
                "won_contest": 1.1565,
                "ball_recovery": 6.2993,
                "challenges_lost": 1.7208,
                "fouls": 0.2586,
                "fouls_drawn": 0.7974,
                "blocks": 0.4211,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0281,
                "expected_assists": 0.0335,
                "shots_on_target": 0.1362,
                "big_chances_created": 0.0,
                "xgot": 0.0214,
                "ball_carries": 22.0223,
                "total_progression": 74.5567,
                "progressive_carries": 1.4152,
                "key_pass": 0.9807,
                "shots_off_target": 0.4363
              },
              "params": {
                "market_value_eur": 13800000,
                "quality_factor": 0.566,
                "boost_factor": 1.0044,
                "reference_quality": 0.505,
                "history_matches": 16,
                "history_shrink": 0.2381,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.2372,
                "tackles": 2.1922,
                "tackles_won": 1.329,
                "clearances": 2.9466,
                "aerial_won": 1.484,
                "total_shots": 0.5725,
                "rating": 6.9036,
                "minutes": 90.0,
                "total_pass": 65.5171,
                "accurate_pass": 61.2004,
                "duels_won": 7.1804,
                "total_long_balls": 3.6674,
                "accurate_long_balls": 2.8286,
                "total_own_half_passes": 31.5691,
                "accurate_own_half_passes": 30.1086,
                "total_opp_half_passes": 33.9479,
                "accurate_opp_half_passes": 31.0917,
                "crosses_total": 0.7589,
                "crosses_accurate": 0.0,
                "touches": 92.2233,
                "possession_lost": 7.9574,
                "dispossessed": 0.5089,
                "duels_lost": 3.9505,
                "aerial_lost": 1.0089,
                "total_contest": 1.6098,
                "won_contest": 1.1565,
                "ball_recovery": 6.2993,
                "challenges_lost": 1.7208,
                "fouls": 0.2586,
                "fouls_drawn": 0.7974,
                "blocks": 0.4211,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0281,
                "expected_assists": 0.0335,
                "shots_on_target": 0.1362,
                "big_chances_created": 0.0,
                "xgot": 0.0214,
                "ball_carries": 22.0223,
                "total_progression": 74.5567,
                "progressive_carries": 1.4152,
                "key_pass": 0.9807,
                "shots_off_target": 0.4363
              },
              "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.2372,
                "tackles": 2.1922,
                "tackles_won": 1.329,
                "clearances": 2.9466,
                "aerial_won": 1.484,
                "total_shots": 0.5725,
                "rating": 6.9036,
                "minutes": 90.0,
                "total_pass": 65.5171,
                "accurate_pass": 61.2004,
                "duels_won": 7.1804,
                "total_long_balls": 3.6674,
                "accurate_long_balls": 2.8286,
                "total_own_half_passes": 31.5691,
                "accurate_own_half_passes": 30.1086,
                "total_opp_half_passes": 33.9479,
                "accurate_opp_half_passes": 31.0917,
                "crosses_total": 0.7589,
                "crosses_accurate": 0.0,
                "touches": 92.2233,
                "possession_lost": 7.9574,
                "dispossessed": 0.5089,
                "duels_lost": 3.9505,
                "aerial_lost": 1.0089,
                "total_contest": 1.6098,
                "won_contest": 1.1565,
                "ball_recovery": 6.2993,
                "challenges_lost": 1.7208,
                "fouls": 0.2586,
                "fouls_drawn": 0.7974,
                "blocks": 0.4211,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0281,
                "expected_assists": 0.0335,
                "shots_on_target": 0.1362,
                "big_chances_created": 0.0,
                "xgot": 0.0214,
                "ball_carries": 22.0223,
                "total_progression": 74.5567,
                "progressive_carries": 1.4152,
                "key_pass": 0.9807,
                "shots_off_target": 0.4363,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Fernando Niñ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": "Fernando Niño",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 1.2372,
                "tackles": 2.1922,
                "tackles_won": 1.329,
                "clearances": 2.9466,
                "aerial_won": 1.484,
                "total_shots": 0.5725,
                "rating": 6.9036,
                "minutes": 90.0,
                "total_pass": 65.5171,
                "accurate_pass": 61.2004,
                "duels_won": 7.1804,
                "total_long_balls": 3.6674,
                "accurate_long_balls": 2.8286,
                "total_own_half_passes": 31.5691,
                "accurate_own_half_passes": 30.1086,
                "total_opp_half_passes": 33.9479,
                "accurate_opp_half_passes": 31.0917,
                "crosses_total": 0.7589,
                "crosses_accurate": 0.0,
                "touches": 92.2233,
                "possession_lost": 7.9574,
                "dispossessed": 0.5089,
                "duels_lost": 3.9505,
                "aerial_lost": 1.0089,
                "total_contest": 1.6098,
                "won_contest": 1.1565,
                "ball_recovery": 6.2993,
                "challenges_lost": 1.7208,
                "fouls": 0.2586,
                "fouls_drawn": 0.7974,
                "blocks": 0.4211,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0281,
                "expected_assists": 0.0335,
                "shots_on_target": 0.1362,
                "big_chances_created": 0.0,
                "xgot": 0.0214,
                "ball_carries": 22.0223,
                "total_progression": 74.5567,
                "progressive_carries": 1.4152,
                "key_pass": 0.9807,
                "shots_off_target": 0.4363,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Fernando Niño",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.95 (squad xG sum 1.2540, xG scale 1.5534, xA scale 1.5534, team xA 1.43 = 0.73 x lambda)",
              "stats": {
                "interceptions": 1.2372,
                "tackles": 2.1922,
                "tackles_won": 1.329,
                "clearances": 2.9466,
                "aerial_won": 1.484,
                "total_shots": 0.5725,
                "rating": 6.9036,
                "minutes": 90.0,
                "total_pass": 65.5171,
                "accurate_pass": 61.2004,
                "duels_won": 7.1804,
                "total_long_balls": 3.6674,
                "accurate_long_balls": 2.8286,
                "total_own_half_passes": 31.5691,
                "accurate_own_half_passes": 30.1086,
                "total_opp_half_passes": 33.9479,
                "accurate_opp_half_passes": 31.0917,
                "crosses_total": 0.7589,
                "crosses_accurate": 0.0,
                "touches": 92.2233,
                "possession_lost": 7.9574,
                "dispossessed": 0.5089,
                "duels_lost": 3.9505,
                "aerial_lost": 1.0089,
                "total_contest": 1.6098,
                "won_contest": 1.1565,
                "ball_recovery": 6.2993,
                "challenges_lost": 1.7208,
                "fouls": 0.2586,
                "fouls_drawn": 0.7974,
                "blocks": 0.4211,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0437,
                "expected_assists": 0.052,
                "shots_on_target": 0.1362,
                "big_chances_created": 0.0,
                "xgot": 0.0332,
                "ball_carries": 22.0223,
                "total_progression": 74.5567,
                "progressive_carries": 1.4152,
                "key_pass": 0.9807,
                "shots_off_target": 0.4363,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Fernando Niñ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": 0.8,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.948,
                "squad_xg_sum": 1.254,
                "squad_xa_sum": 0.9174,
                "team_expected_assists": 1.4251,
                "team_xa_to_xg_ratio": 0.7316,
                "bench_appearance_weighted": true,
                "xg_scale": 1.5534,
                "xa_scale": 1.5534,
                "opponent_lambda": 0.898,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0281,
                  "after": 0.0437
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0335,
                  "after": 0.052
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 9 by projected rating, fifa_overall 81.0)",
              "stats": {
                "interceptions": 1.2372,
                "tackles": 2.1922,
                "tackles_won": 1.329,
                "clearances": 2.9466,
                "aerial_won": 1.484,
                "total_shots": 0.5725,
                "rating": 6.9036,
                "minutes": 90.0,
                "total_pass": 65.5171,
                "accurate_pass": 61.2004,
                "duels_won": 7.1804,
                "total_long_balls": 3.6674,
                "accurate_long_balls": 2.8286,
                "total_own_half_passes": 31.5691,
                "accurate_own_half_passes": 30.1086,
                "total_opp_half_passes": 33.9479,
                "accurate_opp_half_passes": 31.0917,
                "crosses_total": 0.7589,
                "crosses_accurate": 0.0,
                "touches": 92.2233,
                "possession_lost": 7.9574,
                "dispossessed": 0.5089,
                "duels_lost": 3.9505,
                "aerial_lost": 1.0089,
                "total_contest": 1.6098,
                "won_contest": 1.1565,
                "ball_recovery": 6.2993,
                "challenges_lost": 1.7208,
                "fouls": 0.2586,
                "fouls_drawn": 0.7974,
                "blocks": 0.4211,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0437,
                "expected_assists": 0.052,
                "shots_on_target": 0.1362,
                "big_chances_created": 0.0,
                "xgot": 0.0332,
                "ball_carries": 22.0223,
                "total_progression": 74.5567,
                "progressive_carries": 1.4152,
                "key_pass": 0.9807,
                "shots_off_target": 0.4363,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Fernando Niñ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": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 81.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": 416,
                "fifa_rank": 500.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 81.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1.2372,
                "tackles": 2.1922,
                "tackles_won": 1.329,
                "clearances": 2.9466,
                "aerial_won": 1.484,
                "total_shots": 0.5725,
                "rating": 6.9036,
                "minutes": 90.0,
                "total_pass": 65.5171,
                "accurate_pass": 61.2004,
                "duels_won": 7.1804,
                "total_long_balls": 3.6674,
                "accurate_long_balls": 2.8286,
                "total_own_half_passes": 31.5691,
                "accurate_own_half_passes": 30.1086,
                "total_opp_half_passes": 33.9479,
                "accurate_opp_half_passes": 31.0917,
                "crosses_total": 0.7589,
                "crosses_accurate": 0.0,
                "touches": 92.2233,
                "possession_lost": 7.9574,
                "dispossessed": 0.5089,
                "duels_lost": 3.9505,
                "aerial_lost": 1.0089,
                "total_contest": 1.6098,
                "won_contest": 1.1565,
                "ball_recovery": 6.2993,
                "challenges_lost": 1.7208,
                "fouls": 0.2586,
                "fouls_drawn": 0.7974,
                "blocks": 0.4211,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0437,
                "expected_assists": 0.052,
                "shots_on_target": 0.1362,
                "big_chances_created": 0.0,
                "xgot": 0.0332,
                "ball_carries": 22.0223,
                "total_progression": 74.5567,
                "progressive_carries": 1.4152,
                "key_pass": 0.9807,
                "shots_off_target": 0.4363,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Fernando Niñ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.0428,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0428,
                "goal_rate": 0.0,
                "scorer_weight": 0.035,
                "squad_weight_total": 2.1033,
                "weight_share": 0.0166,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ayoze Pérez",
                    "weight": 0.5937,
                    "already": 0,
                    "effective_weight": 0.5937,
                    "runner_up": "Alberto Moleiro",
                    "runner_up_effective_weight": 0.4755
                  }
                ]
              }
            },
            {
              "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.2372,
                "tackles": 2.1922,
                "tackles_won": 1.329,
                "clearances": 2.9466,
                "aerial_won": 1.484,
                "total_shots": 0.5725,
                "rating": 6.9036,
                "minutes": 90.0,
                "total_pass": 65.5171,
                "accurate_pass": 61.2004,
                "duels_won": 7.1804,
                "total_long_balls": 3.6674,
                "accurate_long_balls": 2.8286,
                "total_own_half_passes": 31.5691,
                "accurate_own_half_passes": 30.1086,
                "total_opp_half_passes": 33.9479,
                "accurate_opp_half_passes": 31.0917,
                "crosses_total": 0.7589,
                "crosses_accurate": 0.0,
                "touches": 92.2233,
                "possession_lost": 7.9574,
                "dispossessed": 0.5089,
                "duels_lost": 3.9505,
                "aerial_lost": 1.0089,
                "total_contest": 1.6098,
                "won_contest": 1.1565,
                "ball_recovery": 6.2993,
                "challenges_lost": 1.7208,
                "fouls": 0.2586,
                "fouls_drawn": 0.7974,
                "blocks": 0.4211,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0437,
                "expected_assists": 0.052,
                "shots_on_target": 0.1362,
                "big_chances_created": 0.0,
                "xgot": 0.0332,
                "ball_carries": 22.0223,
                "total_progression": 74.5567,
                "progressive_carries": 1.4152,
                "key_pass": 0.9807,
                "shots_off_target": 0.4363,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.5,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Fernando Niñ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.0428,
                "projected_assists": 0,
                "assist_probability": 0.0507,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0507,
                "assist_rate": 0.0,
                "provider_weight": 0.0416,
                "squad_weight_total": 1.5258,
                "weight_share": 0.0273,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alberto Moleiro",
                    "weight": 0.3984,
                    "already": 0,
                    "effective_weight": 0.3984,
                    "runner_up": "Ilias Akhomach",
                    "runner_up_effective_weight": 0.2463,
                    "blocked_own_goal": [
                      "Ayoze Pérez"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Péter Gulácsi": {
          "player_id": 37096,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 25,
          "height": 190,
          "market_value": 970000,
          "stats": {
            "saves": 3,
            "goals_prevented": 0.1019,
            "rating": 7.0931,
            "minutes": 90,
            "total_pass": 25,
            "accurate_pass": 22,
            "total_long_balls": 6,
            "accurate_long_balls": 3,
            "touches": 34,
            "clearances": 2,
            "ball_recovery": 6,
            "high_claims": 1,
            "punches": 1.5627,
            "aerial_won": 0,
            "sweeper_actions": 1,
            "sweeper_accurate": 1,
            "saves_inside_box": 3,
            "possession_lost": 2.7908,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 22,
            "accurate_own_half_passes": 22,
            "gk_engine_opponent_lambda": 0.9885,
            "shots_faced": 8.5,
            "expected_saves": 2.08,
            "high_pressure_saves": 0.72,
            "opponent_faced": "Fernando Niño, Lucas Cepeda",
            "matchup_zone": "Goalkeeper shot-stopping context",
            "antagonist_source": "formation_fallback",
            "goals": 0,
            "projected_goals": 0,
            "goal_probability": 0.0,
            "assists": 0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "finishing_factor": 1.0,
            "creation_factor": 1.0,
            "expected_goals": 0.0,
            "expected_assists": 0.0,
            "fifa_overall": 82.0
          },
          "latest_10_games": [
            {
              "match_id": 16421066,
              "match_date": "2026-10-10",
              "home_team": "Real Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 17,
                "ball_recovery": 6,
                "saves": 3,
                "goals_prevented": 0.42
              },
              "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": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 33,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 8,
                "goals_prevented": -0.4904
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 20,
                "ball_recovery": 3,
                "goals_prevented": -0.1208
              },
              "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": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 9.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 18,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 8,
                "saves": 10,
                "goals_prevented": 1.96
              },
              "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"
            }
          ],
          "ranking": {
            "global_player_rank": 616,
            "combined_rank_score": 318.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 409.0,
            "fifa_overall": 82.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0931,
            "source_file": "data/player_rankings.csv",
            "player_name": "Péter Gulácsi",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Mender García",
                  "ranking": 611
                },
                {
                  "player_name": "José Fajardo",
                  "ranking": 612
                },
                {
                  "player_name": "Konstantinos Fortounis",
                  "ranking": 613
                },
                {
                  "player_name": "N'Golo Kanté",
                  "ranking": 614
                },
                {
                  "player_name": "Mason Greenwood",
                  "ranking": 615
                }
              ],
              "lower": [
                {
                  "player_name": "Oliver Baumann",
                  "ranking": 617
                },
                {
                  "player_name": "Iñigo Martínez",
                  "ranking": 618
                },
                {
                  "player_name": "Omar Marmoush",
                  "ranking": 619
                },
                {
                  "player_name": "Pathé Ismaël Ciss",
                  "ranking": 620
                },
                {
                  "player_name": "Riccardo Orsolini",
                  "ranking": 621
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.5,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "G_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "accurateLongBalls",
              "totalOwnHalfPasses",
              "accurateOwnHalfPasses",
              "saves",
              "savedShotsFromInsideTheBox",
              "goodHighClaim",
              "punches",
              "aerialWon",
              "totalKeeperSweeper",
              "accurateKeeperSweeper",
              "totalClearance",
              "ballRecovery",
              "touches",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "goalkeeperValueNormalized",
              "goalsPrevented",
              "rating",
              "pass_accuracy",
              "long_ball_accuracy",
              "save_contribution",
              "inside_box_save_rate",
              "sweeper_accuracy",
              "sweeper_actions_p90",
              "distribution_accuracy",
              "commanding_index",
              "history_matches"
            ],
            "targets_predicted": [
              "saves",
              "goalsPrevented",
              "rating"
            ],
            "history_matches": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9887,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "XGBoost regressor (G_service) evaluated 4 historical appearances across 3 target models; FBref 2026-2027 prior blended (La Liga, Villarreal, rel: 0.00, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 2.6338,
                "goals_prevented": 0.1031,
                "rating": 7.0931,
                "minutes": 90.0,
                "total_pass": 24.9635,
                "accurate_pass": 22.1408,
                "total_long_balls": 5.744,
                "accurate_long_balls": 3.2351,
                "touches": 34.8501,
                "clearances": 1.8378,
                "ball_recovery": 6.2387,
                "high_claims": 0.5806,
                "punches": 1.5806,
                "aerial_won": 0.4595,
                "sweeper_actions": 1.1857,
                "sweeper_accurate": 1.1857,
                "saves_inside_box": 2.6759,
                "possession_lost": 2.8227,
                "duels_won": 0.4595,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 22.7213,
                "accurate_own_half_passes": 21.8269
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-17T10:04:09.876591+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 200,
                    "rows": 7041
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 9.6
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "accurateLongBalls": 3.2351,
                  "save_contribution": 3.22,
                  "distribution_accuracy": 0.9573,
                  "accurateOwnHalfPasses": 21.8269,
                  "passValueNormalized": 0.0345,
                  "totalOwnHalfPasses": 22.7213
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.633770704269409,
                    "model_output": 2.6338,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.0393
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.039
                      },
                      {
                        "name": "saves",
                        "importance": 0.0355
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0354
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 2.941,
                      "items": [
                        {
                          "name": "accurateLongBalls",
                          "contribution": -0.1283
                        },
                        {
                          "name": "distribution_accuracy",
                          "contribution": -0.0833
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0273
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0263
                        },
                        {
                          "name": "save_contribution",
                          "contribution": -0.023
                        }
                      ],
                      "others": -0.019,
                      "total": 2.6338,
                      "log_link": true,
                      "margin_base": 1.078763,
                      "item_margins": [
                        {
                          "name": "accurateLongBalls",
                          "margin": -0.044602
                        },
                        {
                          "name": "distribution_accuracy",
                          "margin": -0.030051
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.010064
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.009766
                        },
                        {
                          "name": "save_contribution",
                          "margin": -0.008641
                        }
                      ],
                      "others_margin": -0.007223
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": 0.10310880094766617,
                    "model_output": 0.1031,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.0405
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.0401
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0394
                      },
                      {
                        "name": "totalOwnHalfPasses",
                        "importance": 0.0381
                      },
                      {
                        "name": "punches",
                        "importance": 0.0363
                      }
                    ],
                    "decomposition": {
                      "base": -0.0281,
                      "items": [
                        {
                          "name": "pass_accuracy",
                          "contribution": 0.0547
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0218
                        },
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "contribution": 0.0195
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0182
                        },
                        {
                          "name": "commanding_index",
                          "contribution": 0.0162
                        }
                      ],
                      "others": 0.0008,
                      "total": 0.1031,
                      "log_link": false,
                      "margin_base": -0.028113,
                      "item_margins": [
                        {
                          "name": "pass_accuracy",
                          "margin": 0.054654
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.021848
                        },
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "margin": 0.019463
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.018219
                        },
                        {
                          "name": "commanding_index",
                          "margin": 0.0162
                        }
                      ],
                      "others_margin": 0.000838
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.093052864074707,
                    "model_output": 7.0931,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0379
                      },
                      {
                        "name": "commanding_index",
                        "importance": 0.0375
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.037
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0354
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 6.9974,
                      "items": [
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0498
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": -0.0334
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.029
                        },
                        {
                          "name": "punches",
                          "contribution": -0.0216
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0207
                        }
                      ],
                      "others": 0.0512,
                      "total": 7.0931,
                      "log_link": false,
                      "margin_base": 6.997403,
                      "item_margins": [
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.049841
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": -0.033427
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.028951
                        },
                        {
                          "name": "punches",
                          "margin": -0.021604
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.020736
                        }
                      ],
                      "others_margin": 0.051152
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 4,
                  "role_matches": 4,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9887, quality 0.437)",
              "stats": {
                "saves": 2.604,
                "goals_prevented": 0.1019,
                "rating": 7.0931,
                "minutes": 90.0,
                "total_pass": 24.6814,
                "accurate_pass": 21.8906,
                "total_long_balls": 5.6791,
                "accurate_long_balls": 3.1985,
                "touches": 34.4563,
                "clearances": 1.817,
                "ball_recovery": 6.1682,
                "high_claims": 0.574,
                "punches": 1.5627,
                "aerial_won": 0.4543,
                "sweeper_actions": 1.1723,
                "sweeper_accurate": 1.1723,
                "saves_inside_box": 2.6457,
                "possession_lost": 2.7908,
                "duels_won": 0.4543,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 22.4645,
                "accurate_own_half_passes": 21.5803
              },
              "params": {
                "market_value_eur": 970000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9887,
                "reference_quality": 0.505,
                "history_matches": 4,
                "history_shrink": 0.5556,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 2.604,
                "goals_prevented": 0.1019,
                "rating": 7.0931,
                "minutes": 90.0,
                "total_pass": 24.6814,
                "accurate_pass": 21.8906,
                "total_long_balls": 5.6791,
                "accurate_long_balls": 3.1985,
                "touches": 34.4563,
                "clearances": 1.817,
                "ball_recovery": 6.1682,
                "high_claims": 0.574,
                "punches": 1.5627,
                "aerial_won": 0.4543,
                "sweeper_actions": 1.1723,
                "sweeper_accurate": 1.1723,
                "saves_inside_box": 2.6457,
                "possession_lost": 2.7908,
                "duels_won": 0.4543,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 22.4645,
                "accurate_own_half_passes": 21.5803
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "saves": 2.604,
                "goals_prevented": 0.1019,
                "rating": 7.0931,
                "minutes": 90.0,
                "total_pass": 24.6814,
                "accurate_pass": 21.8906,
                "total_long_balls": 5.6791,
                "accurate_long_balls": 3.1985,
                "touches": 34.4563,
                "clearances": 1.817,
                "ball_recovery": 6.1682,
                "high_claims": 0.574,
                "punches": 1.5627,
                "aerial_won": 0.4543,
                "sweeper_actions": 1.1723,
                "sweeper_accurate": 1.1723,
                "saves_inside_box": 2.6457,
                "possession_lost": 2.7908,
                "duels_won": 0.4543,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 22.4645,
                "accurate_own_half_passes": 21.5803,
                "gk_engine_opponent_lambda": 0.9885,
                "shots_faced": 9.4,
                "expected_saves": 2.3,
                "high_pressure_saves": 0.79,
                "opponent_faced": "Fernando Niño, Lucas Cepeda",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Fernando Niño, Lucas Cepeda",
                  "matchup_zone": "Goalkeeper shot-stopping context",
                  "opponent_lambda": 0.9885
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "saves": 2.604,
                "goals_prevented": 0.1019,
                "rating": 7.0931,
                "minutes": 90.0,
                "total_pass": 24.6814,
                "accurate_pass": 21.8906,
                "total_long_balls": 5.6791,
                "accurate_long_balls": 3.1985,
                "touches": 34.4563,
                "clearances": 1.817,
                "ball_recovery": 6.1682,
                "high_claims": 0.574,
                "punches": 1.5627,
                "aerial_won": 0.4543,
                "sweeper_actions": 1.1723,
                "sweeper_accurate": 1.1723,
                "saves_inside_box": 2.6457,
                "possession_lost": 2.7908,
                "duels_won": 0.4543,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 22.4645,
                "accurate_own_half_passes": 21.5803,
                "gk_engine_opponent_lambda": 0.9885,
                "shots_faced": 9.4,
                "expected_saves": 2.3,
                "high_pressure_saves": 0.79,
                "opponent_faced": "Fernando Niño, Lucas Cepeda",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.95 (squad xG sum 1.2540, xG scale 1.5534, xA scale 1.5534, team xA 1.43 = 0.73 x lambda)",
              "stats": {
                "saves": 2.604,
                "goals_prevented": 0.1019,
                "rating": 7.0931,
                "minutes": 90.0,
                "total_pass": 24.6814,
                "accurate_pass": 21.8906,
                "total_long_balls": 5.6791,
                "accurate_long_balls": 3.1985,
                "touches": 34.4563,
                "clearances": 1.817,
                "ball_recovery": 6.1682,
                "high_claims": 0.574,
                "punches": 1.5627,
                "aerial_won": 0.4543,
                "sweeper_actions": 1.1723,
                "sweeper_accurate": 1.1723,
                "saves_inside_box": 2.6457,
                "possession_lost": 2.7908,
                "duels_won": 0.4543,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 22.4645,
                "accurate_own_half_passes": 21.5803,
                "gk_engine_opponent_lambda": 0.9885,
                "shots_faced": 8.5,
                "expected_saves": 2.08,
                "high_pressure_saves": 0.72,
                "opponent_faced": "Fernando Niño, Lucas Cepeda",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0
              },
              "params": {
                "team_lambda": 1.948,
                "squad_xg_sum": 1.254,
                "squad_xa_sum": 0.9174,
                "team_expected_assists": 1.4251,
                "team_xa_to_xg_ratio": 0.7316,
                "bench_appearance_weighted": true,
                "xg_scale": 1.5534,
                "xa_scale": 1.5534,
                "opponent_lambda": 0.898,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "shots_faced",
                  "before": 9.4,
                  "after": 8.5
                },
                {
                  "stat": "expected_saves",
                  "before": 2.3,
                  "after": 2.08
                },
                {
                  "stat": "high_pressure_saves",
                  "before": 0.79,
                  "after": 0.72
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 3 by projected rating, fifa_overall 82.0)",
              "stats": {
                "saves": 2.604,
                "goals_prevented": 0.1019,
                "rating": 7.0931,
                "minutes": 90.0,
                "total_pass": 24.6814,
                "accurate_pass": 21.8906,
                "total_long_balls": 5.6791,
                "accurate_long_balls": 3.1985,
                "touches": 34.4563,
                "clearances": 1.817,
                "ball_recovery": 6.1682,
                "high_claims": 0.574,
                "punches": 1.5627,
                "aerial_won": 0.4543,
                "sweeper_actions": 1.1723,
                "sweeper_accurate": 1.1723,
                "saves_inside_box": 2.6457,
                "possession_lost": 2.7908,
                "duels_won": 0.4543,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 22.4645,
                "accurate_own_half_passes": 21.5803,
                "gk_engine_opponent_lambda": 0.9885,
                "shots_faced": 8.5,
                "expected_saves": 2.08,
                "high_pressure_saves": 0.72,
                "opponent_faced": "Fernando Niño, Lucas Cepeda",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 82.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": 616,
                "fifa_rank": 409.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 82.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "saves": 2.604,
                "goals_prevented": 0.1019,
                "rating": 7.0931,
                "minutes": 90.0,
                "total_pass": 24.6814,
                "accurate_pass": 21.8906,
                "total_long_balls": 5.6791,
                "accurate_long_balls": 3.1985,
                "touches": 34.4563,
                "clearances": 1.817,
                "ball_recovery": 6.1682,
                "high_claims": 0.574,
                "punches": 1.5627,
                "aerial_won": 0.4543,
                "sweeper_actions": 1.1723,
                "sweeper_accurate": 1.1723,
                "saves_inside_box": 2.6457,
                "possession_lost": 2.7908,
                "duels_won": 0.4543,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 22.4645,
                "accurate_own_half_passes": 21.5803,
                "gk_engine_opponent_lambda": 0.9885,
                "shots_faced": 8.5,
                "expected_saves": 2.08,
                "high_pressure_saves": 0.72,
                "opponent_faced": "Fernando Niño, Lucas Cepeda",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 2.1033,
                "weight_share": 0.0,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ayoze Pérez",
                    "weight": 0.5937,
                    "already": 0,
                    "effective_weight": 0.5937,
                    "runner_up": "Alberto Moleiro",
                    "runner_up_effective_weight": 0.4755
                  }
                ]
              }
            },
            {
              "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": 2.604,
                "goals_prevented": 0.1019,
                "rating": 7.0931,
                "minutes": 90.0,
                "total_pass": 24.6814,
                "accurate_pass": 21.8906,
                "total_long_balls": 5.6791,
                "accurate_long_balls": 3.1985,
                "touches": 34.4563,
                "clearances": 1.817,
                "ball_recovery": 6.1682,
                "high_claims": 0.574,
                "punches": 1.5627,
                "aerial_won": 0.4543,
                "sweeper_actions": 1.1723,
                "sweeper_accurate": 1.1723,
                "saves_inside_box": 2.6457,
                "possession_lost": 2.7908,
                "duels_won": 0.4543,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 22.4645,
                "accurate_own_half_passes": 21.5803,
                "gk_engine_opponent_lambda": 0.9885,
                "shots_faced": 8.5,
                "expected_saves": 2.08,
                "high_pressure_saves": 0.72,
                "opponent_faced": "Fernando Niño, Lucas Cepeda",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 1.5258,
                "weight_share": 0.0,
                "creation_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alberto Moleiro",
                    "weight": 0.3984,
                    "already": 0,
                    "effective_weight": 0.3984,
                    "runner_up": "Ilias Akhomach",
                    "runner_up_effective_weight": 0.2463,
                    "blocked_own_goal": [
                      "Ayoze Pérez"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "bench_players": {
        "Luiz Júnior": {
          "player_id": 1066603,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 1,
          "height": 192,
          "market_value": 12400000,
          "stats": {
            "saves": 0,
            "goals_prevented": -0.0139,
            "rating": 7.052,
            "minutes": 5,
            "total_pass": 4,
            "accurate_pass": 3,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "touches": 5,
            "clearances": 0,
            "ball_recovery": 1,
            "high_claims": 0,
            "punches": 0.2773,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 0.8502,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 3,
            "bench_appearance_probability": 0.129,
            "bench_expected_minutes": 4.84,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.162,
            "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": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 5.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 15,
                "ball_recovery": 4,
                "goals_prevented": -1.7728
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 18,
                "clearances": 2,
                "ball_recovery": 8,
                "saves": 1,
                "goals_prevented": -0.2317
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416302,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 25,
                "ball_recovery": 5,
                "saves": 2,
                "goals_prevented": -1.1323
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 18,
                "ball_recovery": 6,
                "saves": 3,
                "goals_prevented": -0.6088
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083102,
              "match_date": "2026-04-12",
              "home_team": "Athletic Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 8.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 19,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 14,
                "saves": 5,
                "goals_prevented": 1.3408
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081812,
              "match_date": "2026-04-06",
              "home_team": "Girona FC",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 20,
                "ball_recovery": 8,
                "saves": 2,
                "goals_prevented": -0.5786
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081808,
              "match_date": "2026-03-20",
              "home_team": "Villarreal",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 6,
                "clearances": 4,
                "ball_recovery": 9,
                "saves": 3,
                "goals_prevented": 0.3769
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081806,
              "match_date": "2026-03-13",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0009,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 16,
                "clearances": 1,
                "ball_recovery": 7
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081803,
              "match_date": "2026-03-08",
              "home_team": "Villarreal",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 13,
                "clearances": 3,
                "ball_recovery": 11,
                "saves": 6,
                "goals_prevented": 0.7456
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081789,
              "match_date": "2026-02-28",
              "home_team": "FC Barcelona",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 10,
                "ball_recovery": 6,
                "saves": 4,
                "goals_prevented": -1.2781
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 2073,
            "combined_rank_score": 790.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 339.0,
            "sofascore_rating": 6.9929,
            "sofascore_appearances": 28.0,
            "fifa_rank": 1241.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 7.052,
            "source_file": "data/player_rankings.csv",
            "player_name": "Luiz Júnior",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Kim Jong-Seok",
                  "ranking": 2068
                },
                {
                  "player_name": "Ariel Cáceres",
                  "ranking": 2069
                },
                {
                  "player_name": "Lucas Zelarayán",
                  "ranking": 2070
                },
                {
                  "player_name": "Šime Gržan",
                  "ranking": 2071
                },
                {
                  "player_name": "Kaku",
                  "ranking": 2072
                }
              ],
              "lower": [
                {
                  "player_name": "Maximiliano Rodríguez",
                  "ranking": 2074
                },
                {
                  "player_name": "Abbos Gulomov",
                  "ranking": 2075
                },
                {
                  "player_name": "Chan-dong Lee",
                  "ranking": 2076
                },
                {
                  "player_name": "Leonardo Spinazzola",
                  "ranking": 2077
                },
                {
                  "player_name": "Toni Martínez",
                  "ranking": 2078
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 32,
          "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",
              "passValueNormalized",
              "defensiveValueNormalized",
              "goalkeeperValueNormalized",
              "goalsPrevented",
              "rating",
              "pass_accuracy",
              "long_ball_accuracy",
              "save_contribution",
              "inside_box_save_rate",
              "sweeper_accuracy",
              "sweeper_actions_p90",
              "distribution_accuracy",
              "commanding_index",
              "history_matches"
            ],
            "targets_predicted": [
              "saves",
              "goalsPrevented",
              "rating"
            ],
            "history_matches": 32,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 4.838865452352355,
            "bench_appearance_prob": 0.12903933874328888,
            "market_value_adjustment": 1.0018,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost G_service (32 historical appearances) to 4.8 expected mins (appearance prob 0.13)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 2.4304,
                "goals_prevented": -0.082,
                "rating": 7.052,
                "minutes": 28.5,
                "total_pass": 21.7857,
                "accurate_pass": 16.8137,
                "total_long_balls": 7.9087,
                "accurate_long_balls": 3.067,
                "touches": 30.646,
                "clearances": 1.3444,
                "ball_recovery": 7.6506,
                "high_claims": 1.1485,
                "punches": 1.6306,
                "aerial_won": 0.147,
                "sweeper_actions": 1.4583,
                "sweeper_accurate": 1.2888,
                "saves_inside_box": 1.1445,
                "possession_lost": 4.9983,
                "duels_won": 0.2114,
                "duels_lost": 0.1983,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0307,
                "fouls_drawn": 0.0826,
                "total_own_half_passes": 16.7615,
                "accurate_own_half_passes": 15.4017
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-17T10:04:09.876591+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 200,
                    "rows": 7041
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1508,
                    "rating": 5.3
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1282,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.109,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0926,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-04-12",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0787,
                    "rating": 8.5
                  },
                  {
                    "match_date": "2026-04-06",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0669,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-03-20",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0569,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-03-13",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0484,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-03-08",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0411,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-02-28",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "accurateLongBalls": 3.067,
                  "save_contribution": 1.7004,
                  "distribution_accuracy": 0.9008,
                  "accurateOwnHalfPasses": 15.4016,
                  "passValueNormalized": 0.0466,
                  "totalOwnHalfPasses": 16.7615
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.430438995361328,
                    "model_output": 2.4304,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.0393
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.039
                      },
                      {
                        "name": "saves",
                        "importance": 0.0355
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0354
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 2.941,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2269
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": -0.1015
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.041
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0279
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0263
                        }
                      ],
                      "others": -0.1428,
                      "total": 2.4304,
                      "log_link": true,
                      "margin_base": 1.078763,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.080303
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": -0.038116
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.015823
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.010777
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.010173
                        }
                      ],
                      "others_margin": -0.057053
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": -0.08199054002761841,
                    "model_output": -0.082,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.0405
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.0401
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0394
                      },
                      {
                        "name": "totalOwnHalfPasses",
                        "importance": 0.0381
                      },
                      {
                        "name": "punches",
                        "importance": 0.0363
                      }
                    ],
                    "decomposition": {
                      "base": -0.0281,
                      "items": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": 0.0828
                        },
                        {
                          "name": "sweeper_accuracy",
                          "contribution": 0.0762
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0398
                        },
                        {
                          "name": "punches",
                          "contribution": -0.0344
                        },
                        {
                          "name": "commanding_index",
                          "contribution": 0.0261
                        }
                      ],
                      "others": -0.1648,
                      "total": -0.082,
                      "log_link": false,
                      "margin_base": -0.028113,
                      "item_margins": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": 0.082801
                        },
                        {
                          "name": "sweeper_accuracy",
                          "margin": 0.076177
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.039751
                        },
                        {
                          "name": "punches",
                          "margin": -0.034388
                        },
                        {
                          "name": "commanding_index",
                          "margin": 0.026099
                        }
                      ],
                      "others_margin": -0.164816
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.052018165588379,
                    "model_output": 7.052,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0379
                      },
                      {
                        "name": "commanding_index",
                        "importance": 0.0375
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.037
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0354
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 6.9974,
                      "items": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": 0.0548
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0518
                        },
                        {
                          "name": "sweeper_accuracy",
                          "contribution": 0.0328
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0299
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": -0.0238
                        }
                      ],
                      "others": -0.0311,
                      "total": 7.052,
                      "log_link": false,
                      "margin_base": 6.997403,
                      "item_margins": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": 0.054796
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.051754
                        },
                        {
                          "name": "sweeper_accuracy",
                          "margin": 0.032782
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.029901
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": -0.023817
                        }
                      ],
                      "others_margin": -0.031
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 32,
                  "role_matches": 0,
                  "minutes_source": "position_median",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0018, quality 0.550)",
              "stats": {
                "saves": 2.4348,
                "goals_prevented": -0.0821,
                "rating": 7.052,
                "minutes": 28.5,
                "total_pass": 21.8249,
                "accurate_pass": 16.844,
                "total_long_balls": 7.9229,
                "accurate_long_balls": 3.0725,
                "touches": 30.7012,
                "clearances": 1.3468,
                "ball_recovery": 7.6644,
                "high_claims": 1.1506,
                "punches": 1.6335,
                "aerial_won": 0.1473,
                "sweeper_actions": 1.4609,
                "sweeper_accurate": 1.2911,
                "saves_inside_box": 1.1466,
                "possession_lost": 5.0073,
                "duels_won": 0.2118,
                "duels_lost": 0.1987,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0308,
                "fouls_drawn": 0.0827,
                "total_own_half_passes": 16.7917,
                "accurate_own_half_passes": 15.4294
              },
              "params": {
                "market_value_eur": 12400000,
                "quality_factor": 0.5502,
                "boost_factor": 1.0018,
                "reference_quality": 0.505,
                "history_matches": 32,
                "history_shrink": 0.1351,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 28.5 to 4.8 expected minutes (appearance prob 0.13)",
              "stats": {
                "saves": 0.4134,
                "goals_prevented": -0.0139,
                "rating": 7.052,
                "minutes": 4.84,
                "total_pass": 3.7055,
                "accurate_pass": 2.8599,
                "total_long_balls": 1.3452,
                "accurate_long_balls": 0.5217,
                "touches": 5.2126,
                "clearances": 0.2287,
                "ball_recovery": 1.3013,
                "high_claims": 0.1954,
                "punches": 0.2773,
                "aerial_won": 0.025,
                "sweeper_actions": 0.248,
                "sweeper_accurate": 0.2192,
                "saves_inside_box": 0.1947,
                "possession_lost": 0.8502,
                "duels_won": 0.036,
                "duels_lost": 0.0337,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0052,
                "fouls_drawn": 0.014,
                "total_own_half_passes": 2.851,
                "accurate_own_half_passes": 2.6197,
                "bench_appearance_probability": 0.129,
                "bench_expected_minutes": 4.84
              },
              "params": {
                "expected_minutes": 4.84,
                "projection_minutes": 28.5,
                "minutes_scale": 0.1698,
                "appearance_probability": 0.129
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 0.4134,
                "goals_prevented": -0.0139,
                "rating": 7.052,
                "minutes": 4.84,
                "total_pass": 3.7055,
                "accurate_pass": 2.8599,
                "total_long_balls": 1.3452,
                "accurate_long_balls": 0.5217,
                "touches": 5.2126,
                "clearances": 0.2287,
                "ball_recovery": 1.3013,
                "high_claims": 0.1954,
                "punches": 0.2773,
                "aerial_won": 0.025,
                "sweeper_actions": 0.248,
                "sweeper_accurate": 0.2192,
                "saves_inside_box": 0.1947,
                "possession_lost": 0.8502,
                "duels_won": 0.036,
                "duels_lost": 0.0337,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0052,
                "fouls_drawn": 0.014,
                "total_own_half_passes": 2.851,
                "accurate_own_half_passes": 2.6197,
                "bench_appearance_probability": 0.129,
                "bench_expected_minutes": 4.84
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "saves": 0.4134,
                "goals_prevented": -0.0139,
                "rating": 7.052,
                "minutes": 4.84,
                "total_pass": 3.7055,
                "accurate_pass": 2.8599,
                "total_long_balls": 1.3452,
                "accurate_long_balls": 0.5217,
                "touches": 5.2126,
                "clearances": 0.2287,
                "ball_recovery": 1.3013,
                "high_claims": 0.1954,
                "punches": 0.2773,
                "aerial_won": 0.025,
                "sweeper_actions": 0.248,
                "sweeper_accurate": 0.2192,
                "saves_inside_box": 0.1947,
                "possession_lost": 0.8502,
                "duels_won": 0.036,
                "duels_lost": 0.0337,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0052,
                "fouls_drawn": 0.014,
                "total_own_half_passes": 2.851,
                "accurate_own_half_passes": 2.6197,
                "bench_appearance_probability": 0.129,
                "bench_expected_minutes": 4.84,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.162,
                "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
              },
              "params": {
                "appearance_probability": 0.129,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 5 by projected rating, fifa_overall 78.0)",
              "stats": {
                "saves": 0.4134,
                "goals_prevented": -0.0139,
                "rating": 7.052,
                "minutes": 4.84,
                "total_pass": 3.7055,
                "accurate_pass": 2.8599,
                "total_long_balls": 1.3452,
                "accurate_long_balls": 0.5217,
                "touches": 5.2126,
                "clearances": 0.2287,
                "ball_recovery": 1.3013,
                "high_claims": 0.1954,
                "punches": 0.2773,
                "aerial_won": 0.025,
                "sweeper_actions": 0.248,
                "sweeper_accurate": 0.2192,
                "saves_inside_box": 0.1947,
                "possession_lost": 0.8502,
                "duels_won": 0.036,
                "duels_lost": 0.0337,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0052,
                "fouls_drawn": 0.014,
                "total_own_half_passes": 2.851,
                "accurate_own_half_passes": 2.6197,
                "bench_appearance_probability": 0.129,
                "bench_expected_minutes": 4.84,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.162,
                "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": 78.0
              },
              "params": {
                "match_squad_rank": 5,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2073,
                "fifa_rank": 1241.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            }
          ]
        },
        "Carlos Romero": {
          "player_id": 1396048,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 20,
          "height": 174,
          "market_value": 24000000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.7964,
            "minutes": 14,
            "total_pass": 21,
            "accurate_pass": 18,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 8,
            "accurate_own_half_passes": 7,
            "total_opp_half_passes": 13,
            "accurate_opp_half_passes": 11,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 33,
            "possession_lost": 5.5317,
            "dispossessed": 0.4646,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 3,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.0384,
            "goals": 0,
            "assist_rate": 0.0248,
            "assists": 0,
            "expected_goals": 0.0334,
            "expected_assists": 0.0363,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0738,
            "ball_carries": 9,
            "total_progression": 41,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.236,
            "bench_expected_minutes": 14.49,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.162,
            "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": 16421066,
              "match_date": "2026-10-10",
              "home_team": "Real Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 34,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0783,
                "expected_assists": 0.0152,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 18,
                "accurate_pass": 16,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 27,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0754,
                "expected_assists": 0.0685,
                "total_shots": 1,
                "total_pass": 23,
                "accurate_pass": 19,
                "duels_won": 1,
                "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": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0367,
                "expected_assists": 0.0239,
                "total_shots": 1,
                "total_pass": 60,
                "accurate_pass": 54,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 2,
                "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": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0469,
                "expected_assists": 0.053,
                "total_shots": 1,
                "total_pass": 57,
                "accurate_pass": 52,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416302,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0296,
                "total_shots": 0,
                "total_pass": 43,
                "accurate_pass": 34,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 5,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.016,
                "expected_assists": 0.0973,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 53,
                "accurate_pass": 50,
                "tackles": 3,
                "tackles_won": 3,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 12,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083719,
              "match_date": "2026-05-23",
              "home_team": "Espanyol",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1193,
                "expected_assists": 0.2291,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 42,
                "accurate_pass": 34,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 8,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083696,
              "match_date": "2026-05-17",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 9.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0256,
                "expected_assists": 0.018,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 22,
                "accurate_pass": 20,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 3,
                "clearances": 3,
                "duels_won": 8,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083629,
              "match_date": "2026-05-13",
              "home_team": "Espanyol",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0672,
                "expected_assists": 0.1447,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 44,
                "accurate_pass": 34,
                "key_pass": 1,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083587,
              "match_date": "2026-05-09",
              "home_team": "Sevilla",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 75,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0131,
                "expected_assists": 0.0027,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 14,
                "accurate_pass": 12,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 1
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 1032,
            "combined_rank_score": 460.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 157.0,
            "sofascore_rating": 7.3,
            "sofascore_appearances": 1.0,
            "fifa_rank": 764.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7964,
            "source_file": "data/player_rankings.csv",
            "player_name": "Carlos Romero",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Mamadou Sangare",
                  "ranking": 1027
                },
                {
                  "player_name": "Azizbek  Pirmukhamedov",
                  "ranking": 1028
                },
                {
                  "player_name": "Jonas Urbig",
                  "ranking": 1029
                },
                {
                  "player_name": "James Donachie",
                  "ranking": 1030
                },
                {
                  "player_name": "Felipe Campos",
                  "ranking": 1031
                }
              ],
              "lower": [
                {
                  "player_name": "Shota Gvazava",
                  "ranking": 1033
                },
                {
                  "player_name": "Joachim Andersen",
                  "ranking": 1034
                },
                {
                  "player_name": "Alisson",
                  "ranking": 1035
                },
                {
                  "player_name": "Anthony Elanga",
                  "ranking": 1036
                },
                {
                  "player_name": "Sander Berge",
                  "ranking": 1037
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 42,
          "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",
              "totalTackle",
              "totalShots",
              "rating",
              "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": 42,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 14.48735814265611,
            "bench_appearance_prob": 0.236,
            "market_value_adjustment": 1.0052,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "Bench projection scaled from XGBoost D_service (42 historical appearances) to 14.5 expected mins (appearance prob 0.24); 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": 0.2813,
                "tackles": 0.7213,
                "tackles_won": 0.5476,
                "clearances": 0.8107,
                "aerial_won": 0.202,
                "total_shots": 0.453,
                "rating": 6.7964,
                "minutes": 24.39,
                "total_pass": 35.5458,
                "accurate_pass": 30.5955,
                "duels_won": 4.0912,
                "total_long_balls": 2.2412,
                "accurate_long_balls": 1.2591,
                "total_own_half_passes": 13.8414,
                "accurate_own_half_passes": 12.4443,
                "total_opp_half_passes": 21.7044,
                "accurate_opp_half_passes": 18.1511,
                "crosses_total": 1.5174,
                "crosses_accurate": 0.215,
                "touches": 54.8039,
                "possession_lost": 9.2647,
                "dispossessed": 0.4622,
                "duels_lost": 2.6415,
                "aerial_lost": 0.4953,
                "total_contest": 2.1457,
                "won_contest": 1.3838,
                "ball_recovery": 4.3306,
                "challenges_lost": 0.6208,
                "fouls": 0.3317,
                "fouls_drawn": 0.8997,
                "blocks": 0.484,
                "goals": 0.0652,
                "goal_rate": 0.0652,
                "assists": 0.0422,
                "assist_rate": 0.0422,
                "expected_goals": 0.0559,
                "expected_assists": 0.0608,
                "shots_on_target": 0.3526,
                "big_chances_created": 0.0625,
                "xgot": 0.1237,
                "ball_carries": 15.5997,
                "total_progression": 69.4863,
                "progressive_carries": 2.1929,
                "key_pass": 0.7756,
                "shots_off_target": 0.1004
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:05:00.533351+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Real Madrid",
                    "minutes": 34.0,
                    "is_starting": false,
                    "weight": 0.1502,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Málaga CF",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.1276,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 9.7
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Sevilla",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 1.7251,
                  "aerialWon": 0.3646,
                  "totalClearance_p90": 2.2349,
                  "totalTackle": 1.5178,
                  "defensive_actions": 2.1074
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.2812536954879761,
                    "model_output": 0.2813,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4943
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0287
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0131
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0125
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0108
                        }
                      ],
                      "others": -0.0464,
                      "total": 0.2813,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.853713
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.08144
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.038114
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.036156
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.032322
                        }
                      ],
                      "others_margin": -0.153173
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.7212974429130554,
                    "model_output": 0.7213,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7673
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0234
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0203
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0201
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0165
                        }
                      ],
                      "others": 0.0574,
                      "total": 0.7213,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.801643
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.03678
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.031844
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.031478
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.025211
                        }
                      ],
                      "others_margin": 0.082928
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.5476183891296387,
                    "model_output": 0.5476,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.443
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0319
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0163
                        },
                        {
                          "name": "errorLeadToAShot",
                          "contribution": 0.0151
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0137
                        }
                      ],
                      "others": 0.0594,
                      "total": 0.5476,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.731092
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.07472
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.036077
                        },
                        {
                          "name": "errorLeadToAShot",
                          "margin": 0.032333
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.028552
                        }
                      ],
                      "others_margin": 0.114863
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 0.8107119798660278,
                    "model_output": 0.8107,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.0285
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.2697
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0849
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0637
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0549
                        }
                      ],
                      "others": -0.1203,
                      "total": 0.8107,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.89389
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.213256
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.077828
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.062568
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.057316
                        }
                      ],
                      "others_margin": -0.13834
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.20203028619289398,
                    "model_output": 0.202,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.8088
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.2107
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0317
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0282
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0252
                        }
                      ],
                      "others": -0.0707,
                      "total": 0.202,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.884806
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.463109
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.092824
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.090578
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.088341
                        }
                      ],
                      "others_margin": -0.299813
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4529834985733032,
                    "model_output": 0.453,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.246
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1858
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0283
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0261
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0226
                        }
                      ],
                      "others": -0.0383,
                      "total": 0.453,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.245963
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.185843
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.028277
                        },
                        {
                          "name": "rating",
                          "margin": 0.026104
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.022554
                        }
                      ],
                      "others_margin": -0.038332
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.796367168426514,
                    "model_output": 6.7964,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0298
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0173
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0142
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0123
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0106
                        }
                      ],
                      "others": 0.0079,
                      "total": 6.7964,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.029752
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.017273
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.014197
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.012314
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.010573
                        }
                      ],
                      "others_margin": 0.007876
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 42,
                  "role_matches": 2,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0052, quality 0.669)",
              "stats": {
                "interceptions": 0.2827,
                "tackles": 0.725,
                "tackles_won": 0.5505,
                "clearances": 0.8149,
                "aerial_won": 0.2031,
                "total_shots": 0.4554,
                "rating": 6.7964,
                "minutes": 24.39,
                "total_pass": 35.7306,
                "accurate_pass": 30.7546,
                "duels_won": 4.1125,
                "total_long_balls": 2.2529,
                "accurate_long_balls": 1.2656,
                "total_own_half_passes": 13.9134,
                "accurate_own_half_passes": 12.509,
                "total_opp_half_passes": 21.8173,
                "accurate_opp_half_passes": 18.2455,
                "crosses_total": 1.5253,
                "crosses_accurate": 0.2161,
                "touches": 55.0889,
                "possession_lost": 9.3129,
                "dispossessed": 0.4646,
                "duels_lost": 2.6552,
                "aerial_lost": 0.4979,
                "total_contest": 2.1569,
                "won_contest": 1.391,
                "ball_recovery": 4.3531,
                "challenges_lost": 0.624,
                "fouls": 0.3334,
                "fouls_drawn": 0.9044,
                "blocks": 0.4865,
                "goals": 0.0655,
                "goal_rate": 0.0655,
                "assists": 0.0424,
                "assist_rate": 0.0424,
                "expected_goals": 0.0562,
                "expected_assists": 0.0611,
                "shots_on_target": 0.3544,
                "big_chances_created": 0.0628,
                "xgot": 0.1243,
                "ball_carries": 15.6808,
                "total_progression": 69.8476,
                "progressive_carries": 2.2043,
                "key_pass": 0.7796,
                "shots_off_target": 0.1009
              },
              "params": {
                "market_value_eur": 24000000,
                "quality_factor": 0.6685,
                "boost_factor": 1.0052,
                "reference_quality": 0.505,
                "history_matches": 42,
                "history_shrink": 0.1064,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0138)",
              "stats": {
                "interceptions": 0.28,
                "tackles": 0.725,
                "tackles_won": 0.5491,
                "clearances": 0.8149,
                "aerial_won": 0.2031,
                "total_shots": 0.4516,
                "rating": 6.7964,
                "minutes": 24.39,
                "total_pass": 35.7306,
                "accurate_pass": 30.7546,
                "duels_won": 4.1125,
                "total_long_balls": 2.2529,
                "accurate_long_balls": 1.2656,
                "total_own_half_passes": 13.9134,
                "accurate_own_half_passes": 12.509,
                "total_opp_half_passes": 21.8173,
                "accurate_opp_half_passes": 18.2455,
                "crosses_total": 1.5117,
                "crosses_accurate": 0.2161,
                "touches": 55.0889,
                "possession_lost": 9.3129,
                "dispossessed": 0.4646,
                "duels_lost": 2.6552,
                "aerial_lost": 0.4979,
                "total_contest": 2.1569,
                "won_contest": 1.391,
                "ball_recovery": 4.3531,
                "challenges_lost": 0.624,
                "fouls": 0.3313,
                "fouls_drawn": 0.9006,
                "blocks": 0.4865,
                "goals": 0.0646,
                "goal_rate": 0.0646,
                "assists": 0.0418,
                "assist_rate": 0.0418,
                "expected_goals": 0.0562,
                "expected_assists": 0.0611,
                "shots_on_target": 0.3495,
                "big_chances_created": 0.0628,
                "xgot": 0.1243,
                "ball_carries": 15.6808,
                "total_progression": 69.8476,
                "progressive_carries": 2.2043,
                "key_pass": 0.7796,
                "shots_off_target": 0.1009
              },
              "params": {
                "blend_weight": 0.0138,
                "history_matches": 42,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.271,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Villarreal"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 1.5253,
                  "after": 1.5117
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 24.4 to 14.5 expected minutes (appearance prob 0.24)",
              "stats": {
                "interceptions": 0.1663,
                "tackles": 0.4306,
                "tackles_won": 0.3262,
                "clearances": 0.484,
                "aerial_won": 0.1206,
                "total_shots": 0.2682,
                "rating": 6.7964,
                "minutes": 14.49,
                "total_pass": 21.2235,
                "accurate_pass": 18.2679,
                "duels_won": 2.4428,
                "total_long_balls": 1.3382,
                "accurate_long_balls": 0.7518,
                "total_own_half_passes": 8.2644,
                "accurate_own_half_passes": 7.4302,
                "total_opp_half_passes": 12.9592,
                "accurate_opp_half_passes": 10.8376,
                "crosses_total": 0.8979,
                "crosses_accurate": 0.1284,
                "touches": 32.7221,
                "possession_lost": 5.5317,
                "dispossessed": 0.4646,
                "duels_lost": 1.5772,
                "aerial_lost": 0.4979,
                "total_contest": 1.2812,
                "won_contest": 0.8262,
                "ball_recovery": 2.5857,
                "challenges_lost": 0.624,
                "fouls": 0.1968,
                "fouls_drawn": 0.5349,
                "blocks": 0.289,
                "goals": 0.0384,
                "goal_rate": 0.0384,
                "assists": 0.0248,
                "assist_rate": 0.0248,
                "expected_goals": 0.0334,
                "expected_assists": 0.0363,
                "shots_on_target": 0.2076,
                "big_chances_created": 0.0373,
                "xgot": 0.0738,
                "ball_carries": 9.3142,
                "total_progression": 41.4886,
                "progressive_carries": 1.3093,
                "key_pass": 0.4631,
                "shots_off_target": 0.0599,
                "bench_appearance_probability": 0.236,
                "bench_expected_minutes": 14.49
              },
              "params": {
                "expected_minutes": 14.49,
                "projection_minutes": 24.39,
                "minutes_scale": 0.594,
                "appearance_probability": 0.236
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.1663,
                "tackles": 0.4306,
                "tackles_won": 0.3262,
                "clearances": 0.484,
                "aerial_won": 0.1206,
                "total_shots": 0.2682,
                "rating": 6.7964,
                "minutes": 14.49,
                "total_pass": 21.2235,
                "accurate_pass": 18.2679,
                "duels_won": 2.4428,
                "total_long_balls": 1.3382,
                "accurate_long_balls": 0.7518,
                "total_own_half_passes": 8.2644,
                "accurate_own_half_passes": 7.4302,
                "total_opp_half_passes": 12.9592,
                "accurate_opp_half_passes": 10.8376,
                "crosses_total": 0.8979,
                "crosses_accurate": 0.1284,
                "touches": 32.7221,
                "possession_lost": 5.5317,
                "dispossessed": 0.4646,
                "duels_lost": 1.5772,
                "aerial_lost": 0.4979,
                "total_contest": 1.2812,
                "won_contest": 0.8262,
                "ball_recovery": 2.5857,
                "challenges_lost": 0.624,
                "fouls": 0.1968,
                "fouls_drawn": 0.5349,
                "blocks": 0.289,
                "goals": 0.0384,
                "goal_rate": 0.0384,
                "assists": 0.0248,
                "assist_rate": 0.0248,
                "expected_goals": 0.0334,
                "expected_assists": 0.0363,
                "shots_on_target": 0.2076,
                "big_chances_created": 0.0373,
                "xgot": 0.0738,
                "ball_carries": 9.3142,
                "total_progression": 41.4886,
                "progressive_carries": 1.3093,
                "key_pass": 0.4631,
                "shots_off_target": 0.0599,
                "bench_appearance_probability": 0.236,
                "bench_expected_minutes": 14.49
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "interceptions": 0.1663,
                "tackles": 0.4306,
                "tackles_won": 0.3262,
                "clearances": 0.484,
                "aerial_won": 0.1206,
                "total_shots": 0.2682,
                "rating": 6.7964,
                "minutes": 14.49,
                "total_pass": 21.2235,
                "accurate_pass": 18.2679,
                "duels_won": 2.4428,
                "total_long_balls": 1.3382,
                "accurate_long_balls": 0.7518,
                "total_own_half_passes": 8.2644,
                "accurate_own_half_passes": 7.4302,
                "total_opp_half_passes": 12.9592,
                "accurate_opp_half_passes": 10.8376,
                "crosses_total": 0.8979,
                "crosses_accurate": 0.1284,
                "touches": 32.7221,
                "possession_lost": 5.5317,
                "dispossessed": 0.4646,
                "duels_lost": 1.5772,
                "aerial_lost": 0.4979,
                "total_contest": 1.2812,
                "won_contest": 0.8262,
                "ball_recovery": 2.5857,
                "challenges_lost": 0.624,
                "fouls": 0.1968,
                "fouls_drawn": 0.5349,
                "blocks": 0.289,
                "goal_rate": 0.0384,
                "goals": 0,
                "assist_rate": 0.0248,
                "assists": 0,
                "expected_goals": 0.0334,
                "expected_assists": 0.0363,
                "shots_on_target": 0.2076,
                "big_chances_created": 0.0373,
                "xgot": 0.0738,
                "ball_carries": 9.3142,
                "total_progression": 41.4886,
                "progressive_carries": 1.3093,
                "key_pass": 0.4631,
                "shots_off_target": 0.0599,
                "bench_appearance_probability": 0.236,
                "bench_expected_minutes": 14.49,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.162,
                "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
              },
              "params": {
                "appearance_probability": 0.236,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 13 by projected rating, fifa_overall 80.0)",
              "stats": {
                "interceptions": 0.1663,
                "tackles": 0.4306,
                "tackles_won": 0.3262,
                "clearances": 0.484,
                "aerial_won": 0.1206,
                "total_shots": 0.2682,
                "rating": 6.7964,
                "minutes": 14.49,
                "total_pass": 21.2235,
                "accurate_pass": 18.2679,
                "duels_won": 2.4428,
                "total_long_balls": 1.3382,
                "accurate_long_balls": 0.7518,
                "total_own_half_passes": 8.2644,
                "accurate_own_half_passes": 7.4302,
                "total_opp_half_passes": 12.9592,
                "accurate_opp_half_passes": 10.8376,
                "crosses_total": 0.8979,
                "crosses_accurate": 0.1284,
                "touches": 32.7221,
                "possession_lost": 5.5317,
                "dispossessed": 0.4646,
                "duels_lost": 1.5772,
                "aerial_lost": 0.4979,
                "total_contest": 1.2812,
                "won_contest": 0.8262,
                "ball_recovery": 2.5857,
                "challenges_lost": 0.624,
                "fouls": 0.1968,
                "fouls_drawn": 0.5349,
                "blocks": 0.289,
                "goal_rate": 0.0384,
                "goals": 0,
                "assist_rate": 0.0248,
                "assists": 0,
                "expected_goals": 0.0334,
                "expected_assists": 0.0363,
                "shots_on_target": 0.2076,
                "big_chances_created": 0.0373,
                "xgot": 0.0738,
                "ball_carries": 9.3142,
                "total_progression": 41.4886,
                "progressive_carries": 1.3093,
                "key_pass": 0.4631,
                "shots_off_target": 0.0599,
                "bench_appearance_probability": 0.236,
                "bench_expected_minutes": 14.49,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.162,
                "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": 13,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1032,
                "fifa_rank": 764.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 80.0
              }
            }
          ]
        },
        "Santiago Mouriño": {
          "player_id": 1468046,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 15,
          "height": 186,
          "market_value": 19400000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 1,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.7688,
            "minutes": 14,
            "total_pass": 8,
            "accurate_pass": 7,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 7,
            "accurate_own_half_passes": 6,
            "total_opp_half_passes": 1,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 12,
            "possession_lost": 1.5429,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.001,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 2,
            "total_progression": 3,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.232,
            "bench_expected_minutes": 14.32,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.162,
            "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": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 11,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 9,
                "clearances": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 10,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0008,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 6,
                "clearances": 1,
                "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": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 76,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0209,
                "total_shots": 0,
                "total_pass": 45,
                "accurate_pass": 41,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 3,
                "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": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 62,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.051,
                "expected_assists": 0.1417,
                "total_shots": 1,
                "total_pass": 44,
                "accurate_pass": 38,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 8,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416302,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.3351,
                "total_shots": 0,
                "total_pass": 39,
                "accurate_pass": 37,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 5,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 88,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1233,
                "expected_assists": 0.0387,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 53,
                "accurate_pass": 45,
                "tackles": 5,
                "tackles_won": 4,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083735,
              "match_date": "2026-05-24",
              "home_team": "Villarreal",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0155,
                "total_shots": 0,
                "total_pass": 75,
                "accurate_pass": 67,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 6,
                "aerial_won": 2,
                "duels_won": 7,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083682,
              "match_date": "2026-05-17",
              "home_team": "Rayo Vallecano",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0268,
                "expected_assists": 0.0129,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 48,
                "accurate_pass": 43,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083573,
              "match_date": "2026-05-10",
              "home_team": "Mallorca",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.004,
                "total_shots": 0,
                "total_pass": 40,
                "accurate_pass": 32,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 5,
                "duels_won": 6,
                "ball_recovery": 6
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083282,
              "match_date": "2026-04-23",
              "home_team": "Real Oviedo",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 78,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0496,
                "expected_assists": 0.0032,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 32,
                "accurate_pass": 26,
                "tackles": 6,
                "tackles_won": 4,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 10,
                "ball_recovery": 2
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 2087,
            "combined_rank_score": 793.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 339.0,
            "sofascore_rating": 6.9929,
            "sofascore_appearances": 28.0,
            "fifa_rank": 1248.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7688,
            "source_file": "data/player_rankings.csv",
            "player_name": "Santiago Mouriño",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Shodiyor Shodiboev",
                  "ranking": 2082
                },
                {
                  "player_name": "Matija Rom",
                  "ranking": 2083
                },
                {
                  "player_name": "Franco Rami",
                  "ranking": 2084
                },
                {
                  "player_name": "Jon Aramburu",
                  "ranking": 2085
                },
                {
                  "player_name": "Nikita Haikin",
                  "ranking": 2086
                }
              ],
              "lower": [
                {
                  "player_name": "Mason Mount",
                  "ranking": 2088
                },
                {
                  "player_name": "Thomas Partey",
                  "ranking": 2089
                },
                {
                  "player_name": "Sukhrob Izzatov",
                  "ranking": 2090
                },
                {
                  "player_name": "Gyu-baeg Lee",
                  "ranking": 2091
                },
                {
                  "player_name": "Brian Oyola",
                  "ranking": 2092
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.776,
          "history_matches": 34,
          "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",
              "totalTackle",
              "totalShots",
              "rating",
              "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": 34,
            "data_confidence": 0.776,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 14.3154732112477,
            "bench_appearance_prob": 0.232,
            "market_value_adjustment": 1.0046,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.1733
            },
            "rationale": "Bench projection scaled from XGBoost D_service (34 historical appearances) to 14.3 expected mins (appearance prob 0.23); 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": 0.3132,
                "tackles": 0.5866,
                "tackles_won": 0.3243,
                "clearances": 1.1039,
                "aerial_won": 0.4545,
                "total_shots": 0.1986,
                "rating": 6.7688,
                "minutes": 19.33,
                "total_pass": 10.9252,
                "accurate_pass": 9.413,
                "duels_won": 1.4538,
                "total_long_balls": 0.6696,
                "accurate_long_balls": 0.6696,
                "total_own_half_passes": 9.4713,
                "accurate_own_half_passes": 8.5209,
                "total_opp_half_passes": 1.4538,
                "accurate_opp_half_passes": 0.8921,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 16.6346,
                "possession_lost": 2.0739,
                "dispossessed": 0.0,
                "duels_lost": 0.5617,
                "aerial_lost": 0.2809,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.9504,
                "challenges_lost": 0.2809,
                "fouls": 0.0,
                "fouls_drawn": 0.2809,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0014,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.2245,
                "total_progression": 4.2031,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1986
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:05:00.533351+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Levante UD",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.1506,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Málaga CF",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.128,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Real Betis",
                    "minutes": 76.0,
                    "is_starting": true,
                    "weight": 0.1088,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.0925,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0786,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 88.0,
                    "is_starting": true,
                    "weight": 0.0668,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0568,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0483,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Mallorca",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-04-23",
                    "opponent": "Real Oviedo",
                    "minutes": 78.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 7.2
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 2.9168,
                  "aerialWon": 1.079,
                  "totalClearance_p90": 6.2957,
                  "totalTackle": 2.3233,
                  "defensive_actions": 2.7415
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.3131682574748993,
                    "model_output": 0.3132,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5097
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.031
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0145
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0126
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0096
                        }
                      ],
                      "others": -0.0245,
                      "total": 0.3132,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.896595
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.092509
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.044392
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.036868
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.028162
                        }
                      ],
                      "others_margin": -0.075202
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.5865635275840759,
                    "model_output": 0.5866,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.8272
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.029
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0252
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.019
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0176
                        }
                      ],
                      "others": -0.0333,
                      "total": 0.5866,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.902487
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.050079
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.041669
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.030181
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.028063
                        }
                      ],
                      "others_margin": -0.055239
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.3243481516838074,
                    "model_output": 0.3243,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5359
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0184
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0181
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0178
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0146
                        }
                      ],
                      "others": 0.0019,
                      "total": 0.3243,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.98725
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.056114
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.052389
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.051443
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.044258
                        }
                      ],
                      "others_margin": 0.006138
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.1039453744888306,
                    "model_output": 1.1039,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.1707
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0759
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0676
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0595
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0527
                        }
                      ],
                      "others": -0.1596,
                      "total": 1.1039,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -1.000622
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.058431
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.051846
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.04799
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.042589
                        }
                      ],
                      "others_margin": -0.135027
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.45453885197639465,
                    "model_output": 0.4545,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.8245
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0661
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0289
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0255
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": -0.0153
                        }
                      ],
                      "others": -0.0713,
                      "total": 0.4545,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.912797
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.12725
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.057713
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.048327
                        },
                        {
                          "name": "tackle_success_rate",
                          "margin": -0.028636
                        }
                      ],
                      "others_margin": -0.145964
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.19861356914043427,
                    "model_output": 0.1986,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2532
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0251
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0077
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0062
                        },
                        {
                          "name": "wonTackle",
                          "contribution": 0.0053
                        }
                      ],
                      "others": -0.0044,
                      "total": 0.1986,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.253154
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.025077
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.007736
                        },
                        {
                          "name": "rating",
                          "margin": -0.006222
                        },
                        {
                          "name": "wonTackle",
                          "margin": 0.005343
                        }
                      ],
                      "others_margin": -0.004514
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.76876163482666,
                    "model_output": 6.7688,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "touches_p90",
                          "contribution": 0.0268
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0224
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0135
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0096
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0066
                        }
                      ],
                      "others": -0.023,
                      "total": 6.7688,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "touches_p90",
                          "margin": 0.026788
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.022372
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.01347
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.009621
                        },
                        {
                          "name": "rating",
                          "margin": 0.006633
                        }
                      ],
                      "others_margin": -0.023142
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 34,
                  "role_matches": 3,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0046, quality 0.625)",
              "stats": {
                "interceptions": 0.3146,
                "tackles": 0.5893,
                "tackles_won": 0.3258,
                "clearances": 1.109,
                "aerial_won": 0.4566,
                "total_shots": 0.1995,
                "rating": 6.7688,
                "minutes": 19.33,
                "total_pass": 10.9755,
                "accurate_pass": 9.4563,
                "duels_won": 1.4605,
                "total_long_balls": 0.6727,
                "accurate_long_balls": 0.6727,
                "total_own_half_passes": 9.5149,
                "accurate_own_half_passes": 8.5601,
                "total_opp_half_passes": 1.4605,
                "accurate_opp_half_passes": 0.8962,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 16.7111,
                "possession_lost": 2.0834,
                "dispossessed": 0.0,
                "duels_lost": 0.5643,
                "aerial_lost": 0.2822,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.9548,
                "challenges_lost": 0.2822,
                "fouls": 0.0,
                "fouls_drawn": 0.2822,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0014,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.2393,
                "total_progression": 4.2224,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1995
              },
              "params": {
                "market_value_eur": 19400000,
                "quality_factor": 0.6251,
                "boost_factor": 1.0046,
                "reference_quality": 0.505,
                "history_matches": 34,
                "history_shrink": 0.1282,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0144)",
              "stats": {
                "interceptions": 0.3112,
                "tackles": 0.5893,
                "tackles_won": 0.3306,
                "clearances": 1.109,
                "aerial_won": 0.4566,
                "total_shots": 0.199,
                "rating": 6.7688,
                "minutes": 19.33,
                "total_pass": 10.9755,
                "accurate_pass": 9.4563,
                "duels_won": 1.4605,
                "total_long_balls": 0.6727,
                "accurate_long_balls": 0.6727,
                "total_own_half_passes": 9.5149,
                "accurate_own_half_passes": 8.5601,
                "total_opp_half_passes": 1.4605,
                "accurate_opp_half_passes": 0.8962,
                "crosses_total": 0.0024,
                "crosses_accurate": 0.0,
                "touches": 16.7111,
                "possession_lost": 2.0834,
                "dispossessed": 0.0,
                "duels_lost": 0.5643,
                "aerial_lost": 0.2822,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.9548,
                "challenges_lost": 0.2822,
                "fouls": 0.0072,
                "fouls_drawn": 0.2817,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0014,
                "shots_on_target": 0.0012,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.2393,
                "total_progression": 4.2224,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1995
              },
              "params": {
                "blend_weight": 0.0144,
                "history_matches": 34,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2148,
                "prior_reliability": 0.1733,
                "competition": "La Liga",
                "squad": "Villarreal"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.0,
                  "after": 0.0072
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 19.3 to 14.3 expected minutes (appearance prob 0.23)",
              "stats": {
                "interceptions": 0.2305,
                "tackles": 0.4364,
                "tackles_won": 0.2448,
                "clearances": 0.8213,
                "aerial_won": 0.3382,
                "total_shots": 0.1486,
                "rating": 6.7688,
                "minutes": 14.32,
                "total_pass": 8.1283,
                "accurate_pass": 7.0032,
                "duels_won": 1.0816,
                "total_long_balls": 0.4982,
                "accurate_long_balls": 0.4982,
                "total_own_half_passes": 7.0466,
                "accurate_own_half_passes": 6.3395,
                "total_opp_half_passes": 1.0816,
                "accurate_opp_half_passes": 0.6637,
                "crosses_total": 0.0018,
                "crosses_accurate": 0.0,
                "touches": 12.376,
                "possession_lost": 1.5429,
                "dispossessed": 0.0,
                "duels_lost": 0.4179,
                "aerial_lost": 0.2822,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7071,
                "challenges_lost": 0.2822,
                "fouls": 0.0053,
                "fouls_drawn": 0.2086,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.001,
                "shots_on_target": 0.0009,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.399,
                "total_progression": 3.127,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1477,
                "bench_appearance_probability": 0.232,
                "bench_expected_minutes": 14.32
              },
              "params": {
                "expected_minutes": 14.32,
                "projection_minutes": 19.33,
                "minutes_scale": 0.7406,
                "appearance_probability": 0.232
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.2305,
                "tackles": 0.4364,
                "tackles_won": 0.2448,
                "clearances": 0.8213,
                "aerial_won": 0.3382,
                "total_shots": 0.1486,
                "rating": 6.7688,
                "minutes": 14.32,
                "total_pass": 8.1283,
                "accurate_pass": 7.0032,
                "duels_won": 1.0816,
                "total_long_balls": 0.4982,
                "accurate_long_balls": 0.4982,
                "total_own_half_passes": 7.0466,
                "accurate_own_half_passes": 6.3395,
                "total_opp_half_passes": 1.0816,
                "accurate_opp_half_passes": 0.6637,
                "crosses_total": 0.0018,
                "crosses_accurate": 0.0,
                "touches": 12.376,
                "possession_lost": 1.5429,
                "dispossessed": 0.0,
                "duels_lost": 0.4179,
                "aerial_lost": 0.2822,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7071,
                "challenges_lost": 0.2822,
                "fouls": 0.0053,
                "fouls_drawn": 0.2086,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.001,
                "shots_on_target": 0.0009,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.399,
                "total_progression": 3.127,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1477,
                "bench_appearance_probability": 0.232,
                "bench_expected_minutes": 14.32
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "interceptions": 0.2305,
                "tackles": 0.4364,
                "tackles_won": 0.2448,
                "clearances": 0.8213,
                "aerial_won": 0.3382,
                "total_shots": 0.1486,
                "rating": 6.7688,
                "minutes": 14.32,
                "total_pass": 8.1283,
                "accurate_pass": 7.0032,
                "duels_won": 1.0816,
                "total_long_balls": 0.4982,
                "accurate_long_balls": 0.4982,
                "total_own_half_passes": 7.0466,
                "accurate_own_half_passes": 6.3395,
                "total_opp_half_passes": 1.0816,
                "accurate_opp_half_passes": 0.6637,
                "crosses_total": 0.0018,
                "crosses_accurate": 0.0,
                "touches": 12.376,
                "possession_lost": 1.5429,
                "dispossessed": 0.0,
                "duels_lost": 0.4179,
                "aerial_lost": 0.2822,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7071,
                "challenges_lost": 0.2822,
                "fouls": 0.0053,
                "fouls_drawn": 0.2086,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.001,
                "shots_on_target": 0.0009,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.399,
                "total_progression": 3.127,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1477,
                "bench_appearance_probability": 0.232,
                "bench_expected_minutes": 14.32,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.162,
                "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
              },
              "params": {
                "appearance_probability": 0.232,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 15 by projected rating, fifa_overall 78.0)",
              "stats": {
                "interceptions": 0.2305,
                "tackles": 0.4364,
                "tackles_won": 0.2448,
                "clearances": 0.8213,
                "aerial_won": 0.3382,
                "total_shots": 0.1486,
                "rating": 6.7688,
                "minutes": 14.32,
                "total_pass": 8.1283,
                "accurate_pass": 7.0032,
                "duels_won": 1.0816,
                "total_long_balls": 0.4982,
                "accurate_long_balls": 0.4982,
                "total_own_half_passes": 7.0466,
                "accurate_own_half_passes": 6.3395,
                "total_opp_half_passes": 1.0816,
                "accurate_opp_half_passes": 0.6637,
                "crosses_total": 0.0018,
                "crosses_accurate": 0.0,
                "touches": 12.376,
                "possession_lost": 1.5429,
                "dispossessed": 0.0,
                "duels_lost": 0.4179,
                "aerial_lost": 0.2822,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7071,
                "challenges_lost": 0.2822,
                "fouls": 0.0053,
                "fouls_drawn": 0.2086,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.001,
                "shots_on_target": 0.0009,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.399,
                "total_progression": 3.127,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1477,
                "bench_appearance_probability": 0.232,
                "bench_expected_minutes": 14.32,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.162,
                "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": 78.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": 2087,
                "fifa_rank": 1248.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            }
          ]
        },
        "Carlos Maciá": {
          "player_id": 2238900,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 16,
          "height": 194,
          "market_value": 14500000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0246,
            "assist_rate": 0.0315,
            "assists": 0,
            "expected_goals": 0.0298,
            "goal_rate": 0.0461,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.6706,
            "minutes": 23,
            "total_pass": 13,
            "accurate_pass": 12,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 5,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 7,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 18,
            "possession_lost": 2.7138,
            "dispossessed": 0.1208,
            "duels_lost": 2,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 1,
            "tackles_won": 1,
            "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": 6,
            "total_progression": 21,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.703,
            "bench_expected_minutes": 23.33,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.162,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0292,
            "projected_assists": 0,
            "assist_probability": 0.0242,
            "finishing_factor": 1.2432,
            "creation_factor": 1.1241,
            "fifa_overall": 65.0
          },
          "latest_10_games": [
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 8,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 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": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 10,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 2,
                "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": 16416302,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 11,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.004,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 10,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 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": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 34,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0133,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 27,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 3,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083735,
              "match_date": "2026-05-24",
              "home_team": "Villarreal",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "total_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083224,
              "match_date": "2026-01-17",
              "home_team": "Real Betis",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 9,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 1,
                "tackles": 1,
                "interceptions": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083198,
              "match_date": "2026-01-03",
              "home_team": "Elche",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Elche",
              "stats": {
                "minutes": 14,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0071,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 4,
                "tackles": 4,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083190,
              "match_date": "2025-12-21",
              "home_team": "Villarreal",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 15,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1,
                "clearances": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083159,
              "match_date": "2025-12-06",
              "home_team": "Villarreal",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Getafe",
              "stats": {
                "minutes": 39,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0612,
                "expected_assists": 0.0127,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 29,
                "accurate_pass": 26,
                "interceptions": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 7717,
            "combined_rank_score": 6124.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 1.0,
            "fifa_rank": 11804.0,
            "fifa_overall": 65.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6706,
            "source_file": "data/player_rankings.csv",
            "player_name": "Carlos Maciá",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Luís Silva",
                  "ranking": 7712
                },
                {
                  "player_name": "Ivan Zlobin",
                  "ranking": 7713
                },
                {
                  "player_name": "Ferro",
                  "ranking": 7714
                },
                {
                  "player_name": "Liziero",
                  "ranking": 7715
                },
                {
                  "player_name": "Ianis Stoica",
                  "ranking": 7716
                }
              ],
              "lower": [
                {
                  "player_name": "Facundo Agustín Cáseres",
                  "ranking": 7718
                },
                {
                  "player_name": "Weverson",
                  "ranking": 7719
                },
                {
                  "player_name": "José Fontán",
                  "ranking": 7720
                },
                {
                  "player_name": "Dario Špikić",
                  "ranking": 7721
                },
                {
                  "player_name": "Miguel Maga",
                  "ranking": 7722
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.755,
          "history_matches": 9,
          "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",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "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",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 9,
            "data_confidence": 0.755,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 23.33,
            "bench_appearance_prob": 0.703,
            "market_value_adjustment": 1.0074,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 0.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 24.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0333
            },
            "rationale": "Bench projection scaled from XGBoost M_service (9 historical appearances) to 23.3 expected mins (appearance prob 0.70); FBref playing time empirical prior: 2.0 sub appearances, 24.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.2103,
                "expected_assists": 0.0149,
                "assists": 0.0211,
                "assist_rate": 0.0211,
                "expected_goals": 0.018,
                "goals": 0.0307,
                "goal_rate": 0.0307,
                "shots_on_target": 0.0706,
                "total_shots": 0.277,
                "rating": 6.6706,
                "minutes": 14.72,
                "total_pass": 8.8876,
                "accurate_pass": 7.7821,
                "duels_won": 1.1009,
                "total_long_balls": 0.6514,
                "accurate_long_balls": 0.3151,
                "total_own_half_passes": 3.5272,
                "accurate_own_half_passes": 3.2651,
                "total_opp_half_passes": 5.3604,
                "accurate_opp_half_passes": 4.517,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.241,
                "possession_lost": 1.7959,
                "dispossessed": 0.1199,
                "duels_lost": 1.0543,
                "aerial_won": 0.0,
                "aerial_lost": 0.1199,
                "interceptions": 0.4007,
                "tackles_won": 0.3808,
                "tackles": 0.8818,
                "clearances": 0.4848,
                "total_contest": 0.2484,
                "won_contest": 0.0532,
                "challenges_lost": 0.4463,
                "fouls": 0.1731,
                "fouls_drawn": 0.1659,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.7515,
                "total_progression": 13.8053,
                "progressive_carries": 0.2044,
                "shots_off_target": 0.2063
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-17T10:05:52.581708+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Levante UD",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.1952,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Málaga CF",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.1659,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.141,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 34.0,
                    "is_starting": false,
                    "weight": 0.1199,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Atlético Madrid",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.1019,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-01-17",
                    "opponent": "Real Betis",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.0866,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-01-03",
                    "opponent": "Elche",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.0736,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2025-12-21",
                    "opponent": "FC Barcelona",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.0626,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2025-12-06",
                    "opponent": "Getafe",
                    "minutes": 39.0,
                    "is_starting": false,
                    "weight": 0.0532,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 9.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.0532,
                  "creative_index": 0.0021,
                  "expectedGoals": 0.0033,
                  "expectedAssists": 0.0035,
                  "onTargetScoringAttempt": 0.0
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.2102537304162979,
                    "model_output": 0.2103,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4529
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0614
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0402
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0311
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0209
                        }
                      ],
                      "others": -0.0762,
                      "total": 0.2103,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.707568
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.150203
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.112305
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.096274
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.070566
                        }
                      ],
                      "others_margin": -0.309336
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.014864607714116573,
                    "model_output": 0.0149,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0401
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0102
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0073
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0032
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0021
                        }
                      ],
                      "others": -0.0078,
                      "total": 0.0149,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.632327
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.2535
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.231722
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.119501
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.088921
                        }
                      ],
                      "others_margin": -0.425202
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.02105398289859295,
                    "model_output": 0.0211,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0201
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0133
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0098
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0047
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0035
                        }
                      ],
                      "others": -0.0147,
                      "total": 0.0211,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.262568
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.221358
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.200722
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.112334
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.092699
                        }
                      ],
                      "others_margin": -0.531913
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.018019750714302063,
                    "model_output": 0.018,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0387
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0202
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0085
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0031
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0016
                        }
                      ],
                      "others": -0.0042,
                      "total": 0.018,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.527963
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.44992
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.274491
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.123832
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.070085
                        }
                      ],
                      "others_margin": -0.208669
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.030720077455043793,
                    "model_output": 0.0307,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0376
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0133
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0083
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0037
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0028
                        }
                      ],
                      "others": -0.0014,
                      "total": 0.0307,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.485618
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.248996
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.194637
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.100537
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.083991
                        }
                      ],
                      "others_margin": -0.044112
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.07064926624298096,
                    "model_output": 0.0706,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1564
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0505
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0275
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0143
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0117
                        }
                      ],
                      "others": -0.0181,
                      "total": 0.0706,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.654046
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.354202
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.262906
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.169733
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.141723
                        }
                      ],
                      "others_margin": -0.229174
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.2769928276538849,
                    "model_output": 0.277,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3544
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.2284
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.041
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0369
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0261
                        }
                      ],
                      "others": -0.0317,
                      "total": 0.277,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.354427
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.228369
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.041022
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.036916
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.026141
                        }
                      ],
                      "others_margin": -0.031666
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.670641899108887,
                    "model_output": 6.6706,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0839
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0514
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0211
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0177
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.014
                        }
                      ],
                      "others": -0.0298,
                      "total": 6.6706,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.083853
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.051359
                        },
                        {
                          "name": "rating",
                          "margin": -0.021076
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.01774
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.014036
                        }
                      ],
                      "others_margin": -0.02983
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 9,
                  "role_matches": 9,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0074, quality 0.574)",
              "stats": {
                "key_pass": 0.2118,
                "expected_assists": 0.015,
                "assists": 0.0212,
                "assist_rate": 0.0212,
                "expected_goals": 0.0182,
                "goals": 0.0309,
                "goal_rate": 0.0309,
                "shots_on_target": 0.0712,
                "total_shots": 0.279,
                "rating": 6.6706,
                "minutes": 14.72,
                "total_pass": 8.9534,
                "accurate_pass": 7.8397,
                "duels_won": 1.109,
                "total_long_balls": 0.6562,
                "accurate_long_balls": 0.3174,
                "total_own_half_passes": 3.5533,
                "accurate_own_half_passes": 3.2893,
                "total_opp_half_passes": 5.4001,
                "accurate_opp_half_passes": 4.5504,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.3316,
                "possession_lost": 1.8092,
                "dispossessed": 0.1208,
                "duels_lost": 1.0621,
                "aerial_won": 0.0,
                "aerial_lost": 0.1208,
                "interceptions": 0.4037,
                "tackles_won": 0.3836,
                "tackles": 0.8883,
                "clearances": 0.4884,
                "total_contest": 0.2502,
                "won_contest": 0.0536,
                "challenges_lost": 0.4496,
                "fouls": 0.1744,
                "fouls_drawn": 0.1671,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.7793,
                "total_progression": 13.9075,
                "progressive_carries": 0.2059,
                "shots_off_target": 0.2078
              },
              "params": {
                "market_value_eur": 14500000,
                "quality_factor": 0.5737,
                "boost_factor": 1.0074,
                "reference_quality": 0.505,
                "history_matches": 9,
                "history_shrink": 0.3571,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0077)",
              "stats": {
                "key_pass": 0.2118,
                "expected_assists": 0.015,
                "assists": 0.021,
                "assist_rate": 0.021,
                "expected_goals": 0.0182,
                "goals": 0.0307,
                "goal_rate": 0.0307,
                "shots_on_target": 0.0706,
                "total_shots": 0.2768,
                "rating": 6.6706,
                "minutes": 14.72,
                "total_pass": 8.9534,
                "accurate_pass": 7.8397,
                "duels_won": 1.109,
                "total_long_balls": 0.6562,
                "accurate_long_balls": 0.3174,
                "total_own_half_passes": 3.5533,
                "accurate_own_half_passes": 3.2893,
                "total_opp_half_passes": 5.4001,
                "accurate_opp_half_passes": 4.5504,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.3316,
                "possession_lost": 1.8092,
                "dispossessed": 0.1208,
                "duels_lost": 1.0621,
                "aerial_won": 0.0,
                "aerial_lost": 0.1208,
                "interceptions": 0.4031,
                "tackles_won": 0.3882,
                "tackles": 0.8883,
                "clearances": 0.4884,
                "total_contest": 0.2502,
                "won_contest": 0.0536,
                "challenges_lost": 0.4496,
                "fouls": 0.1756,
                "fouls_drawn": 0.1658,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.7793,
                "total_progression": 13.9075,
                "progressive_carries": 0.2059,
                "shots_off_target": 0.2078
              },
              "params": {
                "blend_weight": 0.0077,
                "history_matches": 9,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.1636,
                "prior_reliability": 0.0333,
                "competition": "La Liga",
                "squad": "Villarreal"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 14.7 to 23.3 expected minutes (appearance prob 0.70)",
              "stats": {
                "key_pass": 0.3177,
                "expected_assists": 0.0225,
                "assists": 0.0315,
                "assist_rate": 0.0315,
                "expected_goals": 0.0273,
                "goals": 0.0461,
                "goal_rate": 0.0461,
                "shots_on_target": 0.1059,
                "total_shots": 0.4176,
                "rating": 6.6706,
                "minutes": 23.33,
                "total_pass": 13.4301,
                "accurate_pass": 11.7595,
                "duels_won": 1.6635,
                "total_long_balls": 0.9843,
                "accurate_long_balls": 0.4761,
                "total_own_half_passes": 5.33,
                "accurate_own_half_passes": 4.9339,
                "total_opp_half_passes": 8.1001,
                "accurate_opp_half_passes": 6.8256,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 18.4974,
                "possession_lost": 2.7138,
                "dispossessed": 0.1208,
                "duels_lost": 1.5932,
                "aerial_won": 0.0,
                "aerial_lost": 0.1208,
                "interceptions": 0.6047,
                "tackles_won": 0.5823,
                "tackles": 1.3324,
                "clearances": 0.7326,
                "total_contest": 0.3753,
                "won_contest": 0.0804,
                "challenges_lost": 0.4496,
                "fouls": 0.2634,
                "fouls_drawn": 0.2487,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.669,
                "total_progression": 20.8613,
                "progressive_carries": 0.3089,
                "shots_off_target": 0.3117,
                "bench_appearance_probability": 0.703,
                "bench_expected_minutes": 23.33
              },
              "params": {
                "expected_minutes": 23.33,
                "projection_minutes": 14.72,
                "minutes_scale": 1.5,
                "appearance_probability": 0.703
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.3177,
                "expected_assists": 0.0225,
                "assists": 0.0315,
                "assist_rate": 0.0315,
                "expected_goals": 0.0273,
                "goals": 0.0461,
                "goal_rate": 0.0461,
                "shots_on_target": 0.1059,
                "total_shots": 0.4176,
                "rating": 6.6706,
                "minutes": 23.33,
                "total_pass": 13.4301,
                "accurate_pass": 11.7595,
                "duels_won": 1.6635,
                "total_long_balls": 0.9843,
                "accurate_long_balls": 0.4761,
                "total_own_half_passes": 5.33,
                "accurate_own_half_passes": 4.9339,
                "total_opp_half_passes": 8.1001,
                "accurate_opp_half_passes": 6.8256,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 18.4974,
                "possession_lost": 2.7138,
                "dispossessed": 0.1208,
                "duels_lost": 1.5932,
                "aerial_won": 0.0,
                "aerial_lost": 0.1208,
                "interceptions": 0.6047,
                "tackles_won": 0.5823,
                "tackles": 1.3324,
                "clearances": 0.7326,
                "total_contest": 0.3753,
                "won_contest": 0.0804,
                "challenges_lost": 0.4496,
                "fouls": 0.2634,
                "fouls_drawn": 0.2487,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.669,
                "total_progression": 20.8613,
                "progressive_carries": 0.3089,
                "shots_off_target": 0.3117,
                "bench_appearance_probability": 0.703,
                "bench_expected_minutes": 23.33
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.3177,
                "expected_assists": 0.0225,
                "assist_rate": 0.0315,
                "assists": 0,
                "expected_goals": 0.0273,
                "goal_rate": 0.0461,
                "goals": 0,
                "shots_on_target": 0.1059,
                "total_shots": 0.4176,
                "rating": 6.6706,
                "minutes": 23.33,
                "total_pass": 13.4301,
                "accurate_pass": 11.7595,
                "duels_won": 1.6635,
                "total_long_balls": 0.9843,
                "accurate_long_balls": 0.4761,
                "total_own_half_passes": 5.33,
                "accurate_own_half_passes": 4.9339,
                "total_opp_half_passes": 8.1001,
                "accurate_opp_half_passes": 6.8256,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 18.4974,
                "possession_lost": 2.7138,
                "dispossessed": 0.1208,
                "duels_lost": 1.5932,
                "aerial_won": 0.0,
                "aerial_lost": 0.1208,
                "interceptions": 0.6047,
                "tackles_won": 0.5823,
                "tackles": 1.3324,
                "clearances": 0.7326,
                "total_contest": 0.3753,
                "won_contest": 0.0804,
                "challenges_lost": 0.4496,
                "fouls": 0.2634,
                "fouls_drawn": 0.2487,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.669,
                "total_progression": 20.8613,
                "progressive_carries": 0.3089,
                "shots_off_target": 0.3117,
                "bench_appearance_probability": 0.703,
                "bench_expected_minutes": 23.33,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.162,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.95 (squad xG sum 1.2540, xG scale 1.5534, xA scale 1.5534, team xA 1.43 = 0.73 x lambda)",
              "stats": {
                "key_pass": 0.3177,
                "expected_assists": 0.0246,
                "assist_rate": 0.0315,
                "assists": 0,
                "expected_goals": 0.0298,
                "goal_rate": 0.0461,
                "goals": 0,
                "shots_on_target": 0.1059,
                "total_shots": 0.4176,
                "rating": 6.6706,
                "minutes": 23.33,
                "total_pass": 13.4301,
                "accurate_pass": 11.7595,
                "duels_won": 1.6635,
                "total_long_balls": 0.9843,
                "accurate_long_balls": 0.4761,
                "total_own_half_passes": 5.33,
                "accurate_own_half_passes": 4.9339,
                "total_opp_half_passes": 8.1001,
                "accurate_opp_half_passes": 6.8256,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 18.4974,
                "possession_lost": 2.7138,
                "dispossessed": 0.1208,
                "duels_lost": 1.5932,
                "aerial_won": 0.0,
                "aerial_lost": 0.1208,
                "interceptions": 0.6047,
                "tackles_won": 0.5823,
                "tackles": 1.3324,
                "clearances": 0.7326,
                "total_contest": 0.3753,
                "won_contest": 0.0804,
                "challenges_lost": 0.4496,
                "fouls": 0.2634,
                "fouls_drawn": 0.2487,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.669,
                "total_progression": 20.8613,
                "progressive_carries": 0.3089,
                "shots_off_target": 0.3117,
                "bench_appearance_probability": 0.703,
                "bench_expected_minutes": 23.33,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.162,
                "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.2432,
                "creation_factor": 1.1241
              },
              "params": {
                "team_lambda": 1.948,
                "squad_xg_sum": 1.254,
                "squad_xa_sum": 0.9174,
                "team_expected_assists": 1.4251,
                "team_xa_to_xg_ratio": 0.7316,
                "bench_appearance_weighted": true,
                "xg_scale": 1.5534,
                "xa_scale": 1.5534,
                "opponent_lambda": 0.898,
                "scoreline_reset": true,
                "appearance_weight": 0.703
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 17 by projected rating, fifa_overall 65.0)",
              "stats": {
                "key_pass": 0.3177,
                "expected_assists": 0.0246,
                "assist_rate": 0.0315,
                "assists": 0,
                "expected_goals": 0.0298,
                "goal_rate": 0.0461,
                "goals": 0,
                "shots_on_target": 0.1059,
                "total_shots": 0.4176,
                "rating": 6.6706,
                "minutes": 23.33,
                "total_pass": 13.4301,
                "accurate_pass": 11.7595,
                "duels_won": 1.6635,
                "total_long_balls": 0.9843,
                "accurate_long_balls": 0.4761,
                "total_own_half_passes": 5.33,
                "accurate_own_half_passes": 4.9339,
                "total_opp_half_passes": 8.1001,
                "accurate_opp_half_passes": 6.8256,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 18.4974,
                "possession_lost": 2.7138,
                "dispossessed": 0.1208,
                "duels_lost": 1.5932,
                "aerial_won": 0.0,
                "aerial_lost": 0.1208,
                "interceptions": 0.6047,
                "tackles_won": 0.5823,
                "tackles": 1.3324,
                "clearances": 0.7326,
                "total_contest": 0.3753,
                "won_contest": 0.0804,
                "challenges_lost": 0.4496,
                "fouls": 0.2634,
                "fouls_drawn": 0.2487,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.669,
                "total_progression": 20.8613,
                "progressive_carries": 0.3089,
                "shots_off_target": 0.3117,
                "bench_appearance_probability": 0.703,
                "bench_expected_minutes": 23.33,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.162,
                "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.2432,
                "creation_factor": 1.1241,
                "fifa_overall": 65.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 7717,
                "fifa_rank": 11804.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 65.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.3177,
                "expected_assists": 0.0246,
                "assist_rate": 0.0315,
                "assists": 0,
                "expected_goals": 0.0298,
                "goal_rate": 0.0461,
                "goals": 0,
                "shots_on_target": 0.1059,
                "total_shots": 0.4176,
                "rating": 6.6706,
                "minutes": 23.33,
                "total_pass": 13.4301,
                "accurate_pass": 11.7595,
                "duels_won": 1.6635,
                "total_long_balls": 0.9843,
                "accurate_long_balls": 0.4761,
                "total_own_half_passes": 5.33,
                "accurate_own_half_passes": 4.9339,
                "total_opp_half_passes": 8.1001,
                "accurate_opp_half_passes": 6.8256,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 18.4974,
                "possession_lost": 2.7138,
                "dispossessed": 0.1208,
                "duels_lost": 1.5932,
                "aerial_won": 0.0,
                "aerial_lost": 0.1208,
                "interceptions": 0.6047,
                "tackles_won": 0.5823,
                "tackles": 1.3324,
                "clearances": 0.7326,
                "total_contest": 0.3753,
                "won_contest": 0.0804,
                "challenges_lost": 0.4496,
                "fouls": 0.2634,
                "fouls_drawn": 0.2487,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.669,
                "total_progression": 20.8613,
                "progressive_carries": 0.3089,
                "shots_off_target": 0.3117,
                "bench_appearance_probability": 0.703,
                "bench_expected_minutes": 23.33,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.162,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0292,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2432,
                "creation_factor": 1.1241,
                "fifa_overall": 65.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0292,
                "goal_rate": 0.0461,
                "scorer_weight": 0.037,
                "squad_weight_total": 2.1033,
                "weight_share": 0.0176,
                "finishing_factor": 1.2432,
                "appearance_weight": 0.703,
                "weight_rank": 9,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ayoze Pérez",
                    "weight": 0.5937,
                    "already": 0,
                    "effective_weight": 0.5937,
                    "runner_up": "Alberto Moleiro",
                    "runner_up_effective_weight": 0.4755
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 0.3177,
                "expected_assists": 0.0246,
                "assist_rate": 0.0315,
                "assists": 0,
                "expected_goals": 0.0298,
                "goal_rate": 0.0461,
                "goals": 0,
                "shots_on_target": 0.1059,
                "total_shots": 0.4176,
                "rating": 6.6706,
                "minutes": 23.33,
                "total_pass": 13.4301,
                "accurate_pass": 11.7595,
                "duels_won": 1.6635,
                "total_long_balls": 0.9843,
                "accurate_long_balls": 0.4761,
                "total_own_half_passes": 5.33,
                "accurate_own_half_passes": 4.9339,
                "total_opp_half_passes": 8.1001,
                "accurate_opp_half_passes": 6.8256,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 18.4974,
                "possession_lost": 2.7138,
                "dispossessed": 0.1208,
                "duels_lost": 1.5932,
                "aerial_won": 0.0,
                "aerial_lost": 0.1208,
                "interceptions": 0.6047,
                "tackles_won": 0.5823,
                "tackles": 1.3324,
                "clearances": 0.7326,
                "total_contest": 0.3753,
                "won_contest": 0.0804,
                "challenges_lost": 0.4496,
                "fouls": 0.2634,
                "fouls_drawn": 0.2487,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.669,
                "total_progression": 20.8613,
                "progressive_carries": 0.3089,
                "shots_off_target": 0.3117,
                "bench_appearance_probability": 0.703,
                "bench_expected_minutes": 23.33,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.162,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0292,
                "projected_assists": 0,
                "assist_probability": 0.0242,
                "finishing_factor": 1.2432,
                "creation_factor": 1.1241,
                "fifa_overall": 65.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0242,
                "assist_rate": 0.0315,
                "provider_weight": 0.0277,
                "squad_weight_total": 1.5258,
                "weight_share": 0.0181,
                "creation_factor": 1.1241,
                "appearance_weight": 0.703,
                "weight_rank": 11,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alberto Moleiro",
                    "weight": 0.3984,
                    "already": 0,
                    "effective_weight": 0.3984,
                    "runner_up": "Ilias Akhomach",
                    "runner_up_effective_weight": 0.2463,
                    "blocked_own_goal": [
                      "Ayoze Pérez"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Nathan-Dylan Saliba": {
          "player_id": 1093229,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 24,
          "height": 173,
          "market_value": 13800000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0156,
            "assist_rate": 0.0232,
            "assists": 0,
            "expected_goals": 0.0218,
            "goal_rate": 0.0466,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7808,
            "minutes": 22,
            "total_pass": 35,
            "accurate_pass": 32,
            "duels_won": 4,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 14,
            "accurate_own_half_passes": 13,
            "total_opp_half_passes": 22,
            "accurate_opp_half_passes": 19,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 46,
            "possession_lost": 5.5302,
            "dispossessed": 0.9796,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 1,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 12,
            "total_progression": 42,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.522,
            "bench_expected_minutes": 22.48,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.162,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0214,
            "projected_assists": 0,
            "assist_probability": 0.0154,
            "finishing_factor": 1.25,
            "creation_factor": 1.0563,
            "fifa_overall": 71.0
          },
          "latest_10_games": [
            {
              "match_id": 16421066,
              "match_date": "2026-10-10",
              "home_team": "Real Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 34,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0196,
                "expected_assists": 0.0266,
                "total_shots": 1,
                "total_pass": 31,
                "accurate_pass": 28,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1143,
                "expected_assists": 0.0184,
                "total_shots": 3,
                "shots_off_target": 1,
                "total_pass": 39,
                "accurate_pass": 36,
                "tackles": 5,
                "tackles_won": 2,
                "interceptions": 3,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 80,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0195,
                "total_shots": 0,
                "total_pass": 42,
                "accurate_pass": 38,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 36,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0253,
                "total_shots": 0,
                "total_pass": 37,
                "accurate_pass": 32,
                "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": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1151,
                "expected_assists": 0.1364,
                "total_shots": 1,
                "total_pass": 73,
                "accurate_pass": 67,
                "key_pass": 1,
                "tackles": 5,
                "tackles_won": 3,
                "interceptions": 3,
                "clearances": 3,
                "aerial_won": 3,
                "duels_won": 10,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4406,
            "combined_rank_score": 2430.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 4706.0,
            "fifa_overall": 71.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7808,
            "source_file": "data/player_rankings.csv",
            "player_name": "Nathan-Dylan Saliba",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Francés",
                  "ranking": 4401
                },
                {
                  "player_name": "Florin Tănase",
                  "ranking": 4402
                },
                {
                  "player_name": "Víctor García",
                  "ranking": 4403
                },
                {
                  "player_name": "Kings Kangwa",
                  "ranking": 4404
                },
                {
                  "player_name": "Soualiho Meïté",
                  "ranking": 4405
                }
              ],
              "lower": [
                {
                  "player_name": "Luca Koleosho",
                  "ranking": 4407
                },
                {
                  "player_name": "Anastasios Bakasetas",
                  "ranking": 4408
                },
                {
                  "player_name": "Rick van Drongelen",
                  "ranking": 4409
                },
                {
                  "player_name": "Rodrigo Echeverría",
                  "ranking": 4410
                },
                {
                  "player_name": "Romaine Mundle",
                  "ranking": 4411
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.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",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "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",
              "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.48122902993721,
            "bench_appearance_prob": 0.5218740468153277,
            "market_value_adjustment": 1.0091,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (5 historical appearances) to 22.5 expected mins (appearance prob 0.52)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.4152,
                "expected_assists": 0.023,
                "assists": 0.0276,
                "assist_rate": 0.0276,
                "expected_goals": 0.032,
                "goals": 0.0554,
                "goal_rate": 0.0554,
                "shots_on_target": 0.1151,
                "total_shots": 0.4219,
                "rating": 6.7808,
                "minutes": 26.96,
                "total_pass": 41.8818,
                "accurate_pass": 37.9335,
                "duels_won": 4.2264,
                "total_long_balls": 1.8463,
                "accurate_long_balls": 1.5399,
                "total_own_half_passes": 16.0435,
                "accurate_own_half_passes": 15.1747,
                "total_opp_half_passes": 25.8383,
                "accurate_opp_half_passes": 22.7588,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 54.1825,
                "possession_lost": 6.5722,
                "dispossessed": 0.9708,
                "duels_lost": 4.3788,
                "aerial_won": 0.8463,
                "aerial_lost": 0.3699,
                "interceptions": 1.1098,
                "tackles_won": 1.0755,
                "tackles": 2.0446,
                "clearances": 1.0815,
                "total_contest": 1.1544,
                "won_contest": 0.3356,
                "challenges_lost": 0.5512,
                "fouls": 1.6682,
                "fouls_drawn": 1.0,
                "blocks": 0.1408,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 14.3726,
                "total_progression": 50.3767,
                "progressive_carries": 0.7596,
                "shots_off_target": 0.3068
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-17T10:05:52.581708+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Real Madrid",
                    "minutes": 34.0,
                    "is_starting": false,
                    "weight": 0.2696,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2292,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Málaga CF",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.1948,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Real Betis",
                    "minutes": 36.0,
                    "is_starting": false,
                    "weight": 0.1656,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1408,
                    "rating": 7.7
                  }
                ],
                "feature_row": {
                  "history_matches": 5.0,
                  "is_starting_11": 0.0,
                  "totalShots": 1.098,
                  "creative_index": 0.0795,
                  "expectedGoals": 0.0477,
                  "expectedAssists": 0.0386,
                  "onTargetScoringAttempt": 0.0
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.41517218947410583,
                    "model_output": 0.4152,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.385
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0472
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0285
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0224
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": -0.0191
                        }
                      ],
                      "others": 0.0244,
                      "total": 0.4152,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.564187
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.097591
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.063844
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.053275
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": -0.047823
                        }
                      ],
                      "others_margin": 0.060847
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.02298395335674286,
                    "model_output": 0.023,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0392
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0079
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0039
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0024
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0021
                        }
                      ],
                      "others": -0.0071,
                      "total": 0.023,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.61277
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.187302
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.105856
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.072134
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.067953
                        }
                      ],
                      "others_margin": -0.269343
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.027577469125390053,
                    "model_output": 0.0276,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0208
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0118
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0049
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0034
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0026
                        }
                      ],
                      "others": -0.0161,
                      "total": 0.0276,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.273053
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.196353
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.094551
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.07115
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.058459
                        }
                      ],
                      "others_margin": -0.458117
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.03196991980075836,
                    "model_output": 0.032,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0378
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0063
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.005
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0033
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0032
                        }
                      ],
                      "others": -0.0133,
                      "total": 0.032,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.512881
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.118582
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.105534
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.07125
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.068335
                        }
                      ],
                      "others_margin": -0.347551
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.05539911985397339,
                    "model_output": 0.0554,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0281
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0084
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0075
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0064
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0044
                        }
                      ],
                      "others": -0.0132,
                      "total": 0.0554,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.338546
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.113742
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.10134
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.095308
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.066172
                        }
                      ],
                      "others_margin": -0.212965
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.11509641259908676,
                    "model_output": 0.1151,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1396
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0199
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.018
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0137
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0073
                        }
                      ],
                      "others": -0.0481,
                      "total": 0.1151,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.559853
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.112972
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.102661
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.077355
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.043764
                        }
                      ],
                      "others_margin": -0.349015
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.42186129093170166,
                    "model_output": 0.4219,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3638
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0521
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0282
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0248
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0212
                        }
                      ],
                      "others": -0.1399,
                      "total": 0.4219,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.363823
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.05215
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.028231
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.02483
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.021212
                        }
                      ],
                      "others_margin": -0.13989
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.780792236328125,
                    "model_output": 6.7808,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0971
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.071
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0298
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0241
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0174
                        }
                      ],
                      "others": -0.0231,
                      "total": 6.7808,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.097066
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.071049
                        },
                        {
                          "name": "rating",
                          "margin": -0.029811
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.024099
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.017399
                        }
                      ],
                      "others_margin": -0.023136
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 5,
                  "role_matches": 2,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0091, quality 0.566)",
              "stats": {
                "key_pass": 0.419,
                "expected_assists": 0.0232,
                "assists": 0.0278,
                "assist_rate": 0.0278,
                "expected_goals": 0.0323,
                "goals": 0.0559,
                "goal_rate": 0.0559,
                "shots_on_target": 0.1161,
                "total_shots": 0.4257,
                "rating": 6.7808,
                "minutes": 26.96,
                "total_pass": 42.2629,
                "accurate_pass": 38.2787,
                "duels_won": 4.2649,
                "total_long_balls": 1.8631,
                "accurate_long_balls": 1.5539,
                "total_own_half_passes": 16.1895,
                "accurate_own_half_passes": 15.3128,
                "total_opp_half_passes": 26.0734,
                "accurate_opp_half_passes": 22.9659,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 54.6756,
                "possession_lost": 6.632,
                "dispossessed": 0.9796,
                "duels_lost": 4.4186,
                "aerial_won": 0.854,
                "aerial_lost": 0.3733,
                "interceptions": 1.1199,
                "tackles_won": 1.0853,
                "tackles": 2.0632,
                "clearances": 1.0913,
                "total_contest": 1.1649,
                "won_contest": 0.3387,
                "challenges_lost": 0.5562,
                "fouls": 1.6834,
                "fouls_drawn": 1.0091,
                "blocks": 0.1421,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 14.5034,
                "total_progression": 50.8351,
                "progressive_carries": 0.7665,
                "shots_off_target": 0.3096
              },
              "params": {
                "market_value_eur": 13800000,
                "quality_factor": 0.566,
                "boost_factor": 1.0091,
                "reference_quality": 0.505,
                "history_matches": 5,
                "history_shrink": 0.5,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 27.0 to 22.5 expected minutes (appearance prob 0.52)",
              "stats": {
                "key_pass": 0.3494,
                "expected_assists": 0.0193,
                "assists": 0.0232,
                "assist_rate": 0.0232,
                "expected_goals": 0.0269,
                "goals": 0.0466,
                "goal_rate": 0.0466,
                "shots_on_target": 0.0968,
                "total_shots": 0.355,
                "rating": 6.7808,
                "minutes": 22.48,
                "total_pass": 35.2419,
                "accurate_pass": 31.9196,
                "duels_won": 3.5564,
                "total_long_balls": 1.5536,
                "accurate_long_balls": 1.2958,
                "total_own_half_passes": 13.5,
                "accurate_own_half_passes": 12.7689,
                "total_opp_half_passes": 21.7419,
                "accurate_opp_half_passes": 19.1507,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 45.5925,
                "possession_lost": 5.5302,
                "dispossessed": 0.9796,
                "duels_lost": 3.6846,
                "aerial_won": 0.7121,
                "aerial_lost": 0.3733,
                "interceptions": 0.9339,
                "tackles_won": 0.905,
                "tackles": 1.7204,
                "clearances": 0.91,
                "total_contest": 0.9714,
                "won_contest": 0.2824,
                "challenges_lost": 0.5562,
                "fouls": 1.4037,
                "fouls_drawn": 0.8415,
                "blocks": 0.1185,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.094,
                "total_progression": 42.39,
                "progressive_carries": 0.6392,
                "shots_off_target": 0.2582,
                "bench_appearance_probability": 0.522,
                "bench_expected_minutes": 22.48
              },
              "params": {
                "expected_minutes": 22.48,
                "projection_minutes": 26.96,
                "minutes_scale": 0.8339,
                "appearance_probability": 0.522
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.3494,
                "expected_assists": 0.0193,
                "assists": 0.0232,
                "assist_rate": 0.0232,
                "expected_goals": 0.0269,
                "goals": 0.0466,
                "goal_rate": 0.0466,
                "shots_on_target": 0.0968,
                "total_shots": 0.355,
                "rating": 6.7808,
                "minutes": 22.48,
                "total_pass": 35.2419,
                "accurate_pass": 31.9196,
                "duels_won": 3.5564,
                "total_long_balls": 1.5536,
                "accurate_long_balls": 1.2958,
                "total_own_half_passes": 13.5,
                "accurate_own_half_passes": 12.7689,
                "total_opp_half_passes": 21.7419,
                "accurate_opp_half_passes": 19.1507,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 45.5925,
                "possession_lost": 5.5302,
                "dispossessed": 0.9796,
                "duels_lost": 3.6846,
                "aerial_won": 0.7121,
                "aerial_lost": 0.3733,
                "interceptions": 0.9339,
                "tackles_won": 0.905,
                "tackles": 1.7204,
                "clearances": 0.91,
                "total_contest": 0.9714,
                "won_contest": 0.2824,
                "challenges_lost": 0.5562,
                "fouls": 1.4037,
                "fouls_drawn": 0.8415,
                "blocks": 0.1185,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.094,
                "total_progression": 42.39,
                "progressive_carries": 0.6392,
                "shots_off_target": 0.2582,
                "bench_appearance_probability": 0.522,
                "bench_expected_minutes": 22.48
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.3494,
                "expected_assists": 0.0193,
                "assist_rate": 0.0232,
                "assists": 0,
                "expected_goals": 0.0269,
                "goal_rate": 0.0466,
                "goals": 0,
                "shots_on_target": 0.0968,
                "total_shots": 0.355,
                "rating": 6.7808,
                "minutes": 22.48,
                "total_pass": 35.2419,
                "accurate_pass": 31.9196,
                "duels_won": 3.5564,
                "total_long_balls": 1.5536,
                "accurate_long_balls": 1.2958,
                "total_own_half_passes": 13.5,
                "accurate_own_half_passes": 12.7689,
                "total_opp_half_passes": 21.7419,
                "accurate_opp_half_passes": 19.1507,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 45.5925,
                "possession_lost": 5.5302,
                "dispossessed": 0.9796,
                "duels_lost": 3.6846,
                "aerial_won": 0.7121,
                "aerial_lost": 0.3733,
                "interceptions": 0.9339,
                "tackles_won": 0.905,
                "tackles": 1.7204,
                "clearances": 0.91,
                "total_contest": 0.9714,
                "won_contest": 0.2824,
                "challenges_lost": 0.5562,
                "fouls": 1.4037,
                "fouls_drawn": 0.8415,
                "blocks": 0.1185,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.094,
                "total_progression": 42.39,
                "progressive_carries": 0.6392,
                "shots_off_target": 0.2582,
                "bench_appearance_probability": 0.522,
                "bench_expected_minutes": 22.48,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.162,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.95 (squad xG sum 1.2540, xG scale 1.5534, xA scale 1.5534, team xA 1.43 = 0.73 x lambda)",
              "stats": {
                "key_pass": 0.3494,
                "expected_assists": 0.0156,
                "assist_rate": 0.0232,
                "assists": 0,
                "expected_goals": 0.0218,
                "goal_rate": 0.0466,
                "goals": 0,
                "shots_on_target": 0.0968,
                "total_shots": 0.355,
                "rating": 6.7808,
                "minutes": 22.48,
                "total_pass": 35.2419,
                "accurate_pass": 31.9196,
                "duels_won": 3.5564,
                "total_long_balls": 1.5536,
                "accurate_long_balls": 1.2958,
                "total_own_half_passes": 13.5,
                "accurate_own_half_passes": 12.7689,
                "total_opp_half_passes": 21.7419,
                "accurate_opp_half_passes": 19.1507,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 45.5925,
                "possession_lost": 5.5302,
                "dispossessed": 0.9796,
                "duels_lost": 3.6846,
                "aerial_won": 0.7121,
                "aerial_lost": 0.3733,
                "interceptions": 0.9339,
                "tackles_won": 0.905,
                "tackles": 1.7204,
                "clearances": 0.91,
                "total_contest": 0.9714,
                "won_contest": 0.2824,
                "challenges_lost": 0.5562,
                "fouls": 1.4037,
                "fouls_drawn": 0.8415,
                "blocks": 0.1185,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.094,
                "total_progression": 42.39,
                "progressive_carries": 0.6392,
                "shots_off_target": 0.2582,
                "bench_appearance_probability": 0.522,
                "bench_expected_minutes": 22.48,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.162,
                "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.25,
                "creation_factor": 1.0563
              },
              "params": {
                "team_lambda": 1.948,
                "squad_xg_sum": 1.254,
                "squad_xa_sum": 0.9174,
                "team_expected_assists": 1.4251,
                "team_xa_to_xg_ratio": 0.7316,
                "bench_appearance_weighted": true,
                "xg_scale": 1.5534,
                "xa_scale": 1.5534,
                "opponent_lambda": 0.898,
                "scoreline_reset": true,
                "appearance_weight": 0.522
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0269,
                  "after": 0.0218
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 14 by projected rating, fifa_overall 71.0)",
              "stats": {
                "key_pass": 0.3494,
                "expected_assists": 0.0156,
                "assist_rate": 0.0232,
                "assists": 0,
                "expected_goals": 0.0218,
                "goal_rate": 0.0466,
                "goals": 0,
                "shots_on_target": 0.0968,
                "total_shots": 0.355,
                "rating": 6.7808,
                "minutes": 22.48,
                "total_pass": 35.2419,
                "accurate_pass": 31.9196,
                "duels_won": 3.5564,
                "total_long_balls": 1.5536,
                "accurate_long_balls": 1.2958,
                "total_own_half_passes": 13.5,
                "accurate_own_half_passes": 12.7689,
                "total_opp_half_passes": 21.7419,
                "accurate_opp_half_passes": 19.1507,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 45.5925,
                "possession_lost": 5.5302,
                "dispossessed": 0.9796,
                "duels_lost": 3.6846,
                "aerial_won": 0.7121,
                "aerial_lost": 0.3733,
                "interceptions": 0.9339,
                "tackles_won": 0.905,
                "tackles": 1.7204,
                "clearances": 0.91,
                "total_contest": 0.9714,
                "won_contest": 0.2824,
                "challenges_lost": 0.5562,
                "fouls": 1.4037,
                "fouls_drawn": 0.8415,
                "blocks": 0.1185,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.094,
                "total_progression": 42.39,
                "progressive_carries": 0.6392,
                "shots_off_target": 0.2582,
                "bench_appearance_probability": 0.522,
                "bench_expected_minutes": 22.48,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.162,
                "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.25,
                "creation_factor": 1.0563,
                "fifa_overall": 71.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": 4406,
                "fifa_rank": 4706.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 71.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.3494,
                "expected_assists": 0.0156,
                "assist_rate": 0.0232,
                "assists": 0,
                "expected_goals": 0.0218,
                "goal_rate": 0.0466,
                "goals": 0,
                "shots_on_target": 0.0968,
                "total_shots": 0.355,
                "rating": 6.7808,
                "minutes": 22.48,
                "total_pass": 35.2419,
                "accurate_pass": 31.9196,
                "duels_won": 3.5564,
                "total_long_balls": 1.5536,
                "accurate_long_balls": 1.2958,
                "total_own_half_passes": 13.5,
                "accurate_own_half_passes": 12.7689,
                "total_opp_half_passes": 21.7419,
                "accurate_opp_half_passes": 19.1507,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 45.5925,
                "possession_lost": 5.5302,
                "dispossessed": 0.9796,
                "duels_lost": 3.6846,
                "aerial_won": 0.7121,
                "aerial_lost": 0.3733,
                "interceptions": 0.9339,
                "tackles_won": 0.905,
                "tackles": 1.7204,
                "clearances": 0.91,
                "total_contest": 0.9714,
                "won_contest": 0.2824,
                "challenges_lost": 0.5562,
                "fouls": 1.4037,
                "fouls_drawn": 0.8415,
                "blocks": 0.1185,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.094,
                "total_progression": 42.39,
                "progressive_carries": 0.6392,
                "shots_off_target": 0.2582,
                "bench_appearance_probability": 0.522,
                "bench_expected_minutes": 22.48,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.162,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0214,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.0563,
                "fifa_overall": 71.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0214,
                "goal_rate": 0.0466,
                "scorer_weight": 0.0272,
                "squad_weight_total": 2.1033,
                "weight_share": 0.013,
                "finishing_factor": 1.25,
                "appearance_weight": 0.522,
                "weight_rank": 11,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ayoze Pérez",
                    "weight": 0.5937,
                    "already": 0,
                    "effective_weight": 0.5937,
                    "runner_up": "Alberto Moleiro",
                    "runner_up_effective_weight": 0.4755
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 0.3494,
                "expected_assists": 0.0156,
                "assist_rate": 0.0232,
                "assists": 0,
                "expected_goals": 0.0218,
                "goal_rate": 0.0466,
                "goals": 0,
                "shots_on_target": 0.0968,
                "total_shots": 0.355,
                "rating": 6.7808,
                "minutes": 22.48,
                "total_pass": 35.2419,
                "accurate_pass": 31.9196,
                "duels_won": 3.5564,
                "total_long_balls": 1.5536,
                "accurate_long_balls": 1.2958,
                "total_own_half_passes": 13.5,
                "accurate_own_half_passes": 12.7689,
                "total_opp_half_passes": 21.7419,
                "accurate_opp_half_passes": 19.1507,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 45.5925,
                "possession_lost": 5.5302,
                "dispossessed": 0.9796,
                "duels_lost": 3.6846,
                "aerial_won": 0.7121,
                "aerial_lost": 0.3733,
                "interceptions": 0.9339,
                "tackles_won": 0.905,
                "tackles": 1.7204,
                "clearances": 0.91,
                "total_contest": 0.9714,
                "won_contest": 0.2824,
                "challenges_lost": 0.5562,
                "fouls": 1.4037,
                "fouls_drawn": 0.8415,
                "blocks": 0.1185,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.094,
                "total_progression": 42.39,
                "progressive_carries": 0.6392,
                "shots_off_target": 0.2582,
                "bench_appearance_probability": 0.522,
                "bench_expected_minutes": 22.48,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.162,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0214,
                "projected_assists": 0,
                "assist_probability": 0.0154,
                "finishing_factor": 1.25,
                "creation_factor": 1.0563,
                "fifa_overall": 71.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0154,
                "assist_rate": 0.0232,
                "provider_weight": 0.0165,
                "squad_weight_total": 1.5258,
                "weight_share": 0.0108,
                "creation_factor": 1.0563,
                "appearance_weight": 0.522,
                "weight_rank": 12,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alberto Moleiro",
                    "weight": 0.3984,
                    "already": 0,
                    "effective_weight": 0.3984,
                    "runner_up": "Ilias Akhomach",
                    "runner_up_effective_weight": 0.2463,
                    "blocked_own_goal": [
                      "Ayoze Pérez"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Georges Mikautadze": {
          "player_id": 1009372,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 9,
          "height": 176,
          "market_value": 43000000,
          "stats": {
            "expected_goals": 0.1788,
            "goal_rate": 0.1553,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0727,
            "key_pass": 1,
            "rating": 6.829,
            "minutes": 27,
            "total_pass": 9,
            "accurate_pass": 8,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 6,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 16,
            "possession_lost": 4.0869,
            "dispossessed": 0.5733,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "assist_rate": 0.0268,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.3419,
            "offsides": 0,
            "ball_carries": 6,
            "total_progression": 27,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.363,
            "bench_expected_minutes": 26.71,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.162,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16421066,
              "match_date": "2026-10-10",
              "home_team": "Real Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 23,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1889,
                "expected_assists": 0.0446,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 7,
                "accurate_pass": 6,
                "key_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 23,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.6685,
                "expected_assists": 0.0025,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 7,
                "accurate_pass": 7,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 27,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4251,
                "expected_assists": 0.5678,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 10,
                "accurate_pass": 9,
                "key_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5212,
                "expected_assists": 0.0343,
                "total_shots": 4,
                "shots_on_target": 4,
                "total_pass": 34,
                "accurate_pass": 27,
                "key_pass": 2,
                "interceptions": 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": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 28,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1751,
                "expected_assists": 0.0337,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 16,
                "accurate_pass": 13,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 82,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.215,
                "expected_assists": 0.1187,
                "total_shots": 1,
                "total_pass": 24,
                "accurate_pass": 20,
                "key_pass": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416302,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 79,
                "rating": 7.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.7893,
                "expected_assists": 0.2452,
                "total_shots": 5,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 21,
                "accurate_pass": 17,
                "key_pass": 1,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.2206,
                "expected_assists": 0.4077,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 28,
                "accurate_pass": 25,
                "key_pass": 2,
                "clearances": 1,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083735,
              "match_date": "2026-05-24",
              "home_team": "Villarreal",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 89,
                "rating": 8.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.0145,
                "expected_assists": 0.023,
                "total_shots": 3,
                "shots_on_target": 3,
                "total_pass": 21,
                "accurate_pass": 19,
                "key_pass": 2,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083644,
              "match_date": "2026-05-13",
              "home_team": "Villarreal",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 70,
                "rating": 7.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.5722,
                "expected_assists": 0.0397,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 18,
                "accurate_pass": 16,
                "key_pass": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 1648,
            "combined_rank_score": 667.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 371.0,
            "sofascore_rating": 6.9688,
            "sofascore_appearances": 32.0,
            "fifa_rank": 964.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.829,
            "source_file": "data/player_rankings.csv",
            "player_name": "Georges Mikautadze",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Andrew Robertson",
                  "ranking": 1643
                },
                {
                  "player_name": "Dango Ouattara",
                  "ranking": 1644
                },
                {
                  "player_name": "Aziz Kholmurodov",
                  "ranking": 1645
                },
                {
                  "player_name": "Uroš Kojić",
                  "ranking": 1646
                },
                {
                  "player_name": "Josh Risdon",
                  "ranking": 1647
                }
              ],
              "lower": [
                {
                  "player_name": "Trai Hume",
                  "ranking": 1649
                },
                {
                  "player_name": "Alfonso Pedraza",
                  "ranking": 1650
                },
                {
                  "player_name": "Lukáš Provod",
                  "ranking": 1651
                },
                {
                  "player_name": "Isi Palazón",
                  "ranking": 1652
                },
                {
                  "player_name": "Walter Benítez",
                  "ranking": 1653
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.778,
          "history_matches": 40,
          "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",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "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",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 40,
            "data_confidence": 0.778,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 26.710848356448757,
            "bench_appearance_prob": 0.363,
            "market_value_adjustment": 1.0097,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.3571428571428571,
              "assists_per90": 0.3571428571428571,
              "prior_reliability": 0.1867
            },
            "rationale": "Bench projection scaled from XGBoost F_service (40 historical appearances) to 26.7 expected mins (appearance prob 0.36); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1683,
                "goals": 0.1467,
                "goal_rate": 0.1467,
                "shots_on_target": 0.4967,
                "total_shots": 1.1634,
                "expected_assists": 0.0684,
                "key_pass": 0.675,
                "rating": 6.829,
                "minutes": 25.38,
                "total_pass": 8.6902,
                "accurate_pass": 7.3774,
                "duels_won": 1.3331,
                "total_long_balls": 0.3683,
                "accurate_long_balls": 0.2457,
                "total_opp_half_passes": 6.1879,
                "accurate_opp_half_passes": 5.2155,
                "crosses_total": 0.4404,
                "crosses_accurate": 0.0891,
                "touches": 14.8533,
                "possession_lost": 3.846,
                "dispossessed": 0.5678,
                "duels_lost": 2.0306,
                "aerial_lost": 0.37,
                "total_contest": 1.6629,
                "won_contest": 0.6458,
                "ball_recovery": 0.6666,
                "challenges_lost": 0.0757,
                "fouls": 0.0886,
                "fouls_drawn": 0.578,
                "assists": 0.0243,
                "assist_rate": 0.0243,
                "interceptions": 0.0465,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0644,
                "blocks": 0.0,
                "big_chances_created": 0.2326,
                "big_chances_missed": 0.3146,
                "xgot": 0.3218,
                "offsides": 0.0,
                "ball_carries": 5.9754,
                "total_progression": 25.2666,
                "progressive_carries": 1.2894,
                "shots_off_target": 0.6666
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:06:24.593912+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Real Madrid",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.1502,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Levante UD",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.1277,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Málaga CF",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.1085,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.0784,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Atlético Madrid",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Sevilla",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalOppositionHalfPasses": 11.6588,
                  "expectedGoals": 0.4785,
                  "accurateOppositionHalfPasses": 9.6903,
                  "accuratePass": 13.0247,
                  "totalShots": 2.3271
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.16825315356254578,
                    "model_output": 0.1683,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0871
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0373
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0067
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0061
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0054
                        }
                      ],
                      "others": 0.0024,
                      "total": 0.1683,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.581627
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.291234
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.044084
                        },
                        {
                          "name": "goals",
                          "margin": 0.038614
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.032989
                        }
                      ],
                      "others_margin": 0.014338
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1467469036579132,
                    "model_output": 0.1467,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0969
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.022
                        },
                        {
                          "name": "goals",
                          "contribution": 0.009
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0071
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0062
                        }
                      ],
                      "others": 0.0083,
                      "total": 0.1467,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.64705
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.187959
                        },
                        {
                          "name": "goals",
                          "margin": 0.067645
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.050433
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.043536
                        }
                      ],
                      "others_margin": 0.058293
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.4967486262321472,
                    "model_output": 0.4967,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2214
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0457
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0341
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.028
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.02
                        }
                      ],
                      "others": 0.0527,
                      "total": 0.4967,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.530812
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.134959
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.089933
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.068253
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.046094
                        }
                      ],
                      "others_margin": 0.11245
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.1633694171905518,
                    "model_output": 1.1634,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.6083
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1585
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0688
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0387
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0365
                        }
                      ],
                      "others": 0.0954,
                      "total": 1.1634,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.6083
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.158497
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.068762
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.038682
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.036454
                        }
                      ],
                      "others_margin": 0.095433
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.06839253753423691,
                    "model_output": 0.0684,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.018
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0048
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0035
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0032
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0025
                        }
                      ],
                      "others": 0.0146,
                      "total": 0.0684,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.32967
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.098696
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.065747
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.059664
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.046737
                        }
                      ],
                      "others_margin": 0.241175
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.6749992370605469,
                    "model_output": 0.675,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2139
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0615
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0397
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0149
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0142
                        }
                      ],
                      "others": 0.0852,
                      "total": 0.675,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.382118
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.125519
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.073434
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.026255
                        },
                        {
                          "name": "duelWon",
                          "margin": 0.024368
                        }
                      ],
                      "others_margin": 0.13496
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.828963279724121,
                    "model_output": 6.829,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1171
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0847
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0599
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0168
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0157
                        }
                      ],
                      "others": 0.0334,
                      "total": 6.829,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.117147
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.084669
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.059924
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.016771
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.015655
                        }
                      ],
                      "others_margin": 0.0334
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 40,
                  "role_matches": 13,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0097, quality 0.796)",
              "stats": {
                "expected_goals": 0.1699,
                "goals": 0.1482,
                "goal_rate": 0.1482,
                "shots_on_target": 0.5016,
                "total_shots": 1.1747,
                "expected_assists": 0.0691,
                "key_pass": 0.6815,
                "rating": 6.829,
                "minutes": 25.38,
                "total_pass": 8.7745,
                "accurate_pass": 7.449,
                "duels_won": 1.346,
                "total_long_balls": 0.3719,
                "accurate_long_balls": 0.2481,
                "total_opp_half_passes": 6.2479,
                "accurate_opp_half_passes": 5.2661,
                "crosses_total": 0.4447,
                "crosses_accurate": 0.09,
                "touches": 14.9974,
                "possession_lost": 3.8833,
                "dispossessed": 0.5733,
                "duels_lost": 2.0503,
                "aerial_lost": 0.3736,
                "total_contest": 1.679,
                "won_contest": 0.6521,
                "ball_recovery": 0.6731,
                "challenges_lost": 0.0764,
                "fouls": 0.0895,
                "fouls_drawn": 0.5836,
                "assists": 0.0245,
                "assist_rate": 0.0245,
                "interceptions": 0.047,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.065,
                "blocks": 0.0,
                "big_chances_created": 0.2349,
                "big_chances_missed": 0.3177,
                "xgot": 0.3249,
                "offsides": 0.0,
                "ball_carries": 6.0334,
                "total_progression": 25.5117,
                "progressive_carries": 1.3019,
                "shots_off_target": 0.6731
              },
              "params": {
                "market_value_eur": 43000000,
                "quality_factor": 0.7957,
                "boost_factor": 1.0097,
                "reference_quality": 0.505,
                "history_matches": 40,
                "history_shrink": 0.1111,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0135)",
              "stats": {
                "expected_goals": 0.1699,
                "goals": 0.1476,
                "goal_rate": 0.1476,
                "shots_on_target": 0.5004,
                "total_shots": 1.1726,
                "expected_assists": 0.0691,
                "key_pass": 0.6815,
                "rating": 6.829,
                "minutes": 25.38,
                "total_pass": 8.7745,
                "accurate_pass": 7.449,
                "duels_won": 1.346,
                "total_long_balls": 0.3719,
                "accurate_long_balls": 0.2481,
                "total_opp_half_passes": 6.2479,
                "accurate_opp_half_passes": 5.2661,
                "crosses_total": 0.4414,
                "crosses_accurate": 0.09,
                "touches": 14.9974,
                "possession_lost": 3.8833,
                "dispossessed": 0.5733,
                "duels_lost": 2.0503,
                "aerial_lost": 0.3736,
                "total_contest": 1.679,
                "won_contest": 0.6521,
                "ball_recovery": 0.6731,
                "challenges_lost": 0.0764,
                "fouls": 0.091,
                "fouls_drawn": 0.5784,
                "assists": 0.0255,
                "assist_rate": 0.0255,
                "interceptions": 0.0464,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.065,
                "blocks": 0.0,
                "big_chances_created": 0.2349,
                "big_chances_missed": 0.3177,
                "xgot": 0.3249,
                "offsides": 0.0014,
                "ball_carries": 6.0334,
                "total_progression": 25.5117,
                "progressive_carries": 1.3019,
                "shots_off_target": 0.6731
              },
              "params": {
                "blend_weight": 0.0135,
                "history_matches": 40,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.282,
                "prior_reliability": 0.1867,
                "competition": "La Liga",
                "squad": "Villarreal"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.5836,
                  "after": 0.5784
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 25.4 to 26.7 expected minutes (appearance prob 0.36)",
              "stats": {
                "expected_goals": 0.1788,
                "goals": 0.1553,
                "goal_rate": 0.1553,
                "shots_on_target": 0.5266,
                "total_shots": 1.235,
                "expected_assists": 0.0727,
                "key_pass": 0.7172,
                "rating": 6.829,
                "minutes": 26.71,
                "total_pass": 9.2346,
                "accurate_pass": 7.8396,
                "duels_won": 1.4166,
                "total_long_balls": 0.3914,
                "accurate_long_balls": 0.2611,
                "total_opp_half_passes": 6.5755,
                "accurate_opp_half_passes": 5.5422,
                "crosses_total": 0.4645,
                "crosses_accurate": 0.0947,
                "touches": 15.7838,
                "possession_lost": 4.0869,
                "dispossessed": 0.5733,
                "duels_lost": 2.1578,
                "aerial_lost": 0.3736,
                "total_contest": 1.767,
                "won_contest": 0.6863,
                "ball_recovery": 0.7084,
                "challenges_lost": 0.0764,
                "fouls": 0.0958,
                "fouls_drawn": 0.6087,
                "assists": 0.0268,
                "assist_rate": 0.0268,
                "interceptions": 0.0488,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0684,
                "blocks": 0.0,
                "big_chances_created": 0.2472,
                "big_chances_missed": 0.3344,
                "xgot": 0.3419,
                "offsides": 0.0014,
                "ball_carries": 6.3498,
                "total_progression": 26.8495,
                "progressive_carries": 1.3702,
                "shots_off_target": 0.7084,
                "bench_appearance_probability": 0.363,
                "bench_expected_minutes": 26.71
              },
              "params": {
                "expected_minutes": 26.71,
                "projection_minutes": 25.38,
                "minutes_scale": 1.0524,
                "appearance_probability": 0.363
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1788,
                "goals": 0.1553,
                "goal_rate": 0.1553,
                "shots_on_target": 0.5266,
                "total_shots": 1.235,
                "expected_assists": 0.0727,
                "key_pass": 0.7172,
                "rating": 6.829,
                "minutes": 26.71,
                "total_pass": 9.2346,
                "accurate_pass": 7.8396,
                "duels_won": 1.4166,
                "total_long_balls": 0.3914,
                "accurate_long_balls": 0.2611,
                "total_opp_half_passes": 6.5755,
                "accurate_opp_half_passes": 5.5422,
                "crosses_total": 0.4645,
                "crosses_accurate": 0.0947,
                "touches": 15.7838,
                "possession_lost": 4.0869,
                "dispossessed": 0.5733,
                "duels_lost": 2.1578,
                "aerial_lost": 0.3736,
                "total_contest": 1.767,
                "won_contest": 0.6863,
                "ball_recovery": 0.7084,
                "challenges_lost": 0.0764,
                "fouls": 0.0958,
                "fouls_drawn": 0.6087,
                "assists": 0.0268,
                "assist_rate": 0.0268,
                "interceptions": 0.0488,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0684,
                "blocks": 0.0,
                "big_chances_created": 0.2472,
                "big_chances_missed": 0.3344,
                "xgot": 0.3419,
                "offsides": 0.0014,
                "ball_carries": 6.3498,
                "total_progression": 26.8495,
                "progressive_carries": 1.3702,
                "shots_off_target": 0.7084,
                "bench_appearance_probability": 0.363,
                "bench_expected_minutes": 26.71
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "expected_goals": 0.1788,
                "goal_rate": 0.1553,
                "goals": 0,
                "shots_on_target": 0.5266,
                "total_shots": 1.235,
                "expected_assists": 0.0727,
                "key_pass": 0.7172,
                "rating": 6.829,
                "minutes": 26.71,
                "total_pass": 9.2346,
                "accurate_pass": 7.8396,
                "duels_won": 1.4166,
                "total_long_balls": 0.3914,
                "accurate_long_balls": 0.2611,
                "total_opp_half_passes": 6.5755,
                "accurate_opp_half_passes": 5.5422,
                "crosses_total": 0.4645,
                "crosses_accurate": 0.0947,
                "touches": 15.7838,
                "possession_lost": 4.0869,
                "dispossessed": 0.5733,
                "duels_lost": 2.1578,
                "aerial_lost": 0.3736,
                "total_contest": 1.767,
                "won_contest": 0.6863,
                "ball_recovery": 0.7084,
                "challenges_lost": 0.0764,
                "fouls": 0.0958,
                "fouls_drawn": 0.6087,
                "assist_rate": 0.0268,
                "assists": 0,
                "interceptions": 0.0488,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0684,
                "blocks": 0.0,
                "big_chances_created": 0.2472,
                "big_chances_missed": 0.3344,
                "xgot": 0.3419,
                "offsides": 0.0014,
                "ball_carries": 6.3498,
                "total_progression": 26.8495,
                "progressive_carries": 1.3702,
                "shots_off_target": 0.7084,
                "bench_appearance_probability": 0.363,
                "bench_expected_minutes": 26.71,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.162,
                "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
              },
              "params": {
                "appearance_probability": 0.363,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 11 by projected rating, fifa_overall 79.0)",
              "stats": {
                "expected_goals": 0.1788,
                "goal_rate": 0.1553,
                "goals": 0,
                "shots_on_target": 0.5266,
                "total_shots": 1.235,
                "expected_assists": 0.0727,
                "key_pass": 0.7172,
                "rating": 6.829,
                "minutes": 26.71,
                "total_pass": 9.2346,
                "accurate_pass": 7.8396,
                "duels_won": 1.4166,
                "total_long_balls": 0.3914,
                "accurate_long_balls": 0.2611,
                "total_opp_half_passes": 6.5755,
                "accurate_opp_half_passes": 5.5422,
                "crosses_total": 0.4645,
                "crosses_accurate": 0.0947,
                "touches": 15.7838,
                "possession_lost": 4.0869,
                "dispossessed": 0.5733,
                "duels_lost": 2.1578,
                "aerial_lost": 0.3736,
                "total_contest": 1.767,
                "won_contest": 0.6863,
                "ball_recovery": 0.7084,
                "challenges_lost": 0.0764,
                "fouls": 0.0958,
                "fouls_drawn": 0.6087,
                "assist_rate": 0.0268,
                "assists": 0,
                "interceptions": 0.0488,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0684,
                "blocks": 0.0,
                "big_chances_created": 0.2472,
                "big_chances_missed": 0.3344,
                "xgot": 0.3419,
                "offsides": 0.0014,
                "ball_carries": 6.3498,
                "total_progression": 26.8495,
                "progressive_carries": 1.3702,
                "shots_off_target": 0.7084,
                "bench_appearance_probability": 0.363,
                "bench_expected_minutes": 26.71,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.162,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 11,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1648,
                "fifa_rank": 964.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            }
          ]
        },
        "Nicolas Pépé": {
          "player_id": 593526,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 19,
          "height": 183,
          "market_value": 6600000,
          "stats": {
            "expected_goals": 0.0796,
            "goal_rate": 0.09,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.1219,
            "key_pass": 1,
            "rating": 7.0087,
            "minutes": 25,
            "total_pass": 10,
            "accurate_pass": 9,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 6,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 17,
            "possession_lost": 4.134,
            "dispossessed": 0.467,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 2,
            "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.0225,
            "offsides": 0,
            "ball_carries": 5,
            "total_progression": 31,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.338,
            "bench_expected_minutes": 25.47,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.162,
            "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": 81.0
          },
          "latest_10_games": [
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 11,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 4,
                "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": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 76,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1115,
                "expected_assists": 0.0621,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 35,
                "accurate_pass": 27,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2768,
                "expected_assists": 0.2635,
                "total_shots": 5,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 62,
                "accurate_pass": 55,
                "key_pass": 4,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2524,
                "expected_assists": 0.4359,
                "total_shots": 3,
                "shots_on_target": 2,
                "total_pass": 49,
                "accurate_pass": 42,
                "key_pass": 4,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416302,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 79,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1005,
                "expected_assists": 0.2611,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 31,
                "accurate_pass": 30,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 77,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0802,
                "expected_assists": 0.232,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 38,
                "accurate_pass": 33,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083735,
              "match_date": "2026-05-24",
              "home_team": "Villarreal",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 8.3,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 0.1172,
                "expected_assists": 0.2105,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 55,
                "accurate_pass": 48,
                "key_pass": 2,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083644,
              "match_date": "2026-05-13",
              "home_team": "Villarreal",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 60,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0632,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 17,
                "key_pass": 2,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083573,
              "match_date": "2026-05-10",
              "home_team": "Mallorca",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 27,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 5,
                "duels_won": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083512,
              "match_date": "2026-05-02",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 9.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 0.5568,
                "expected_assists": 0.45,
                "total_shots": 3,
                "shots_on_target": 2,
                "total_pass": 35,
                "accurate_pass": 31,
                "key_pass": 6,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 560,
            "combined_rank_score": 308.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 44.0,
            "sofascore_rating": 7.8,
            "sofascore_appearances": 1.0,
            "fifa_rank": 572.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0087,
            "source_file": "data/player_rankings.csv",
            "player_name": "Nicolas Pépé",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Joseph Otunenche",
                  "ranking": 555
                },
                {
                  "player_name": "Dean Huijsen",
                  "ranking": 556
                },
                {
                  "player_name": "Jarrod Bowen",
                  "ranking": 557
                },
                {
                  "player_name": "Ivan Alonso Martin",
                  "ranking": 558
                },
                {
                  "player_name": "Marco Román",
                  "ranking": 559
                }
              ],
              "lower": [
                {
                  "player_name": "Javi Navarro",
                  "ranking": 561
                },
                {
                  "player_name": "Jordi Pesquer",
                  "ranking": 562
                },
                {
                  "player_name": "Diego Lacosta",
                  "ranking": 563
                },
                {
                  "player_name": "Luca Williams-Barnett",
                  "ranking": 564
                },
                {
                  "player_name": "Tynan Thompson",
                  "ranking": 565
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.777,
          "history_matches": 42,
          "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",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "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",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 42,
            "data_confidence": 0.777,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 25.467767132293673,
            "bench_appearance_prob": 0.338,
            "market_value_adjustment": 0.9993,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.3703703703703703,
              "assists_per90": 0.0,
              "prior_reliability": 0.18
            },
            "rationale": "Bench projection scaled from XGBoost F_service (42 historical appearances) to 25.5 expected mins (appearance prob 0.34); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0669,
                "goals": 0.0755,
                "goal_rate": 0.0755,
                "shots_on_target": 0.3065,
                "total_shots": 1.1563,
                "expected_assists": 0.1024,
                "key_pass": 0.8331,
                "rating": 7.0087,
                "minutes": 21.4,
                "total_pass": 8.7807,
                "accurate_pass": 7.1528,
                "duels_won": 1.5957,
                "total_long_balls": 0.0995,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.8691,
                "accurate_opp_half_passes": 4.8305,
                "crosses_total": 0.1597,
                "crosses_accurate": 0.0,
                "touches": 14.567,
                "possession_lost": 3.4761,
                "dispossessed": 0.4673,
                "duels_lost": 1.9703,
                "aerial_lost": 0.1886,
                "total_contest": 1.4963,
                "won_contest": 0.8408,
                "ball_recovery": 1.435,
                "challenges_lost": 0.3215,
                "fouls": 0.3373,
                "fouls_drawn": 0.0834,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.3255,
                "tackles_won": 0.3703,
                "tackles": 0.5609,
                "clearances": 0.4092,
                "blocks": 0.0,
                "big_chances_created": 0.2991,
                "big_chances_missed": 0.0492,
                "xgot": 0.0189,
                "offsides": 0.2335,
                "ball_carries": 3.9127,
                "total_progression": 26.3653,
                "progressive_carries": 1.173,
                "shots_off_target": 0.8497
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:06:24.593912+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Levante UD",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.1502,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Real Betis",
                    "minutes": 76.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 8.3
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Sevilla",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Mallorca",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.0409,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 9.8
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalOppositionHalfPasses": 25.6956,
                  "expectedGoals": 0.1527,
                  "accurateOppositionHalfPasses": 21.7433,
                  "accuratePass": 27.3493,
                  "totalShots": 2.0392
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.06692691892385483,
                    "model_output": 0.0669,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0864
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0163
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0055
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0048
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": -0.0036
                        }
                      ],
                      "others": -0.014,
                      "total": 0.0669,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.575442
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.158188
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.06018
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.055696
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": -0.043084
                        }
                      ],
                      "others_margin": -0.189646
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.07545329630374908,
                    "model_output": 0.0755,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0927
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0149
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0127
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0068
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0041
                        }
                      ],
                      "others": -0.0049,
                      "total": 0.0755,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.608392
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.144623
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.14251
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.085745
                        },
                        {
                          "name": "goals",
                          "margin": 0.052214
                        }
                      ],
                      "others_margin": -0.062396
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.30654603242874146,
                    "model_output": 0.3065,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.231
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0374
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0294
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0163
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0126
                        }
                      ],
                      "others": -0.0044,
                      "total": 0.3065,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.561449
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.115107
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.08936
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.053223
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.041514
                        }
                      ],
                      "others_margin": -0.014428
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.1562567949295044,
                    "model_output": 1.1563,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.57
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1728
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0947
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0651
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0468
                        }
                      ],
                      "others": -0.0269,
                      "total": 1.1563,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.570027
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.172757
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.094697
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.065098
                        },
                        {
                          "name": "goals",
                          "margin": 0.046848
                        }
                      ],
                      "others_margin": -0.026956
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.10244179517030716,
                    "model_output": 0.1024,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0192
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0135
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0064
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0062
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0048
                        }
                      ],
                      "others": 0.0265,
                      "total": 0.1024,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.356349
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.263184
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.103106
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.090998
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.06514
                        }
                      ],
                      "others_margin": 0.30097
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.8331126570701599,
                    "model_output": 0.8331,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2427
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0876
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0908
                        },
                        {
                          "name": "big_chance_conversion",
                          "contribution": 0.0411
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.037
                        }
                      ],
                      "others": 0.1459,
                      "total": 0.8331,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.446999
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.185071
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.161535
                        },
                        {
                          "name": "big_chance_conversion",
                          "margin": 0.065243
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.05542
                        }
                      ],
                      "others_margin": 0.192606
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.008725166320801,
                    "model_output": 7.0087,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.072
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0505
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0496
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0487
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0381
                        }
                      ],
                      "others": 0.1268,
                      "total": 7.0087,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.071971
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.050518
                        },
                        {
                          "name": "rating",
                          "margin": 0.049632
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.048692
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.038146
                        }
                      ],
                      "others_margin": 0.126705
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 42,
                  "role_matches": 11,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9993, quality 0.482)",
              "stats": {
                "expected_goals": 0.0669,
                "goals": 0.0754,
                "goal_rate": 0.0754,
                "shots_on_target": 0.3063,
                "total_shots": 1.1554,
                "expected_assists": 0.1024,
                "key_pass": 0.8325,
                "rating": 7.0087,
                "minutes": 21.4,
                "total_pass": 8.7746,
                "accurate_pass": 7.1478,
                "duels_won": 1.5946,
                "total_long_balls": 0.0994,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.865,
                "accurate_opp_half_passes": 4.8271,
                "crosses_total": 0.1596,
                "crosses_accurate": 0.0,
                "touches": 14.5568,
                "possession_lost": 3.4737,
                "dispossessed": 0.467,
                "duels_lost": 1.9689,
                "aerial_lost": 0.1885,
                "total_contest": 1.4953,
                "won_contest": 0.8402,
                "ball_recovery": 1.434,
                "challenges_lost": 0.3213,
                "fouls": 0.3371,
                "fouls_drawn": 0.0833,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.3253,
                "tackles_won": 0.37,
                "tackles": 0.5605,
                "clearances": 0.4089,
                "blocks": 0.0,
                "big_chances_created": 0.2989,
                "big_chances_missed": 0.0492,
                "xgot": 0.0189,
                "offsides": 0.2333,
                "ball_carries": 3.91,
                "total_progression": 26.3468,
                "progressive_carries": 1.1722,
                "shots_off_target": 0.8491
              },
              "params": {
                "market_value_eur": 6600000,
                "quality_factor": 0.4818,
                "boost_factor": 0.9993,
                "reference_quality": 0.505,
                "history_matches": 42,
                "history_shrink": 0.1064,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0124)",
              "stats": {
                "expected_goals": 0.0669,
                "goals": 0.0756,
                "goal_rate": 0.0756,
                "shots_on_target": 0.3079,
                "total_shots": 1.1487,
                "expected_assists": 0.1024,
                "key_pass": 0.8325,
                "rating": 7.0087,
                "minutes": 21.4,
                "total_pass": 8.7746,
                "accurate_pass": 7.1478,
                "duels_won": 1.5946,
                "total_long_balls": 0.0994,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.865,
                "accurate_opp_half_passes": 4.8271,
                "crosses_total": 0.1675,
                "crosses_accurate": 0.0,
                "touches": 14.5568,
                "possession_lost": 3.4737,
                "dispossessed": 0.467,
                "duels_lost": 1.9689,
                "aerial_lost": 0.1885,
                "total_contest": 1.4953,
                "won_contest": 0.8402,
                "ball_recovery": 1.434,
                "challenges_lost": 0.3213,
                "fouls": 0.3329,
                "fouls_drawn": 0.0866,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.3223,
                "tackles_won": 0.3676,
                "tackles": 0.5605,
                "clearances": 0.4089,
                "blocks": 0.0,
                "big_chances_created": 0.2989,
                "big_chances_missed": 0.0492,
                "xgot": 0.0189,
                "offsides": 0.2304,
                "ball_carries": 3.91,
                "total_progression": 26.3468,
                "progressive_carries": 1.1722,
                "shots_off_target": 0.8491
              },
              "params": {
                "blend_weight": 0.0124,
                "history_matches": 42,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2378,
                "prior_reliability": 0.18,
                "competition": "La Liga",
                "squad": "Villarreal"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 0.1596,
                  "after": 0.1675
                },
                {
                  "stat": "totalShots",
                  "before": 1.1554,
                  "after": 1.1487
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 21.4 to 25.5 expected minutes (appearance prob 0.34)",
              "stats": {
                "expected_goals": 0.0796,
                "goals": 0.09,
                "goal_rate": 0.09,
                "shots_on_target": 0.3664,
                "total_shots": 1.3769,
                "expected_assists": 0.1219,
                "key_pass": 0.9907,
                "rating": 7.0087,
                "minutes": 25.47,
                "total_pass": 10.4425,
                "accurate_pass": 8.5065,
                "duels_won": 1.8977,
                "total_long_balls": 0.1183,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.9798,
                "accurate_opp_half_passes": 5.7446,
                "crosses_total": 0.1993,
                "crosses_accurate": 0.0,
                "touches": 17.3238,
                "possession_lost": 4.134,
                "dispossessed": 0.467,
                "duels_lost": 2.3432,
                "aerial_lost": 0.1885,
                "total_contest": 1.7795,
                "won_contest": 0.9999,
                "ball_recovery": 1.7066,
                "challenges_lost": 0.3213,
                "fouls": 0.3962,
                "fouls_drawn": 0.1031,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.3836,
                "tackles_won": 0.4375,
                "tackles": 0.667,
                "clearances": 0.4866,
                "blocks": 0.0,
                "big_chances_created": 0.3557,
                "big_chances_missed": 0.0586,
                "xgot": 0.0225,
                "offsides": 0.2304,
                "ball_carries": 4.6532,
                "total_progression": 31.3549,
                "progressive_carries": 1.395,
                "shots_off_target": 1.0105,
                "bench_appearance_probability": 0.338,
                "bench_expected_minutes": 25.47
              },
              "params": {
                "expected_minutes": 25.47,
                "projection_minutes": 21.4,
                "minutes_scale": 1.1901,
                "appearance_probability": 0.338
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0796,
                "goals": 0.09,
                "goal_rate": 0.09,
                "shots_on_target": 0.3664,
                "total_shots": 1.3769,
                "expected_assists": 0.1219,
                "key_pass": 0.9907,
                "rating": 7.0087,
                "minutes": 25.47,
                "total_pass": 10.4425,
                "accurate_pass": 8.5065,
                "duels_won": 1.8977,
                "total_long_balls": 0.1183,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.9798,
                "accurate_opp_half_passes": 5.7446,
                "crosses_total": 0.1993,
                "crosses_accurate": 0.0,
                "touches": 17.3238,
                "possession_lost": 4.134,
                "dispossessed": 0.467,
                "duels_lost": 2.3432,
                "aerial_lost": 0.1885,
                "total_contest": 1.7795,
                "won_contest": 0.9999,
                "ball_recovery": 1.7066,
                "challenges_lost": 0.3213,
                "fouls": 0.3962,
                "fouls_drawn": 0.1031,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.3836,
                "tackles_won": 0.4375,
                "tackles": 0.667,
                "clearances": 0.4866,
                "blocks": 0.0,
                "big_chances_created": 0.3557,
                "big_chances_missed": 0.0586,
                "xgot": 0.0225,
                "offsides": 0.2304,
                "ball_carries": 4.6532,
                "total_progression": 31.3549,
                "progressive_carries": 1.395,
                "shots_off_target": 1.0105,
                "bench_appearance_probability": 0.338,
                "bench_expected_minutes": 25.47
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "expected_goals": 0.0796,
                "goal_rate": 0.09,
                "goals": 0,
                "shots_on_target": 0.3664,
                "total_shots": 1.3769,
                "expected_assists": 0.1219,
                "key_pass": 0.9907,
                "rating": 7.0087,
                "minutes": 25.47,
                "total_pass": 10.4425,
                "accurate_pass": 8.5065,
                "duels_won": 1.8977,
                "total_long_balls": 0.1183,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.9798,
                "accurate_opp_half_passes": 5.7446,
                "crosses_total": 0.1993,
                "crosses_accurate": 0.0,
                "touches": 17.3238,
                "possession_lost": 4.134,
                "dispossessed": 0.467,
                "duels_lost": 2.3432,
                "aerial_lost": 0.1885,
                "total_contest": 1.7795,
                "won_contest": 0.9999,
                "ball_recovery": 1.7066,
                "challenges_lost": 0.3213,
                "fouls": 0.3962,
                "fouls_drawn": 0.1031,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.3836,
                "tackles_won": 0.4375,
                "tackles": 0.667,
                "clearances": 0.4866,
                "blocks": 0.0,
                "big_chances_created": 0.3557,
                "big_chances_missed": 0.0586,
                "xgot": 0.0225,
                "offsides": 0.2304,
                "ball_carries": 4.6532,
                "total_progression": 31.3549,
                "progressive_carries": 1.395,
                "shots_off_target": 1.0105,
                "bench_appearance_probability": 0.338,
                "bench_expected_minutes": 25.47,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.162,
                "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
              },
              "params": {
                "appearance_probability": 0.338,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 6 by projected rating, fifa_overall 81.0)",
              "stats": {
                "expected_goals": 0.0796,
                "goal_rate": 0.09,
                "goals": 0,
                "shots_on_target": 0.3664,
                "total_shots": 1.3769,
                "expected_assists": 0.1219,
                "key_pass": 0.9907,
                "rating": 7.0087,
                "minutes": 25.47,
                "total_pass": 10.4425,
                "accurate_pass": 8.5065,
                "duels_won": 1.8977,
                "total_long_balls": 0.1183,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.9798,
                "accurate_opp_half_passes": 5.7446,
                "crosses_total": 0.1993,
                "crosses_accurate": 0.0,
                "touches": 17.3238,
                "possession_lost": 4.134,
                "dispossessed": 0.467,
                "duels_lost": 2.3432,
                "aerial_lost": 0.1885,
                "total_contest": 1.7795,
                "won_contest": 0.9999,
                "ball_recovery": 1.7066,
                "challenges_lost": 0.3213,
                "fouls": 0.3962,
                "fouls_drawn": 0.1031,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.3836,
                "tackles_won": 0.4375,
                "tackles": 0.667,
                "clearances": 0.4866,
                "blocks": 0.0,
                "big_chances_created": 0.3557,
                "big_chances_missed": 0.0586,
                "xgot": 0.0225,
                "offsides": 0.2304,
                "ball_carries": 4.6532,
                "total_progression": 31.3549,
                "progressive_carries": 1.395,
                "shots_off_target": 1.0105,
                "bench_appearance_probability": 0.338,
                "bench_expected_minutes": 25.47,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.162,
                "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": 81.0
              },
              "params": {
                "match_squad_rank": 6,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 560,
                "fifa_rank": 572.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 81.0
              }
            }
          ]
        }
      },
      "substitutes": {
        "Carlos Maciá": {
          "player_id": 2238900,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 16,
          "height": 194,
          "market_value": 14500000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0246,
            "assist_rate": 0.0315,
            "assists": 0,
            "expected_goals": 0.0298,
            "goal_rate": 0.0461,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.6706,
            "minutes": 23,
            "total_pass": 13,
            "accurate_pass": 12,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 5,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 7,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 18,
            "possession_lost": 2.7138,
            "dispossessed": 0.1208,
            "duels_lost": 2,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 1,
            "tackles_won": 1,
            "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": 6,
            "total_progression": 21,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.703,
            "bench_expected_minutes": 23.33,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.162,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0292,
            "projected_assists": 0,
            "assist_probability": 0.0242,
            "finishing_factor": 1.2432,
            "creation_factor": 1.1241,
            "fifa_overall": 65.0
          },
          "latest_10_games": [
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 8,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 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": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 10,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 2,
                "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": 16416302,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 11,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.004,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 10,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 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": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 34,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0133,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 27,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 3,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083735,
              "match_date": "2026-05-24",
              "home_team": "Villarreal",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "total_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083224,
              "match_date": "2026-01-17",
              "home_team": "Real Betis",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 9,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 1,
                "tackles": 1,
                "interceptions": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083198,
              "match_date": "2026-01-03",
              "home_team": "Elche",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Elche",
              "stats": {
                "minutes": 14,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0071,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 4,
                "tackles": 4,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083190,
              "match_date": "2025-12-21",
              "home_team": "Villarreal",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 15,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1,
                "clearances": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083159,
              "match_date": "2025-12-06",
              "home_team": "Villarreal",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Getafe",
              "stats": {
                "minutes": 39,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0612,
                "expected_assists": 0.0127,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 29,
                "accurate_pass": 26,
                "interceptions": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 7717,
            "combined_rank_score": 6124.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 1.0,
            "fifa_rank": 11804.0,
            "fifa_overall": 65.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6706,
            "source_file": "data/player_rankings.csv",
            "player_name": "Carlos Maciá",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Luís Silva",
                  "ranking": 7712
                },
                {
                  "player_name": "Ivan Zlobin",
                  "ranking": 7713
                },
                {
                  "player_name": "Ferro",
                  "ranking": 7714
                },
                {
                  "player_name": "Liziero",
                  "ranking": 7715
                },
                {
                  "player_name": "Ianis Stoica",
                  "ranking": 7716
                }
              ],
              "lower": [
                {
                  "player_name": "Facundo Agustín Cáseres",
                  "ranking": 7718
                },
                {
                  "player_name": "Weverson",
                  "ranking": 7719
                },
                {
                  "player_name": "José Fontán",
                  "ranking": 7720
                },
                {
                  "player_name": "Dario Špikić",
                  "ranking": 7721
                },
                {
                  "player_name": "Miguel Maga",
                  "ranking": 7722
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.755,
          "history_matches": 9,
          "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",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "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",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 9,
            "data_confidence": 0.755,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 23.33,
            "bench_appearance_prob": 0.703,
            "market_value_adjustment": 1.0074,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 0.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 24.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0333
            },
            "rationale": "Bench projection scaled from XGBoost M_service (9 historical appearances) to 23.3 expected mins (appearance prob 0.70); FBref playing time empirical prior: 2.0 sub appearances, 24.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.2103,
                "expected_assists": 0.0149,
                "assists": 0.0211,
                "assist_rate": 0.0211,
                "expected_goals": 0.018,
                "goals": 0.0307,
                "goal_rate": 0.0307,
                "shots_on_target": 0.0706,
                "total_shots": 0.277,
                "rating": 6.6706,
                "minutes": 14.72,
                "total_pass": 8.8876,
                "accurate_pass": 7.7821,
                "duels_won": 1.1009,
                "total_long_balls": 0.6514,
                "accurate_long_balls": 0.3151,
                "total_own_half_passes": 3.5272,
                "accurate_own_half_passes": 3.2651,
                "total_opp_half_passes": 5.3604,
                "accurate_opp_half_passes": 4.517,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.241,
                "possession_lost": 1.7959,
                "dispossessed": 0.1199,
                "duels_lost": 1.0543,
                "aerial_won": 0.0,
                "aerial_lost": 0.1199,
                "interceptions": 0.4007,
                "tackles_won": 0.3808,
                "tackles": 0.8818,
                "clearances": 0.4848,
                "total_contest": 0.2484,
                "won_contest": 0.0532,
                "challenges_lost": 0.4463,
                "fouls": 0.1731,
                "fouls_drawn": 0.1659,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.7515,
                "total_progression": 13.8053,
                "progressive_carries": 0.2044,
                "shots_off_target": 0.2063
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-17T10:05:52.581708+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Levante UD",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.1952,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Málaga CF",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.1659,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.141,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 34.0,
                    "is_starting": false,
                    "weight": 0.1199,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Atlético Madrid",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.1019,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-01-17",
                    "opponent": "Real Betis",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.0866,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-01-03",
                    "opponent": "Elche",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.0736,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2025-12-21",
                    "opponent": "FC Barcelona",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.0626,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2025-12-06",
                    "opponent": "Getafe",
                    "minutes": 39.0,
                    "is_starting": false,
                    "weight": 0.0532,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 9.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.0532,
                  "creative_index": 0.0021,
                  "expectedGoals": 0.0033,
                  "expectedAssists": 0.0035,
                  "onTargetScoringAttempt": 0.0
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.2102537304162979,
                    "model_output": 0.2103,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4529
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0614
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0402
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0311
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0209
                        }
                      ],
                      "others": -0.0762,
                      "total": 0.2103,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.707568
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.150203
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.112305
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.096274
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.070566
                        }
                      ],
                      "others_margin": -0.309336
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.014864607714116573,
                    "model_output": 0.0149,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0401
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0102
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0073
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0032
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0021
                        }
                      ],
                      "others": -0.0078,
                      "total": 0.0149,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.632327
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.2535
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.231722
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.119501
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.088921
                        }
                      ],
                      "others_margin": -0.425202
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.02105398289859295,
                    "model_output": 0.0211,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0201
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0133
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0098
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0047
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0035
                        }
                      ],
                      "others": -0.0147,
                      "total": 0.0211,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.262568
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.221358
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.200722
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.112334
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.092699
                        }
                      ],
                      "others_margin": -0.531913
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.018019750714302063,
                    "model_output": 0.018,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0387
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0202
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0085
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0031
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0016
                        }
                      ],
                      "others": -0.0042,
                      "total": 0.018,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.527963
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.44992
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.274491
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.123832
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.070085
                        }
                      ],
                      "others_margin": -0.208669
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.030720077455043793,
                    "model_output": 0.0307,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0376
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0133
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0083
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0037
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0028
                        }
                      ],
                      "others": -0.0014,
                      "total": 0.0307,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.485618
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.248996
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.194637
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.100537
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.083991
                        }
                      ],
                      "others_margin": -0.044112
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.07064926624298096,
                    "model_output": 0.0706,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1564
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0505
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0275
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0143
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0117
                        }
                      ],
                      "others": -0.0181,
                      "total": 0.0706,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.654046
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.354202
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.262906
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.169733
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.141723
                        }
                      ],
                      "others_margin": -0.229174
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.2769928276538849,
                    "model_output": 0.277,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3544
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.2284
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.041
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0369
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0261
                        }
                      ],
                      "others": -0.0317,
                      "total": 0.277,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.354427
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.228369
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.041022
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.036916
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.026141
                        }
                      ],
                      "others_margin": -0.031666
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.670641899108887,
                    "model_output": 6.6706,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0839
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0514
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0211
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0177
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.014
                        }
                      ],
                      "others": -0.0298,
                      "total": 6.6706,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.083853
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.051359
                        },
                        {
                          "name": "rating",
                          "margin": -0.021076
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.01774
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.014036
                        }
                      ],
                      "others_margin": -0.02983
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 9,
                  "role_matches": 9,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0074, quality 0.574)",
              "stats": {
                "key_pass": 0.2118,
                "expected_assists": 0.015,
                "assists": 0.0212,
                "assist_rate": 0.0212,
                "expected_goals": 0.0182,
                "goals": 0.0309,
                "goal_rate": 0.0309,
                "shots_on_target": 0.0712,
                "total_shots": 0.279,
                "rating": 6.6706,
                "minutes": 14.72,
                "total_pass": 8.9534,
                "accurate_pass": 7.8397,
                "duels_won": 1.109,
                "total_long_balls": 0.6562,
                "accurate_long_balls": 0.3174,
                "total_own_half_passes": 3.5533,
                "accurate_own_half_passes": 3.2893,
                "total_opp_half_passes": 5.4001,
                "accurate_opp_half_passes": 4.5504,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.3316,
                "possession_lost": 1.8092,
                "dispossessed": 0.1208,
                "duels_lost": 1.0621,
                "aerial_won": 0.0,
                "aerial_lost": 0.1208,
                "interceptions": 0.4037,
                "tackles_won": 0.3836,
                "tackles": 0.8883,
                "clearances": 0.4884,
                "total_contest": 0.2502,
                "won_contest": 0.0536,
                "challenges_lost": 0.4496,
                "fouls": 0.1744,
                "fouls_drawn": 0.1671,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.7793,
                "total_progression": 13.9075,
                "progressive_carries": 0.2059,
                "shots_off_target": 0.2078
              },
              "params": {
                "market_value_eur": 14500000,
                "quality_factor": 0.5737,
                "boost_factor": 1.0074,
                "reference_quality": 0.505,
                "history_matches": 9,
                "history_shrink": 0.3571,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0077)",
              "stats": {
                "key_pass": 0.2118,
                "expected_assists": 0.015,
                "assists": 0.021,
                "assist_rate": 0.021,
                "expected_goals": 0.0182,
                "goals": 0.0307,
                "goal_rate": 0.0307,
                "shots_on_target": 0.0706,
                "total_shots": 0.2768,
                "rating": 6.6706,
                "minutes": 14.72,
                "total_pass": 8.9534,
                "accurate_pass": 7.8397,
                "duels_won": 1.109,
                "total_long_balls": 0.6562,
                "accurate_long_balls": 0.3174,
                "total_own_half_passes": 3.5533,
                "accurate_own_half_passes": 3.2893,
                "total_opp_half_passes": 5.4001,
                "accurate_opp_half_passes": 4.5504,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.3316,
                "possession_lost": 1.8092,
                "dispossessed": 0.1208,
                "duels_lost": 1.0621,
                "aerial_won": 0.0,
                "aerial_lost": 0.1208,
                "interceptions": 0.4031,
                "tackles_won": 0.3882,
                "tackles": 0.8883,
                "clearances": 0.4884,
                "total_contest": 0.2502,
                "won_contest": 0.0536,
                "challenges_lost": 0.4496,
                "fouls": 0.1756,
                "fouls_drawn": 0.1658,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.7793,
                "total_progression": 13.9075,
                "progressive_carries": 0.2059,
                "shots_off_target": 0.2078
              },
              "params": {
                "blend_weight": 0.0077,
                "history_matches": 9,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.1636,
                "prior_reliability": 0.0333,
                "competition": "La Liga",
                "squad": "Villarreal"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 14.7 to 23.3 expected minutes (appearance prob 0.70)",
              "stats": {
                "key_pass": 0.3177,
                "expected_assists": 0.0225,
                "assists": 0.0315,
                "assist_rate": 0.0315,
                "expected_goals": 0.0273,
                "goals": 0.0461,
                "goal_rate": 0.0461,
                "shots_on_target": 0.1059,
                "total_shots": 0.4176,
                "rating": 6.6706,
                "minutes": 23.33,
                "total_pass": 13.4301,
                "accurate_pass": 11.7595,
                "duels_won": 1.6635,
                "total_long_balls": 0.9843,
                "accurate_long_balls": 0.4761,
                "total_own_half_passes": 5.33,
                "accurate_own_half_passes": 4.9339,
                "total_opp_half_passes": 8.1001,
                "accurate_opp_half_passes": 6.8256,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 18.4974,
                "possession_lost": 2.7138,
                "dispossessed": 0.1208,
                "duels_lost": 1.5932,
                "aerial_won": 0.0,
                "aerial_lost": 0.1208,
                "interceptions": 0.6047,
                "tackles_won": 0.5823,
                "tackles": 1.3324,
                "clearances": 0.7326,
                "total_contest": 0.3753,
                "won_contest": 0.0804,
                "challenges_lost": 0.4496,
                "fouls": 0.2634,
                "fouls_drawn": 0.2487,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.669,
                "total_progression": 20.8613,
                "progressive_carries": 0.3089,
                "shots_off_target": 0.3117,
                "bench_appearance_probability": 0.703,
                "bench_expected_minutes": 23.33
              },
              "params": {
                "expected_minutes": 23.33,
                "projection_minutes": 14.72,
                "minutes_scale": 1.5,
                "appearance_probability": 0.703
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.3177,
                "expected_assists": 0.0225,
                "assists": 0.0315,
                "assist_rate": 0.0315,
                "expected_goals": 0.0273,
                "goals": 0.0461,
                "goal_rate": 0.0461,
                "shots_on_target": 0.1059,
                "total_shots": 0.4176,
                "rating": 6.6706,
                "minutes": 23.33,
                "total_pass": 13.4301,
                "accurate_pass": 11.7595,
                "duels_won": 1.6635,
                "total_long_balls": 0.9843,
                "accurate_long_balls": 0.4761,
                "total_own_half_passes": 5.33,
                "accurate_own_half_passes": 4.9339,
                "total_opp_half_passes": 8.1001,
                "accurate_opp_half_passes": 6.8256,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 18.4974,
                "possession_lost": 2.7138,
                "dispossessed": 0.1208,
                "duels_lost": 1.5932,
                "aerial_won": 0.0,
                "aerial_lost": 0.1208,
                "interceptions": 0.6047,
                "tackles_won": 0.5823,
                "tackles": 1.3324,
                "clearances": 0.7326,
                "total_contest": 0.3753,
                "won_contest": 0.0804,
                "challenges_lost": 0.4496,
                "fouls": 0.2634,
                "fouls_drawn": 0.2487,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.669,
                "total_progression": 20.8613,
                "progressive_carries": 0.3089,
                "shots_off_target": 0.3117,
                "bench_appearance_probability": 0.703,
                "bench_expected_minutes": 23.33
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.3177,
                "expected_assists": 0.0225,
                "assist_rate": 0.0315,
                "assists": 0,
                "expected_goals": 0.0273,
                "goal_rate": 0.0461,
                "goals": 0,
                "shots_on_target": 0.1059,
                "total_shots": 0.4176,
                "rating": 6.6706,
                "minutes": 23.33,
                "total_pass": 13.4301,
                "accurate_pass": 11.7595,
                "duels_won": 1.6635,
                "total_long_balls": 0.9843,
                "accurate_long_balls": 0.4761,
                "total_own_half_passes": 5.33,
                "accurate_own_half_passes": 4.9339,
                "total_opp_half_passes": 8.1001,
                "accurate_opp_half_passes": 6.8256,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 18.4974,
                "possession_lost": 2.7138,
                "dispossessed": 0.1208,
                "duels_lost": 1.5932,
                "aerial_won": 0.0,
                "aerial_lost": 0.1208,
                "interceptions": 0.6047,
                "tackles_won": 0.5823,
                "tackles": 1.3324,
                "clearances": 0.7326,
                "total_contest": 0.3753,
                "won_contest": 0.0804,
                "challenges_lost": 0.4496,
                "fouls": 0.2634,
                "fouls_drawn": 0.2487,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.669,
                "total_progression": 20.8613,
                "progressive_carries": 0.3089,
                "shots_off_target": 0.3117,
                "bench_appearance_probability": 0.703,
                "bench_expected_minutes": 23.33,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.162,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.95 (squad xG sum 1.2540, xG scale 1.5534, xA scale 1.5534, team xA 1.43 = 0.73 x lambda)",
              "stats": {
                "key_pass": 0.3177,
                "expected_assists": 0.0246,
                "assist_rate": 0.0315,
                "assists": 0,
                "expected_goals": 0.0298,
                "goal_rate": 0.0461,
                "goals": 0,
                "shots_on_target": 0.1059,
                "total_shots": 0.4176,
                "rating": 6.6706,
                "minutes": 23.33,
                "total_pass": 13.4301,
                "accurate_pass": 11.7595,
                "duels_won": 1.6635,
                "total_long_balls": 0.9843,
                "accurate_long_balls": 0.4761,
                "total_own_half_passes": 5.33,
                "accurate_own_half_passes": 4.9339,
                "total_opp_half_passes": 8.1001,
                "accurate_opp_half_passes": 6.8256,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 18.4974,
                "possession_lost": 2.7138,
                "dispossessed": 0.1208,
                "duels_lost": 1.5932,
                "aerial_won": 0.0,
                "aerial_lost": 0.1208,
                "interceptions": 0.6047,
                "tackles_won": 0.5823,
                "tackles": 1.3324,
                "clearances": 0.7326,
                "total_contest": 0.3753,
                "won_contest": 0.0804,
                "challenges_lost": 0.4496,
                "fouls": 0.2634,
                "fouls_drawn": 0.2487,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.669,
                "total_progression": 20.8613,
                "progressive_carries": 0.3089,
                "shots_off_target": 0.3117,
                "bench_appearance_probability": 0.703,
                "bench_expected_minutes": 23.33,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.162,
                "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.2432,
                "creation_factor": 1.1241
              },
              "params": {
                "team_lambda": 1.948,
                "squad_xg_sum": 1.254,
                "squad_xa_sum": 0.9174,
                "team_expected_assists": 1.4251,
                "team_xa_to_xg_ratio": 0.7316,
                "bench_appearance_weighted": true,
                "xg_scale": 1.5534,
                "xa_scale": 1.5534,
                "opponent_lambda": 0.898,
                "scoreline_reset": true,
                "appearance_weight": 0.703
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 17 by projected rating, fifa_overall 65.0)",
              "stats": {
                "key_pass": 0.3177,
                "expected_assists": 0.0246,
                "assist_rate": 0.0315,
                "assists": 0,
                "expected_goals": 0.0298,
                "goal_rate": 0.0461,
                "goals": 0,
                "shots_on_target": 0.1059,
                "total_shots": 0.4176,
                "rating": 6.6706,
                "minutes": 23.33,
                "total_pass": 13.4301,
                "accurate_pass": 11.7595,
                "duels_won": 1.6635,
                "total_long_balls": 0.9843,
                "accurate_long_balls": 0.4761,
                "total_own_half_passes": 5.33,
                "accurate_own_half_passes": 4.9339,
                "total_opp_half_passes": 8.1001,
                "accurate_opp_half_passes": 6.8256,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 18.4974,
                "possession_lost": 2.7138,
                "dispossessed": 0.1208,
                "duels_lost": 1.5932,
                "aerial_won": 0.0,
                "aerial_lost": 0.1208,
                "interceptions": 0.6047,
                "tackles_won": 0.5823,
                "tackles": 1.3324,
                "clearances": 0.7326,
                "total_contest": 0.3753,
                "won_contest": 0.0804,
                "challenges_lost": 0.4496,
                "fouls": 0.2634,
                "fouls_drawn": 0.2487,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.669,
                "total_progression": 20.8613,
                "progressive_carries": 0.3089,
                "shots_off_target": 0.3117,
                "bench_appearance_probability": 0.703,
                "bench_expected_minutes": 23.33,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.162,
                "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.2432,
                "creation_factor": 1.1241,
                "fifa_overall": 65.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 7717,
                "fifa_rank": 11804.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 65.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.3177,
                "expected_assists": 0.0246,
                "assist_rate": 0.0315,
                "assists": 0,
                "expected_goals": 0.0298,
                "goal_rate": 0.0461,
                "goals": 0,
                "shots_on_target": 0.1059,
                "total_shots": 0.4176,
                "rating": 6.6706,
                "minutes": 23.33,
                "total_pass": 13.4301,
                "accurate_pass": 11.7595,
                "duels_won": 1.6635,
                "total_long_balls": 0.9843,
                "accurate_long_balls": 0.4761,
                "total_own_half_passes": 5.33,
                "accurate_own_half_passes": 4.9339,
                "total_opp_half_passes": 8.1001,
                "accurate_opp_half_passes": 6.8256,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 18.4974,
                "possession_lost": 2.7138,
                "dispossessed": 0.1208,
                "duels_lost": 1.5932,
                "aerial_won": 0.0,
                "aerial_lost": 0.1208,
                "interceptions": 0.6047,
                "tackles_won": 0.5823,
                "tackles": 1.3324,
                "clearances": 0.7326,
                "total_contest": 0.3753,
                "won_contest": 0.0804,
                "challenges_lost": 0.4496,
                "fouls": 0.2634,
                "fouls_drawn": 0.2487,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.669,
                "total_progression": 20.8613,
                "progressive_carries": 0.3089,
                "shots_off_target": 0.3117,
                "bench_appearance_probability": 0.703,
                "bench_expected_minutes": 23.33,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.162,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0292,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2432,
                "creation_factor": 1.1241,
                "fifa_overall": 65.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0292,
                "goal_rate": 0.0461,
                "scorer_weight": 0.037,
                "squad_weight_total": 2.1033,
                "weight_share": 0.0176,
                "finishing_factor": 1.2432,
                "appearance_weight": 0.703,
                "weight_rank": 9,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ayoze Pérez",
                    "weight": 0.5937,
                    "already": 0,
                    "effective_weight": 0.5937,
                    "runner_up": "Alberto Moleiro",
                    "runner_up_effective_weight": 0.4755
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 0.3177,
                "expected_assists": 0.0246,
                "assist_rate": 0.0315,
                "assists": 0,
                "expected_goals": 0.0298,
                "goal_rate": 0.0461,
                "goals": 0,
                "shots_on_target": 0.1059,
                "total_shots": 0.4176,
                "rating": 6.6706,
                "minutes": 23.33,
                "total_pass": 13.4301,
                "accurate_pass": 11.7595,
                "duels_won": 1.6635,
                "total_long_balls": 0.9843,
                "accurate_long_balls": 0.4761,
                "total_own_half_passes": 5.33,
                "accurate_own_half_passes": 4.9339,
                "total_opp_half_passes": 8.1001,
                "accurate_opp_half_passes": 6.8256,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 18.4974,
                "possession_lost": 2.7138,
                "dispossessed": 0.1208,
                "duels_lost": 1.5932,
                "aerial_won": 0.0,
                "aerial_lost": 0.1208,
                "interceptions": 0.6047,
                "tackles_won": 0.5823,
                "tackles": 1.3324,
                "clearances": 0.7326,
                "total_contest": 0.3753,
                "won_contest": 0.0804,
                "challenges_lost": 0.4496,
                "fouls": 0.2634,
                "fouls_drawn": 0.2487,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.669,
                "total_progression": 20.8613,
                "progressive_carries": 0.3089,
                "shots_off_target": 0.3117,
                "bench_appearance_probability": 0.703,
                "bench_expected_minutes": 23.33,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.162,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0292,
                "projected_assists": 0,
                "assist_probability": 0.0242,
                "finishing_factor": 1.2432,
                "creation_factor": 1.1241,
                "fifa_overall": 65.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0242,
                "assist_rate": 0.0315,
                "provider_weight": 0.0277,
                "squad_weight_total": 1.5258,
                "weight_share": 0.0181,
                "creation_factor": 1.1241,
                "appearance_weight": 0.703,
                "weight_rank": 11,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alberto Moleiro",
                    "weight": 0.3984,
                    "already": 0,
                    "effective_weight": 0.3984,
                    "runner_up": "Ilias Akhomach",
                    "runner_up_effective_weight": 0.2463,
                    "blocked_own_goal": [
                      "Ayoze Pérez"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Nathan-Dylan Saliba": {
          "player_id": 1093229,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 24,
          "height": 173,
          "market_value": 13800000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0156,
            "assist_rate": 0.0232,
            "assists": 0,
            "expected_goals": 0.0218,
            "goal_rate": 0.0466,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7808,
            "minutes": 22,
            "total_pass": 35,
            "accurate_pass": 32,
            "duels_won": 4,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 14,
            "accurate_own_half_passes": 13,
            "total_opp_half_passes": 22,
            "accurate_opp_half_passes": 19,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 46,
            "possession_lost": 5.5302,
            "dispossessed": 0.9796,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 1,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 12,
            "total_progression": 42,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.522,
            "bench_expected_minutes": 22.48,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.162,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0214,
            "projected_assists": 0,
            "assist_probability": 0.0154,
            "finishing_factor": 1.25,
            "creation_factor": 1.0563,
            "fifa_overall": 71.0
          },
          "latest_10_games": [
            {
              "match_id": 16421066,
              "match_date": "2026-10-10",
              "home_team": "Real Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 34,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0196,
                "expected_assists": 0.0266,
                "total_shots": 1,
                "total_pass": 31,
                "accurate_pass": 28,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1143,
                "expected_assists": 0.0184,
                "total_shots": 3,
                "shots_off_target": 1,
                "total_pass": 39,
                "accurate_pass": 36,
                "tackles": 5,
                "tackles_won": 2,
                "interceptions": 3,
                "aerial_won": 1,
                "duels_won": 7,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 80,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0195,
                "total_shots": 0,
                "total_pass": 42,
                "accurate_pass": 38,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 36,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0253,
                "total_shots": 0,
                "total_pass": 37,
                "accurate_pass": 32,
                "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": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1151,
                "expected_assists": 0.1364,
                "total_shots": 1,
                "total_pass": 73,
                "accurate_pass": 67,
                "key_pass": 1,
                "tackles": 5,
                "tackles_won": 3,
                "interceptions": 3,
                "clearances": 3,
                "aerial_won": 3,
                "duels_won": 10,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4406,
            "combined_rank_score": 2430.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 4706.0,
            "fifa_overall": 71.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7808,
            "source_file": "data/player_rankings.csv",
            "player_name": "Nathan-Dylan Saliba",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Francés",
                  "ranking": 4401
                },
                {
                  "player_name": "Florin Tănase",
                  "ranking": 4402
                },
                {
                  "player_name": "Víctor García",
                  "ranking": 4403
                },
                {
                  "player_name": "Kings Kangwa",
                  "ranking": 4404
                },
                {
                  "player_name": "Soualiho Meïté",
                  "ranking": 4405
                }
              ],
              "lower": [
                {
                  "player_name": "Luca Koleosho",
                  "ranking": 4407
                },
                {
                  "player_name": "Anastasios Bakasetas",
                  "ranking": 4408
                },
                {
                  "player_name": "Rick van Drongelen",
                  "ranking": 4409
                },
                {
                  "player_name": "Rodrigo Echeverría",
                  "ranking": 4410
                },
                {
                  "player_name": "Romaine Mundle",
                  "ranking": 4411
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.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",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "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",
              "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.48122902993721,
            "bench_appearance_prob": 0.5218740468153277,
            "market_value_adjustment": 1.0091,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (5 historical appearances) to 22.5 expected mins (appearance prob 0.52)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.4152,
                "expected_assists": 0.023,
                "assists": 0.0276,
                "assist_rate": 0.0276,
                "expected_goals": 0.032,
                "goals": 0.0554,
                "goal_rate": 0.0554,
                "shots_on_target": 0.1151,
                "total_shots": 0.4219,
                "rating": 6.7808,
                "minutes": 26.96,
                "total_pass": 41.8818,
                "accurate_pass": 37.9335,
                "duels_won": 4.2264,
                "total_long_balls": 1.8463,
                "accurate_long_balls": 1.5399,
                "total_own_half_passes": 16.0435,
                "accurate_own_half_passes": 15.1747,
                "total_opp_half_passes": 25.8383,
                "accurate_opp_half_passes": 22.7588,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 54.1825,
                "possession_lost": 6.5722,
                "dispossessed": 0.9708,
                "duels_lost": 4.3788,
                "aerial_won": 0.8463,
                "aerial_lost": 0.3699,
                "interceptions": 1.1098,
                "tackles_won": 1.0755,
                "tackles": 2.0446,
                "clearances": 1.0815,
                "total_contest": 1.1544,
                "won_contest": 0.3356,
                "challenges_lost": 0.5512,
                "fouls": 1.6682,
                "fouls_drawn": 1.0,
                "blocks": 0.1408,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 14.3726,
                "total_progression": 50.3767,
                "progressive_carries": 0.7596,
                "shots_off_target": 0.3068
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-17T10:05:52.581708+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Real Madrid",
                    "minutes": 34.0,
                    "is_starting": false,
                    "weight": 0.2696,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2292,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Málaga CF",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.1948,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Real Betis",
                    "minutes": 36.0,
                    "is_starting": false,
                    "weight": 0.1656,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1408,
                    "rating": 7.7
                  }
                ],
                "feature_row": {
                  "history_matches": 5.0,
                  "is_starting_11": 0.0,
                  "totalShots": 1.098,
                  "creative_index": 0.0795,
                  "expectedGoals": 0.0477,
                  "expectedAssists": 0.0386,
                  "onTargetScoringAttempt": 0.0
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.41517218947410583,
                    "model_output": 0.4152,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.385
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0472
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0285
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0224
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": -0.0191
                        }
                      ],
                      "others": 0.0244,
                      "total": 0.4152,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.564187
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.097591
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.063844
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.053275
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": -0.047823
                        }
                      ],
                      "others_margin": 0.060847
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.02298395335674286,
                    "model_output": 0.023,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0392
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0079
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0039
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0024
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0021
                        }
                      ],
                      "others": -0.0071,
                      "total": 0.023,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.61277
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.187302
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.105856
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.072134
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.067953
                        }
                      ],
                      "others_margin": -0.269343
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.027577469125390053,
                    "model_output": 0.0276,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0208
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0118
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0049
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0034
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0026
                        }
                      ],
                      "others": -0.0161,
                      "total": 0.0276,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.273053
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.196353
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.094551
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.07115
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.058459
                        }
                      ],
                      "others_margin": -0.458117
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.03196991980075836,
                    "model_output": 0.032,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0378
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0063
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.005
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0033
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0032
                        }
                      ],
                      "others": -0.0133,
                      "total": 0.032,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.512881
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.118582
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.105534
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.07125
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.068335
                        }
                      ],
                      "others_margin": -0.347551
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.05539911985397339,
                    "model_output": 0.0554,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0281
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0084
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0075
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0064
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0044
                        }
                      ],
                      "others": -0.0132,
                      "total": 0.0554,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.338546
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.113742
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.10134
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.095308
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.066172
                        }
                      ],
                      "others_margin": -0.212965
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.11509641259908676,
                    "model_output": 0.1151,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1396
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0199
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.018
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0137
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0073
                        }
                      ],
                      "others": -0.0481,
                      "total": 0.1151,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.559853
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.112972
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.102661
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.077355
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.043764
                        }
                      ],
                      "others_margin": -0.349015
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.42186129093170166,
                    "model_output": 0.4219,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3638
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0521
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0282
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0248
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0212
                        }
                      ],
                      "others": -0.1399,
                      "total": 0.4219,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.363823
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.05215
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.028231
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.02483
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.021212
                        }
                      ],
                      "others_margin": -0.13989
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.780792236328125,
                    "model_output": 6.7808,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0971
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.071
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0298
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0241
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0174
                        }
                      ],
                      "others": -0.0231,
                      "total": 6.7808,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.097066
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.071049
                        },
                        {
                          "name": "rating",
                          "margin": -0.029811
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.024099
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.017399
                        }
                      ],
                      "others_margin": -0.023136
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 5,
                  "role_matches": 2,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0091, quality 0.566)",
              "stats": {
                "key_pass": 0.419,
                "expected_assists": 0.0232,
                "assists": 0.0278,
                "assist_rate": 0.0278,
                "expected_goals": 0.0323,
                "goals": 0.0559,
                "goal_rate": 0.0559,
                "shots_on_target": 0.1161,
                "total_shots": 0.4257,
                "rating": 6.7808,
                "minutes": 26.96,
                "total_pass": 42.2629,
                "accurate_pass": 38.2787,
                "duels_won": 4.2649,
                "total_long_balls": 1.8631,
                "accurate_long_balls": 1.5539,
                "total_own_half_passes": 16.1895,
                "accurate_own_half_passes": 15.3128,
                "total_opp_half_passes": 26.0734,
                "accurate_opp_half_passes": 22.9659,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 54.6756,
                "possession_lost": 6.632,
                "dispossessed": 0.9796,
                "duels_lost": 4.4186,
                "aerial_won": 0.854,
                "aerial_lost": 0.3733,
                "interceptions": 1.1199,
                "tackles_won": 1.0853,
                "tackles": 2.0632,
                "clearances": 1.0913,
                "total_contest": 1.1649,
                "won_contest": 0.3387,
                "challenges_lost": 0.5562,
                "fouls": 1.6834,
                "fouls_drawn": 1.0091,
                "blocks": 0.1421,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 14.5034,
                "total_progression": 50.8351,
                "progressive_carries": 0.7665,
                "shots_off_target": 0.3096
              },
              "params": {
                "market_value_eur": 13800000,
                "quality_factor": 0.566,
                "boost_factor": 1.0091,
                "reference_quality": 0.505,
                "history_matches": 5,
                "history_shrink": 0.5,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 27.0 to 22.5 expected minutes (appearance prob 0.52)",
              "stats": {
                "key_pass": 0.3494,
                "expected_assists": 0.0193,
                "assists": 0.0232,
                "assist_rate": 0.0232,
                "expected_goals": 0.0269,
                "goals": 0.0466,
                "goal_rate": 0.0466,
                "shots_on_target": 0.0968,
                "total_shots": 0.355,
                "rating": 6.7808,
                "minutes": 22.48,
                "total_pass": 35.2419,
                "accurate_pass": 31.9196,
                "duels_won": 3.5564,
                "total_long_balls": 1.5536,
                "accurate_long_balls": 1.2958,
                "total_own_half_passes": 13.5,
                "accurate_own_half_passes": 12.7689,
                "total_opp_half_passes": 21.7419,
                "accurate_opp_half_passes": 19.1507,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 45.5925,
                "possession_lost": 5.5302,
                "dispossessed": 0.9796,
                "duels_lost": 3.6846,
                "aerial_won": 0.7121,
                "aerial_lost": 0.3733,
                "interceptions": 0.9339,
                "tackles_won": 0.905,
                "tackles": 1.7204,
                "clearances": 0.91,
                "total_contest": 0.9714,
                "won_contest": 0.2824,
                "challenges_lost": 0.5562,
                "fouls": 1.4037,
                "fouls_drawn": 0.8415,
                "blocks": 0.1185,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.094,
                "total_progression": 42.39,
                "progressive_carries": 0.6392,
                "shots_off_target": 0.2582,
                "bench_appearance_probability": 0.522,
                "bench_expected_minutes": 22.48
              },
              "params": {
                "expected_minutes": 22.48,
                "projection_minutes": 26.96,
                "minutes_scale": 0.8339,
                "appearance_probability": 0.522
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.3494,
                "expected_assists": 0.0193,
                "assists": 0.0232,
                "assist_rate": 0.0232,
                "expected_goals": 0.0269,
                "goals": 0.0466,
                "goal_rate": 0.0466,
                "shots_on_target": 0.0968,
                "total_shots": 0.355,
                "rating": 6.7808,
                "minutes": 22.48,
                "total_pass": 35.2419,
                "accurate_pass": 31.9196,
                "duels_won": 3.5564,
                "total_long_balls": 1.5536,
                "accurate_long_balls": 1.2958,
                "total_own_half_passes": 13.5,
                "accurate_own_half_passes": 12.7689,
                "total_opp_half_passes": 21.7419,
                "accurate_opp_half_passes": 19.1507,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 45.5925,
                "possession_lost": 5.5302,
                "dispossessed": 0.9796,
                "duels_lost": 3.6846,
                "aerial_won": 0.7121,
                "aerial_lost": 0.3733,
                "interceptions": 0.9339,
                "tackles_won": 0.905,
                "tackles": 1.7204,
                "clearances": 0.91,
                "total_contest": 0.9714,
                "won_contest": 0.2824,
                "challenges_lost": 0.5562,
                "fouls": 1.4037,
                "fouls_drawn": 0.8415,
                "blocks": 0.1185,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.094,
                "total_progression": 42.39,
                "progressive_carries": 0.6392,
                "shots_off_target": 0.2582,
                "bench_appearance_probability": 0.522,
                "bench_expected_minutes": 22.48
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.3494,
                "expected_assists": 0.0193,
                "assist_rate": 0.0232,
                "assists": 0,
                "expected_goals": 0.0269,
                "goal_rate": 0.0466,
                "goals": 0,
                "shots_on_target": 0.0968,
                "total_shots": 0.355,
                "rating": 6.7808,
                "minutes": 22.48,
                "total_pass": 35.2419,
                "accurate_pass": 31.9196,
                "duels_won": 3.5564,
                "total_long_balls": 1.5536,
                "accurate_long_balls": 1.2958,
                "total_own_half_passes": 13.5,
                "accurate_own_half_passes": 12.7689,
                "total_opp_half_passes": 21.7419,
                "accurate_opp_half_passes": 19.1507,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 45.5925,
                "possession_lost": 5.5302,
                "dispossessed": 0.9796,
                "duels_lost": 3.6846,
                "aerial_won": 0.7121,
                "aerial_lost": 0.3733,
                "interceptions": 0.9339,
                "tackles_won": 0.905,
                "tackles": 1.7204,
                "clearances": 0.91,
                "total_contest": 0.9714,
                "won_contest": 0.2824,
                "challenges_lost": 0.5562,
                "fouls": 1.4037,
                "fouls_drawn": 0.8415,
                "blocks": 0.1185,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.094,
                "total_progression": 42.39,
                "progressive_carries": 0.6392,
                "shots_off_target": 0.2582,
                "bench_appearance_probability": 0.522,
                "bench_expected_minutes": 22.48,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.162,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.95 (squad xG sum 1.2540, xG scale 1.5534, xA scale 1.5534, team xA 1.43 = 0.73 x lambda)",
              "stats": {
                "key_pass": 0.3494,
                "expected_assists": 0.0156,
                "assist_rate": 0.0232,
                "assists": 0,
                "expected_goals": 0.0218,
                "goal_rate": 0.0466,
                "goals": 0,
                "shots_on_target": 0.0968,
                "total_shots": 0.355,
                "rating": 6.7808,
                "minutes": 22.48,
                "total_pass": 35.2419,
                "accurate_pass": 31.9196,
                "duels_won": 3.5564,
                "total_long_balls": 1.5536,
                "accurate_long_balls": 1.2958,
                "total_own_half_passes": 13.5,
                "accurate_own_half_passes": 12.7689,
                "total_opp_half_passes": 21.7419,
                "accurate_opp_half_passes": 19.1507,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 45.5925,
                "possession_lost": 5.5302,
                "dispossessed": 0.9796,
                "duels_lost": 3.6846,
                "aerial_won": 0.7121,
                "aerial_lost": 0.3733,
                "interceptions": 0.9339,
                "tackles_won": 0.905,
                "tackles": 1.7204,
                "clearances": 0.91,
                "total_contest": 0.9714,
                "won_contest": 0.2824,
                "challenges_lost": 0.5562,
                "fouls": 1.4037,
                "fouls_drawn": 0.8415,
                "blocks": 0.1185,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.094,
                "total_progression": 42.39,
                "progressive_carries": 0.6392,
                "shots_off_target": 0.2582,
                "bench_appearance_probability": 0.522,
                "bench_expected_minutes": 22.48,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.162,
                "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.25,
                "creation_factor": 1.0563
              },
              "params": {
                "team_lambda": 1.948,
                "squad_xg_sum": 1.254,
                "squad_xa_sum": 0.9174,
                "team_expected_assists": 1.4251,
                "team_xa_to_xg_ratio": 0.7316,
                "bench_appearance_weighted": true,
                "xg_scale": 1.5534,
                "xa_scale": 1.5534,
                "opponent_lambda": 0.898,
                "scoreline_reset": true,
                "appearance_weight": 0.522
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0269,
                  "after": 0.0218
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 14 by projected rating, fifa_overall 71.0)",
              "stats": {
                "key_pass": 0.3494,
                "expected_assists": 0.0156,
                "assist_rate": 0.0232,
                "assists": 0,
                "expected_goals": 0.0218,
                "goal_rate": 0.0466,
                "goals": 0,
                "shots_on_target": 0.0968,
                "total_shots": 0.355,
                "rating": 6.7808,
                "minutes": 22.48,
                "total_pass": 35.2419,
                "accurate_pass": 31.9196,
                "duels_won": 3.5564,
                "total_long_balls": 1.5536,
                "accurate_long_balls": 1.2958,
                "total_own_half_passes": 13.5,
                "accurate_own_half_passes": 12.7689,
                "total_opp_half_passes": 21.7419,
                "accurate_opp_half_passes": 19.1507,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 45.5925,
                "possession_lost": 5.5302,
                "dispossessed": 0.9796,
                "duels_lost": 3.6846,
                "aerial_won": 0.7121,
                "aerial_lost": 0.3733,
                "interceptions": 0.9339,
                "tackles_won": 0.905,
                "tackles": 1.7204,
                "clearances": 0.91,
                "total_contest": 0.9714,
                "won_contest": 0.2824,
                "challenges_lost": 0.5562,
                "fouls": 1.4037,
                "fouls_drawn": 0.8415,
                "blocks": 0.1185,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.094,
                "total_progression": 42.39,
                "progressive_carries": 0.6392,
                "shots_off_target": 0.2582,
                "bench_appearance_probability": 0.522,
                "bench_expected_minutes": 22.48,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.162,
                "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.25,
                "creation_factor": 1.0563,
                "fifa_overall": 71.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": 4406,
                "fifa_rank": 4706.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 71.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.3494,
                "expected_assists": 0.0156,
                "assist_rate": 0.0232,
                "assists": 0,
                "expected_goals": 0.0218,
                "goal_rate": 0.0466,
                "goals": 0,
                "shots_on_target": 0.0968,
                "total_shots": 0.355,
                "rating": 6.7808,
                "minutes": 22.48,
                "total_pass": 35.2419,
                "accurate_pass": 31.9196,
                "duels_won": 3.5564,
                "total_long_balls": 1.5536,
                "accurate_long_balls": 1.2958,
                "total_own_half_passes": 13.5,
                "accurate_own_half_passes": 12.7689,
                "total_opp_half_passes": 21.7419,
                "accurate_opp_half_passes": 19.1507,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 45.5925,
                "possession_lost": 5.5302,
                "dispossessed": 0.9796,
                "duels_lost": 3.6846,
                "aerial_won": 0.7121,
                "aerial_lost": 0.3733,
                "interceptions": 0.9339,
                "tackles_won": 0.905,
                "tackles": 1.7204,
                "clearances": 0.91,
                "total_contest": 0.9714,
                "won_contest": 0.2824,
                "challenges_lost": 0.5562,
                "fouls": 1.4037,
                "fouls_drawn": 0.8415,
                "blocks": 0.1185,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.094,
                "total_progression": 42.39,
                "progressive_carries": 0.6392,
                "shots_off_target": 0.2582,
                "bench_appearance_probability": 0.522,
                "bench_expected_minutes": 22.48,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.162,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0214,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.0563,
                "fifa_overall": 71.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0214,
                "goal_rate": 0.0466,
                "scorer_weight": 0.0272,
                "squad_weight_total": 2.1033,
                "weight_share": 0.013,
                "finishing_factor": 1.25,
                "appearance_weight": 0.522,
                "weight_rank": 11,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ayoze Pérez",
                    "weight": 0.5937,
                    "already": 0,
                    "effective_weight": 0.5937,
                    "runner_up": "Alberto Moleiro",
                    "runner_up_effective_weight": 0.4755
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 0.3494,
                "expected_assists": 0.0156,
                "assist_rate": 0.0232,
                "assists": 0,
                "expected_goals": 0.0218,
                "goal_rate": 0.0466,
                "goals": 0,
                "shots_on_target": 0.0968,
                "total_shots": 0.355,
                "rating": 6.7808,
                "minutes": 22.48,
                "total_pass": 35.2419,
                "accurate_pass": 31.9196,
                "duels_won": 3.5564,
                "total_long_balls": 1.5536,
                "accurate_long_balls": 1.2958,
                "total_own_half_passes": 13.5,
                "accurate_own_half_passes": 12.7689,
                "total_opp_half_passes": 21.7419,
                "accurate_opp_half_passes": 19.1507,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 45.5925,
                "possession_lost": 5.5302,
                "dispossessed": 0.9796,
                "duels_lost": 3.6846,
                "aerial_won": 0.7121,
                "aerial_lost": 0.3733,
                "interceptions": 0.9339,
                "tackles_won": 0.905,
                "tackles": 1.7204,
                "clearances": 0.91,
                "total_contest": 0.9714,
                "won_contest": 0.2824,
                "challenges_lost": 0.5562,
                "fouls": 1.4037,
                "fouls_drawn": 0.8415,
                "blocks": 0.1185,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 12.094,
                "total_progression": 42.39,
                "progressive_carries": 0.6392,
                "shots_off_target": 0.2582,
                "bench_appearance_probability": 0.522,
                "bench_expected_minutes": 22.48,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.162,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0214,
                "projected_assists": 0,
                "assist_probability": 0.0154,
                "finishing_factor": 1.25,
                "creation_factor": 1.0563,
                "fifa_overall": 71.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0154,
                "assist_rate": 0.0232,
                "provider_weight": 0.0165,
                "squad_weight_total": 1.5258,
                "weight_share": 0.0108,
                "creation_factor": 1.0563,
                "appearance_weight": 0.522,
                "weight_rank": 12,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alberto Moleiro",
                    "weight": 0.3984,
                    "already": 0,
                    "effective_weight": 0.3984,
                    "runner_up": "Ilias Akhomach",
                    "runner_up_effective_weight": 0.2463,
                    "blocked_own_goal": [
                      "Ayoze Pérez"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 1,
        "expected_goals": 1.95,
        "expected_assists": 1.43,
        "total_shots": 14,
        "shots_on_target": 3,
        "total_passes": 491,
        "interceptions": 8,
        "tackles": 16,
        "avg_rating": 6.96,
        "possession_estimated_pct": 52.4,
        "pressing_actions_per_90": 7.1
      }
    },
    "Elche": {
      "formation": "4-2-3-1",
      "players": {
        "Matías Dituro": {
          "player_id": 556884,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 1,
          "height": 191,
          "market_value": 105000,
          "stats": {
            "saves": 3,
            "goals_prevented": -0.1245,
            "rating": 7.0409,
            "minutes": 90,
            "total_pass": 52,
            "accurate_pass": 36,
            "total_long_balls": 26,
            "accurate_long_balls": 11,
            "touches": 61,
            "clearances": 1,
            "ball_recovery": 9,
            "high_claims": 1,
            "punches": 1.0871,
            "aerial_won": 0,
            "sweeper_actions": 1,
            "sweeper_accurate": 1,
            "saves_inside_box": 2,
            "possession_lost": 15.7327,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 32,
            "accurate_own_half_passes": 29,
            "gk_engine_opponent_lambda": 1.8387,
            "shots_faced": 18.5,
            "expected_saves": 4.53,
            "high_pressure_saves": 1.56,
            "opponent_faced": "Ayoze Pérez, Alberto Moleiro",
            "matchup_zone": "Goalkeeper shot-stopping context",
            "antagonist_source": "defensive_duel",
            "goals": 0,
            "projected_goals": 0,
            "goal_probability": 0.0,
            "assists": 0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "finishing_factor": 1.0,
            "creation_factor": 1.0,
            "expected_goals": 0.0,
            "expected_assists": 0.0,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 16421058,
              "match_date": "2026-10-11",
              "home_team": "Elche",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0019,
                "total_shots": 0,
                "total_pass": 67,
                "accurate_pass": 61,
                "ball_recovery": 7
              },
              "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": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0017,
                "total_shots": 0,
                "total_pass": 55,
                "accurate_pass": 15,
                "clearances": 4,
                "ball_recovery": 10,
                "saves": 4,
                "goals_prevented": -0.5233
              },
              "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": 16416342,
              "match_date": "2026-09-15",
              "home_team": "Elche",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 51,
                "accurate_pass": 43,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 9,
                "saves": 2,
                "goals_prevented": -0.909
              },
              "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,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0011,
                "total_shots": 0,
                "total_pass": 46,
                "accurate_pass": 26,
                "clearances": 1,
                "ball_recovery": 6,
                "saves": 2,
                "goals_prevented": 0.5991
              },
              "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": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 5.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0042,
                "total_shots": 0,
                "total_pass": 41,
                "accurate_pass": 32,
                "clearances": 1,
                "ball_recovery": 7,
                "saves": 3,
                "goals_prevented": -1.4831
              },
              "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": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0035,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 25,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 11,
                "saves": 3,
                "goals_prevented": -0.816
              },
              "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": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 5.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0022,
                "total_shots": 0,
                "total_pass": 52,
                "accurate_pass": 34,
                "ball_recovery": 10,
                "saves": 2,
                "goals_prevented": -0.6783
              },
              "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": 16421050,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0014,
                "total_shots": 0,
                "total_pass": 56,
                "accurate_pass": 40,
                "ball_recovery": 6,
                "saves": 2,
                "goals_prevented": -0.7246
              },
              "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": 14083743,
              "match_date": "2026-05-23",
              "home_team": "Girona FC",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0085,
                "total_shots": 0,
                "total_pass": 53,
                "accurate_pass": 32,
                "ball_recovery": 10,
                "saves": 6,
                "goals_prevented": 0.6775
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083671,
              "match_date": "2026-05-17",
              "home_team": "Elche",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0054,
                "total_shots": 0,
                "total_pass": 49,
                "accurate_pass": 39,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 10
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3074,
            "combined_rank_score": 1043.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 134.0,
            "sofascore_rating": 7.3636,
            "sofascore_appearances": 22.0,
            "fifa_rank": 1952.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0409,
            "source_file": "data/player_rankings.csv",
            "player_name": "Matías Dituro",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Arnaud Kalimuendo",
                  "ranking": 3069
                },
                {
                  "player_name": "Karl Darlow",
                  "ranking": 3070
                },
                {
                  "player_name": "Habib Diarra",
                  "ranking": 3071
                },
                {
                  "player_name": "Jaidon Anthony",
                  "ranking": 3072
                },
                {
                  "player_name": "Alex Arce",
                  "ranking": 3073
                }
              ],
              "lower": [
                {
                  "player_name": "Liam Delap",
                  "ranking": 3075
                },
                {
                  "player_name": "Leopold Querfeld",
                  "ranking": 3076
                },
                {
                  "player_name": "Daizen Maeda",
                  "ranking": 3077
                },
                {
                  "player_name": "Javi Galán",
                  "ranking": 3078
                },
                {
                  "player_name": "Matt O'Riley",
                  "ranking": 3079
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 30,
          "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",
              "passValueNormalized",
              "defensiveValueNormalized",
              "goalkeeperValueNormalized",
              "goalsPrevented",
              "rating",
              "pass_accuracy",
              "long_ball_accuracy",
              "save_contribution",
              "inside_box_save_rate",
              "sweeper_accuracy",
              "sweeper_actions_p90",
              "distribution_accuracy",
              "commanding_index",
              "history_matches"
            ],
            "targets_predicted": [
              "saves",
              "goalsPrevented",
              "rating"
            ],
            "history_matches": 30,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9971,
            "fbref_prior_metrics": {
              "squad": "Elche",
              "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 30 historical appearances across 3 target models; FBref 2026-2027 prior blended (La Liga, Elche, rel: 0.20, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 2.8962,
                "goals_prevented": -0.1249,
                "rating": 7.0409,
                "minutes": 90.0,
                "total_pass": 51.7043,
                "accurate_pass": 36.2767,
                "total_long_balls": 25.9602,
                "accurate_long_balls": 11.107,
                "touches": 60.9537,
                "clearances": 0.9664,
                "ball_recovery": 8.7628,
                "high_claims": 1.2232,
                "punches": 1.0903,
                "aerial_won": 0.3138,
                "sweeper_actions": 0.8656,
                "sweeper_accurate": 0.8232,
                "saves_inside_box": 1.5216,
                "possession_lost": 15.7785,
                "duels_won": 0.3573,
                "duels_lost": 0.2237,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0547,
                "total_own_half_passes": 31.8864,
                "accurate_own_half_passes": 29.5163
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-17T10:04:09.876591+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 200,
                    "rows": 7041
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1512,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1285,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1092,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0928,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0789,
                    "rating": 5.8
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0671,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.057,
                    "rating": 5.7
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0485,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0412,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.035,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "accurateLongBalls": 11.107,
                  "save_contribution": 1.9932,
                  "distribution_accuracy": 0.8998,
                  "accurateOwnHalfPasses": 29.5163,
                  "passValueNormalized": 0.1131,
                  "totalOwnHalfPasses": 31.8864
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.8962438106536865,
                    "model_output": 2.8962,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.0393
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.039
                      },
                      {
                        "name": "saves",
                        "importance": 0.0355
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0354
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 2.941,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0542
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": 0.0345
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0173
                        },
                        {
                          "name": "save_contribution",
                          "contribution": 0.0158
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0127
                        }
                      ],
                      "others": -0.0455,
                      "total": 2.8962,
                      "log_link": true,
                      "margin_base": 1.078763,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": -0.018611
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": 0.011864
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.00589
                        },
                        {
                          "name": "save_contribution",
                          "margin": 0.005367
                        },
                        {
                          "name": "touches",
                          "margin": -0.004325
                        }
                      ],
                      "others_margin": -0.015532
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": -0.12489785999059677,
                    "model_output": -0.1249,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.0405
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.0401
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0394
                      },
                      {
                        "name": "totalOwnHalfPasses",
                        "importance": 0.0381
                      },
                      {
                        "name": "punches",
                        "importance": 0.0363
                      }
                    ],
                    "decomposition": {
                      "base": -0.0281,
                      "items": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.045
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "contribution": -0.0254
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": -0.0166
                        },
                        {
                          "name": "commanding_index",
                          "contribution": -0.0157
                        },
                        {
                          "name": "save_contribution",
                          "contribution": 0.0129
                        }
                      ],
                      "others": -0.007,
                      "total": -0.1249,
                      "log_link": false,
                      "margin_base": -0.028113,
                      "item_margins": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.044996
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "margin": -0.025359
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "margin": -0.016646
                        },
                        {
                          "name": "commanding_index",
                          "margin": -0.015729
                        },
                        {
                          "name": "save_contribution",
                          "margin": 0.01287
                        }
                      ],
                      "others_margin": -0.006925
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.040867328643799,
                    "model_output": 7.0409,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0379
                      },
                      {
                        "name": "commanding_index",
                        "importance": 0.0375
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.037
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0354
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 6.9974,
                      "items": [
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0465
                        },
                        {
                          "name": "saves",
                          "contribution": 0.0232
                        },
                        {
                          "name": "goalsPrevented",
                          "contribution": -0.0204
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.0187
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0161
                        }
                      ],
                      "others": -0.0032,
                      "total": 7.0409,
                      "log_link": false,
                      "margin_base": 6.997403,
                      "item_margins": [
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.046532
                        },
                        {
                          "name": "saves",
                          "margin": 0.023237
                        },
                        {
                          "name": "goalsPrevented",
                          "margin": -0.020419
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.018744
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.016109
                        }
                      ],
                      "others_margin": -0.00325
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 30,
                  "role_matches": 30,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9971, quality 0.437)",
              "stats": {
                "saves": 2.8878,
                "goals_prevented": -0.1245,
                "rating": 7.0409,
                "minutes": 90.0,
                "total_pass": 51.5544,
                "accurate_pass": 36.1715,
                "total_long_balls": 25.8849,
                "accurate_long_balls": 11.0748,
                "touches": 60.7769,
                "clearances": 0.9636,
                "ball_recovery": 8.7374,
                "high_claims": 1.2197,
                "punches": 1.0871,
                "aerial_won": 0.3129,
                "sweeper_actions": 0.8631,
                "sweeper_accurate": 0.8208,
                "saves_inside_box": 1.5172,
                "possession_lost": 15.7327,
                "duels_won": 0.3563,
                "duels_lost": 0.2231,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0545,
                "total_own_half_passes": 31.7939,
                "accurate_own_half_passes": 29.4307
              },
              "params": {
                "market_value_eur": 105000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9971,
                "reference_quality": 0.505,
                "history_matches": 30,
                "history_shrink": 0.1429,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0186)",
              "stats": {
                "saves": 2.8775,
                "goals_prevented": -0.1245,
                "rating": 7.0409,
                "minutes": 90.0,
                "total_pass": 51.5544,
                "accurate_pass": 36.1715,
                "total_long_balls": 25.8849,
                "accurate_long_balls": 11.0748,
                "touches": 60.7769,
                "clearances": 0.9636,
                "ball_recovery": 8.7374,
                "high_claims": 1.2197,
                "punches": 1.0871,
                "aerial_won": 0.3129,
                "sweeper_actions": 0.8631,
                "sweeper_accurate": 0.8208,
                "saves_inside_box": 1.5172,
                "possession_lost": 15.7327,
                "duels_won": 0.3563,
                "duels_lost": 0.2231,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0535,
                "total_own_half_passes": 31.7939,
                "accurate_own_half_passes": 29.4307
              },
              "params": {
                "blend_weight": 0.0186,
                "history_matches": 30,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 1.0,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Elche"
              },
              "changes": [
                {
                  "stat": "saves",
                  "before": 2.8878,
                  "after": 2.8775
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 2.8775,
                "goals_prevented": -0.1245,
                "rating": 7.0409,
                "minutes": 90.0,
                "total_pass": 51.5544,
                "accurate_pass": 36.1715,
                "total_long_balls": 25.8849,
                "accurate_long_balls": 11.0748,
                "touches": 60.7769,
                "clearances": 0.9636,
                "ball_recovery": 8.7374,
                "high_claims": 1.2197,
                "punches": 1.0871,
                "aerial_won": 0.3129,
                "sweeper_actions": 0.8631,
                "sweeper_accurate": 0.8208,
                "saves_inside_box": 1.5172,
                "possession_lost": 15.7327,
                "duels_won": 0.3563,
                "duels_lost": 0.2231,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0535,
                "total_own_half_passes": 31.7939,
                "accurate_own_half_passes": 29.4307
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "saves": 2.8775,
                "goals_prevented": -0.1245,
                "rating": 7.0409,
                "minutes": 90.0,
                "total_pass": 51.5544,
                "accurate_pass": 36.1715,
                "total_long_balls": 25.8849,
                "accurate_long_balls": 11.0748,
                "touches": 60.7769,
                "clearances": 0.9636,
                "ball_recovery": 8.7374,
                "high_claims": 1.2197,
                "punches": 1.0871,
                "aerial_won": 0.3129,
                "sweeper_actions": 0.8631,
                "sweeper_accurate": 0.8208,
                "saves_inside_box": 1.5172,
                "possession_lost": 15.7327,
                "duels_won": 0.3563,
                "duels_lost": 0.2231,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0535,
                "total_own_half_passes": 31.7939,
                "accurate_own_half_passes": 29.4307,
                "gk_engine_opponent_lambda": 1.8387,
                "shots_faced": 17.5,
                "expected_saves": 4.29,
                "high_pressure_saves": 1.47,
                "opponent_faced": "Ayoze Pérez, Alberto Moleiro",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Ayoze Pérez, Alberto Moleiro",
                  "matchup_zone": "Goalkeeper shot-stopping context",
                  "opponent_lambda": 1.8387
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "saves": 2.8775,
                "goals_prevented": -0.1245,
                "rating": 7.0409,
                "minutes": 90.0,
                "total_pass": 51.5544,
                "accurate_pass": 36.1715,
                "total_long_balls": 25.8849,
                "accurate_long_balls": 11.0748,
                "touches": 60.7769,
                "clearances": 0.9636,
                "ball_recovery": 8.7374,
                "high_claims": 1.2197,
                "punches": 1.0871,
                "aerial_won": 0.3129,
                "sweeper_actions": 0.8631,
                "sweeper_accurate": 0.8208,
                "saves_inside_box": 1.5172,
                "possession_lost": 15.7327,
                "duels_won": 0.3563,
                "duels_lost": 0.2231,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0535,
                "total_own_half_passes": 31.7939,
                "accurate_own_half_passes": 29.4307,
                "gk_engine_opponent_lambda": 1.8387,
                "shots_faced": 17.5,
                "expected_saves": 4.29,
                "high_pressure_saves": 1.47,
                "opponent_faced": "Ayoze Pérez, Alberto Moleiro",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "defensive_duel",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.90 (squad xG sum 0.8976, xG scale 1.0004, xA scale 0.8162, team xA 0.72 = 0.80 x lambda)",
              "stats": {
                "saves": 2.8775,
                "goals_prevented": -0.1245,
                "rating": 7.0409,
                "minutes": 90.0,
                "total_pass": 51.5544,
                "accurate_pass": 36.1715,
                "total_long_balls": 25.8849,
                "accurate_long_balls": 11.0748,
                "touches": 60.7769,
                "clearances": 0.9636,
                "ball_recovery": 8.7374,
                "high_claims": 1.2197,
                "punches": 1.0871,
                "aerial_won": 0.3129,
                "sweeper_actions": 0.8631,
                "sweeper_accurate": 0.8208,
                "saves_inside_box": 1.5172,
                "possession_lost": 15.7327,
                "duels_won": 0.3563,
                "duels_lost": 0.2231,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0535,
                "total_own_half_passes": 31.7939,
                "accurate_own_half_passes": 29.4307,
                "gk_engine_opponent_lambda": 1.8387,
                "shots_faced": 18.5,
                "expected_saves": 4.53,
                "high_pressure_saves": 1.56,
                "opponent_faced": "Ayoze Pérez, Alberto Moleiro",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "defensive_duel",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0
              },
              "params": {
                "team_lambda": 0.898,
                "squad_xg_sum": 0.8976,
                "squad_xa_sum": 0.8802,
                "team_expected_assists": 0.7184,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0004,
                "xa_scale": 0.8162,
                "opponent_lambda": 1.948,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "shots_faced",
                  "before": 17.5,
                  "after": 18.5
                },
                {
                  "stat": "expected_saves",
                  "before": 4.29,
                  "after": 4.53
                },
                {
                  "stat": "high_pressure_saves",
                  "before": 1.47,
                  "after": 1.56
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 2 by projected rating, fifa_overall 76.0)",
              "stats": {
                "saves": 2.8775,
                "goals_prevented": -0.1245,
                "rating": 7.0409,
                "minutes": 90.0,
                "total_pass": 51.5544,
                "accurate_pass": 36.1715,
                "total_long_balls": 25.8849,
                "accurate_long_balls": 11.0748,
                "touches": 60.7769,
                "clearances": 0.9636,
                "ball_recovery": 8.7374,
                "high_claims": 1.2197,
                "punches": 1.0871,
                "aerial_won": 0.3129,
                "sweeper_actions": 0.8631,
                "sweeper_accurate": 0.8208,
                "saves_inside_box": 1.5172,
                "possession_lost": 15.7327,
                "duels_won": 0.3563,
                "duels_lost": 0.2231,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0535,
                "total_own_half_passes": 31.7939,
                "accurate_own_half_passes": 29.4307,
                "gk_engine_opponent_lambda": 1.8387,
                "shots_faced": 18.5,
                "expected_saves": 4.53,
                "high_pressure_saves": 1.56,
                "opponent_faced": "Ayoze Pérez, Alberto Moleiro",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "defensive_duel",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 76.0
              },
              "params": {
                "match_squad_rank": 2,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3074,
                "fifa_rank": 1952.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 76.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "saves": 2.8775,
                "goals_prevented": -0.1245,
                "rating": 7.0409,
                "minutes": 90.0,
                "total_pass": 51.5544,
                "accurate_pass": 36.1715,
                "total_long_balls": 25.8849,
                "accurate_long_balls": 11.0748,
                "touches": 60.7769,
                "clearances": 0.9636,
                "ball_recovery": 8.7374,
                "high_claims": 1.2197,
                "punches": 1.0871,
                "aerial_won": 0.3129,
                "sweeper_actions": 0.8631,
                "sweeper_accurate": 0.8208,
                "saves_inside_box": 1.5172,
                "possession_lost": 15.7327,
                "duels_won": 0.3563,
                "duels_lost": 0.2231,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0535,
                "total_own_half_passes": 31.7939,
                "accurate_own_half_passes": 29.4307,
                "gk_engine_opponent_lambda": 1.8387,
                "shots_faced": 18.5,
                "expected_saves": 4.53,
                "high_pressure_saves": 1.56,
                "opponent_faced": "Ayoze Pérez, Alberto Moleiro",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "defensive_duel",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 1.0138,
                "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": 2.8775,
                "goals_prevented": -0.1245,
                "rating": 7.0409,
                "minutes": 90.0,
                "total_pass": 51.5544,
                "accurate_pass": 36.1715,
                "total_long_balls": 25.8849,
                "accurate_long_balls": 11.0748,
                "touches": 60.7769,
                "clearances": 0.9636,
                "ball_recovery": 8.7374,
                "high_claims": 1.2197,
                "punches": 1.0871,
                "aerial_won": 0.3129,
                "sweeper_actions": 0.8631,
                "sweeper_accurate": 0.8208,
                "saves_inside_box": 1.5172,
                "possession_lost": 15.7327,
                "duels_won": 0.3563,
                "duels_lost": 0.2231,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0535,
                "total_own_half_passes": 31.7939,
                "accurate_own_half_passes": 29.4307,
                "gk_engine_opponent_lambda": 1.8387,
                "shots_faced": 18.5,
                "expected_saves": 4.53,
                "high_pressure_saves": 1.56,
                "opponent_faced": "Ayoze Pérez, Alberto Moleiro",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "defensive_duel",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 0.7026,
                "weight_share": 0.0,
                "creation_factor": 1.0,
                "appearance_weight": 1.0
              }
            }
          ]
        },
        "Buba Sangaré": {
          "player_id": 1542721,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 2,
          "height": 184,
          "market_value": 4900000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.5799,
            "minutes": 72,
            "total_pass": 23,
            "accurate_pass": 19,
            "duels_won": 3,
            "total_long_balls": 2,
            "accurate_long_balls": 0,
            "total_own_half_passes": 10,
            "accurate_own_half_passes": 9,
            "total_opp_half_passes": 13,
            "accurate_opp_half_passes": 10,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 38,
            "possession_lost": 7.7027,
            "dispossessed": 0.3753,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.0905,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0053,
            "expected_assists": 0.0146,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0129,
            "ball_carries": 8,
            "total_progression": 39,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.9,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.776,
            "opponent_faced": "Tani Oluwaseyi",
            "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.0053,
            "projected_assists": 0,
            "assist_probability": 0.0145,
            "finishing_factor": 1.25,
            "creation_factor": 0.8,
            "fifa_overall": 69.0
          },
          "latest_10_games": [
            {
              "match_id": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 37,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416342,
              "match_date": "2026-09-15",
              "home_team": "Elche",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 68,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0596,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 17,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "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": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0122,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 11,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 7,
                "aerial_won": 1,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 81,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0106,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 23,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 3,
                "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": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 84,
                "rating": 6.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0427,
                "expected_assists": 0.0113,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 35,
                "accurate_pass": 31,
                "tackles": 4,
                "tackles_won": 4,
                "clearances": 2,
                "duels_won": 6,
                "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": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 4.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0147,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 19,
                "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": 16421050,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0151,
                "total_shots": 0,
                "total_pass": 44,
                "accurate_pass": 41,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083743,
              "match_date": "2026-05-23",
              "home_team": "Girona FC",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 45,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0463,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 12,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083671,
              "match_date": "2026-05-17",
              "home_team": "Elche",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Getafe",
              "stats": {
                "minutes": 11,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083608,
              "match_date": "2026-05-12",
              "home_team": "Real Betis",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 81,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0056,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 26,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 5655,
            "combined_rank_score": 3928.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 882.0,
            "sofascore_rating": 6.5417,
            "sofascore_appearances": 12.0,
            "fifa_rank": 6975.0,
            "fifa_overall": 69.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.5799,
            "source_file": "data/player_rankings.csv",
            "player_name": "Buba Sangare",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Denis Drăguş",
                  "ranking": 5650
                },
                {
                  "player_name": "Noé Lebreton",
                  "ranking": 5651
                },
                {
                  "player_name": "Lucas Rosa",
                  "ranking": 5652
                },
                {
                  "player_name": "Ethan Horvath",
                  "ranking": 5653
                },
                {
                  "player_name": "Stije Resink",
                  "ranking": 5654
                }
              ],
              "lower": [
                {
                  "player_name": "Krystof Daněk",
                  "ranking": 5656
                },
                {
                  "player_name": "Oleksandr Svatok",
                  "ranking": 5657
                },
                {
                  "player_name": "Dimitar Mitov",
                  "ranking": 5658
                },
                {
                  "player_name": "Víctor Dávila",
                  "ranking": 5659
                },
                {
                  "player_name": "Ulrik Saltnes",
                  "ranking": 5660
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.779,
          "history_matches": 19,
          "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",
              "totalTackle",
              "totalShots",
              "rating",
              "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": 19,
            "data_confidence": 0.779,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9972,
            "fbref_prior_metrics": {
              "squad": "Elche",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 263.0,
              "goals_per90": 0.3448275862068966,
              "assists_per90": 0.0,
              "shots_per90": 0.34,
              "shots_on_target_pct": 100.0,
              "prior_reliability": 0.1933
            },
            "rationale": "XGBoost regressor (D_service) evaluated 19 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Elche, rel: 0.19, gls/90: 0.3448275862068966, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.6755,
                "tackles": 1.6453,
                "tackles_won": 1.1209,
                "clearances": 2.2996,
                "aerial_won": 0.6656,
                "total_shots": 0.3377,
                "rating": 6.5799,
                "minutes": 72.5,
                "total_pass": 23.1432,
                "accurate_pass": 19.0935,
                "duels_won": 3.0134,
                "total_long_balls": 1.8422,
                "accurate_long_balls": 0.3856,
                "total_own_half_passes": 10.5295,
                "accurate_own_half_passes": 9.1697,
                "total_opp_half_passes": 12.6137,
                "accurate_opp_half_passes": 9.9238,
                "crosses_total": 1.1552,
                "crosses_accurate": 0.1924,
                "touches": 38.5287,
                "possession_lost": 7.7243,
                "dispossessed": 0.3764,
                "duels_lost": 3.1445,
                "aerial_lost": 0.5133,
                "total_contest": 1.1782,
                "won_contest": 0.2827,
                "ball_recovery": 1.3582,
                "challenges_lost": 0.111,
                "fouls": 1.3378,
                "fouls_drawn": 0.5966,
                "blocks": 0.1341,
                "goals": 0.0858,
                "goal_rate": 0.0858,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0053,
                "expected_assists": 0.018,
                "shots_on_target": 0.0858,
                "big_chances_created": 0.0234,
                "xgot": 0.0129,
                "ball_carries": 8.1656,
                "total_progression": 39.1674,
                "progressive_carries": 1.215,
                "key_pass": 0.264,
                "shots_off_target": 0.2519
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:05:00.533351+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Espanyol",
                    "minutes": 37.0,
                    "is_starting": true,
                    "weight": 0.1572,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Real Madrid",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.1336,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1136,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Real Sociedad",
                    "minutes": 81.0,
                    "is_starting": true,
                    "weight": 0.0965,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Real Racing Club",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.082,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0697,
                    "rating": 4.8
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0593,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Girona FC",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0504,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Getafe",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.0428,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Real Betis",
                    "minutes": 81.0,
                    "is_starting": true,
                    "weight": 0.0364,
                    "rating": 6.0
                  }
                ],
                "feature_row": {
                  "history_matches": 19.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 1.9145,
                  "aerialWon": 0.422,
                  "totalClearance_p90": 2.3363,
                  "totalTackle": 1.6169,
                  "defensive_actions": 2.1177
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.6754652261734009,
                    "model_output": 0.6755,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "interceptionWon",
                          "contribution": -0.108
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0914
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0409
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0312
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0261
                        }
                      ],
                      "others": -0.0706,
                      "total": 0.6755,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "interceptionWon",
                          "margin": -0.134014
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.114597
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.049612
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.039649
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.034406
                        }
                      ],
                      "others_margin": -0.099462
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.6453243494033813,
                    "model_output": 1.6453,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1895
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0934
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0682
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0678
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0451
                        }
                      ],
                      "others": 0.0668,
                      "total": 1.6453,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.127682
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.060881
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.044822
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.042662
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.028191
                        }
                      ],
                      "others_margin": 0.041457
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.120919108390808,
                    "model_output": 1.1209,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.123
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0541
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0536
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.049
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.044
                        }
                      ],
                      "others": 0.0512,
                      "total": 1.1209,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.134527
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.056905
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.056391
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.048956
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.042033
                        }
                      ],
                      "others_margin": 0.046776
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.299590826034546,
                    "model_output": 2.2996,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.5928
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4036
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.2743
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.2443
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1603
                        }
                      ],
                      "others": -0.265,
                      "total": 2.2996,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.189584
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.132894
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.088358
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.085855
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.060644
                        }
                      ],
                      "others_margin": -0.109078
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.6655684113502502,
                    "model_output": 0.6656,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.4917
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.103
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0966
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0735
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0444
                        }
                      ],
                      "others": -0.0957,
                      "total": 0.6656,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.441661
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.123631
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.116422
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.087258
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.056623
                        }
                      ],
                      "others_margin": -0.134498
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.3377203047275543,
                    "model_output": 0.3377,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1104
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0437
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0338
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0106
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.009
                        }
                      ],
                      "others": -0.0347,
                      "total": 0.3377,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.110354
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.0437
                        },
                        {
                          "name": "rating",
                          "margin": -0.033774
                        },
                        {
                          "name": "duelWon",
                          "margin": -0.010552
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.009046
                        }
                      ],
                      "others_margin": -0.034845
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.579860687255859,
                    "model_output": 6.5799,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": -0.0401
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0356
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.019
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0171
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0143
                        }
                      ],
                      "others": -0.0787,
                      "total": 6.5799,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": -0.040062
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.03557
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.018993
                        },
                        {
                          "name": "rating",
                          "margin": -0.017057
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.014279
                        }
                      ],
                      "others_margin": -0.078882
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 19,
                  "role_matches": 15,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9972, quality 0.461)",
              "stats": {
                "interceptions": 0.6736,
                "tackles": 1.6407,
                "tackles_won": 1.1178,
                "clearances": 2.2932,
                "aerial_won": 0.6637,
                "total_shots": 0.3368,
                "rating": 6.5799,
                "minutes": 72.5,
                "total_pass": 23.0784,
                "accurate_pass": 19.04,
                "duels_won": 3.005,
                "total_long_balls": 1.837,
                "accurate_long_balls": 0.3845,
                "total_own_half_passes": 10.5,
                "accurate_own_half_passes": 9.144,
                "total_opp_half_passes": 12.5784,
                "accurate_opp_half_passes": 9.896,
                "crosses_total": 1.152,
                "crosses_accurate": 0.1919,
                "touches": 38.4208,
                "possession_lost": 7.7027,
                "dispossessed": 0.3753,
                "duels_lost": 3.1357,
                "aerial_lost": 0.5119,
                "total_contest": 1.1749,
                "won_contest": 0.2819,
                "ball_recovery": 1.3544,
                "challenges_lost": 0.1107,
                "fouls": 1.3341,
                "fouls_drawn": 0.5949,
                "blocks": 0.1337,
                "goals": 0.0856,
                "goal_rate": 0.0856,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0053,
                "expected_assists": 0.0179,
                "shots_on_target": 0.0856,
                "big_chances_created": 0.0233,
                "xgot": 0.0129,
                "ball_carries": 8.1427,
                "total_progression": 39.0577,
                "progressive_carries": 1.2116,
                "key_pass": 0.2633,
                "shots_off_target": 0.2512
              },
              "params": {
                "market_value_eur": 4900000,
                "quality_factor": 0.4609,
                "boost_factor": 0.9972,
                "reference_quality": 0.505,
                "history_matches": 19,
                "history_shrink": 0.2083,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0262)",
              "stats": {
                "interceptions": 0.6632,
                "tackles": 1.6407,
                "tackles_won": 1.1322,
                "clearances": 2.2932,
                "aerial_won": 0.6637,
                "total_shots": 0.3352,
                "rating": 6.5799,
                "minutes": 72.5,
                "total_pass": 23.0784,
                "accurate_pass": 19.04,
                "duels_won": 3.005,
                "total_long_balls": 1.837,
                "accurate_long_balls": 0.3845,
                "total_own_half_passes": 10.5,
                "accurate_own_half_passes": 9.144,
                "total_opp_half_passes": 12.5784,
                "accurate_opp_half_passes": 9.896,
                "crosses_total": 1.1364,
                "crosses_accurate": 0.1919,
                "touches": 38.4208,
                "possession_lost": 7.7027,
                "dispossessed": 0.3753,
                "duels_lost": 3.1357,
                "aerial_lost": 0.5119,
                "total_contest": 1.1749,
                "won_contest": 0.2819,
                "ball_recovery": 1.3544,
                "challenges_lost": 0.1107,
                "fouls": 1.3355,
                "fouls_drawn": 0.5939,
                "blocks": 0.1337,
                "goals": 0.0906,
                "goal_rate": 0.0906,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0053,
                "expected_assists": 0.0179,
                "shots_on_target": 0.0905,
                "big_chances_created": 0.0233,
                "xgot": 0.0129,
                "ball_carries": 8.1427,
                "total_progression": 39.0577,
                "progressive_carries": 1.2116,
                "key_pass": 0.2633,
                "shots_off_target": 0.2512
              },
              "params": {
                "blend_weight": 0.0262,
                "history_matches": 19,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8056,
                "prior_reliability": 0.1933,
                "competition": "La Liga",
                "squad": "Elche"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 1.152,
                  "after": 1.1364
                },
                {
                  "stat": "wonTackle",
                  "before": 1.1178,
                  "after": 1.1322
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.6736,
                  "after": 0.6632
                },
                {
                  "stat": "goals",
                  "before": 0.0856,
                  "after": 0.0906
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.6632,
                "tackles": 1.6407,
                "tackles_won": 1.1322,
                "clearances": 2.2932,
                "aerial_won": 0.6637,
                "total_shots": 0.3417,
                "rating": 6.5799,
                "minutes": 72.5,
                "total_pass": 23.0784,
                "accurate_pass": 19.04,
                "duels_won": 3.005,
                "total_long_balls": 1.837,
                "accurate_long_balls": 0.3845,
                "total_own_half_passes": 10.5,
                "accurate_own_half_passes": 9.144,
                "total_opp_half_passes": 12.5784,
                "accurate_opp_half_passes": 9.896,
                "crosses_total": 1.1364,
                "crosses_accurate": 0.1919,
                "touches": 38.4208,
                "possession_lost": 7.7027,
                "dispossessed": 0.3753,
                "duels_lost": 3.1357,
                "aerial_lost": 0.5119,
                "total_contest": 1.1749,
                "won_contest": 0.2819,
                "ball_recovery": 1.3544,
                "challenges_lost": 0.1107,
                "fouls": 1.3355,
                "fouls_drawn": 0.5939,
                "blocks": 0.1337,
                "goals": 0.0905,
                "goal_rate": 0.0905,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0053,
                "expected_assists": 0.0179,
                "shots_on_target": 0.0905,
                "big_chances_created": 0.0233,
                "xgot": 0.0129,
                "ball_carries": 8.1427,
                "total_progression": 39.0577,
                "progressive_carries": 1.2116,
                "key_pass": 0.2633,
                "shots_off_target": 0.2512
              },
              "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": 0.6632,
                "tackles": 1.6407,
                "tackles_won": 1.1322,
                "clearances": 2.2932,
                "aerial_won": 0.6637,
                "total_shots": 0.3417,
                "rating": 6.5799,
                "minutes": 72.5,
                "total_pass": 23.0784,
                "accurate_pass": 19.04,
                "duels_won": 3.005,
                "total_long_balls": 1.837,
                "accurate_long_balls": 0.3845,
                "total_own_half_passes": 10.5,
                "accurate_own_half_passes": 9.144,
                "total_opp_half_passes": 12.5784,
                "accurate_opp_half_passes": 9.896,
                "crosses_total": 1.1364,
                "crosses_accurate": 0.1919,
                "touches": 38.4208,
                "possession_lost": 7.7027,
                "dispossessed": 0.3753,
                "duels_lost": 3.1357,
                "aerial_lost": 0.5119,
                "total_contest": 1.1749,
                "won_contest": 0.2819,
                "ball_recovery": 1.3544,
                "challenges_lost": 0.1107,
                "fouls": 1.3355,
                "fouls_drawn": 0.5939,
                "blocks": 0.1337,
                "goals": 0.0905,
                "goal_rate": 0.0905,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0053,
                "expected_assists": 0.0179,
                "shots_on_target": 0.0905,
                "big_chances_created": 0.0233,
                "xgot": 0.0129,
                "ball_carries": 8.1427,
                "total_progression": 39.0577,
                "progressive_carries": 1.2116,
                "key_pass": 0.2633,
                "shots_off_target": 0.2512,
                "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.776,
                "opponent_faced": "Tani Oluwaseyi",
                "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": "Tani Oluwaseyi",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 0.6632,
                "tackles": 1.6407,
                "tackles_won": 1.1322,
                "clearances": 2.2932,
                "aerial_won": 0.6637,
                "total_shots": 0.3417,
                "rating": 6.5799,
                "minutes": 72.5,
                "total_pass": 23.0784,
                "accurate_pass": 19.04,
                "duels_won": 3.005,
                "total_long_balls": 1.837,
                "accurate_long_balls": 0.3845,
                "total_own_half_passes": 10.5,
                "accurate_own_half_passes": 9.144,
                "total_opp_half_passes": 12.5784,
                "accurate_opp_half_passes": 9.896,
                "crosses_total": 1.1364,
                "crosses_accurate": 0.1919,
                "touches": 38.4208,
                "possession_lost": 7.7027,
                "dispossessed": 0.3753,
                "duels_lost": 3.1357,
                "aerial_lost": 0.5119,
                "total_contest": 1.1749,
                "won_contest": 0.2819,
                "ball_recovery": 1.3544,
                "challenges_lost": 0.1107,
                "fouls": 1.3355,
                "fouls_drawn": 0.5939,
                "blocks": 0.1337,
                "goal_rate": 0.0905,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0053,
                "expected_assists": 0.0179,
                "shots_on_target": 0.0905,
                "big_chances_created": 0.0233,
                "xgot": 0.0129,
                "ball_carries": 8.1427,
                "total_progression": 39.0577,
                "progressive_carries": 1.2116,
                "key_pass": 0.2633,
                "shots_off_target": 0.2512,
                "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.776,
                "opponent_faced": "Tani Oluwaseyi",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.90 (squad xG sum 0.8976, xG scale 1.0004, xA scale 0.8162, team xA 0.72 = 0.80 x lambda)",
              "stats": {
                "interceptions": 0.6632,
                "tackles": 1.6407,
                "tackles_won": 1.1322,
                "clearances": 2.2932,
                "aerial_won": 0.6637,
                "total_shots": 0.3417,
                "rating": 6.5799,
                "minutes": 72.5,
                "total_pass": 23.0784,
                "accurate_pass": 19.04,
                "duels_won": 3.005,
                "total_long_balls": 1.837,
                "accurate_long_balls": 0.3845,
                "total_own_half_passes": 10.5,
                "accurate_own_half_passes": 9.144,
                "total_opp_half_passes": 12.5784,
                "accurate_opp_half_passes": 9.896,
                "crosses_total": 1.1364,
                "crosses_accurate": 0.1919,
                "touches": 38.4208,
                "possession_lost": 7.7027,
                "dispossessed": 0.3753,
                "duels_lost": 3.1357,
                "aerial_lost": 0.5119,
                "total_contest": 1.1749,
                "won_contest": 0.2819,
                "ball_recovery": 1.3544,
                "challenges_lost": 0.1107,
                "fouls": 1.3355,
                "fouls_drawn": 0.5939,
                "blocks": 0.1337,
                "goal_rate": 0.0905,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0053,
                "expected_assists": 0.0146,
                "shots_on_target": 0.0905,
                "big_chances_created": 0.0233,
                "xgot": 0.0129,
                "ball_carries": 8.1427,
                "total_progression": 39.0577,
                "progressive_carries": 1.2116,
                "key_pass": 0.2633,
                "shots_off_target": 0.2512,
                "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.776,
                "opponent_faced": "Tani Oluwaseyi",
                "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.8
              },
              "params": {
                "team_lambda": 0.898,
                "squad_xg_sum": 0.8976,
                "squad_xa_sum": 0.8802,
                "team_expected_assists": 0.7184,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0004,
                "xa_scale": 0.8162,
                "opponent_lambda": 1.948,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 18 by projected rating, fifa_overall 69.0)",
              "stats": {
                "interceptions": 0.6632,
                "tackles": 1.6407,
                "tackles_won": 1.1322,
                "clearances": 2.2932,
                "aerial_won": 0.6637,
                "total_shots": 0.3417,
                "rating": 6.5799,
                "minutes": 72.5,
                "total_pass": 23.0784,
                "accurate_pass": 19.04,
                "duels_won": 3.005,
                "total_long_balls": 1.837,
                "accurate_long_balls": 0.3845,
                "total_own_half_passes": 10.5,
                "accurate_own_half_passes": 9.144,
                "total_opp_half_passes": 12.5784,
                "accurate_opp_half_passes": 9.896,
                "crosses_total": 1.1364,
                "crosses_accurate": 0.1919,
                "touches": 38.4208,
                "possession_lost": 7.7027,
                "dispossessed": 0.3753,
                "duels_lost": 3.1357,
                "aerial_lost": 0.5119,
                "total_contest": 1.1749,
                "won_contest": 0.2819,
                "ball_recovery": 1.3544,
                "challenges_lost": 0.1107,
                "fouls": 1.3355,
                "fouls_drawn": 0.5939,
                "blocks": 0.1337,
                "goal_rate": 0.0905,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0053,
                "expected_assists": 0.0146,
                "shots_on_target": 0.0905,
                "big_chances_created": 0.0233,
                "xgot": 0.0129,
                "ball_carries": 8.1427,
                "total_progression": 39.0577,
                "progressive_carries": 1.2116,
                "key_pass": 0.2633,
                "shots_off_target": 0.2512,
                "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.776,
                "opponent_faced": "Tani Oluwaseyi",
                "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.8,
                "fifa_overall": 69.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5655,
                "fifa_rank": 6975.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 69.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 0.6632,
                "tackles": 1.6407,
                "tackles_won": 1.1322,
                "clearances": 2.2932,
                "aerial_won": 0.6637,
                "total_shots": 0.3417,
                "rating": 6.5799,
                "minutes": 72.5,
                "total_pass": 23.0784,
                "accurate_pass": 19.04,
                "duels_won": 3.005,
                "total_long_balls": 1.837,
                "accurate_long_balls": 0.3845,
                "total_own_half_passes": 10.5,
                "accurate_own_half_passes": 9.144,
                "total_opp_half_passes": 12.5784,
                "accurate_opp_half_passes": 9.896,
                "crosses_total": 1.1364,
                "crosses_accurate": 0.1919,
                "touches": 38.4208,
                "possession_lost": 7.7027,
                "dispossessed": 0.3753,
                "duels_lost": 3.1357,
                "aerial_lost": 0.5119,
                "total_contest": 1.1749,
                "won_contest": 0.2819,
                "ball_recovery": 1.3544,
                "challenges_lost": 0.1107,
                "fouls": 1.3355,
                "fouls_drawn": 0.5939,
                "blocks": 0.1337,
                "goal_rate": 0.0905,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0053,
                "expected_assists": 0.0146,
                "shots_on_target": 0.0905,
                "big_chances_created": 0.0233,
                "xgot": 0.0129,
                "ball_carries": 8.1427,
                "total_progression": 39.0577,
                "progressive_carries": 1.2116,
                "key_pass": 0.2633,
                "shots_off_target": 0.2512,
                "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.776,
                "opponent_faced": "Tani Oluwaseyi",
                "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.0053,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 69.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0053,
                "goal_rate": 0.0905,
                "scorer_weight": 0.0066,
                "squad_weight_total": 1.0138,
                "weight_share": 0.0065,
                "finishing_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 13,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 0.6632,
                "tackles": 1.6407,
                "tackles_won": 1.1322,
                "clearances": 2.2932,
                "aerial_won": 0.6637,
                "total_shots": 0.3417,
                "rating": 6.5799,
                "minutes": 72.5,
                "total_pass": 23.0784,
                "accurate_pass": 19.04,
                "duels_won": 3.005,
                "total_long_balls": 1.837,
                "accurate_long_balls": 0.3845,
                "total_own_half_passes": 10.5,
                "accurate_own_half_passes": 9.144,
                "total_opp_half_passes": 12.5784,
                "accurate_opp_half_passes": 9.896,
                "crosses_total": 1.1364,
                "crosses_accurate": 0.1919,
                "touches": 38.4208,
                "possession_lost": 7.7027,
                "dispossessed": 0.3753,
                "duels_lost": 3.1357,
                "aerial_lost": 0.5119,
                "total_contest": 1.1749,
                "won_contest": 0.2819,
                "ball_recovery": 1.3544,
                "challenges_lost": 0.1107,
                "fouls": 1.3355,
                "fouls_drawn": 0.5939,
                "blocks": 0.1337,
                "goal_rate": 0.0905,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0053,
                "expected_assists": 0.0146,
                "shots_on_target": 0.0905,
                "big_chances_created": 0.0233,
                "xgot": 0.0129,
                "ball_carries": 8.1427,
                "total_progression": 39.0577,
                "progressive_carries": 1.2116,
                "key_pass": 0.2633,
                "shots_off_target": 0.2512,
                "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.776,
                "opponent_faced": "Tani Oluwaseyi",
                "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.0053,
                "projected_assists": 0,
                "assist_probability": 0.0145,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 69.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0145,
                "assist_rate": 0.0,
                "provider_weight": 0.0117,
                "squad_weight_total": 0.7026,
                "weight_share": 0.0166,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 13
              }
            }
          ]
        },
        "Javi Morcillo": {
          "player_id": 1832076,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 47,
          "height": 183,
          "market_value": 2100000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0232,
            "assist_rate": 0.0362,
            "assists": 0,
            "expected_goals": 0.0217,
            "goal_rate": 0.032,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7471,
            "minutes": 86,
            "total_pass": 39,
            "accurate_pass": 37,
            "duels_won": 3,
            "total_long_balls": 2,
            "accurate_long_balls": 2,
            "total_own_half_passes": 28,
            "accurate_own_half_passes": 27,
            "total_opp_half_passes": 12,
            "accurate_opp_half_passes": 10,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 48,
            "possession_lost": 3.3487,
            "dispossessed": 0.1936,
            "duels_lost": 2,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 2,
            "tackles": 2,
            "clearances": 3,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0126,
            "ball_carries": 8,
            "total_progression": 16,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "duel_xg_multiplier": 0.7385,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.4,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.222,
            "pressing_faced": "HIGH",
            "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Pape Gueye",
            "opponent_faced": "Pape Gueye",
            "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0215,
            "projected_assists": 0,
            "assist_probability": 0.0229,
            "finishing_factor": 1.1437,
            "creation_factor": 1.0995,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16421058,
              "match_date": "2026-10-11",
              "home_team": "Elche",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0051,
                "total_shots": 0,
                "total_pass": 73,
                "accurate_pass": 71,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0183,
                "expected_assists": 0.0008,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 22,
                "accurate_pass": 19,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 7,
                "aerial_won": 1,
                "duels_won": 2,
                "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,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 19,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 2,
                "clearances": 2,
                "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": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0184,
                "total_shots": 0,
                "total_pass": 43,
                "accurate_pass": 40,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 6
              },
              "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": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 28,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0059,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 17,
                "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": 16421050,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 9,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0008,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 8,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "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": 14083735,
              "match_date": "2026-05-24",
              "home_team": "Villarreal",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 29,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0195,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 17,
                "interceptions": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083661,
              "match_date": "2026-05-17",
              "home_team": "Atlético Madrid",
              "away_team": "Girona FC",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 29,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0013,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 9,
                "tackles": 2,
                "tackles_won": 2,
                "aerial_won": 1,
                "duels_won": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083476,
              "match_date": "2026-05-02",
              "home_team": "Valencia",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Valencia",
              "stats": {
                "minutes": 63,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2496,
                "expected_assists": 0.0066,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 27,
                "accurate_pass": 24,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083161,
              "match_date": "2026-04-11",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 19,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0035,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 11,
                "interceptions": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 1378,
            "combined_rank_score": 713.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 578.0,
            "sofascore_rating": 6.8,
            "sofascore_appearances": 1.0,
            "fifa_rank": 848.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7471,
            "source_file": "data/player_rankings.csv",
            "player_name": "Javi Morcillo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Kyeong-jae Kim",
                  "ranking": 1373
                },
                {
                  "player_name": "Jung-min Lee",
                  "ranking": 1374
                },
                {
                  "player_name": "Rafa Garrido",
                  "ranking": 1375
                },
                {
                  "player_name": "Rodrigo Mendoza",
                  "ranking": 1376
                },
                {
                  "player_name": "Peque Fernández",
                  "ranking": 1377
                }
              ],
              "lower": [
                {
                  "player_name": "Luis Pacheco",
                  "ranking": 1379
                },
                {
                  "player_name": "Fredy Noguera",
                  "ranking": 1380
                },
                {
                  "player_name": "Guillermo Varela",
                  "ranking": 1381
                },
                {
                  "player_name": "Christian Alemán",
                  "ranking": 1382
                },
                {
                  "player_name": "Alisher Khayrullaev",
                  "ranking": 1383
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.754,
          "history_matches": 11,
          "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",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "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",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 11,
            "data_confidence": 0.754,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9937,
            "fbref_prior_metrics": {
              "squad": "Elche",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 0.0,
              "minutes": 39.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.0267
            },
            "rationale": "XGBoost regressor (M_service) evaluated 11 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Elche, rel: 0.03, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.4519,
                "expected_assists": 0.0285,
                "assists": 0.0367,
                "assist_rate": 0.0367,
                "expected_goals": 0.0296,
                "goals": 0.0438,
                "goal_rate": 0.0438,
                "shots_on_target": 0.122,
                "total_shots": 0.5212,
                "rating": 6.7471,
                "minutes": 86.14,
                "total_pass": 39.5433,
                "accurate_pass": 37.2026,
                "duels_won": 2.696,
                "total_long_balls": 2.2269,
                "accurate_long_balls": 1.6913,
                "total_own_half_passes": 27.8915,
                "accurate_own_half_passes": 26.7164,
                "total_opp_half_passes": 11.6518,
                "accurate_opp_half_passes": 10.4862,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 48.5444,
                "possession_lost": 3.3699,
                "dispossessed": 0.1948,
                "duels_lost": 2.1003,
                "aerial_won": 0.8052,
                "aerial_lost": 0.5355,
                "interceptions": 1.4488,
                "tackles_won": 1.5552,
                "tackles": 1.8908,
                "clearances": 2.6067,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5107,
                "fouls": 0.8592,
                "fouls_drawn": 0.0,
                "blocks": 0.3699,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0171,
                "ball_carries": 8.3452,
                "total_progression": 16.1432,
                "progressive_carries": 0.0,
                "shots_off_target": 0.3992
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-17T10:05:52.581708+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1801,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1531,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1302,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1106,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Real Racing Club",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.094,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.0799,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Villarreal",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.0679,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Girona FC",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.0578,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Valencia",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.0491,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "Sevilla",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.0417,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 11.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.2513,
                  "creative_index": 0.0843,
                  "expectedGoals": 0.0151,
                  "expectedAssists": 0.0058,
                  "onTargetScoringAttempt": 0.1531
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.4519224762916565,
                    "model_output": 0.4519,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1325
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.1278
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.1035
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0877
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0388
                        }
                      ],
                      "others": -0.2158,
                      "total": 0.4519,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.138349
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.133092
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.122514
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.117032
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.056455
                        }
                      ],
                      "others_margin": -0.390312
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.02853538654744625,
                    "model_output": 0.0285,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0178
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0136
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0084
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0074
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0044
                        }
                      ],
                      "others": -0.0203,
                      "total": 0.0285,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.232341
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.224383
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.16871
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.148884
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.087383
                        }
                      ],
                      "others_margin": -0.535076
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.03666730225086212,
                    "model_output": 0.0367,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0178
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0126
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0054
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0044
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0043
                        }
                      ],
                      "others": -0.0148,
                      "total": 0.0367,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.228118
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.199549
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.09897
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.081835
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.080766
                        }
                      ],
                      "others_margin": -0.341228
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.029613835737109184,
                    "model_output": 0.0296,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0359
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0115
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0068
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0054
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0042
                        }
                      ],
                      "others": -0.0117,
                      "total": 0.0296,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.479927
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.218928
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.156798
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.12584
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.09747
                        }
                      ],
                      "others_margin": -0.330906
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.043820496648550034,
                    "model_output": 0.0438,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0188
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0123
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0082
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0066
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0059
                        }
                      ],
                      "others": -0.014,
                      "total": 0.0438,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.213426
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.169116
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.130937
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.118961
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.107595
                        }
                      ],
                      "others_margin": -0.277861
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.12202902883291245,
                    "model_output": 0.122,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.082
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0464
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0357
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0208
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0206
                        }
                      ],
                      "others": -0.0394,
                      "total": 0.122,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.290207
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.211256
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.199528
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.138121
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.13645
                        }
                      ],
                      "others_margin": -0.279147
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.521205484867096,
                    "model_output": 0.5212,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.259
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1146
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0602
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0438
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0357
                        }
                      ],
                      "others": -0.1902,
                      "total": 0.5212,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.258975
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.114634
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.060152
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.043785
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.035661
                        }
                      ],
                      "others_margin": -0.19039
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.747067451477051,
                    "model_output": 6.7471,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0359
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0344
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0277
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0264
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0083
                        }
                      ],
                      "others": -0.0287,
                      "total": 6.7471,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.035941
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.034403
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.027713
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.026358
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.008325
                        }
                      ],
                      "others_margin": -0.028676
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 11,
                  "role_matches": 5,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9937, quality 0.437)",
              "stats": {
                "key_pass": 0.4491,
                "expected_assists": 0.0284,
                "assists": 0.0364,
                "assist_rate": 0.0364,
                "expected_goals": 0.0294,
                "goals": 0.0435,
                "goal_rate": 0.0435,
                "shots_on_target": 0.1213,
                "total_shots": 0.518,
                "rating": 6.7471,
                "minutes": 86.14,
                "total_pass": 39.2942,
                "accurate_pass": 36.9682,
                "duels_won": 2.679,
                "total_long_balls": 2.2129,
                "accurate_long_balls": 1.6806,
                "total_own_half_passes": 27.7158,
                "accurate_own_half_passes": 26.5481,
                "total_opp_half_passes": 11.5784,
                "accurate_opp_half_passes": 10.4201,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 48.2386,
                "possession_lost": 3.3487,
                "dispossessed": 0.1936,
                "duels_lost": 2.0871,
                "aerial_won": 0.8001,
                "aerial_lost": 0.5321,
                "interceptions": 1.4397,
                "tackles_won": 1.5454,
                "tackles": 1.8789,
                "clearances": 2.5903,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5075,
                "fouls": 0.8538,
                "fouls_drawn": 0.0,
                "blocks": 0.3676,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.017,
                "ball_carries": 8.2926,
                "total_progression": 16.0415,
                "progressive_carries": 0.0,
                "shots_off_target": 0.3967
              },
              "params": {
                "market_value_eur": 2100000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9937,
                "reference_quality": 0.505,
                "history_matches": 11,
                "history_shrink": 0.3125,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0054)",
              "stats": {
                "key_pass": 0.4491,
                "expected_assists": 0.0284,
                "assists": 0.0362,
                "assist_rate": 0.0362,
                "expected_goals": 0.0294,
                "goals": 0.0433,
                "goal_rate": 0.0433,
                "shots_on_target": 0.1206,
                "total_shots": 0.5152,
                "rating": 6.7471,
                "minutes": 86.14,
                "total_pass": 39.2942,
                "accurate_pass": 36.9682,
                "duels_won": 2.679,
                "total_long_balls": 2.2129,
                "accurate_long_balls": 1.6806,
                "total_own_half_passes": 27.7158,
                "accurate_own_half_passes": 26.5481,
                "total_opp_half_passes": 11.5784,
                "accurate_opp_half_passes": 10.4201,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 48.2386,
                "possession_lost": 3.3487,
                "dispossessed": 0.1936,
                "duels_lost": 2.0871,
                "aerial_won": 0.8001,
                "aerial_lost": 0.5321,
                "interceptions": 1.4319,
                "tackles_won": 1.55,
                "tackles": 1.8789,
                "clearances": 2.5903,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5075,
                "fouls": 0.8621,
                "fouls_drawn": 0.0,
                "blocks": 0.3676,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.017,
                "ball_carries": 8.2926,
                "total_progression": 16.0415,
                "progressive_carries": 0.0,
                "shots_off_target": 0.3967
              },
              "params": {
                "blend_weight": 0.0054,
                "history_matches": 11,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9571,
                "prior_reliability": 0.0267,
                "competition": "La Liga",
                "squad": "Elche"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.8538,
                  "after": 0.8621
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.4397,
                  "after": 1.4319
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.4491,
                "expected_assists": 0.0284,
                "assists": 0.0362,
                "assist_rate": 0.0362,
                "expected_goals": 0.0294,
                "goals": 0.0433,
                "goal_rate": 0.0433,
                "shots_on_target": 0.1206,
                "total_shots": 0.5173,
                "rating": 6.7471,
                "minutes": 86.14,
                "total_pass": 39.2942,
                "accurate_pass": 36.9682,
                "duels_won": 2.679,
                "total_long_balls": 2.2129,
                "accurate_long_balls": 1.6806,
                "total_own_half_passes": 27.7158,
                "accurate_own_half_passes": 26.5481,
                "total_opp_half_passes": 11.5784,
                "accurate_opp_half_passes": 10.4201,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 48.2386,
                "possession_lost": 3.3487,
                "dispossessed": 0.1936,
                "duels_lost": 2.0871,
                "aerial_won": 0.8001,
                "aerial_lost": 0.5321,
                "interceptions": 1.4319,
                "tackles_won": 1.55,
                "tackles": 1.8789,
                "clearances": 2.5903,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5075,
                "fouls": 0.8621,
                "fouls_drawn": 0.0,
                "blocks": 0.3676,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.017,
                "ball_carries": 8.2926,
                "total_progression": 16.0415,
                "progressive_carries": 0.0,
                "shots_off_target": 0.3967
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 0.4491,
                "expected_assists": 0.0284,
                "assists": 0.0362,
                "assist_rate": 0.0362,
                "expected_goals": 0.0217,
                "goals": 0.032,
                "goal_rate": 0.032,
                "shots_on_target": 0.0891,
                "total_shots": 0.3821,
                "rating": 6.7471,
                "minutes": 86.14,
                "total_pass": 39.2942,
                "accurate_pass": 36.9682,
                "duels_won": 2.679,
                "total_long_balls": 2.2129,
                "accurate_long_balls": 1.6806,
                "total_own_half_passes": 27.7158,
                "accurate_own_half_passes": 26.5481,
                "total_opp_half_passes": 11.5784,
                "accurate_opp_half_passes": 10.4201,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 48.2386,
                "possession_lost": 3.3487,
                "dispossessed": 0.1936,
                "duels_lost": 2.0871,
                "aerial_won": 1.1,
                "aerial_lost": 0.5321,
                "interceptions": 1.4319,
                "tackles_won": 1.55,
                "tackles": 1.8789,
                "clearances": 2.5903,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5075,
                "fouls": 0.8621,
                "fouls_drawn": 0.0,
                "blocks": 0.3676,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0126,
                "ball_carries": 8.2926,
                "total_progression": 16.0415,
                "progressive_carries": 0.0,
                "shots_off_target": 0.293,
                "duel_xg_multiplier": 0.7385,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.222,
                "pressing_faced": "HIGH",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pape Gueye",
                "opponent_faced": "Pape Gueye",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pape Gueye",
                  "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                  "duel_win_rate": 0.222,
                  "pressing_faced": "HIGH",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.7385,
                  "skill_edge": -0.1619,
                  "height_edge": -0.016,
                  "attacker_skill": 0.4374,
                  "defender_skill": 0.7972,
                  "attacker_role": "CDM",
                  "attacker_mv_price_index": 0.85,
                  "defender_adjusted_parts": [
                    {
                      "player": "Pape Gueye",
                      "market_value": 39000000,
                      "role": "CM",
                      "price_index": 0.9,
                      "adjusted_quality": 0.7972
                    }
                  ],
                  "xg_override": 0.0217
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.8001,
                  "after": 1.1
                },
                {
                  "stat": "totalShots",
                  "before": 0.5173,
                  "after": 0.3821
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.3967,
                  "after": 0.293
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1206,
                  "after": 0.0891
                },
                {
                  "stat": "goals",
                  "before": 0.0433,
                  "after": 0.032
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.0294,
                  "after": 0.0217
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.4491,
                "expected_assists": 0.0284,
                "assist_rate": 0.0362,
                "assists": 0,
                "expected_goals": 0.0217,
                "goal_rate": 0.032,
                "goals": 0,
                "shots_on_target": 0.0891,
                "total_shots": 0.3821,
                "rating": 6.7471,
                "minutes": 86.14,
                "total_pass": 39.2942,
                "accurate_pass": 36.9682,
                "duels_won": 2.679,
                "total_long_balls": 2.2129,
                "accurate_long_balls": 1.6806,
                "total_own_half_passes": 27.7158,
                "accurate_own_half_passes": 26.5481,
                "total_opp_half_passes": 11.5784,
                "accurate_opp_half_passes": 10.4201,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 48.2386,
                "possession_lost": 3.3487,
                "dispossessed": 0.1936,
                "duels_lost": 2.0871,
                "aerial_won": 1.1,
                "aerial_lost": 0.5321,
                "interceptions": 1.4319,
                "tackles_won": 1.55,
                "tackles": 1.8789,
                "clearances": 2.5903,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5075,
                "fouls": 0.8621,
                "fouls_drawn": 0.0,
                "blocks": 0.3676,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0126,
                "ball_carries": 8.2926,
                "total_progression": 16.0415,
                "progressive_carries": 0.0,
                "shots_off_target": 0.293,
                "duel_xg_multiplier": 0.7385,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.222,
                "pressing_faced": "HIGH",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pape Gueye",
                "opponent_faced": "Pape Gueye",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.90 (squad xG sum 0.8976, xG scale 1.0004, xA scale 0.8162, team xA 0.72 = 0.80 x lambda)",
              "stats": {
                "key_pass": 0.4491,
                "expected_assists": 0.0232,
                "assist_rate": 0.0362,
                "assists": 0,
                "expected_goals": 0.0217,
                "goal_rate": 0.032,
                "goals": 0,
                "shots_on_target": 0.0891,
                "total_shots": 0.3821,
                "rating": 6.7471,
                "minutes": 86.14,
                "total_pass": 39.2942,
                "accurate_pass": 36.9682,
                "duels_won": 2.679,
                "total_long_balls": 2.2129,
                "accurate_long_balls": 1.6806,
                "total_own_half_passes": 27.7158,
                "accurate_own_half_passes": 26.5481,
                "total_opp_half_passes": 11.5784,
                "accurate_opp_half_passes": 10.4201,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 48.2386,
                "possession_lost": 3.3487,
                "dispossessed": 0.1936,
                "duels_lost": 2.0871,
                "aerial_won": 1.1,
                "aerial_lost": 0.5321,
                "interceptions": 1.4319,
                "tackles_won": 1.55,
                "tackles": 1.8789,
                "clearances": 2.5903,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5075,
                "fouls": 0.8621,
                "fouls_drawn": 0.0,
                "blocks": 0.3676,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0126,
                "ball_carries": 8.2926,
                "total_progression": 16.0415,
                "progressive_carries": 0.0,
                "shots_off_target": 0.293,
                "duel_xg_multiplier": 0.7385,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.222,
                "pressing_faced": "HIGH",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pape Gueye",
                "opponent_faced": "Pape Gueye",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1437,
                "creation_factor": 1.0995
              },
              "params": {
                "team_lambda": 0.898,
                "squad_xg_sum": 0.8976,
                "squad_xa_sum": 0.8802,
                "team_expected_assists": 0.7184,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0004,
                "xa_scale": 0.8162,
                "opponent_lambda": 1.948,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0284,
                  "after": 0.0232
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 13 by projected rating, fifa_overall 79.0)",
              "stats": {
                "key_pass": 0.4491,
                "expected_assists": 0.0232,
                "assist_rate": 0.0362,
                "assists": 0,
                "expected_goals": 0.0217,
                "goal_rate": 0.032,
                "goals": 0,
                "shots_on_target": 0.0891,
                "total_shots": 0.3821,
                "rating": 6.7471,
                "minutes": 86.14,
                "total_pass": 39.2942,
                "accurate_pass": 36.9682,
                "duels_won": 2.679,
                "total_long_balls": 2.2129,
                "accurate_long_balls": 1.6806,
                "total_own_half_passes": 27.7158,
                "accurate_own_half_passes": 26.5481,
                "total_opp_half_passes": 11.5784,
                "accurate_opp_half_passes": 10.4201,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 48.2386,
                "possession_lost": 3.3487,
                "dispossessed": 0.1936,
                "duels_lost": 2.0871,
                "aerial_won": 1.1,
                "aerial_lost": 0.5321,
                "interceptions": 1.4319,
                "tackles_won": 1.55,
                "tackles": 1.8789,
                "clearances": 2.5903,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5075,
                "fouls": 0.8621,
                "fouls_drawn": 0.0,
                "blocks": 0.3676,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0126,
                "ball_carries": 8.2926,
                "total_progression": 16.0415,
                "progressive_carries": 0.0,
                "shots_off_target": 0.293,
                "duel_xg_multiplier": 0.7385,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.222,
                "pressing_faced": "HIGH",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pape Gueye",
                "opponent_faced": "Pape Gueye",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1437,
                "creation_factor": 1.0995,
                "fifa_overall": 79.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": 1378,
                "fifa_rank": 848.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": 0.4491,
                "expected_assists": 0.0232,
                "assist_rate": 0.0362,
                "assists": 0,
                "expected_goals": 0.0217,
                "goal_rate": 0.032,
                "goals": 0,
                "shots_on_target": 0.0891,
                "total_shots": 0.3821,
                "rating": 6.7471,
                "minutes": 86.14,
                "total_pass": 39.2942,
                "accurate_pass": 36.9682,
                "duels_won": 2.679,
                "total_long_balls": 2.2129,
                "accurate_long_balls": 1.6806,
                "total_own_half_passes": 27.7158,
                "accurate_own_half_passes": 26.5481,
                "total_opp_half_passes": 11.5784,
                "accurate_opp_half_passes": 10.4201,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 48.2386,
                "possession_lost": 3.3487,
                "dispossessed": 0.1936,
                "duels_lost": 2.0871,
                "aerial_won": 1.1,
                "aerial_lost": 0.5321,
                "interceptions": 1.4319,
                "tackles_won": 1.55,
                "tackles": 1.8789,
                "clearances": 2.5903,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5075,
                "fouls": 0.8621,
                "fouls_drawn": 0.0,
                "blocks": 0.3676,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0126,
                "ball_carries": 8.2926,
                "total_progression": 16.0415,
                "progressive_carries": 0.0,
                "shots_off_target": 0.293,
                "duel_xg_multiplier": 0.7385,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.222,
                "pressing_faced": "HIGH",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pape Gueye",
                "opponent_faced": "Pape Gueye",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0215,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1437,
                "creation_factor": 1.0995,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0215,
                "goal_rate": 0.032,
                "scorer_weight": 0.0248,
                "squad_weight_total": 1.0138,
                "weight_share": 0.0245,
                "finishing_factor": 1.1437,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0.4491,
                "expected_assists": 0.0232,
                "assist_rate": 0.0362,
                "assists": 0,
                "expected_goals": 0.0217,
                "goal_rate": 0.032,
                "goals": 0,
                "shots_on_target": 0.0891,
                "total_shots": 0.3821,
                "rating": 6.7471,
                "minutes": 86.14,
                "total_pass": 39.2942,
                "accurate_pass": 36.9682,
                "duels_won": 2.679,
                "total_long_balls": 2.2129,
                "accurate_long_balls": 1.6806,
                "total_own_half_passes": 27.7158,
                "accurate_own_half_passes": 26.5481,
                "total_opp_half_passes": 11.5784,
                "accurate_opp_half_passes": 10.4201,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 48.2386,
                "possession_lost": 3.3487,
                "dispossessed": 0.1936,
                "duels_lost": 2.0871,
                "aerial_won": 1.1,
                "aerial_lost": 0.5321,
                "interceptions": 1.4319,
                "tackles_won": 1.55,
                "tackles": 1.8789,
                "clearances": 2.5903,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5075,
                "fouls": 0.8621,
                "fouls_drawn": 0.0,
                "blocks": 0.3676,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0126,
                "ball_carries": 8.2926,
                "total_progression": 16.0415,
                "progressive_carries": 0.0,
                "shots_off_target": 0.293,
                "duel_xg_multiplier": 0.7385,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.222,
                "pressing_faced": "HIGH",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pape Gueye",
                "opponent_faced": "Pape Gueye",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0215,
                "projected_assists": 0,
                "assist_probability": 0.0229,
                "finishing_factor": 1.1437,
                "creation_factor": 1.0995,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0229,
                "assist_rate": 0.0362,
                "provider_weight": 0.0255,
                "squad_weight_total": 0.7026,
                "weight_share": 0.0363,
                "creation_factor": 1.0995,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 13
              }
            }
          ]
        },
        "Víctor Chust": {
          "player_id": 855831,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 23,
          "height": 182,
          "market_value": 2700000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 4,
            "aerial_won": 2,
            "total_shots": 1,
            "rating": 6.9645,
            "minutes": 89,
            "total_pass": 69,
            "accurate_pass": 62,
            "duels_won": 4,
            "total_long_balls": 8,
            "accurate_long_balls": 5,
            "total_own_half_passes": 42,
            "accurate_own_half_passes": 40,
            "total_opp_half_passes": 27,
            "accurate_opp_half_passes": 23,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 83,
            "possession_lost": 9.2435,
            "dispossessed": 0.1509,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 1,
            "goal_rate": 0.0413,
            "goals": 0,
            "assist_rate": 0.0775,
            "assists": 0,
            "expected_goals": 0.0452,
            "expected_assists": 0.0338,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0229,
            "ball_carries": 27,
            "total_progression": 84,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "opponent_faced": "Alberto Moleiro",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0442,
            "projected_assists": 0,
            "assist_probability": 0.0332,
            "finishing_factor": 0.959,
            "creation_factor": 1.25,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16421058,
              "match_date": "2026-10-11",
              "home_team": "Elche",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 8.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0358,
                "expected_assists": 0.0249,
                "total_shots": 1,
                "total_pass": 111,
                "accurate_pass": 102,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 1,
                "aerial_won": 1,
                "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": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0284,
                "expected_assists": 0.0173,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 26,
                "accurate_pass": 18,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 10,
                "aerial_won": 5,
                "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": 16416342,
              "match_date": "2026-09-15",
              "home_team": "Elche",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0105,
                "total_shots": 0,
                "total_pass": 99,
                "accurate_pass": 92,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 3,
                "duels_won": 3,
                "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": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0439,
                "expected_assists": 0.0016,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 40,
                "accurate_pass": 32,
                "interceptions": 1,
                "clearances": 2,
                "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": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.2506,
                "expected_assists": 0.0286,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 84,
                "accurate_pass": 79,
                "key_pass": 1,
                "clearances": 1,
                "aerial_won": 3,
                "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": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1049,
                "expected_assists": 0.0243,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 93,
                "accurate_pass": 87,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 2,
                "aerial_won": 3,
                "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": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 5.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0188,
                "total_shots": 0,
                "total_pass": 60,
                "accurate_pass": 55,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 2,
                "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": 16421050,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2968,
                "total_shots": 0,
                "total_pass": 81,
                "accurate_pass": 74,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 6,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 6
              },
              "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": 14083743,
              "match_date": "2026-05-23",
              "home_team": "Girona FC",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0495,
                "total_shots": 0,
                "total_pass": 41,
                "accurate_pass": 33,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 7,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083671,
              "match_date": "2026-05-17",
              "home_team": "Elche",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Getafe",
              "stats": {
                "minutes": 85,
                "rating": 8.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0701,
                "expected_assists": 0.0171,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 35,
                "accurate_pass": 28,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3655,
            "combined_rank_score": 1617.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 336.0,
            "sofascore_rating": 7.0,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2898.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9645,
            "source_file": "data/player_rankings.csv",
            "player_name": "Víctor Chust",
            "ranking_neighbors": {
              "upper": [
                {
                  "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
                }
              ],
              "lower": [
                {
                  "player_name": "Kevin Lomónaco",
                  "ranking": 3656
                },
                {
                  "player_name": "Giorgi Kochorashvili",
                  "ranking": 3657
                },
                {
                  "player_name": "Quilindschy Hartman",
                  "ranking": 3658
                },
                {
                  "player_name": "Oscar Dorley",
                  "ranking": 3659
                },
                {
                  "player_name": "Mykola Matviienko",
                  "ranking": 3660
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 39,
          "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",
              "totalTackle",
              "totalShots",
              "rating",
              "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": 39,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9977,
            "fbref_prior_metrics": {
              "squad": "Elche",
              "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.33,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (D_service) evaluated 39 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Elche, rel: 0.20, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.0263,
                "tackles": 1.5784,
                "tackles_won": 0.9679,
                "clearances": 4.1097,
                "aerial_won": 1.6124,
                "total_shots": 0.6025,
                "rating": 6.9645,
                "minutes": 89.47,
                "total_pass": 69.6497,
                "accurate_pass": 62.6277,
                "duels_won": 4.1356,
                "total_long_balls": 7.9025,
                "accurate_long_balls": 4.5897,
                "total_own_half_passes": 42.5466,
                "accurate_own_half_passes": 40.0286,
                "total_opp_half_passes": 27.1031,
                "accurate_opp_half_passes": 22.5991,
                "crosses_total": 1.1031,
                "crosses_accurate": 0.2437,
                "touches": 83.2841,
                "possession_lost": 9.2648,
                "dispossessed": 0.1512,
                "duels_lost": 2.8449,
                "aerial_lost": 1.1299,
                "total_contest": 0.3179,
                "won_contest": 0.1599,
                "ball_recovery": 3.5721,
                "challenges_lost": 0.5607,
                "fouls": 0.8477,
                "fouls_drawn": 0.2313,
                "blocks": 0.5102,
                "goals": 0.042,
                "goal_rate": 0.042,
                "assists": 0.0789,
                "assist_rate": 0.0789,
                "expected_goals": 0.0453,
                "expected_assists": 0.0415,
                "shots_on_target": 0.1454,
                "big_chances_created": 0.0489,
                "xgot": 0.023,
                "ball_carries": 26.7181,
                "total_progression": 83.7126,
                "progressive_carries": 0.5726,
                "key_pass": 0.3805,
                "shots_off_target": 0.4571
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:05:00.533351+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1503,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 5.7
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Getafe",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 8.1
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 3.1975,
                  "aerialWon": 1.629,
                  "totalClearance_p90": 4.1456,
                  "totalTackle": 1.7206,
                  "defensive_actions": 2.6914
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.02625572681427,
                    "model_output": 1.0263,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.121
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0253
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0091
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": -0.0084
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0078
                        }
                      ],
                      "others": 0.0106,
                      "total": 1.0263,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.131564
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.025453
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.009
                        },
                        {
                          "name": "tackle_success_rate",
                          "margin": -0.008347
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.00774
                        }
                      ],
                      "others_margin": 0.010315
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.578352451324463,
                    "model_output": 1.5784,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1755
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0787
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0629
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.035
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0337
                        }
                      ],
                      "others": -0.0615,
                      "total": 1.5784,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.118771
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.04903
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.037502
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.020682
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.020353
                        }
                      ],
                      "others_margin": -0.038273
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.967877984046936,
                    "model_output": 0.9679,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1164
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0573
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.043
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0275
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0263
                        }
                      ],
                      "others": -0.0708,
                      "total": 0.9679,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.127774
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.057383
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.042697
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.027547
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.02565
                        }
                      ],
                      "others_margin": -0.070677
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 4.1097307205200195,
                    "model_output": 4.1097,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4513
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.3399
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.3143
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.3095
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0729
                        }
                      ],
                      "others": -0.0461,
                      "total": 4.1097,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.123518
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.083888
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.071781
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.070634
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.017398
                        }
                      ],
                      "others_margin": -0.011154
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.6124379634857178,
                    "model_output": 1.6124,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1693
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.1214
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0669
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0338
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0327
                        }
                      ],
                      "others": -0.056,
                      "total": 1.6124,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.115932
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.075555
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.039352
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.019687
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.019392
                        }
                      ],
                      "others_margin": -0.034146
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6024659872055054,
                    "model_output": 0.6025,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0634
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0476
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0247
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0117
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.007
                        }
                      ],
                      "others": -0.003,
                      "total": 0.6025,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.063415
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.047573
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.024676
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.011709
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.006956
                        }
                      ],
                      "others_margin": -0.002946
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.964502334594727,
                    "model_output": 6.9645,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": 0.0547
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0395
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.033
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.021
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0091
                        }
                      ],
                      "others": 0.0225,
                      "total": 6.9645,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": 0.054711
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.039491
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.032969
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.021043
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.009057
                        }
                      ],
                      "others_margin": 0.022529
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 39,
                  "role_matches": 30,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9977, quality 0.437)",
              "stats": {
                "interceptions": 1.0239,
                "tackles": 1.5747,
                "tackles_won": 0.9657,
                "clearances": 4.1003,
                "aerial_won": 1.6087,
                "total_shots": 0.6011,
                "rating": 6.9645,
                "minutes": 89.47,
                "total_pass": 69.4895,
                "accurate_pass": 62.4837,
                "duels_won": 4.1261,
                "total_long_balls": 7.8843,
                "accurate_long_balls": 4.5791,
                "total_own_half_passes": 42.4487,
                "accurate_own_half_passes": 39.9365,
                "total_opp_half_passes": 27.0408,
                "accurate_opp_half_passes": 22.5471,
                "crosses_total": 1.1006,
                "crosses_accurate": 0.2431,
                "touches": 83.0925,
                "possession_lost": 9.2435,
                "dispossessed": 0.1509,
                "duels_lost": 2.8384,
                "aerial_lost": 1.1273,
                "total_contest": 0.3172,
                "won_contest": 0.1595,
                "ball_recovery": 3.5639,
                "challenges_lost": 0.5594,
                "fouls": 0.8458,
                "fouls_drawn": 0.2308,
                "blocks": 0.509,
                "goals": 0.0419,
                "goal_rate": 0.0419,
                "assists": 0.0787,
                "assist_rate": 0.0787,
                "expected_goals": 0.0452,
                "expected_assists": 0.0414,
                "shots_on_target": 0.1451,
                "big_chances_created": 0.0488,
                "xgot": 0.0229,
                "ball_carries": 26.6566,
                "total_progression": 83.5201,
                "progressive_carries": 0.5713,
                "key_pass": 0.3796,
                "shots_off_target": 0.456
              },
              "params": {
                "market_value_eur": 2700000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9977,
                "reference_quality": 0.505,
                "history_matches": 39,
                "history_shrink": 0.1136,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0148)",
              "stats": {
                "interceptions": 1.0284,
                "tackles": 1.5747,
                "tackles_won": 0.971,
                "clearances": 4.1003,
                "aerial_won": 1.6087,
                "total_shots": 0.5971,
                "rating": 6.9645,
                "minutes": 89.47,
                "total_pass": 69.4895,
                "accurate_pass": 62.4837,
                "duels_won": 4.1261,
                "total_long_balls": 7.8843,
                "accurate_long_balls": 4.5791,
                "total_own_half_passes": 42.4487,
                "accurate_own_half_passes": 39.9365,
                "total_opp_half_passes": 27.0408,
                "accurate_opp_half_passes": 22.5471,
                "crosses_total": 1.1137,
                "crosses_accurate": 0.2431,
                "touches": 83.0925,
                "possession_lost": 9.2435,
                "dispossessed": 0.1509,
                "duels_lost": 2.8384,
                "aerial_lost": 1.1273,
                "total_contest": 0.3172,
                "won_contest": 0.1595,
                "ball_recovery": 3.5639,
                "challenges_lost": 0.5594,
                "fouls": 0.8431,
                "fouls_drawn": 0.2274,
                "blocks": 0.509,
                "goals": 0.0413,
                "goal_rate": 0.0413,
                "assists": 0.0775,
                "assist_rate": 0.0775,
                "expected_goals": 0.0452,
                "expected_assists": 0.0414,
                "shots_on_target": 0.143,
                "big_chances_created": 0.0488,
                "xgot": 0.0229,
                "ball_carries": 26.6566,
                "total_progression": 83.5201,
                "progressive_carries": 0.5713,
                "key_pass": 0.3796,
                "shots_off_target": 0.456
              },
              "params": {
                "blend_weight": 0.0148,
                "history_matches": 39,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9941,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Elche"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 1.1006,
                  "after": 1.1137
                },
                {
                  "stat": "wonTackle",
                  "before": 0.9657,
                  "after": 0.971
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.0284,
                "tackles": 1.5747,
                "tackles_won": 0.971,
                "clearances": 4.1003,
                "aerial_won": 1.6087,
                "total_shots": 0.599,
                "rating": 6.9645,
                "minutes": 89.47,
                "total_pass": 69.4895,
                "accurate_pass": 62.4837,
                "duels_won": 4.1261,
                "total_long_balls": 7.8843,
                "accurate_long_balls": 4.5791,
                "total_own_half_passes": 42.4487,
                "accurate_own_half_passes": 39.9365,
                "total_opp_half_passes": 27.0408,
                "accurate_opp_half_passes": 22.5471,
                "crosses_total": 1.1137,
                "crosses_accurate": 0.2431,
                "touches": 83.0925,
                "possession_lost": 9.2435,
                "dispossessed": 0.1509,
                "duels_lost": 2.8384,
                "aerial_lost": 1.1273,
                "total_contest": 0.3172,
                "won_contest": 0.1595,
                "ball_recovery": 3.5639,
                "challenges_lost": 0.5594,
                "fouls": 0.8431,
                "fouls_drawn": 0.2274,
                "blocks": 0.509,
                "goals": 0.0413,
                "goal_rate": 0.0413,
                "assists": 0.0775,
                "assist_rate": 0.0775,
                "expected_goals": 0.0452,
                "expected_assists": 0.0414,
                "shots_on_target": 0.143,
                "big_chances_created": 0.0488,
                "xgot": 0.0229,
                "ball_carries": 26.6566,
                "total_progression": 83.5201,
                "progressive_carries": 0.5713,
                "key_pass": 0.3796,
                "shots_off_target": 0.456
              },
              "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.0284,
                "tackles": 1.5747,
                "tackles_won": 0.971,
                "clearances": 4.1003,
                "aerial_won": 1.6087,
                "total_shots": 0.599,
                "rating": 6.9645,
                "minutes": 89.47,
                "total_pass": 69.4895,
                "accurate_pass": 62.4837,
                "duels_won": 4.1261,
                "total_long_balls": 7.8843,
                "accurate_long_balls": 4.5791,
                "total_own_half_passes": 42.4487,
                "accurate_own_half_passes": 39.9365,
                "total_opp_half_passes": 27.0408,
                "accurate_opp_half_passes": 22.5471,
                "crosses_total": 1.1137,
                "crosses_accurate": 0.2431,
                "touches": 83.0925,
                "possession_lost": 9.2435,
                "dispossessed": 0.1509,
                "duels_lost": 2.8384,
                "aerial_lost": 1.1273,
                "total_contest": 0.3172,
                "won_contest": 0.1595,
                "ball_recovery": 3.5639,
                "challenges_lost": 0.5594,
                "fouls": 0.8431,
                "fouls_drawn": 0.2274,
                "blocks": 0.509,
                "goals": 0.0413,
                "goal_rate": 0.0413,
                "assists": 0.0775,
                "assist_rate": 0.0775,
                "expected_goals": 0.0452,
                "expected_assists": 0.0414,
                "shots_on_target": 0.143,
                "big_chances_created": 0.0488,
                "xgot": 0.0229,
                "ball_carries": 26.6566,
                "total_progression": 83.5201,
                "progressive_carries": 0.5713,
                "key_pass": 0.3796,
                "shots_off_target": 0.456,
                "opponent_faced": "Alberto Moleiro",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Alberto Moleiro",
                  "matchup_zone": "Shape fallback"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 1.0284,
                "tackles": 1.5747,
                "tackles_won": 0.971,
                "clearances": 4.1003,
                "aerial_won": 1.6087,
                "total_shots": 0.599,
                "rating": 6.9645,
                "minutes": 89.47,
                "total_pass": 69.4895,
                "accurate_pass": 62.4837,
                "duels_won": 4.1261,
                "total_long_balls": 7.8843,
                "accurate_long_balls": 4.5791,
                "total_own_half_passes": 42.4487,
                "accurate_own_half_passes": 39.9365,
                "total_opp_half_passes": 27.0408,
                "accurate_opp_half_passes": 22.5471,
                "crosses_total": 1.1137,
                "crosses_accurate": 0.2431,
                "touches": 83.0925,
                "possession_lost": 9.2435,
                "dispossessed": 0.1509,
                "duels_lost": 2.8384,
                "aerial_lost": 1.1273,
                "total_contest": 0.3172,
                "won_contest": 0.1595,
                "ball_recovery": 3.5639,
                "challenges_lost": 0.5594,
                "fouls": 0.8431,
                "fouls_drawn": 0.2274,
                "blocks": 0.509,
                "goal_rate": 0.0413,
                "goals": 0,
                "assist_rate": 0.0775,
                "assists": 0,
                "expected_goals": 0.0452,
                "expected_assists": 0.0414,
                "shots_on_target": 0.143,
                "big_chances_created": 0.0488,
                "xgot": 0.0229,
                "ball_carries": 26.6566,
                "total_progression": 83.5201,
                "progressive_carries": 0.5713,
                "key_pass": 0.3796,
                "shots_off_target": 0.456,
                "opponent_faced": "Alberto Moleiro",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.90 (squad xG sum 0.8976, xG scale 1.0004, xA scale 0.8162, team xA 0.72 = 0.80 x lambda)",
              "stats": {
                "interceptions": 1.0284,
                "tackles": 1.5747,
                "tackles_won": 0.971,
                "clearances": 4.1003,
                "aerial_won": 1.6087,
                "total_shots": 0.599,
                "rating": 6.9645,
                "minutes": 89.47,
                "total_pass": 69.4895,
                "accurate_pass": 62.4837,
                "duels_won": 4.1261,
                "total_long_balls": 7.8843,
                "accurate_long_balls": 4.5791,
                "total_own_half_passes": 42.4487,
                "accurate_own_half_passes": 39.9365,
                "total_opp_half_passes": 27.0408,
                "accurate_opp_half_passes": 22.5471,
                "crosses_total": 1.1137,
                "crosses_accurate": 0.2431,
                "touches": 83.0925,
                "possession_lost": 9.2435,
                "dispossessed": 0.1509,
                "duels_lost": 2.8384,
                "aerial_lost": 1.1273,
                "total_contest": 0.3172,
                "won_contest": 0.1595,
                "ball_recovery": 3.5639,
                "challenges_lost": 0.5594,
                "fouls": 0.8431,
                "fouls_drawn": 0.2274,
                "blocks": 0.509,
                "goal_rate": 0.0413,
                "goals": 0,
                "assist_rate": 0.0775,
                "assists": 0,
                "expected_goals": 0.0452,
                "expected_assists": 0.0338,
                "shots_on_target": 0.143,
                "big_chances_created": 0.0488,
                "xgot": 0.0229,
                "ball_carries": 26.6566,
                "total_progression": 83.5201,
                "progressive_carries": 0.5713,
                "key_pass": 0.3796,
                "shots_off_target": 0.456,
                "opponent_faced": "Alberto Moleiro",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.959,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 0.898,
                "squad_xg_sum": 0.8976,
                "squad_xa_sum": 0.8802,
                "team_expected_assists": 0.7184,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0004,
                "xa_scale": 0.8162,
                "opponent_lambda": 1.948,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0414,
                  "after": 0.0338
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 4 by projected rating, fifa_overall 74.0)",
              "stats": {
                "interceptions": 1.0284,
                "tackles": 1.5747,
                "tackles_won": 0.971,
                "clearances": 4.1003,
                "aerial_won": 1.6087,
                "total_shots": 0.599,
                "rating": 6.9645,
                "minutes": 89.47,
                "total_pass": 69.4895,
                "accurate_pass": 62.4837,
                "duels_won": 4.1261,
                "total_long_balls": 7.8843,
                "accurate_long_balls": 4.5791,
                "total_own_half_passes": 42.4487,
                "accurate_own_half_passes": 39.9365,
                "total_opp_half_passes": 27.0408,
                "accurate_opp_half_passes": 22.5471,
                "crosses_total": 1.1137,
                "crosses_accurate": 0.2431,
                "touches": 83.0925,
                "possession_lost": 9.2435,
                "dispossessed": 0.1509,
                "duels_lost": 2.8384,
                "aerial_lost": 1.1273,
                "total_contest": 0.3172,
                "won_contest": 0.1595,
                "ball_recovery": 3.5639,
                "challenges_lost": 0.5594,
                "fouls": 0.8431,
                "fouls_drawn": 0.2274,
                "blocks": 0.509,
                "goal_rate": 0.0413,
                "goals": 0,
                "assist_rate": 0.0775,
                "assists": 0,
                "expected_goals": 0.0452,
                "expected_assists": 0.0338,
                "shots_on_target": 0.143,
                "big_chances_created": 0.0488,
                "xgot": 0.0229,
                "ball_carries": 26.6566,
                "total_progression": 83.5201,
                "progressive_carries": 0.5713,
                "key_pass": 0.3796,
                "shots_off_target": 0.456,
                "opponent_faced": "Alberto Moleiro",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.959,
                "creation_factor": 1.25,
                "fifa_overall": 74.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": 3655,
                "fifa_rank": 2898.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.0284,
                "tackles": 1.5747,
                "tackles_won": 0.971,
                "clearances": 4.1003,
                "aerial_won": 1.6087,
                "total_shots": 0.599,
                "rating": 6.9645,
                "minutes": 89.47,
                "total_pass": 69.4895,
                "accurate_pass": 62.4837,
                "duels_won": 4.1261,
                "total_long_balls": 7.8843,
                "accurate_long_balls": 4.5791,
                "total_own_half_passes": 42.4487,
                "accurate_own_half_passes": 39.9365,
                "total_opp_half_passes": 27.0408,
                "accurate_opp_half_passes": 22.5471,
                "crosses_total": 1.1137,
                "crosses_accurate": 0.2431,
                "touches": 83.0925,
                "possession_lost": 9.2435,
                "dispossessed": 0.1509,
                "duels_lost": 2.8384,
                "aerial_lost": 1.1273,
                "total_contest": 0.3172,
                "won_contest": 0.1595,
                "ball_recovery": 3.5639,
                "challenges_lost": 0.5594,
                "fouls": 0.8431,
                "fouls_drawn": 0.2274,
                "blocks": 0.509,
                "goal_rate": 0.0413,
                "goals": 0,
                "assist_rate": 0.0775,
                "assists": 0,
                "expected_goals": 0.0452,
                "expected_assists": 0.0338,
                "shots_on_target": 0.143,
                "big_chances_created": 0.0488,
                "xgot": 0.0229,
                "ball_carries": 26.6566,
                "total_progression": 83.5201,
                "progressive_carries": 0.5713,
                "key_pass": 0.3796,
                "shots_off_target": 0.456,
                "opponent_faced": "Alberto Moleiro",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0442,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.959,
                "creation_factor": 1.25,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0442,
                "goal_rate": 0.0413,
                "scorer_weight": 0.0433,
                "squad_weight_total": 1.0138,
                "weight_share": 0.0428,
                "finishing_factor": 0.959,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 1.0284,
                "tackles": 1.5747,
                "tackles_won": 0.971,
                "clearances": 4.1003,
                "aerial_won": 1.6087,
                "total_shots": 0.599,
                "rating": 6.9645,
                "minutes": 89.47,
                "total_pass": 69.4895,
                "accurate_pass": 62.4837,
                "duels_won": 4.1261,
                "total_long_balls": 7.8843,
                "accurate_long_balls": 4.5791,
                "total_own_half_passes": 42.4487,
                "accurate_own_half_passes": 39.9365,
                "total_opp_half_passes": 27.0408,
                "accurate_opp_half_passes": 22.5471,
                "crosses_total": 1.1137,
                "crosses_accurate": 0.2431,
                "touches": 83.0925,
                "possession_lost": 9.2435,
                "dispossessed": 0.1509,
                "duels_lost": 2.8384,
                "aerial_lost": 1.1273,
                "total_contest": 0.3172,
                "won_contest": 0.1595,
                "ball_recovery": 3.5639,
                "challenges_lost": 0.5594,
                "fouls": 0.8431,
                "fouls_drawn": 0.2274,
                "blocks": 0.509,
                "goal_rate": 0.0413,
                "goals": 0,
                "assist_rate": 0.0775,
                "assists": 0,
                "expected_goals": 0.0452,
                "expected_assists": 0.0338,
                "shots_on_target": 0.143,
                "big_chances_created": 0.0488,
                "xgot": 0.0229,
                "ball_carries": 26.6566,
                "total_progression": 83.5201,
                "progressive_carries": 0.5713,
                "key_pass": 0.3796,
                "shots_off_target": 0.456,
                "opponent_faced": "Alberto Moleiro",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0442,
                "projected_assists": 0,
                "assist_probability": 0.0332,
                "finishing_factor": 0.959,
                "creation_factor": 1.25,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0332,
                "assist_rate": 0.0775,
                "provider_weight": 0.0422,
                "squad_weight_total": 0.7026,
                "weight_share": 0.0601,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 13
              }
            }
          ]
        },
        "Fernando Niño": {
          "player_id": 1016019,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 14,
          "height": 190,
          "market_value": 3600000,
          "stats": {
            "expected_goals": 0.3159,
            "goal_rate": 0.3615,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0353,
            "key_pass": 1,
            "rating": 6.8734,
            "minutes": 75,
            "total_pass": 17,
            "accurate_pass": 12,
            "duels_won": 7,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 11,
            "accurate_opp_half_passes": 7,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 32,
            "possession_lost": 11.5725,
            "dispossessed": 1.872,
            "duels_lost": 9,
            "aerial_lost": 4,
            "total_contest": 3,
            "won_contest": 1,
            "ball_recovery": 2,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 2,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.5672,
            "offsides": 0,
            "ball_carries": 7,
            "total_progression": 31,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.8409,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "MEDIUM",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Renato Veiga, Alexander Freeman",
            "opponent_faced": "Renato Veiga, Alexander Freeman",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.2709,
            "projected_assists": 0,
            "assist_probability": 0.0347,
            "finishing_factor": 1.1252,
            "creation_factor": 0.8,
            "fifa_overall": 81.0
          },
          "latest_10_games": [
            {
              "match_id": 16421058,
              "match_date": "2026-10-11",
              "home_team": "Elche",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 71,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1089,
                "expected_assists": 0.0367,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 18,
                "accurate_pass": 13,
                "tackles": 2,
                "tackles_won": 2,
                "aerial_won": 1,
                "duels_won": 7
              },
              "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": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 61,
                "rating": 8.4,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.8977,
                "expected_assists": 0.0076,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 17,
                "accurate_pass": 12,
                "clearances": 1,
                "aerial_won": 3,
                "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": 16416342,
              "match_date": "2026-09-15",
              "home_team": "Elche",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 22,
                "rating": 7.4,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0503,
                "expected_assists": 0.0007,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 5,
                "accurate_pass": 5,
                "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": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 69,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0039,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 12,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 4,
                "duels_won": 7,
                "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": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.0817,
                "expected_assists": 0.1373,
                "total_shots": 4,
                "shots_on_target": 3,
                "total_pass": 17,
                "accurate_pass": 11,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 5,
                "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": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "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.4168,
                "expected_assists": 0.0348,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 13,
                "accurate_pass": 12,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 4,
                "duels_won": 8,
                "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": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 69,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0013,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 11,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 4,
                "duels_won": 7,
                "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": 16421050,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 69,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4572,
                "expected_assists": 0.0247,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 19,
                "accurate_pass": 14,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 4,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 1359,
            "combined_rank_score": 577.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 578.0,
            "sofascore_rating": 6.8,
            "sofascore_appearances": 3.0,
            "fifa_rank": 577.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8734,
            "source_file": "data/player_rankings.csv",
            "player_name": "Fernando Niño",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Shakhboz Umarov",
                  "ranking": 1354
                },
                {
                  "player_name": "Ji-sol Lee",
                  "ranking": 1355
                },
                {
                  "player_name": "Marko Bakić",
                  "ranking": 1356
                },
                {
                  "player_name": "Nika Gagnidze",
                  "ranking": 1357
                },
                {
                  "player_name": "Francisco Geraldes",
                  "ranking": 1358
                }
              ],
              "lower": [
                {
                  "player_name": "Iñigo Arguibide",
                  "ranking": 1360
                },
                {
                  "player_name": "David Larrubia",
                  "ranking": 1361
                },
                {
                  "player_name": "John Edwin Montaño",
                  "ranking": 1362
                },
                {
                  "player_name": "Samuel Xavier",
                  "ranking": 1363
                },
                {
                  "player_name": "Laziz Mirzaev",
                  "ranking": 1364
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.775,
          "history_matches": 8,
          "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",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "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",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 8,
            "data_confidence": 0.775,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9931,
            "fbref_prior_metrics": {
              "squad": "Elche",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 226.0,
              "goals_per90": 0.4,
              "assists_per90": 0.0,
              "shots_per90": 1.59,
              "shots_on_target_pct": 75.0,
              "prior_reliability": 0.1667
            },
            "rationale": "XGBoost regressor (F_service) evaluated 8 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Elche, rel: 0.17, gls/90: 0.4, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.378,
                "goals": 0.4372,
                "goal_rate": 0.4372,
                "shots_on_target": 0.9692,
                "total_shots": 2.283,
                "expected_assists": 0.0436,
                "key_pass": 0.5763,
                "rating": 6.8734,
                "minutes": 74.72,
                "total_pass": 17.3433,
                "accurate_pass": 12.1538,
                "duels_won": 6.5943,
                "total_long_balls": 0.098,
                "accurate_long_balls": 0.098,
                "total_opp_half_passes": 10.6968,
                "accurate_opp_half_passes": 6.976,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 32.5767,
                "possession_lost": 11.6529,
                "dispossessed": 1.885,
                "duels_lost": 8.6632,
                "aerial_lost": 3.7286,
                "total_contest": 2.6168,
                "won_contest": 0.9733,
                "ball_recovery": 1.6969,
                "challenges_lost": 0.5807,
                "fouls": 0.8254,
                "fouls_drawn": 1.716,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2335,
                "tackles_won": 1.0331,
                "tackles": 1.1926,
                "clearances": 1.1155,
                "blocks": 0.0,
                "big_chances_created": 0.1356,
                "big_chances_missed": 0.1985,
                "xgot": 0.679,
                "offsides": 0.1356,
                "ball_carries": 7.2237,
                "total_progression": 31.6987,
                "progressive_carries": 1.6969,
                "shots_off_target": 1.3138
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:06:24.593912+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Celta Vigo",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.2062,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Espanyol",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.1753,
                    "rating": 8.4
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Real Madrid",
                    "minutes": 22.0,
                    "is_starting": false,
                    "weight": 0.149,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Athletic Club",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.1266,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1076,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0915,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "FC Barcelona",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.0778,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.0661,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 8.0,
                  "is_starting_11": 1.0,
                  "totalOppositionHalfPasses": 9.6773,
                  "expectedGoals": 0.372,
                  "accurateOppositionHalfPasses": 6.4377,
                  "accuratePass": 11.1102,
                  "totalShots": 1.4767
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.37798020243644714,
                    "model_output": 0.378,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0681
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0365
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0292
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0167
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0121
                        }
                      ],
                      "others": 0.0179,
                      "total": 0.378,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.296198
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.128753
                        },
                        {
                          "name": "goals",
                          "margin": 0.09224
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.04929
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.034221
                        }
                      ],
                      "others_margin": 0.048301
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.43721693754196167,
                    "model_output": 0.4372,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0665
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0452
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0312
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0318
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0234
                        }
                      ],
                      "others": 0.0357,
                      "total": 0.4372,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.282752
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.154754
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.094345
                        },
                        {
                          "name": "goals",
                          "margin": 0.087906
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.060037
                        }
                      ],
                      "others_margin": 0.085671
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.9692471027374268,
                    "model_output": 0.9692,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1943
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0678
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0656
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0694
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0732
                        }
                      ],
                      "others": -0.0387,
                      "total": 0.9692,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.308527
                        },
                        {
                          "name": "goals",
                          "margin": 0.088531
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.078846
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.077125
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.075356
                        }
                      ],
                      "others_margin": -0.039073
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.283027410507202,
                    "model_output": 2.283,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5632
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1229
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0926
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.083
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0805
                        }
                      ],
                      "others": -0.033,
                      "total": 2.283,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.563215
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.122931
                        },
                        {
                          "name": "goals",
                          "margin": 0.092593
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.083042
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.080536
                        }
                      ],
                      "others_margin": -0.033128
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.04356659576296806,
                    "model_output": 0.0436,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0168
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0094
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0074
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0055
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0049
                        }
                      ],
                      "others": -0.0102,
                      "total": 0.0436,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.232471
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.122794
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.10957
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.09027
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.087395
                        }
                      ],
                      "others_margin": -0.210396
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.57625812292099,
                    "model_output": 0.5763,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1841
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0568
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0466
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0391
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0352
                        }
                      ],
                      "others": -0.1035,
                      "total": 0.5763,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.24173
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.068558
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.059916
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.053214
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.050415
                        }
                      ],
                      "others_margin": -0.165364
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.873399257659912,
                    "model_output": 6.8734,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0595
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0573
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.026
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.023
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0188
                        }
                      ],
                      "others": -0.0782,
                      "total": 6.8734,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.059487
                        },
                        {
                          "name": "rating",
                          "margin": 0.05735
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.026019
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.023004
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.018846
                        }
                      ],
                      "others_margin": -0.078306
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 8,
                  "role_matches": 7,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9931, quality 0.445)",
              "stats": {
                "expected_goals": 0.3754,
                "goals": 0.4342,
                "goal_rate": 0.4342,
                "shots_on_target": 0.9626,
                "total_shots": 2.2673,
                "expected_assists": 0.0433,
                "key_pass": 0.5723,
                "rating": 6.8734,
                "minutes": 74.72,
                "total_pass": 17.2236,
                "accurate_pass": 12.0699,
                "duels_won": 6.5488,
                "total_long_balls": 0.0973,
                "accurate_long_balls": 0.0973,
                "total_opp_half_passes": 10.623,
                "accurate_opp_half_passes": 6.9279,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 32.3519,
                "possession_lost": 11.5725,
                "dispossessed": 1.872,
                "duels_lost": 8.6034,
                "aerial_lost": 3.7029,
                "total_contest": 2.5987,
                "won_contest": 0.9666,
                "ball_recovery": 1.6852,
                "challenges_lost": 0.5767,
                "fouls": 0.8197,
                "fouls_drawn": 1.7042,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2319,
                "tackles_won": 1.026,
                "tackles": 1.1844,
                "clearances": 1.1078,
                "blocks": 0.0,
                "big_chances_created": 0.1347,
                "big_chances_missed": 0.1971,
                "xgot": 0.6743,
                "offsides": 0.1347,
                "ball_carries": 7.1739,
                "total_progression": 31.48,
                "progressive_carries": 1.6852,
                "shots_off_target": 1.3047
              },
              "params": {
                "market_value_eur": 3600000,
                "quality_factor": 0.4449,
                "boost_factor": 0.9931,
                "reference_quality": 0.505,
                "history_matches": 8,
                "history_shrink": 0.3846,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0417)",
              "stats": {
                "expected_goals": 0.3754,
                "goals": 0.4299,
                "goal_rate": 0.4299,
                "shots_on_target": 0.9637,
                "total_shots": 2.2278,
                "expected_assists": 0.0433,
                "key_pass": 0.5723,
                "rating": 6.8734,
                "minutes": 74.72,
                "total_pass": 17.2236,
                "accurate_pass": 12.0699,
                "duels_won": 6.5488,
                "total_long_balls": 0.0973,
                "accurate_long_balls": 0.0973,
                "total_opp_half_passes": 10.623,
                "accurate_opp_half_passes": 6.9279,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 32.3519,
                "possession_lost": 11.5725,
                "dispossessed": 1.872,
                "duels_lost": 8.6034,
                "aerial_lost": 3.7029,
                "total_contest": 2.5987,
                "won_contest": 0.9666,
                "ball_recovery": 1.6852,
                "challenges_lost": 0.5767,
                "fouls": 0.7994,
                "fouls_drawn": 1.7024,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2361,
                "tackles_won": 1.0248,
                "tackles": 1.1844,
                "clearances": 1.1078,
                "blocks": 0.0,
                "big_chances_created": 0.1347,
                "big_chances_missed": 0.1971,
                "xgot": 0.6743,
                "offsides": 0.1291,
                "ball_carries": 7.1739,
                "total_progression": 31.48,
                "progressive_carries": 1.6852,
                "shots_off_target": 1.3047
              },
              "params": {
                "blend_weight": 0.0417,
                "history_matches": 8,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8302,
                "prior_reliability": 0.1667,
                "competition": "La Liga",
                "squad": "Elche"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.2673,
                  "after": 2.2278
                },
                {
                  "stat": "fouls",
                  "before": 0.8197,
                  "after": 0.7994
                },
                {
                  "stat": "totalOffside",
                  "before": 0.1347,
                  "after": 0.1291
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.3754,
                "goals": 0.4299,
                "goal_rate": 0.4299,
                "shots_on_target": 0.9637,
                "total_shots": 2.2684,
                "expected_assists": 0.0433,
                "key_pass": 0.5723,
                "rating": 6.8734,
                "minutes": 74.72,
                "total_pass": 17.2236,
                "accurate_pass": 12.0699,
                "duels_won": 6.5488,
                "total_long_balls": 0.0973,
                "accurate_long_balls": 0.0973,
                "total_opp_half_passes": 10.623,
                "accurate_opp_half_passes": 6.9279,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 32.3519,
                "possession_lost": 11.5725,
                "dispossessed": 1.872,
                "duels_lost": 8.6034,
                "aerial_lost": 3.7029,
                "total_contest": 2.5987,
                "won_contest": 0.9666,
                "ball_recovery": 1.6852,
                "challenges_lost": 0.5767,
                "fouls": 0.7994,
                "fouls_drawn": 1.7024,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2361,
                "tackles_won": 1.0248,
                "tackles": 1.1844,
                "clearances": 1.1078,
                "blocks": 0.0,
                "big_chances_created": 0.1347,
                "big_chances_missed": 0.1971,
                "xgot": 0.6743,
                "offsides": 0.1291,
                "ball_carries": 7.1739,
                "total_progression": 31.48,
                "progressive_carries": 1.6852,
                "shots_off_target": 1.3047
              },
              "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.3157,
                "goals": 0.3615,
                "goal_rate": 0.3615,
                "shots_on_target": 0.8104,
                "total_shots": 1.9075,
                "expected_assists": 0.0433,
                "key_pass": 0.5723,
                "rating": 6.8734,
                "minutes": 74.72,
                "total_pass": 17.2236,
                "accurate_pass": 12.0699,
                "duels_won": 6.5488,
                "total_long_balls": 0.0973,
                "accurate_long_balls": 0.0973,
                "total_opp_half_passes": 10.623,
                "accurate_opp_half_passes": 6.9279,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 32.3519,
                "possession_lost": 11.5725,
                "dispossessed": 1.872,
                "duels_lost": 8.6034,
                "aerial_lost": 3.7029,
                "total_contest": 2.5987,
                "won_contest": 0.9666,
                "ball_recovery": 1.6852,
                "challenges_lost": 0.5767,
                "fouls": 0.7994,
                "fouls_drawn": 1.7024,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2361,
                "tackles_won": 1.0248,
                "tackles": 1.1844,
                "clearances": 1.1078,
                "blocks": 0.0,
                "big_chances_created": 0.1347,
                "big_chances_missed": 0.1657,
                "xgot": 0.567,
                "offsides": 0.1291,
                "ball_carries": 7.1739,
                "total_progression": 31.48,
                "progressive_carries": 1.6852,
                "shots_off_target": 1.0971,
                "duel_xg_multiplier": 0.8409,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 2.0,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Renato Veiga, Alexander Freeman",
                "opponent_faced": "Renato Veiga, Alexander Freeman",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Renato Veiga, Alexander Freeman",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "MEDIUM",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.8409,
                  "skill_edge": -0.1123,
                  "height_edge": 0.004,
                  "attacker_skill": 0.4449,
                  "defender_skill": 0.6943,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Renato Veiga",
                      "market_value": 29000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.7736
                    },
                    {
                      "player": "Alexander Freeman",
                      "market_value": 13800000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.615
                    }
                  ],
                  "xg_override": 0.3157
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.2684,
                  "after": 1.9075
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.3047,
                  "after": 1.0971
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.9637,
                  "after": 0.8104
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.6743,
                  "after": 0.567
                },
                {
                  "stat": "goals",
                  "before": 0.4299,
                  "after": 0.3615
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.3754,
                  "after": 0.3157
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.1971,
                  "after": 0.1657
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.3157,
                "goal_rate": 0.3615,
                "goals": 0,
                "shots_on_target": 0.8104,
                "total_shots": 1.9075,
                "expected_assists": 0.0433,
                "key_pass": 0.5723,
                "rating": 6.8734,
                "minutes": 74.72,
                "total_pass": 17.2236,
                "accurate_pass": 12.0699,
                "duels_won": 6.5488,
                "total_long_balls": 0.0973,
                "accurate_long_balls": 0.0973,
                "total_opp_half_passes": 10.623,
                "accurate_opp_half_passes": 6.9279,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 32.3519,
                "possession_lost": 11.5725,
                "dispossessed": 1.872,
                "duels_lost": 8.6034,
                "aerial_lost": 3.7029,
                "total_contest": 2.5987,
                "won_contest": 0.9666,
                "ball_recovery": 1.6852,
                "challenges_lost": 0.5767,
                "fouls": 0.7994,
                "fouls_drawn": 1.7024,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2361,
                "tackles_won": 1.0248,
                "tackles": 1.1844,
                "clearances": 1.1078,
                "blocks": 0.0,
                "big_chances_created": 0.1347,
                "big_chances_missed": 0.1657,
                "xgot": 0.567,
                "offsides": 0.1291,
                "ball_carries": 7.1739,
                "total_progression": 31.48,
                "progressive_carries": 1.6852,
                "shots_off_target": 1.0971,
                "duel_xg_multiplier": 0.8409,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 2.0,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Renato Veiga, Alexander Freeman",
                "opponent_faced": "Renato Veiga, Alexander Freeman",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.90 (squad xG sum 0.8976, xG scale 1.0004, xA scale 0.8162, team xA 0.72 = 0.80 x lambda)",
              "stats": {
                "expected_goals": 0.3159,
                "goal_rate": 0.3615,
                "goals": 0,
                "shots_on_target": 0.8104,
                "total_shots": 1.9075,
                "expected_assists": 0.0353,
                "key_pass": 0.5723,
                "rating": 6.8734,
                "minutes": 74.72,
                "total_pass": 17.2236,
                "accurate_pass": 12.0699,
                "duels_won": 6.5488,
                "total_long_balls": 0.0973,
                "accurate_long_balls": 0.0973,
                "total_opp_half_passes": 10.623,
                "accurate_opp_half_passes": 6.9279,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 32.3519,
                "possession_lost": 11.5725,
                "dispossessed": 1.872,
                "duels_lost": 8.6034,
                "aerial_lost": 3.7029,
                "total_contest": 2.5987,
                "won_contest": 0.9666,
                "ball_recovery": 1.6852,
                "challenges_lost": 0.5767,
                "fouls": 0.7994,
                "fouls_drawn": 1.7024,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2361,
                "tackles_won": 1.0248,
                "tackles": 1.1844,
                "clearances": 1.1078,
                "blocks": 0.0,
                "big_chances_created": 0.1347,
                "big_chances_missed": 0.1657,
                "xgot": 0.5672,
                "offsides": 0.1291,
                "ball_carries": 7.1739,
                "total_progression": 31.48,
                "progressive_carries": 1.6852,
                "shots_off_target": 1.0971,
                "duel_xg_multiplier": 0.8409,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 2.0,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Renato Veiga, Alexander Freeman",
                "opponent_faced": "Renato Veiga, Alexander Freeman",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1252,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.898,
                "squad_xg_sum": 0.8976,
                "squad_xa_sum": 0.8802,
                "team_expected_assists": 0.7184,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0004,
                "xa_scale": 0.8162,
                "opponent_lambda": 1.948,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0433,
                  "after": 0.0353
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 8 by projected rating, fifa_overall 81.0)",
              "stats": {
                "expected_goals": 0.3159,
                "goal_rate": 0.3615,
                "goals": 0,
                "shots_on_target": 0.8104,
                "total_shots": 1.9075,
                "expected_assists": 0.0353,
                "key_pass": 0.5723,
                "rating": 6.8734,
                "minutes": 74.72,
                "total_pass": 17.2236,
                "accurate_pass": 12.0699,
                "duels_won": 6.5488,
                "total_long_balls": 0.0973,
                "accurate_long_balls": 0.0973,
                "total_opp_half_passes": 10.623,
                "accurate_opp_half_passes": 6.9279,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 32.3519,
                "possession_lost": 11.5725,
                "dispossessed": 1.872,
                "duels_lost": 8.6034,
                "aerial_lost": 3.7029,
                "total_contest": 2.5987,
                "won_contest": 0.9666,
                "ball_recovery": 1.6852,
                "challenges_lost": 0.5767,
                "fouls": 0.7994,
                "fouls_drawn": 1.7024,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2361,
                "tackles_won": 1.0248,
                "tackles": 1.1844,
                "clearances": 1.1078,
                "blocks": 0.0,
                "big_chances_created": 0.1347,
                "big_chances_missed": 0.1657,
                "xgot": 0.5672,
                "offsides": 0.1291,
                "ball_carries": 7.1739,
                "total_progression": 31.48,
                "progressive_carries": 1.6852,
                "shots_off_target": 1.0971,
                "duel_xg_multiplier": 0.8409,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 2.0,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Renato Veiga, Alexander Freeman",
                "opponent_faced": "Renato Veiga, Alexander Freeman",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1252,
                "creation_factor": 0.8,
                "fifa_overall": 81.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": 1359,
                "fifa_rank": 577.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 81.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.3159,
                "goal_rate": 0.3615,
                "goals": 0,
                "shots_on_target": 0.8104,
                "total_shots": 1.9075,
                "expected_assists": 0.0353,
                "key_pass": 0.5723,
                "rating": 6.8734,
                "minutes": 74.72,
                "total_pass": 17.2236,
                "accurate_pass": 12.0699,
                "duels_won": 6.5488,
                "total_long_balls": 0.0973,
                "accurate_long_balls": 0.0973,
                "total_opp_half_passes": 10.623,
                "accurate_opp_half_passes": 6.9279,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 32.3519,
                "possession_lost": 11.5725,
                "dispossessed": 1.872,
                "duels_lost": 8.6034,
                "aerial_lost": 3.7029,
                "total_contest": 2.5987,
                "won_contest": 0.9666,
                "ball_recovery": 1.6852,
                "challenges_lost": 0.5767,
                "fouls": 0.7994,
                "fouls_drawn": 1.7024,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2361,
                "tackles_won": 1.0248,
                "tackles": 1.1844,
                "clearances": 1.1078,
                "blocks": 0.0,
                "big_chances_created": 0.1347,
                "big_chances_missed": 0.1657,
                "xgot": 0.5672,
                "offsides": 0.1291,
                "ball_carries": 7.1739,
                "total_progression": 31.48,
                "progressive_carries": 1.6852,
                "shots_off_target": 1.0971,
                "duel_xg_multiplier": 0.8409,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 2.0,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Renato Veiga, Alexander Freeman",
                "opponent_faced": "Renato Veiga, Alexander Freeman",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.2709,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1252,
                "creation_factor": 0.8,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.2709,
                "goal_rate": 0.3615,
                "scorer_weight": 0.3555,
                "squad_weight_total": 1.0138,
                "weight_share": 0.3506,
                "finishing_factor": 1.1252,
                "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.3159,
                "goal_rate": 0.3615,
                "goals": 0,
                "shots_on_target": 0.8104,
                "total_shots": 1.9075,
                "expected_assists": 0.0353,
                "key_pass": 0.5723,
                "rating": 6.8734,
                "minutes": 74.72,
                "total_pass": 17.2236,
                "accurate_pass": 12.0699,
                "duels_won": 6.5488,
                "total_long_balls": 0.0973,
                "accurate_long_balls": 0.0973,
                "total_opp_half_passes": 10.623,
                "accurate_opp_half_passes": 6.9279,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 32.3519,
                "possession_lost": 11.5725,
                "dispossessed": 1.872,
                "duels_lost": 8.6034,
                "aerial_lost": 3.7029,
                "total_contest": 2.5987,
                "won_contest": 0.9666,
                "ball_recovery": 1.6852,
                "challenges_lost": 0.5767,
                "fouls": 0.7994,
                "fouls_drawn": 1.7024,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2361,
                "tackles_won": 1.0248,
                "tackles": 1.1844,
                "clearances": 1.1078,
                "blocks": 0.0,
                "big_chances_created": 0.1347,
                "big_chances_missed": 0.1657,
                "xgot": 0.5672,
                "offsides": 0.1291,
                "ball_carries": 7.1739,
                "total_progression": 31.48,
                "progressive_carries": 1.6852,
                "shots_off_target": 1.0971,
                "duel_xg_multiplier": 0.8409,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 2.0,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Renato Veiga, Alexander Freeman",
                "opponent_faced": "Renato Veiga, Alexander Freeman",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.2709,
                "projected_assists": 0,
                "assist_probability": 0.0347,
                "finishing_factor": 1.1252,
                "creation_factor": 0.8,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0347,
                "assist_rate": 0.0,
                "provider_weight": 0.0282,
                "squad_weight_total": 0.7026,
                "weight_share": 0.0402,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 13
              }
            }
          ]
        },
        "Germán Valera": {
          "player_id": 962710,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 11,
          "height": 170,
          "market_value": 6200000,
          "stats": {
            "expected_goals": 0.0879,
            "goal_rate": 0.1198,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.1142,
            "key_pass": 2,
            "rating": 6.8452,
            "minutes": 84,
            "total_pass": 30,
            "accurate_pass": 26,
            "duels_won": 4,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 20,
            "accurate_opp_half_passes": 18,
            "crosses_total": 3,
            "crosses_accurate": 1,
            "touches": 49,
            "possession_lost": 10.5949,
            "dispossessed": 1.1427,
            "duels_lost": 4,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 2,
            "assist_rate": 0.0484,
            "assists": 0,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0277,
            "offsides": 0,
            "ball_carries": 16,
            "total_progression": 88,
            "progressive_carries": 3,
            "shots_off_target": 0,
            "duel_xg_multiplier": 0.768,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "MEDIUM",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Renato Veiga, Alexander Freeman",
            "opponent_faced": "Renato Veiga, Alexander Freeman",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.0841,
            "projected_assists": 0,
            "assist_probability": 0.1079,
            "finishing_factor": 1.2313,
            "creation_factor": 0.8,
            "fifa_overall": 82.0
          },
          "latest_10_games": [
            {
              "match_id": 16421058,
              "match_date": "2026-10-11",
              "home_team": "Elche",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1045,
                "total_shots": 0,
                "total_pass": 44,
                "accurate_pass": 37,
                "key_pass": 1,
                "interceptions": 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": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 8.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3438,
                "expected_assists": 0.0156,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 28,
                "accurate_pass": 24,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 2,
                "duels_won": 9,
                "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": 16416342,
              "match_date": "2026-09-15",
              "home_team": "Elche",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 58,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0153,
                "expected_assists": 0.0775,
                "total_shots": 1,
                "total_pass": 16,
                "accurate_pass": 13,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "duels_won": 2,
                "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,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 82,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0216,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 15,
                "interceptions": 2,
                "duels_won": 2,
                "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": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 81,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0127,
                "expected_assists": 0.2286,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 25,
                "accurate_pass": 22,
                "key_pass": 3,
                "clearances": 1,
                "duels_won": 6,
                "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": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.329,
                "total_shots": 0,
                "total_pass": 44,
                "accurate_pass": 39,
                "key_pass": 3,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "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": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 5.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1389,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 22,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421050,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 81,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1255,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 31,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "duels_won": 6,
                "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": 14083743,
              "match_date": "2026-05-23",
              "home_team": "Girona FC",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 89,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0785,
                "expected_assists": 0.0148,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 22,
                "accurate_pass": 20,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083671,
              "match_date": "2026-05-17",
              "home_team": "Elche",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1057,
                "expected_assists": 0.1181,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 30,
                "accurate_pass": 23,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 688,
            "combined_rank_score": 360.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 336.0,
            "sofascore_rating": 7.0,
            "sofascore_appearances": 1.0,
            "fifa_rank": 385.0,
            "fifa_overall": 82.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8452,
            "source_file": "data/player_rankings.csv",
            "player_name": "Germán Valera",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Erick Pulgar",
                  "ranking": 683
                },
                {
                  "player_name": "Andraž Šporar",
                  "ranking": 684
                },
                {
                  "player_name": "Abdul Fatawu Issahaku",
                  "ranking": 685
                },
                {
                  "player_name": "Kahiser Lenis",
                  "ranking": 686
                },
                {
                  "player_name": "Oleksandr Zinchenko",
                  "ranking": 687
                }
              ],
              "lower": [
                {
                  "player_name": "Adrià Altimira",
                  "ranking": 689
                },
                {
                  "player_name": "Kepa Arrizabalaga",
                  "ranking": 690
                },
                {
                  "player_name": "Hugo Ancajima",
                  "ranking": 691
                },
                {
                  "player_name": "Andrew",
                  "ranking": 692
                },
                {
                  "player_name": "Joseph Lacey",
                  "ranking": 693
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 44,
          "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",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "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",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 44,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9991,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (F_service) evaluated 44 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.1146,
                "goals": 0.1561,
                "goal_rate": 0.1561,
                "shots_on_target": 0.4387,
                "total_shots": 1.0519,
                "expected_assists": 0.14,
                "key_pass": 1.525,
                "rating": 6.8452,
                "minutes": 83.94,
                "total_pass": 29.8956,
                "accurate_pass": 25.6151,
                "duels_won": 4.3846,
                "total_long_balls": 1.4746,
                "accurate_long_balls": 0.6666,
                "total_opp_half_passes": 20.3573,
                "accurate_opp_half_passes": 17.5277,
                "crosses_total": 2.6979,
                "crosses_accurate": 1.1253,
                "touches": 49.1056,
                "possession_lost": 10.6044,
                "dispossessed": 1.1437,
                "duels_lost": 3.5743,
                "aerial_lost": 0.3599,
                "total_contest": 1.8316,
                "won_contest": 0.9063,
                "ball_recovery": 2.7282,
                "challenges_lost": 0.1535,
                "fouls": 1.2472,
                "fouls_drawn": 2.0317,
                "assists": 0.0484,
                "assist_rate": 0.0484,
                "interceptions": 0.8409,
                "tackles_won": 0.6445,
                "tackles": 0.9937,
                "clearances": 1.1656,
                "blocks": 0.0414,
                "big_chances_created": 0.2172,
                "big_chances_missed": 0.0789,
                "xgot": 0.0361,
                "offsides": 0.1497,
                "ball_carries": 15.6541,
                "total_progression": 87.9666,
                "progressive_carries": 2.919,
                "shots_off_target": 0.6132
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:06:24.593912+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1501,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 8.8
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Real Madrid",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Athletic Club",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Real Sociedad",
                    "minutes": 81.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 5.4
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 81.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Girona FC",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalOppositionHalfPasses": 19.8959,
                  "expectedGoals": 0.0595,
                  "accurateOppositionHalfPasses": 17.1297,
                  "accuratePass": 25.019,
                  "totalShots": 0.5253
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.11459462344646454,
                    "model_output": 0.1146,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0575
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0544
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0221
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.011
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0088
                        }
                      ],
                      "others": -0.0441,
                      "total": 0.1146,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.255334
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.240135
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.116505
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.06346
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.053667
                        }
                      ],
                      "others_margin": -0.326003
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.15610705316066742,
                    "model_output": 0.1561,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.069
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0325
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0197
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0156
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0133
                        }
                      ],
                      "others": -0.0352,
                      "total": 0.1561,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.292221
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.126959
                        },
                        {
                          "name": "goals",
                          "margin": -0.085633
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.073248
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.067407
                        }
                      ],
                      "others_margin": -0.203399
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.4387313425540924,
                    "model_output": 0.4387,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1705
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0876
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0687
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0485
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": -0.0223
                        }
                      ],
                      "others": -0.0423,
                      "total": 0.4387,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.27547
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.132001
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.117406
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.091929
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": -0.045246
                        }
                      ],
                      "others_margin": -0.092207
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0519438982009888,
                    "model_output": 1.0519,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4064
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.2492
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0646
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0582
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0577
                        }
                      ],
                      "others": -0.2986,
                      "total": 1.0519,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.406388
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.249169
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.064565
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.058161
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.057659
                        }
                      ],
                      "others_margin": -0.298731
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.14001433551311493,
                    "model_output": 0.14,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0142
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0131
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0095
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0093
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0067
                        }
                      ],
                      "others": 0.023,
                      "total": 0.14,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.200366
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.154606
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.098774
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.087754
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.058942
                        }
                      ],
                      "others_margin": 0.179057
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.524991750717163,
                    "model_output": 1.525,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1938
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1419
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.1202
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0995
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0694
                        }
                      ],
                      "others": 0.2268,
                      "total": 1.525,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.252987
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.151511
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.112517
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.084474
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.054943
                        }
                      ],
                      "others_margin": 0.16102
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.845153331756592,
                    "model_output": 6.8452,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0449
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0443
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0331
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0236
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0176
                        }
                      ],
                      "others": -0.0381,
                      "total": 6.8452,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.04485
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.044275
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.033088
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.023571
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.017566
                        }
                      ],
                      "others_margin": -0.038059
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 44,
                  "role_matches": 41,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9991, quality 0.477)",
              "stats": {
                "expected_goals": 0.1145,
                "goals": 0.156,
                "goal_rate": 0.156,
                "shots_on_target": 0.4383,
                "total_shots": 1.051,
                "expected_assists": 0.1399,
                "key_pass": 1.5236,
                "rating": 6.8452,
                "minutes": 83.94,
                "total_pass": 29.8687,
                "accurate_pass": 25.592,
                "duels_won": 4.3807,
                "total_long_balls": 1.4733,
                "accurate_long_balls": 0.666,
                "total_opp_half_passes": 20.339,
                "accurate_opp_half_passes": 17.5119,
                "crosses_total": 2.6955,
                "crosses_accurate": 1.1243,
                "touches": 49.0614,
                "possession_lost": 10.5949,
                "dispossessed": 1.1427,
                "duels_lost": 3.5711,
                "aerial_lost": 0.3596,
                "total_contest": 1.83,
                "won_contest": 0.9055,
                "ball_recovery": 2.7257,
                "challenges_lost": 0.1534,
                "fouls": 1.2461,
                "fouls_drawn": 2.0299,
                "assists": 0.0484,
                "assist_rate": 0.0484,
                "interceptions": 0.8401,
                "tackles_won": 0.6439,
                "tackles": 0.9928,
                "clearances": 1.1646,
                "blocks": 0.0414,
                "big_chances_created": 0.217,
                "big_chances_missed": 0.0788,
                "xgot": 0.0361,
                "offsides": 0.1496,
                "ball_carries": 15.64,
                "total_progression": 87.8874,
                "progressive_carries": 2.9164,
                "shots_off_target": 0.6126
              },
              "params": {
                "market_value_eur": 6200000,
                "quality_factor": 0.4769,
                "boost_factor": 0.9991,
                "reference_quality": 0.505,
                "history_matches": 44,
                "history_shrink": 0.102,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1145,
                "goals": 0.156,
                "goal_rate": 0.156,
                "shots_on_target": 0.4383,
                "total_shots": 1.051,
                "expected_assists": 0.1399,
                "key_pass": 1.5236,
                "rating": 6.8452,
                "minutes": 83.94,
                "total_pass": 29.8687,
                "accurate_pass": 25.592,
                "duels_won": 4.3807,
                "total_long_balls": 1.4733,
                "accurate_long_balls": 0.666,
                "total_opp_half_passes": 20.339,
                "accurate_opp_half_passes": 17.5119,
                "crosses_total": 2.6955,
                "crosses_accurate": 1.1243,
                "touches": 49.0614,
                "possession_lost": 10.5949,
                "dispossessed": 1.1427,
                "duels_lost": 3.5711,
                "aerial_lost": 0.3596,
                "total_contest": 1.83,
                "won_contest": 0.9055,
                "ball_recovery": 2.7257,
                "challenges_lost": 0.1534,
                "fouls": 1.2461,
                "fouls_drawn": 2.0299,
                "assists": 0.0484,
                "assist_rate": 0.0484,
                "interceptions": 0.8401,
                "tackles_won": 0.6439,
                "tackles": 0.9928,
                "clearances": 1.1646,
                "blocks": 0.0414,
                "big_chances_created": 0.217,
                "big_chances_missed": 0.0788,
                "xgot": 0.0361,
                "offsides": 0.1496,
                "ball_carries": 15.64,
                "total_progression": 87.8874,
                "progressive_carries": 2.9164,
                "shots_off_target": 0.6126
              },
              "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.0879,
                "goals": 0.1198,
                "goal_rate": 0.1198,
                "shots_on_target": 0.3366,
                "total_shots": 0.8072,
                "expected_assists": 0.1399,
                "key_pass": 1.5236,
                "rating": 6.8452,
                "minutes": 83.94,
                "total_pass": 29.8687,
                "accurate_pass": 25.592,
                "duels_won": 4.3807,
                "total_long_balls": 1.4733,
                "accurate_long_balls": 0.666,
                "total_opp_half_passes": 20.339,
                "accurate_opp_half_passes": 17.5119,
                "crosses_total": 2.6955,
                "crosses_accurate": 1.1243,
                "touches": 49.0614,
                "possession_lost": 10.5949,
                "dispossessed": 1.1427,
                "duels_lost": 3.5711,
                "aerial_lost": 0.3596,
                "total_contest": 1.83,
                "won_contest": 0.9055,
                "ball_recovery": 2.7257,
                "challenges_lost": 0.1534,
                "fouls": 1.2461,
                "fouls_drawn": 2.0299,
                "assists": 0.0484,
                "assist_rate": 0.0484,
                "interceptions": 0.8401,
                "tackles_won": 0.6439,
                "tackles": 0.9928,
                "clearances": 1.1646,
                "blocks": 0.0414,
                "big_chances_created": 0.217,
                "big_chances_missed": 0.0605,
                "xgot": 0.0277,
                "offsides": 0.1496,
                "ball_carries": 15.64,
                "total_progression": 87.8874,
                "progressive_carries": 2.9164,
                "shots_off_target": 0.4705,
                "duel_xg_multiplier": 0.768,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Renato Veiga, Alexander Freeman",
                "opponent_faced": "Renato Veiga, Alexander Freeman",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Renato Veiga, Alexander Freeman",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "MEDIUM",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.768,
                  "skill_edge": -0.0979,
                  "height_edge": -0.06,
                  "attacker_skill": 0.4769,
                  "defender_skill": 0.6943,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Renato Veiga",
                      "market_value": 29000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.7736
                    },
                    {
                      "player": "Alexander Freeman",
                      "market_value": 13800000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.615
                    }
                  ],
                  "xg_override": 0.0879
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.051,
                  "after": 0.8072
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.6126,
                  "after": 0.4705
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.4383,
                  "after": 0.3366
                },
                {
                  "stat": "goals",
                  "before": 0.156,
                  "after": 0.1198
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1145,
                  "after": 0.0879
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.0788,
                  "after": 0.0605
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.0361,
                  "after": 0.0277
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.0879,
                "goal_rate": 0.1198,
                "goals": 0,
                "shots_on_target": 0.3366,
                "total_shots": 0.8072,
                "expected_assists": 0.1399,
                "key_pass": 1.5236,
                "rating": 6.8452,
                "minutes": 83.94,
                "total_pass": 29.8687,
                "accurate_pass": 25.592,
                "duels_won": 4.3807,
                "total_long_balls": 1.4733,
                "accurate_long_balls": 0.666,
                "total_opp_half_passes": 20.339,
                "accurate_opp_half_passes": 17.5119,
                "crosses_total": 2.6955,
                "crosses_accurate": 1.1243,
                "touches": 49.0614,
                "possession_lost": 10.5949,
                "dispossessed": 1.1427,
                "duels_lost": 3.5711,
                "aerial_lost": 0.3596,
                "total_contest": 1.83,
                "won_contest": 0.9055,
                "ball_recovery": 2.7257,
                "challenges_lost": 0.1534,
                "fouls": 1.2461,
                "fouls_drawn": 2.0299,
                "assist_rate": 0.0484,
                "assists": 0,
                "interceptions": 0.8401,
                "tackles_won": 0.6439,
                "tackles": 0.9928,
                "clearances": 1.1646,
                "blocks": 0.0414,
                "big_chances_created": 0.217,
                "big_chances_missed": 0.0605,
                "xgot": 0.0277,
                "offsides": 0.1496,
                "ball_carries": 15.64,
                "total_progression": 87.8874,
                "progressive_carries": 2.9164,
                "shots_off_target": 0.4705,
                "duel_xg_multiplier": 0.768,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Renato Veiga, Alexander Freeman",
                "opponent_faced": "Renato Veiga, Alexander Freeman",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.90 (squad xG sum 0.8976, xG scale 1.0004, xA scale 0.8162, team xA 0.72 = 0.80 x lambda)",
              "stats": {
                "expected_goals": 0.0879,
                "goal_rate": 0.1198,
                "goals": 0,
                "shots_on_target": 0.3366,
                "total_shots": 0.8072,
                "expected_assists": 0.1142,
                "key_pass": 1.5236,
                "rating": 6.8452,
                "minutes": 83.94,
                "total_pass": 29.8687,
                "accurate_pass": 25.592,
                "duels_won": 4.3807,
                "total_long_balls": 1.4733,
                "accurate_long_balls": 0.666,
                "total_opp_half_passes": 20.339,
                "accurate_opp_half_passes": 17.5119,
                "crosses_total": 2.6955,
                "crosses_accurate": 1.1243,
                "touches": 49.0614,
                "possession_lost": 10.5949,
                "dispossessed": 1.1427,
                "duels_lost": 3.5711,
                "aerial_lost": 0.3596,
                "total_contest": 1.83,
                "won_contest": 0.9055,
                "ball_recovery": 2.7257,
                "challenges_lost": 0.1534,
                "fouls": 1.2461,
                "fouls_drawn": 2.0299,
                "assist_rate": 0.0484,
                "assists": 0,
                "interceptions": 0.8401,
                "tackles_won": 0.6439,
                "tackles": 0.9928,
                "clearances": 1.1646,
                "blocks": 0.0414,
                "big_chances_created": 0.217,
                "big_chances_missed": 0.0605,
                "xgot": 0.0277,
                "offsides": 0.1496,
                "ball_carries": 15.64,
                "total_progression": 87.8874,
                "progressive_carries": 2.9164,
                "shots_off_target": 0.4705,
                "duel_xg_multiplier": 0.768,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Renato Veiga, Alexander Freeman",
                "opponent_faced": "Renato Veiga, Alexander Freeman",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2313,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.898,
                "squad_xg_sum": 0.8976,
                "squad_xa_sum": 0.8802,
                "team_expected_assists": 0.7184,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0004,
                "xa_scale": 0.8162,
                "opponent_lambda": 1.948,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.1399,
                  "after": 0.1142
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 9 by projected rating, fifa_overall 82.0)",
              "stats": {
                "expected_goals": 0.0879,
                "goal_rate": 0.1198,
                "goals": 0,
                "shots_on_target": 0.3366,
                "total_shots": 0.8072,
                "expected_assists": 0.1142,
                "key_pass": 1.5236,
                "rating": 6.8452,
                "minutes": 83.94,
                "total_pass": 29.8687,
                "accurate_pass": 25.592,
                "duels_won": 4.3807,
                "total_long_balls": 1.4733,
                "accurate_long_balls": 0.666,
                "total_opp_half_passes": 20.339,
                "accurate_opp_half_passes": 17.5119,
                "crosses_total": 2.6955,
                "crosses_accurate": 1.1243,
                "touches": 49.0614,
                "possession_lost": 10.5949,
                "dispossessed": 1.1427,
                "duels_lost": 3.5711,
                "aerial_lost": 0.3596,
                "total_contest": 1.83,
                "won_contest": 0.9055,
                "ball_recovery": 2.7257,
                "challenges_lost": 0.1534,
                "fouls": 1.2461,
                "fouls_drawn": 2.0299,
                "assist_rate": 0.0484,
                "assists": 0,
                "interceptions": 0.8401,
                "tackles_won": 0.6439,
                "tackles": 0.9928,
                "clearances": 1.1646,
                "blocks": 0.0414,
                "big_chances_created": 0.217,
                "big_chances_missed": 0.0605,
                "xgot": 0.0277,
                "offsides": 0.1496,
                "ball_carries": 15.64,
                "total_progression": 87.8874,
                "progressive_carries": 2.9164,
                "shots_off_target": 0.4705,
                "duel_xg_multiplier": 0.768,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Renato Veiga, Alexander Freeman",
                "opponent_faced": "Renato Veiga, Alexander Freeman",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2313,
                "creation_factor": 0.8,
                "fifa_overall": 82.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": 688,
                "fifa_rank": 385.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 82.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0879,
                "goal_rate": 0.1198,
                "goals": 0,
                "shots_on_target": 0.3366,
                "total_shots": 0.8072,
                "expected_assists": 0.1142,
                "key_pass": 1.5236,
                "rating": 6.8452,
                "minutes": 83.94,
                "total_pass": 29.8687,
                "accurate_pass": 25.592,
                "duels_won": 4.3807,
                "total_long_balls": 1.4733,
                "accurate_long_balls": 0.666,
                "total_opp_half_passes": 20.339,
                "accurate_opp_half_passes": 17.5119,
                "crosses_total": 2.6955,
                "crosses_accurate": 1.1243,
                "touches": 49.0614,
                "possession_lost": 10.5949,
                "dispossessed": 1.1427,
                "duels_lost": 3.5711,
                "aerial_lost": 0.3596,
                "total_contest": 1.83,
                "won_contest": 0.9055,
                "ball_recovery": 2.7257,
                "challenges_lost": 0.1534,
                "fouls": 1.2461,
                "fouls_drawn": 2.0299,
                "assist_rate": 0.0484,
                "assists": 0,
                "interceptions": 0.8401,
                "tackles_won": 0.6439,
                "tackles": 0.9928,
                "clearances": 1.1646,
                "blocks": 0.0414,
                "big_chances_created": 0.217,
                "big_chances_missed": 0.0605,
                "xgot": 0.0277,
                "offsides": 0.1496,
                "ball_carries": 15.64,
                "total_progression": 87.8874,
                "progressive_carries": 2.9164,
                "shots_off_target": 0.4705,
                "duel_xg_multiplier": 0.768,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Renato Veiga, Alexander Freeman",
                "opponent_faced": "Renato Veiga, Alexander Freeman",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0841,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2313,
                "creation_factor": 0.8,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0841,
                "goal_rate": 0.1198,
                "scorer_weight": 0.1082,
                "squad_weight_total": 1.0138,
                "weight_share": 0.1068,
                "finishing_factor": 1.2313,
                "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.0879,
                "goal_rate": 0.1198,
                "goals": 0,
                "shots_on_target": 0.3366,
                "total_shots": 0.8072,
                "expected_assists": 0.1142,
                "key_pass": 1.5236,
                "rating": 6.8452,
                "minutes": 83.94,
                "total_pass": 29.8687,
                "accurate_pass": 25.592,
                "duels_won": 4.3807,
                "total_long_balls": 1.4733,
                "accurate_long_balls": 0.666,
                "total_opp_half_passes": 20.339,
                "accurate_opp_half_passes": 17.5119,
                "crosses_total": 2.6955,
                "crosses_accurate": 1.1243,
                "touches": 49.0614,
                "possession_lost": 10.5949,
                "dispossessed": 1.1427,
                "duels_lost": 3.5711,
                "aerial_lost": 0.3596,
                "total_contest": 1.83,
                "won_contest": 0.9055,
                "ball_recovery": 2.7257,
                "challenges_lost": 0.1534,
                "fouls": 1.2461,
                "fouls_drawn": 2.0299,
                "assist_rate": 0.0484,
                "assists": 0,
                "interceptions": 0.8401,
                "tackles_won": 0.6439,
                "tackles": 0.9928,
                "clearances": 1.1646,
                "blocks": 0.0414,
                "big_chances_created": 0.217,
                "big_chances_missed": 0.0605,
                "xgot": 0.0277,
                "offsides": 0.1496,
                "ball_carries": 15.64,
                "total_progression": 87.8874,
                "progressive_carries": 2.9164,
                "shots_off_target": 0.4705,
                "duel_xg_multiplier": 0.768,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Renato Veiga, Alexander Freeman",
                "opponent_faced": "Renato Veiga, Alexander Freeman",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0841,
                "projected_assists": 0,
                "assist_probability": 0.1079,
                "finishing_factor": 1.2313,
                "creation_factor": 0.8,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.1079,
                "assist_rate": 0.0484,
                "provider_weight": 0.0914,
                "squad_weight_total": 0.7026,
                "weight_share": 0.13,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 13
              }
            }
          ]
        },
        "Thomas Lemar": {
          "player_id": 191182,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 18,
          "height": 170,
          "market_value": 1900000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0961,
            "assist_rate": 0.0922,
            "assists": 0,
            "expected_goals": 0.0748,
            "goal_rate": 0.093,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.9889,
            "minutes": 73,
            "total_pass": 35,
            "accurate_pass": 31,
            "duels_won": 4,
            "total_long_balls": 2,
            "accurate_long_balls": 2,
            "total_own_half_passes": 14,
            "accurate_own_half_passes": 12,
            "total_opp_half_passes": 21,
            "accurate_opp_half_passes": 18,
            "crosses_total": 2,
            "crosses_accurate": 1,
            "touches": 47,
            "possession_lost": 8.6107,
            "dispossessed": 1.2582,
            "duels_lost": 3,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 0,
            "total_contest": 2,
            "won_contest": 1,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0857,
            "ball_carries": 18,
            "total_progression": 49,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.8381,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.0,
            "crosses_attempted": 1.9,
            "duel_win_rate": 0.37,
            "pressing_faced": "LOW",
            "matchup_zone": "Left Wing vs Right Back — Flank Battle",
            "numerical_situation": "1v1",
            "opponent_defenders": "Juan Foyth",
            "opponent_faced": "Juan Foyth",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0721,
            "projected_assists": 0,
            "assist_probability": 0.0916,
            "finishing_factor": 1.1458,
            "creation_factor": 0.8474,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16421058,
              "match_date": "2026-10-11",
              "home_team": "Elche",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 87,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1516,
                "expected_assists": 0.1182,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 64,
                "accurate_pass": 59,
                "key_pass": 1,
                "tackles": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 77,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0241,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 23,
                "tackles": 5,
                "tackles_won": 2,
                "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": 16416342,
              "match_date": "2026-09-15",
              "home_team": "Elche",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 32,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0597,
                "total_shots": 0,
                "total_pass": 32,
                "accurate_pass": 32,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 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": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 21,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0077,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 8,
                "clearances": 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": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 35,
                "rating": 8.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1226,
                "expected_assists": 0.2628,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 28,
                "accurate_pass": 25,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 1,
                "duels_won": 3,
                "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": 14083743,
              "match_date": "2026-05-23",
              "home_team": "Girona FC",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Girona FC",
              "opponent": "Elche",
              "stats": {
                "minutes": 13,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.047,
                "expected_assists": 0.0372,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 14,
                "accurate_pass": 14,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083624,
              "match_date": "2026-05-14",
              "home_team": "Girona FC",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Girona FC",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 33,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0692,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 25,
                "tackles": 1,
                "interceptions": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083598,
              "match_date": "2026-05-11",
              "home_team": "Rayo Vallecano",
              "away_team": "Girona FC",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Girona FC",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 60,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0052,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 12,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083457,
              "match_date": "2026-05-01",
              "home_team": "Girona FC",
              "away_team": "Mallorca",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Girona FC",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 16,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0384,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 12,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083255,
              "match_date": "2026-04-25",
              "home_team": "Valencia",
              "away_team": "Girona FC",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Girona FC",
              "opponent": "Valencia",
              "stats": {
                "minutes": 61,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0186,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 25,
                "tackles": 4,
                "tackles_won": 1,
                "duels_won": 9,
                "ball_recovery": 3
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3132,
            "combined_rank_score": 1099.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 650.0,
            "sofascore_rating": 6.7407,
            "sofascore_appearances": 27.0,
            "fifa_rank": 1548.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": 6.9889,
            "source_file": "data/player_rankings.csv",
            "player_name": "Thomas Lemar",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Václav Jemelka",
                  "ranking": 3127
                },
                {
                  "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
                }
              ],
              "lower": [
                {
                  "player_name": "Robert Navarro",
                  "ranking": 3133
                },
                {
                  "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
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 32,
          "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",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "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",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 32,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9973,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 32 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.294,
                "expected_assists": 0.1181,
                "assists": 0.0924,
                "assist_rate": 0.0924,
                "expected_goals": 0.0896,
                "goals": 0.1113,
                "goal_rate": 0.1113,
                "shots_on_target": 0.3761,
                "total_shots": 1.0267,
                "rating": 6.9889,
                "minutes": 73.41,
                "total_pass": 34.6199,
                "accurate_pass": 30.6853,
                "duels_won": 3.8783,
                "total_long_balls": 2.4593,
                "accurate_long_balls": 1.5916,
                "total_own_half_passes": 13.6225,
                "accurate_own_half_passes": 12.4573,
                "total_opp_half_passes": 20.9974,
                "accurate_opp_half_passes": 18.228,
                "crosses_total": 1.9451,
                "crosses_accurate": 0.5578,
                "touches": 46.7337,
                "possession_lost": 8.634,
                "dispossessed": 1.2616,
                "duels_lost": 3.2177,
                "aerial_won": 0.0283,
                "aerial_lost": 0.1544,
                "interceptions": 0.1157,
                "tackles_won": 0.7979,
                "tackles": 1.8498,
                "clearances": 0.1094,
                "total_contest": 1.569,
                "won_contest": 1.1032,
                "challenges_lost": 0.5174,
                "fouls": 0.8414,
                "fouls_drawn": 0.897,
                "blocks": 0.023,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0375,
                "xgot": 0.1025,
                "ball_carries": 17.5799,
                "total_progression": 48.6661,
                "progressive_carries": 1.2903,
                "shots_off_target": 0.6506
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-17T10:05:52.581708+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Celta Vigo",
                    "minutes": 87.0,
                    "is_starting": true,
                    "weight": 0.1508,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Espanyol",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.1282,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Real Madrid",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.109,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Athletic Club",
                    "minutes": 21.0,
                    "is_starting": false,
                    "weight": 0.0926,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Real Sociedad",
                    "minutes": 35.0,
                    "is_starting": false,
                    "weight": 0.0787,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Elche",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.0669,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Real Sociedad",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.0569,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-11",
                    "opponent": "Rayo Vallecano",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.0484,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-01",
                    "opponent": "Mallorca",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.0411,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Valencia",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.7073,
                  "creative_index": 0.261,
                  "expectedGoals": 0.0501,
                  "expectedAssists": 0.0674,
                  "onTargetScoringAttempt": 0.1428
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.2939696311950684,
                    "model_output": 1.294,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1337
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0905
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0785
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.063
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0314
                        }
                      ],
                      "others": 0.1849,
                      "total": 1.294,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.139501
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.092252
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.080569
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.060221
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.028706
                        }
                      ],
                      "others_margin": 0.154159
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.11809495836496353,
                    "model_output": 0.1181,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0105
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0114
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0054
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0048
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0047
                        }
                      ],
                      "others": 0.0159,
                      "total": 0.1181,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.115621
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.112258
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.05171
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.045898
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.04475
                        }
                      ],
                      "others_margin": 0.144018
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.09240903705358505,
                    "model_output": 0.0924,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0094
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0075
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0069
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0064
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0065
                        }
                      ],
                      "others": 0.0023,
                      "total": 0.0924,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.114225
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.101804
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.09373
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.079455
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.074712
                        }
                      ],
                      "others_margin": 0.025672
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.0895686000585556,
                    "model_output": 0.0896,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0141
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.013
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0105
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0091
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0055
                        }
                      ],
                      "others": -0.0177,
                      "total": 0.0896,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.13975
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.112831
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.090843
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.086029
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.052225
                        }
                      ],
                      "others_margin": -0.179357
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1112639307975769,
                    "model_output": 0.1113,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0128
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0142
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0134
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0075
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0071
                        }
                      ],
                      "others": 0.0003,
                      "total": 0.1113,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.123195
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.120844
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.113721
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.069462
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.066489
                        }
                      ],
                      "others_margin": 0.001753
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.37612563371658325,
                    "model_output": 0.3761,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0518
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0295
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0307
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0236
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0168
                        }
                      ],
                      "others": -0.0212,
                      "total": 0.3761,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.14759
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.075152
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.072797
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.055495
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.041442
                        }
                      ],
                      "others_margin": -0.054746
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0267192125320435,
                    "model_output": 1.0267,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1506
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1225
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0823
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0356
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.027
                        }
                      ],
                      "others": -0.0878,
                      "total": 1.0267,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.150554
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.122526
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.082264
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.035599
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.026958
                        }
                      ],
                      "others_margin": -0.087749
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.988931655883789,
                    "model_output": 6.9889,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0457
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0365
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0209
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0166
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0157
                        }
                      ],
                      "others": 0.0004,
                      "total": 6.9889,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.045733
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.036486
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.020938
                        },
                        {
                          "name": "rating",
                          "margin": 0.016563
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": 0.015669
                        }
                      ],
                      "others_margin": 0.000486
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 32,
                  "role_matches": 16,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9973, quality 0.437)",
              "stats": {
                "key_pass": 1.2905,
                "expected_assists": 0.1178,
                "assists": 0.0922,
                "assist_rate": 0.0922,
                "expected_goals": 0.0893,
                "goals": 0.111,
                "goal_rate": 0.111,
                "shots_on_target": 0.3751,
                "total_shots": 1.024,
                "rating": 6.9889,
                "minutes": 73.41,
                "total_pass": 34.5264,
                "accurate_pass": 30.6024,
                "duels_won": 3.8678,
                "total_long_balls": 2.4527,
                "accurate_long_balls": 1.5873,
                "total_own_half_passes": 13.5857,
                "accurate_own_half_passes": 12.4237,
                "total_opp_half_passes": 20.9407,
                "accurate_opp_half_passes": 18.1788,
                "crosses_total": 1.9398,
                "crosses_accurate": 0.5563,
                "touches": 46.6075,
                "possession_lost": 8.6107,
                "dispossessed": 1.2582,
                "duels_lost": 3.209,
                "aerial_won": 0.0282,
                "aerial_lost": 0.154,
                "interceptions": 0.1154,
                "tackles_won": 0.7957,
                "tackles": 1.8448,
                "clearances": 0.1091,
                "total_contest": 1.5648,
                "won_contest": 1.1002,
                "challenges_lost": 0.516,
                "fouls": 0.8391,
                "fouls_drawn": 0.8946,
                "blocks": 0.0229,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0374,
                "xgot": 0.1022,
                "ball_carries": 17.5324,
                "total_progression": 48.5347,
                "progressive_carries": 1.2868,
                "shots_off_target": 0.6488
              },
              "params": {
                "market_value_eur": 1900000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9973,
                "reference_quality": 0.505,
                "history_matches": 32,
                "history_shrink": 0.1351,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.2905,
                "expected_assists": 0.1178,
                "assists": 0.0922,
                "assist_rate": 0.0922,
                "expected_goals": 0.0893,
                "goals": 0.111,
                "goal_rate": 0.111,
                "shots_on_target": 0.3751,
                "total_shots": 1.024,
                "rating": 6.9889,
                "minutes": 73.41,
                "total_pass": 34.5264,
                "accurate_pass": 30.6024,
                "duels_won": 3.8678,
                "total_long_balls": 2.4527,
                "accurate_long_balls": 1.5873,
                "total_own_half_passes": 13.5857,
                "accurate_own_half_passes": 12.4237,
                "total_opp_half_passes": 20.9407,
                "accurate_opp_half_passes": 18.1788,
                "crosses_total": 1.9398,
                "crosses_accurate": 0.5563,
                "touches": 46.6075,
                "possession_lost": 8.6107,
                "dispossessed": 1.2582,
                "duels_lost": 3.209,
                "aerial_won": 0.0282,
                "aerial_lost": 0.154,
                "interceptions": 0.1154,
                "tackles_won": 0.7957,
                "tackles": 1.8448,
                "clearances": 0.1091,
                "total_contest": 1.5648,
                "won_contest": 1.1002,
                "challenges_lost": 0.516,
                "fouls": 0.8391,
                "fouls_drawn": 0.8946,
                "blocks": 0.0229,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0374,
                "xgot": 0.1022,
                "ball_carries": 17.5324,
                "total_progression": 48.5347,
                "progressive_carries": 1.2868,
                "shots_off_target": 0.6488
              },
              "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.2905,
                "expected_assists": 0.1178,
                "assists": 0.0922,
                "assist_rate": 0.0922,
                "expected_goals": 0.0748,
                "goals": 0.093,
                "goal_rate": 0.093,
                "shots_on_target": 0.3144,
                "total_shots": 0.8582,
                "rating": 6.9889,
                "minutes": 73.41,
                "total_pass": 34.5264,
                "accurate_pass": 30.6024,
                "duels_won": 3.8678,
                "total_long_balls": 2.4527,
                "accurate_long_balls": 1.5873,
                "total_own_half_passes": 13.5857,
                "accurate_own_half_passes": 12.4237,
                "total_opp_half_passes": 20.9407,
                "accurate_opp_half_passes": 18.1788,
                "crosses_total": 1.9398,
                "crosses_accurate": 0.5563,
                "touches": 46.6075,
                "possession_lost": 8.6107,
                "dispossessed": 1.2582,
                "duels_lost": 3.209,
                "aerial_won": 0.8,
                "aerial_lost": 0.154,
                "interceptions": 0.1154,
                "tackles_won": 0.7957,
                "tackles": 1.8448,
                "clearances": 0.1091,
                "total_contest": 1.5648,
                "won_contest": 1.1002,
                "challenges_lost": 0.516,
                "fouls": 0.8391,
                "fouls_drawn": 0.8946,
                "blocks": 0.0229,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0313,
                "xgot": 0.0857,
                "ball_carries": 17.5324,
                "total_progression": 48.5347,
                "progressive_carries": 1.2868,
                "shots_off_target": 0.5438,
                "duel_xg_multiplier": 0.8381,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.0,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.37,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Juan Foyth",
                "opponent_faced": "Juan Foyth",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Juan Foyth",
                  "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                  "duel_win_rate": 0.37,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.8381,
                  "skill_edge": -0.0502,
                  "height_edge": -0.06,
                  "attacker_skill": 0.4374,
                  "defender_skill": 0.5489,
                  "attacker_role": "LW",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Juan Foyth",
                      "market_value": 8600000,
                      "role": "RB",
                      "price_index": 0.7,
                      "adjusted_quality": 0.5489
                    }
                  ],
                  "xg_override": 0.0748
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0282,
                  "after": 0.8
                },
                {
                  "stat": "totalShots",
                  "before": 1.024,
                  "after": 0.8582
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.6488,
                  "after": 0.5438
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.3751,
                  "after": 0.3144
                },
                {
                  "stat": "goals",
                  "before": 0.111,
                  "after": 0.093
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.1022,
                  "after": 0.0857
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.0893,
                  "after": 0.0748
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.0374,
                  "after": 0.0313
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 1.2905,
                "expected_assists": 0.1178,
                "assist_rate": 0.0922,
                "assists": 0,
                "expected_goals": 0.0748,
                "goal_rate": 0.093,
                "goals": 0,
                "shots_on_target": 0.3144,
                "total_shots": 0.8582,
                "rating": 6.9889,
                "minutes": 73.41,
                "total_pass": 34.5264,
                "accurate_pass": 30.6024,
                "duels_won": 3.8678,
                "total_long_balls": 2.4527,
                "accurate_long_balls": 1.5873,
                "total_own_half_passes": 13.5857,
                "accurate_own_half_passes": 12.4237,
                "total_opp_half_passes": 20.9407,
                "accurate_opp_half_passes": 18.1788,
                "crosses_total": 1.9398,
                "crosses_accurate": 0.5563,
                "touches": 46.6075,
                "possession_lost": 8.6107,
                "dispossessed": 1.2582,
                "duels_lost": 3.209,
                "aerial_won": 0.8,
                "aerial_lost": 0.154,
                "interceptions": 0.1154,
                "tackles_won": 0.7957,
                "tackles": 1.8448,
                "clearances": 0.1091,
                "total_contest": 1.5648,
                "won_contest": 1.1002,
                "challenges_lost": 0.516,
                "fouls": 0.8391,
                "fouls_drawn": 0.8946,
                "blocks": 0.0229,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0313,
                "xgot": 0.0857,
                "ball_carries": 17.5324,
                "total_progression": 48.5347,
                "progressive_carries": 1.2868,
                "shots_off_target": 0.5438,
                "duel_xg_multiplier": 0.8381,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.0,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.37,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Juan Foyth",
                "opponent_faced": "Juan Foyth",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.90 (squad xG sum 0.8976, xG scale 1.0004, xA scale 0.8162, team xA 0.72 = 0.80 x lambda)",
              "stats": {
                "key_pass": 1.2905,
                "expected_assists": 0.0961,
                "assist_rate": 0.0922,
                "assists": 0,
                "expected_goals": 0.0748,
                "goal_rate": 0.093,
                "goals": 0,
                "shots_on_target": 0.3144,
                "total_shots": 0.8582,
                "rating": 6.9889,
                "minutes": 73.41,
                "total_pass": 34.5264,
                "accurate_pass": 30.6024,
                "duels_won": 3.8678,
                "total_long_balls": 2.4527,
                "accurate_long_balls": 1.5873,
                "total_own_half_passes": 13.5857,
                "accurate_own_half_passes": 12.4237,
                "total_opp_half_passes": 20.9407,
                "accurate_opp_half_passes": 18.1788,
                "crosses_total": 1.9398,
                "crosses_accurate": 0.5563,
                "touches": 46.6075,
                "possession_lost": 8.6107,
                "dispossessed": 1.2582,
                "duels_lost": 3.209,
                "aerial_won": 0.8,
                "aerial_lost": 0.154,
                "interceptions": 0.1154,
                "tackles_won": 0.7957,
                "tackles": 1.8448,
                "clearances": 0.1091,
                "total_contest": 1.5648,
                "won_contest": 1.1002,
                "challenges_lost": 0.516,
                "fouls": 0.8391,
                "fouls_drawn": 0.8946,
                "blocks": 0.0229,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0313,
                "xgot": 0.0857,
                "ball_carries": 17.5324,
                "total_progression": 48.5347,
                "progressive_carries": 1.2868,
                "shots_off_target": 0.5438,
                "duel_xg_multiplier": 0.8381,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.0,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.37,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Juan Foyth",
                "opponent_faced": "Juan Foyth",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1458,
                "creation_factor": 0.8474
              },
              "params": {
                "team_lambda": 0.898,
                "squad_xg_sum": 0.8976,
                "squad_xa_sum": 0.8802,
                "team_expected_assists": 0.7184,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0004,
                "xa_scale": 0.8162,
                "opponent_lambda": 1.948,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.1178,
                  "after": 0.0961
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 3 by projected rating, fifa_overall 77.0)",
              "stats": {
                "key_pass": 1.2905,
                "expected_assists": 0.0961,
                "assist_rate": 0.0922,
                "assists": 0,
                "expected_goals": 0.0748,
                "goal_rate": 0.093,
                "goals": 0,
                "shots_on_target": 0.3144,
                "total_shots": 0.8582,
                "rating": 6.9889,
                "minutes": 73.41,
                "total_pass": 34.5264,
                "accurate_pass": 30.6024,
                "duels_won": 3.8678,
                "total_long_balls": 2.4527,
                "accurate_long_balls": 1.5873,
                "total_own_half_passes": 13.5857,
                "accurate_own_half_passes": 12.4237,
                "total_opp_half_passes": 20.9407,
                "accurate_opp_half_passes": 18.1788,
                "crosses_total": 1.9398,
                "crosses_accurate": 0.5563,
                "touches": 46.6075,
                "possession_lost": 8.6107,
                "dispossessed": 1.2582,
                "duels_lost": 3.209,
                "aerial_won": 0.8,
                "aerial_lost": 0.154,
                "interceptions": 0.1154,
                "tackles_won": 0.7957,
                "tackles": 1.8448,
                "clearances": 0.1091,
                "total_contest": 1.5648,
                "won_contest": 1.1002,
                "challenges_lost": 0.516,
                "fouls": 0.8391,
                "fouls_drawn": 0.8946,
                "blocks": 0.0229,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0313,
                "xgot": 0.0857,
                "ball_carries": 17.5324,
                "total_progression": 48.5347,
                "progressive_carries": 1.2868,
                "shots_off_target": 0.5438,
                "duel_xg_multiplier": 0.8381,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.0,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.37,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Juan Foyth",
                "opponent_faced": "Juan Foyth",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1458,
                "creation_factor": 0.8474,
                "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": 3132,
                "fifa_rank": 1548.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 1.2905,
                "expected_assists": 0.0961,
                "assist_rate": 0.0922,
                "assists": 0,
                "expected_goals": 0.0748,
                "goal_rate": 0.093,
                "goals": 0,
                "shots_on_target": 0.3144,
                "total_shots": 0.8582,
                "rating": 6.9889,
                "minutes": 73.41,
                "total_pass": 34.5264,
                "accurate_pass": 30.6024,
                "duels_won": 3.8678,
                "total_long_balls": 2.4527,
                "accurate_long_balls": 1.5873,
                "total_own_half_passes": 13.5857,
                "accurate_own_half_passes": 12.4237,
                "total_opp_half_passes": 20.9407,
                "accurate_opp_half_passes": 18.1788,
                "crosses_total": 1.9398,
                "crosses_accurate": 0.5563,
                "touches": 46.6075,
                "possession_lost": 8.6107,
                "dispossessed": 1.2582,
                "duels_lost": 3.209,
                "aerial_won": 0.8,
                "aerial_lost": 0.154,
                "interceptions": 0.1154,
                "tackles_won": 0.7957,
                "tackles": 1.8448,
                "clearances": 0.1091,
                "total_contest": 1.5648,
                "won_contest": 1.1002,
                "challenges_lost": 0.516,
                "fouls": 0.8391,
                "fouls_drawn": 0.8946,
                "blocks": 0.0229,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0313,
                "xgot": 0.0857,
                "ball_carries": 17.5324,
                "total_progression": 48.5347,
                "progressive_carries": 1.2868,
                "shots_off_target": 0.5438,
                "duel_xg_multiplier": 0.8381,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.0,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.37,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Juan Foyth",
                "opponent_faced": "Juan Foyth",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0721,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1458,
                "creation_factor": 0.8474,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0721,
                "goal_rate": 0.093,
                "scorer_weight": 0.0857,
                "squad_weight_total": 1.0138,
                "weight_share": 0.0845,
                "finishing_factor": 1.1458,
                "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.2905,
                "expected_assists": 0.0961,
                "assist_rate": 0.0922,
                "assists": 0,
                "expected_goals": 0.0748,
                "goal_rate": 0.093,
                "goals": 0,
                "shots_on_target": 0.3144,
                "total_shots": 0.8582,
                "rating": 6.9889,
                "minutes": 73.41,
                "total_pass": 34.5264,
                "accurate_pass": 30.6024,
                "duels_won": 3.8678,
                "total_long_balls": 2.4527,
                "accurate_long_balls": 1.5873,
                "total_own_half_passes": 13.5857,
                "accurate_own_half_passes": 12.4237,
                "total_opp_half_passes": 20.9407,
                "accurate_opp_half_passes": 18.1788,
                "crosses_total": 1.9398,
                "crosses_accurate": 0.5563,
                "touches": 46.6075,
                "possession_lost": 8.6107,
                "dispossessed": 1.2582,
                "duels_lost": 3.209,
                "aerial_won": 0.8,
                "aerial_lost": 0.154,
                "interceptions": 0.1154,
                "tackles_won": 0.7957,
                "tackles": 1.8448,
                "clearances": 0.1091,
                "total_contest": 1.5648,
                "won_contest": 1.1002,
                "challenges_lost": 0.516,
                "fouls": 0.8391,
                "fouls_drawn": 0.8946,
                "blocks": 0.0229,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0313,
                "xgot": 0.0857,
                "ball_carries": 17.5324,
                "total_progression": 48.5347,
                "progressive_carries": 1.2868,
                "shots_off_target": 0.5438,
                "duel_xg_multiplier": 0.8381,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.0,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.37,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Juan Foyth",
                "opponent_faced": "Juan Foyth",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0721,
                "projected_assists": 0,
                "assist_probability": 0.0916,
                "finishing_factor": 1.1458,
                "creation_factor": 0.8474,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0916,
                "assist_rate": 0.0922,
                "provider_weight": 0.0814,
                "squad_weight_total": 0.7026,
                "weight_share": 0.1159,
                "creation_factor": 0.8474,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 13
              }
            }
          ]
        },
        "Lucas Cepeda": {
          "player_id": 1126447,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 21,
          "height": 177,
          "market_value": 2600000,
          "stats": {
            "expected_goals": 0.0956,
            "goal_rate": 0.1218,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0855,
            "key_pass": 1,
            "rating": 6.9327,
            "minutes": 80,
            "total_pass": 28,
            "accurate_pass": 23,
            "duels_won": 5,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 21,
            "accurate_opp_half_passes": 16,
            "crosses_total": 2,
            "crosses_accurate": 1,
            "touches": 46,
            "possession_lost": 9.9945,
            "dispossessed": 0.8711,
            "duels_lost": 5,
            "aerial_lost": 1,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 4,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 2,
            "assist_rate": 0.0083,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0232,
            "offsides": 0,
            "ball_carries": 13,
            "total_progression": 59,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.7595,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "MEDIUM",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Renato Veiga, Alexander Freeman",
            "opponent_faced": "Renato Veiga, Alexander Freeman",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.0912,
            "projected_assists": 0,
            "assist_probability": 0.0819,
            "finishing_factor": 1.1799,
            "creation_factor": 0.8,
            "fifa_overall": 71.0
          },
          "latest_10_games": [
            {
              "match_id": 16421058,
              "match_date": "2026-10-11",
              "home_team": "Elche",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 19,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0147,
                "expected_assists": 0.0122,
                "total_shots": 1,
                "total_pass": 16,
                "accurate_pass": 13,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 4,
                "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": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2654,
                "expected_assists": 0.0064,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 19,
                "accurate_pass": 15,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "duels_won": 10,
                "ball_recovery": 7
              },
              "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": 16416342,
              "match_date": "2026-09-15",
              "home_team": "Elche",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 32,
                "rating": 7.1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.3574,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 21,
                "key_pass": 1,
                "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": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 8,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 20,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0396,
                "expected_assists": 0.2531,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 28,
                "accurate_pass": 26,
                "key_pass": 2,
                "tackles": 1,
                "interceptions": 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": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 21,
                "rating": 6.5,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0794,
                "expected_assists": 0.0246,
                "total_shots": 3,
                "shots_on_target": 1,
                "total_pass": 19,
                "accurate_pass": 17,
                "key_pass": 1,
                "interceptions": 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": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 26,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0393,
                "expected_assists": 0.019,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 9,
                "accurate_pass": 9,
                "key_pass": 1,
                "duels_won": 2,
                "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": 16421050,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 30,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0388,
                "expected_assists": 0.0056,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 19,
                "accurate_pass": 17,
                "interceptions": 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": 14083671,
              "match_date": "2026-05-17",
              "home_team": "Elche",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Getafe",
              "stats": {
                "minutes": 12,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083401,
              "match_date": "2026-05-03",
              "home_team": "Celta Vigo",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 13,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0179,
                "expected_assists": 0.0696,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 4,
                "accurate_pass": 4
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 4708,
            "combined_rank_score": 2795.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 568.0,
            "sofascore_rating": 6.81,
            "sofascore_appearances": 10.0,
            "fifa_rank": 5022.0,
            "fifa_overall": 71.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9327,
            "source_file": "data/player_rankings.csv",
            "player_name": "Lucas Cepeda",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Aaron Zehnter",
                  "ranking": 4703
                },
                {
                  "player_name": "Patric",
                  "ranking": 4704
                },
                {
                  "player_name": "Carlos Lampe",
                  "ranking": 4705
                },
                {
                  "player_name": "Daniele Rugani",
                  "ranking": 4706
                },
                {
                  "player_name": "Sondre Fet",
                  "ranking": 4707
                }
              ],
              "lower": [
                {
                  "player_name": "Pierluigi Gollini",
                  "ranking": 4709
                },
                {
                  "player_name": "Lassana Coulibaly",
                  "ranking": 4710
                },
                {
                  "player_name": "Jesper Karlsson",
                  "ranking": 4711
                },
                {
                  "player_name": "Deyverson",
                  "ranking": 4712
                },
                {
                  "player_name": "Dany Mota",
                  "ranking": 4713
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.759,
          "history_matches": 18,
          "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",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "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",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 18,
            "data_confidence": 0.759,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9956,
            "fbref_prior_metrics": {
              "squad": "Elche",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 0.0,
              "minutes": 80.0,
              "goals_per90": 0.0,
              "assists_per90": 1.1111111111111112,
              "shots_per90": 5.63,
              "shots_on_target_pct": 40.0,
              "prior_reliability": 0.06
            },
            "rationale": "XGBoost regressor (F_service) evaluated 18 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Elche, rel: 0.06, gls/90: 0.0, ast/90: 1.1111111111111112)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1264,
                "goals": 0.1625,
                "goal_rate": 0.1625,
                "shots_on_target": 0.4747,
                "total_shots": 1.3921,
                "expected_assists": 0.1051,
                "key_pass": 1.1645,
                "rating": 6.9327,
                "minutes": 79.52,
                "total_pass": 28.5299,
                "accurate_pass": 23.3773,
                "duels_won": 5.4606,
                "total_long_balls": 0.746,
                "accurate_long_balls": 0.5512,
                "total_opp_half_passes": 20.9363,
                "accurate_opp_half_passes": 16.3484,
                "crosses_total": 1.7078,
                "crosses_accurate": 0.6711,
                "touches": 46.0027,
                "possession_lost": 10.0387,
                "dispossessed": 0.8749,
                "duels_lost": 4.8321,
                "aerial_lost": 1.1289,
                "total_contest": 2.2696,
                "won_contest": 1.5049,
                "ball_recovery": 4.1129,
                "challenges_lost": 1.0,
                "fouls": 1.0636,
                "fouls_drawn": 2.4434,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.4352,
                "tackles_won": 1.0405,
                "tackles": 1.3468,
                "clearances": 0.0,
                "blocks": 0.1948,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0307,
                "offsides": 0.0,
                "ball_carries": 13.3323,
                "total_progression": 59.0254,
                "progressive_carries": 0.9977,
                "shots_off_target": 0.9174
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:06:24.593912+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Celta Vigo",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.1585,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1347,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Real Madrid",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.1145,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Athletic Club",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.0973,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Real Sociedad",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.0827,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Real Racing Club",
                    "minutes": 21.0,
                    "is_starting": false,
                    "weight": 0.0703,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "FC Barcelona",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.0598,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.0508,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Getafe",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.0432,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Celta Vigo",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.0367,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 18.0,
                  "is_starting_11": 1.0,
                  "totalOppositionHalfPasses": 13.2296,
                  "expectedGoals": 0.0682,
                  "accurateOppositionHalfPasses": 11.0285,
                  "accuratePass": 13.8652,
                  "totalShots": 1.1819
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.12641838192939758,
                    "model_output": 0.1264,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0641
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.054
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0253
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": -0.0109
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0098
                        }
                      ],
                      "others": -0.0352,
                      "total": 0.1264,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.281199
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.230993
                        },
                        {
                          "name": "goals",
                          "margin": -0.129759
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": -0.061365
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.058917
                        }
                      ],
                      "others_margin": -0.246407
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.16253051161766052,
                    "model_output": 0.1625,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0659
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0385
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0233
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.012
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0058
                        }
                      ],
                      "others": -0.0388,
                      "total": 0.1625,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.280612
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.15443
                        },
                        {
                          "name": "goals",
                          "margin": -0.106641
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.059816
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.02936
                        }
                      ],
                      "others_margin": -0.213185
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.47471773624420166,
                    "model_output": 0.4747,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1559
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0749
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0493
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0284
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0283
                        }
                      ],
                      "others": -0.0947,
                      "total": 0.4747,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.254584
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.114237
                        },
                        {
                          "name": "goals",
                          "margin": -0.083065
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.0487
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.048539
                        }
                      ],
                      "others_margin": -0.18193
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.3920936584472656,
                    "model_output": 1.3921,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4211
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1719
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0935
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0774
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0582
                        }
                      ],
                      "others": -0.1566,
                      "total": 1.3921,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.421111
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.171887
                        },
                        {
                          "name": "goals",
                          "margin": -0.093535
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.077368
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.058168
                        }
                      ],
                      "others_margin": -0.156634
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.10513434559106827,
                    "model_output": 0.1051,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0151
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0139
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0132
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0061
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0063
                        }
                      ],
                      "others": 0.0127,
                      "total": 0.1051,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.211798
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.161558
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.152429
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.072886
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.070628
                        }
                      ],
                      "others_margin": 0.128552
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.1644527912139893,
                    "model_output": 1.1645,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2087
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.1373
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0975
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0562
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0584
                        }
                      ],
                      "others": 0.128,
                      "total": 1.1645,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.27002
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.144681
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.10052
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.059134
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.057969
                        }
                      ],
                      "others_margin": 0.116429
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.932671546936035,
                    "model_output": 6.9327,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0697
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0316
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0267
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0194
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0189
                        }
                      ],
                      "others": -0.0006,
                      "total": 6.9327,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.069746
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.03164
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.026715
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.019389
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.018872
                        }
                      ],
                      "others_margin": -0.000692
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 18,
                  "role_matches": 5,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9956, quality 0.437)",
              "stats": {
                "expected_goals": 0.1259,
                "goals": 0.1618,
                "goal_rate": 0.1618,
                "shots_on_target": 0.4726,
                "total_shots": 1.386,
                "expected_assists": 0.1047,
                "key_pass": 1.1593,
                "rating": 6.9327,
                "minutes": 79.52,
                "total_pass": 28.4044,
                "accurate_pass": 23.2744,
                "duels_won": 5.4366,
                "total_long_balls": 0.7427,
                "accurate_long_balls": 0.5488,
                "total_opp_half_passes": 20.8442,
                "accurate_opp_half_passes": 16.2765,
                "crosses_total": 1.7003,
                "crosses_accurate": 0.6681,
                "touches": 45.8003,
                "possession_lost": 9.9945,
                "dispossessed": 0.8711,
                "duels_lost": 4.8108,
                "aerial_lost": 1.1239,
                "total_contest": 2.2596,
                "won_contest": 1.4983,
                "ball_recovery": 4.0948,
                "challenges_lost": 0.9956,
                "fouls": 1.0589,
                "fouls_drawn": 2.4326,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.4333,
                "tackles_won": 1.0359,
                "tackles": 1.3409,
                "clearances": 0.0,
                "blocks": 0.1939,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0306,
                "offsides": 0.0,
                "ball_carries": 13.2736,
                "total_progression": 58.7657,
                "progressive_carries": 0.9933,
                "shots_off_target": 0.9134
              },
              "params": {
                "market_value_eur": 2600000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9956,
                "reference_quality": 0.505,
                "history_matches": 18,
                "history_shrink": 0.2174,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0085)",
              "stats": {
                "expected_goals": 0.1259,
                "goals": 0.1604,
                "goal_rate": 0.1604,
                "shots_on_target": 0.4854,
                "total_shots": 1.4164,
                "expected_assists": 0.1047,
                "key_pass": 1.1593,
                "rating": 6.9327,
                "minutes": 79.52,
                "total_pass": 28.4044,
                "accurate_pass": 23.2744,
                "duels_won": 5.4366,
                "total_long_balls": 0.7427,
                "accurate_long_balls": 0.5488,
                "total_opp_half_passes": 20.8442,
                "accurate_opp_half_passes": 16.2765,
                "crosses_total": 1.7358,
                "crosses_accurate": 0.6681,
                "touches": 45.8003,
                "possession_lost": 9.9945,
                "dispossessed": 0.8711,
                "duels_lost": 4.8108,
                "aerial_lost": 1.1239,
                "total_contest": 2.2596,
                "won_contest": 1.4983,
                "ball_recovery": 4.0948,
                "challenges_lost": 0.9956,
                "fouls": 1.0749,
                "fouls_drawn": 2.4203,
                "assists": 0.0083,
                "assist_rate": 0.0083,
                "interceptions": 0.4463,
                "tackles_won": 1.0271,
                "tackles": 1.3409,
                "clearances": 0.0,
                "blocks": 0.1939,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0306,
                "offsides": 0.0,
                "ball_carries": 13.2736,
                "total_progression": 58.7657,
                "progressive_carries": 0.9933,
                "shots_off_target": 0.9134
              },
              "params": {
                "blend_weight": 0.0085,
                "history_matches": 18,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8836,
                "prior_reliability": 0.06,
                "competition": "La Liga",
                "squad": "Elche"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 1.7003,
                  "after": 1.7358
                },
                {
                  "stat": "totalShots",
                  "before": 1.386,
                  "after": 1.4164
                },
                {
                  "stat": "fouls",
                  "before": 1.0589,
                  "after": 1.0749
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.4333,
                  "after": 0.4463
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.4726,
                  "after": 0.4854
                },
                {
                  "stat": "wasFouled",
                  "before": 2.4326,
                  "after": 2.4203
                },
                {
                  "stat": "wonTackle",
                  "before": 1.0359,
                  "after": 1.0271
                },
                {
                  "stat": "goalAssist",
                  "before": 0.0,
                  "after": 0.0083
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1259,
                "goals": 0.1604,
                "goal_rate": 0.1604,
                "shots_on_target": 0.4854,
                "total_shots": 1.4164,
                "expected_assists": 0.1047,
                "key_pass": 1.1593,
                "rating": 6.9327,
                "minutes": 79.52,
                "total_pass": 28.4044,
                "accurate_pass": 23.2744,
                "duels_won": 5.4366,
                "total_long_balls": 0.7427,
                "accurate_long_balls": 0.5488,
                "total_opp_half_passes": 20.8442,
                "accurate_opp_half_passes": 16.2765,
                "crosses_total": 1.7358,
                "crosses_accurate": 0.6681,
                "touches": 45.8003,
                "possession_lost": 9.9945,
                "dispossessed": 0.8711,
                "duels_lost": 4.8108,
                "aerial_lost": 1.1239,
                "total_contest": 2.2596,
                "won_contest": 1.4983,
                "ball_recovery": 4.0948,
                "challenges_lost": 0.9956,
                "fouls": 1.0749,
                "fouls_drawn": 2.4203,
                "assists": 0.0083,
                "assist_rate": 0.0083,
                "interceptions": 0.4463,
                "tackles_won": 1.0271,
                "tackles": 1.3409,
                "clearances": 0.0,
                "blocks": 0.1939,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0306,
                "offsides": 0.0,
                "ball_carries": 13.2736,
                "total_progression": 58.7657,
                "progressive_carries": 0.9933,
                "shots_off_target": 0.9134
              },
              "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.0956,
                "goals": 0.1218,
                "goal_rate": 0.1218,
                "shots_on_target": 0.3687,
                "total_shots": 1.0758,
                "expected_assists": 0.1047,
                "key_pass": 1.1593,
                "rating": 6.9327,
                "minutes": 79.52,
                "total_pass": 28.4044,
                "accurate_pass": 23.2744,
                "duels_won": 5.4366,
                "total_long_balls": 0.7427,
                "accurate_long_balls": 0.5488,
                "total_opp_half_passes": 20.8442,
                "accurate_opp_half_passes": 16.2765,
                "crosses_total": 1.7358,
                "crosses_accurate": 0.6681,
                "touches": 45.8003,
                "possession_lost": 9.9945,
                "dispossessed": 0.8711,
                "duels_lost": 4.8108,
                "aerial_lost": 1.1239,
                "total_contest": 2.2596,
                "won_contest": 1.4983,
                "ball_recovery": 4.0948,
                "challenges_lost": 0.9956,
                "fouls": 1.0749,
                "fouls_drawn": 2.4203,
                "assists": 0.0083,
                "assist_rate": 0.0083,
                "interceptions": 0.4463,
                "tackles_won": 1.0271,
                "tackles": 1.3409,
                "clearances": 0.0,
                "blocks": 0.1939,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0232,
                "offsides": 0.0,
                "ball_carries": 13.2736,
                "total_progression": 58.7657,
                "progressive_carries": 0.9933,
                "shots_off_target": 0.6937,
                "duel_xg_multiplier": 0.7595,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Renato Veiga, Alexander Freeman",
                "opponent_faced": "Renato Veiga, Alexander Freeman",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Renato Veiga, Alexander Freeman",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "MEDIUM",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.7595,
                  "skill_edge": -0.1156,
                  "height_edge": -0.048,
                  "attacker_skill": 0.4374,
                  "defender_skill": 0.6943,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Renato Veiga",
                      "market_value": 29000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.7736
                    },
                    {
                      "player": "Alexander Freeman",
                      "market_value": 13800000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.615
                    }
                  ],
                  "xg_override": 0.0956
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.4164,
                  "after": 1.0758
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.9134,
                  "after": 0.6937
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.4854,
                  "after": 0.3687
                },
                {
                  "stat": "goals",
                  "before": 0.1604,
                  "after": 0.1218
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1259,
                  "after": 0.0956
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.0306,
                  "after": 0.0232
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.0956,
                "goal_rate": 0.1218,
                "goals": 0,
                "shots_on_target": 0.3687,
                "total_shots": 1.0758,
                "expected_assists": 0.1047,
                "key_pass": 1.1593,
                "rating": 6.9327,
                "minutes": 79.52,
                "total_pass": 28.4044,
                "accurate_pass": 23.2744,
                "duels_won": 5.4366,
                "total_long_balls": 0.7427,
                "accurate_long_balls": 0.5488,
                "total_opp_half_passes": 20.8442,
                "accurate_opp_half_passes": 16.2765,
                "crosses_total": 1.7358,
                "crosses_accurate": 0.6681,
                "touches": 45.8003,
                "possession_lost": 9.9945,
                "dispossessed": 0.8711,
                "duels_lost": 4.8108,
                "aerial_lost": 1.1239,
                "total_contest": 2.2596,
                "won_contest": 1.4983,
                "ball_recovery": 4.0948,
                "challenges_lost": 0.9956,
                "fouls": 1.0749,
                "fouls_drawn": 2.4203,
                "assist_rate": 0.0083,
                "assists": 0,
                "interceptions": 0.4463,
                "tackles_won": 1.0271,
                "tackles": 1.3409,
                "clearances": 0.0,
                "blocks": 0.1939,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0232,
                "offsides": 0.0,
                "ball_carries": 13.2736,
                "total_progression": 58.7657,
                "progressive_carries": 0.9933,
                "shots_off_target": 0.6937,
                "duel_xg_multiplier": 0.7595,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Renato Veiga, Alexander Freeman",
                "opponent_faced": "Renato Veiga, Alexander Freeman",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.90 (squad xG sum 0.8976, xG scale 1.0004, xA scale 0.8162, team xA 0.72 = 0.80 x lambda)",
              "stats": {
                "expected_goals": 0.0956,
                "goal_rate": 0.1218,
                "goals": 0,
                "shots_on_target": 0.3687,
                "total_shots": 1.0758,
                "expected_assists": 0.0855,
                "key_pass": 1.1593,
                "rating": 6.9327,
                "minutes": 79.52,
                "total_pass": 28.4044,
                "accurate_pass": 23.2744,
                "duels_won": 5.4366,
                "total_long_balls": 0.7427,
                "accurate_long_balls": 0.5488,
                "total_opp_half_passes": 20.8442,
                "accurate_opp_half_passes": 16.2765,
                "crosses_total": 1.7358,
                "crosses_accurate": 0.6681,
                "touches": 45.8003,
                "possession_lost": 9.9945,
                "dispossessed": 0.8711,
                "duels_lost": 4.8108,
                "aerial_lost": 1.1239,
                "total_contest": 2.2596,
                "won_contest": 1.4983,
                "ball_recovery": 4.0948,
                "challenges_lost": 0.9956,
                "fouls": 1.0749,
                "fouls_drawn": 2.4203,
                "assist_rate": 0.0083,
                "assists": 0,
                "interceptions": 0.4463,
                "tackles_won": 1.0271,
                "tackles": 1.3409,
                "clearances": 0.0,
                "blocks": 0.1939,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0232,
                "offsides": 0.0,
                "ball_carries": 13.2736,
                "total_progression": 58.7657,
                "progressive_carries": 0.9933,
                "shots_off_target": 0.6937,
                "duel_xg_multiplier": 0.7595,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Renato Veiga, Alexander Freeman",
                "opponent_faced": "Renato Veiga, Alexander Freeman",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1799,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.898,
                "squad_xg_sum": 0.8976,
                "squad_xa_sum": 0.8802,
                "team_expected_assists": 0.7184,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0004,
                "xa_scale": 0.8162,
                "opponent_lambda": 1.948,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.1047,
                  "after": 0.0855
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 6 by projected rating, fifa_overall 71.0)",
              "stats": {
                "expected_goals": 0.0956,
                "goal_rate": 0.1218,
                "goals": 0,
                "shots_on_target": 0.3687,
                "total_shots": 1.0758,
                "expected_assists": 0.0855,
                "key_pass": 1.1593,
                "rating": 6.9327,
                "minutes": 79.52,
                "total_pass": 28.4044,
                "accurate_pass": 23.2744,
                "duels_won": 5.4366,
                "total_long_balls": 0.7427,
                "accurate_long_balls": 0.5488,
                "total_opp_half_passes": 20.8442,
                "accurate_opp_half_passes": 16.2765,
                "crosses_total": 1.7358,
                "crosses_accurate": 0.6681,
                "touches": 45.8003,
                "possession_lost": 9.9945,
                "dispossessed": 0.8711,
                "duels_lost": 4.8108,
                "aerial_lost": 1.1239,
                "total_contest": 2.2596,
                "won_contest": 1.4983,
                "ball_recovery": 4.0948,
                "challenges_lost": 0.9956,
                "fouls": 1.0749,
                "fouls_drawn": 2.4203,
                "assist_rate": 0.0083,
                "assists": 0,
                "interceptions": 0.4463,
                "tackles_won": 1.0271,
                "tackles": 1.3409,
                "clearances": 0.0,
                "blocks": 0.1939,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0232,
                "offsides": 0.0,
                "ball_carries": 13.2736,
                "total_progression": 58.7657,
                "progressive_carries": 0.9933,
                "shots_off_target": 0.6937,
                "duel_xg_multiplier": 0.7595,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Renato Veiga, Alexander Freeman",
                "opponent_faced": "Renato Veiga, Alexander Freeman",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1799,
                "creation_factor": 0.8,
                "fifa_overall": 71.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": 4708,
                "fifa_rank": 5022.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 71.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0956,
                "goal_rate": 0.1218,
                "goals": 0,
                "shots_on_target": 0.3687,
                "total_shots": 1.0758,
                "expected_assists": 0.0855,
                "key_pass": 1.1593,
                "rating": 6.9327,
                "minutes": 79.52,
                "total_pass": 28.4044,
                "accurate_pass": 23.2744,
                "duels_won": 5.4366,
                "total_long_balls": 0.7427,
                "accurate_long_balls": 0.5488,
                "total_opp_half_passes": 20.8442,
                "accurate_opp_half_passes": 16.2765,
                "crosses_total": 1.7358,
                "crosses_accurate": 0.6681,
                "touches": 45.8003,
                "possession_lost": 9.9945,
                "dispossessed": 0.8711,
                "duels_lost": 4.8108,
                "aerial_lost": 1.1239,
                "total_contest": 2.2596,
                "won_contest": 1.4983,
                "ball_recovery": 4.0948,
                "challenges_lost": 0.9956,
                "fouls": 1.0749,
                "fouls_drawn": 2.4203,
                "assist_rate": 0.0083,
                "assists": 0,
                "interceptions": 0.4463,
                "tackles_won": 1.0271,
                "tackles": 1.3409,
                "clearances": 0.0,
                "blocks": 0.1939,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0232,
                "offsides": 0.0,
                "ball_carries": 13.2736,
                "total_progression": 58.7657,
                "progressive_carries": 0.9933,
                "shots_off_target": 0.6937,
                "duel_xg_multiplier": 0.7595,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Renato Veiga, Alexander Freeman",
                "opponent_faced": "Renato Veiga, Alexander Freeman",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0912,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1799,
                "creation_factor": 0.8,
                "fifa_overall": 71.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0912,
                "goal_rate": 0.1218,
                "scorer_weight": 0.1128,
                "squad_weight_total": 1.0138,
                "weight_share": 0.1113,
                "finishing_factor": 1.1799,
                "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.0956,
                "goal_rate": 0.1218,
                "goals": 0,
                "shots_on_target": 0.3687,
                "total_shots": 1.0758,
                "expected_assists": 0.0855,
                "key_pass": 1.1593,
                "rating": 6.9327,
                "minutes": 79.52,
                "total_pass": 28.4044,
                "accurate_pass": 23.2744,
                "duels_won": 5.4366,
                "total_long_balls": 0.7427,
                "accurate_long_balls": 0.5488,
                "total_opp_half_passes": 20.8442,
                "accurate_opp_half_passes": 16.2765,
                "crosses_total": 1.7358,
                "crosses_accurate": 0.6681,
                "touches": 45.8003,
                "possession_lost": 9.9945,
                "dispossessed": 0.8711,
                "duels_lost": 4.8108,
                "aerial_lost": 1.1239,
                "total_contest": 2.2596,
                "won_contest": 1.4983,
                "ball_recovery": 4.0948,
                "challenges_lost": 0.9956,
                "fouls": 1.0749,
                "fouls_drawn": 2.4203,
                "assist_rate": 0.0083,
                "assists": 0,
                "interceptions": 0.4463,
                "tackles_won": 1.0271,
                "tackles": 1.3409,
                "clearances": 0.0,
                "blocks": 0.1939,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0232,
                "offsides": 0.0,
                "ball_carries": 13.2736,
                "total_progression": 58.7657,
                "progressive_carries": 0.9933,
                "shots_off_target": 0.6937,
                "duel_xg_multiplier": 0.7595,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Renato Veiga, Alexander Freeman",
                "opponent_faced": "Renato Veiga, Alexander Freeman",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0912,
                "projected_assists": 0,
                "assist_probability": 0.0819,
                "finishing_factor": 1.1799,
                "creation_factor": 0.8,
                "fifa_overall": 71.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0819,
                "assist_rate": 0.0083,
                "provider_weight": 0.0684,
                "squad_weight_total": 0.7026,
                "weight_share": 0.0973,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 13
              }
            }
          ]
        },
        "Marc Aguado": {
          "player_id": 1014595,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 8,
          "height": 178,
          "market_value": 3700000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0277,
            "assist_rate": 0.0393,
            "assists": 0,
            "expected_goals": 0.0201,
            "goal_rate": 0.0368,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.8263,
            "minutes": 76,
            "total_pass": 39,
            "accurate_pass": 36,
            "duels_won": 2,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 20,
            "accurate_own_half_passes": 19,
            "total_opp_half_passes": 19,
            "accurate_opp_half_passes": 17,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 46,
            "possession_lost": 3.3827,
            "dispossessed": 0.0368,
            "duels_lost": 2,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 2,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0356,
            "ball_carries": 8,
            "total_progression": 26,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "duel_xg_multiplier": 0.7202,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.4,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.21,
            "pressing_faced": "HIGH",
            "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Pape Gueye",
            "opponent_faced": "Pape Gueye",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0199,
            "projected_assists": 0,
            "assist_probability": 0.0273,
            "finishing_factor": 1.2382,
            "creation_factor": 1.0644,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16421058,
              "match_date": "2026-10-11",
              "home_team": "Elche",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0646,
                "expected_assists": 0.042,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 46,
                "accurate_pass": 46,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "duels_won": 3,
                "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": 16416342,
              "match_date": "2026-09-15",
              "home_team": "Elche",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 58,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0026,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 28,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 4,
                "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": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 45,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0032,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 22,
                "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": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 64,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0029,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 21,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 2,
                "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": 16421050,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0451,
                "expected_assists": 0.0112,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 65,
                "accurate_pass": 60,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 6
              },
              "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": 14083743,
              "match_date": "2026-05-23",
              "home_team": "Girona FC",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0089,
                "total_shots": 0,
                "total_pass": 42,
                "accurate_pass": 35,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 4,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083671,
              "match_date": "2026-05-17",
              "home_team": "Elche",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Getafe",
              "stats": {
                "minutes": 84,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0097,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 33,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 5,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083608,
              "match_date": "2026-05-12",
              "home_team": "Real Betis",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0306,
                "total_shots": 0,
                "total_pass": 61,
                "accurate_pass": 59,
                "key_pass": 1,
                "interceptions": 2,
                "clearances": 2,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083578,
              "match_date": "2026-05-09",
              "home_team": "Elche",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 85,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0146,
                "total_shots": 0,
                "total_pass": 41,
                "accurate_pass": 39,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083401,
              "match_date": "2026-05-03",
              "home_team": "Celta Vigo",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 77,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1054,
                "expected_assists": 0.0305,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 53,
                "accurate_pass": 51,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3479,
            "combined_rank_score": 1468.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 44.0,
            "sofascore_rating": 7.8,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2893.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8263,
            "source_file": "data/player_rankings.csv",
            "player_name": "Marc Aguado",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Etta Eyong",
                  "ranking": 3474
                },
                {
                  "player_name": "Thilo Kehrer",
                  "ranking": 3475
                },
                {
                  "player_name": "Takumi Minamino",
                  "ranking": 3476
                },
                {
                  "player_name": "Dani Cárdenas",
                  "ranking": 3477
                },
                {
                  "player_name": "Pierre Lees-Melou",
                  "ranking": 3478
                }
              ],
              "lower": [
                {
                  "player_name": "Angel Gomes",
                  "ranking": 3480
                },
                {
                  "player_name": "Jonathan Clauss",
                  "ranking": 3481
                },
                {
                  "player_name": "Philipp Köhn",
                  "ranking": 3482
                },
                {
                  "player_name": "Leandro González Pírez",
                  "ranking": 3483
                },
                {
                  "player_name": "Mahdi Camara",
                  "ranking": 3484
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.772,
          "history_matches": 40,
          "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",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "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",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 40,
            "data_confidence": 0.772,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.998,
            "fbref_prior_metrics": {
              "squad": "Elche",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 198.0,
              "goals_per90": 0.4545454545454545,
              "assists_per90": 0.0,
              "shots_per90": 0.45,
              "shots_on_target_pct": 100.0,
              "prior_reliability": 0.1467
            },
            "rationale": "XGBoost regressor (M_service) evaluated 40 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Elche, rel: 0.15, gls/90: 0.4545454545454545, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.5328,
                "expected_assists": 0.034,
                "assists": 0.0398,
                "assist_rate": 0.0398,
                "expected_goals": 0.0279,
                "goals": 0.0476,
                "goal_rate": 0.0476,
                "shots_on_target": 0.1207,
                "total_shots": 0.5025,
                "rating": 6.8263,
                "minutes": 75.84,
                "total_pass": 38.9944,
                "accurate_pass": 36.1352,
                "duels_won": 1.8229,
                "total_long_balls": 1.9547,
                "accurate_long_balls": 1.1221,
                "total_own_half_passes": 20.189,
                "accurate_own_half_passes": 19.4898,
                "total_opp_half_passes": 18.8054,
                "accurate_opp_half_passes": 16.6454,
                "crosses_total": 0.0052,
                "crosses_accurate": 0.0052,
                "touches": 45.9235,
                "possession_lost": 3.3895,
                "dispossessed": 0.0369,
                "duels_lost": 2.1176,
                "aerial_won": 0.2126,
                "aerial_lost": 0.4516,
                "interceptions": 1.0491,
                "tackles_won": 0.6323,
                "tackles": 0.8973,
                "clearances": 1.6825,
                "total_contest": 0.0214,
                "won_contest": 0.0,
                "challenges_lost": 0.3131,
                "fouls": 1.3101,
                "fouls_drawn": 0.7138,
                "blocks": 0.4867,
                "big_chances_created": 0.0673,
                "big_chances_missed": 0.0,
                "xgot": 0.0496,
                "ball_carries": 7.7418,
                "total_progression": 25.6252,
                "progressive_carries": 0.2697,
                "shots_off_target": 0.3818
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-17T10:05:52.581708+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Real Madrid",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Real Racing Club",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "FC Barcelona",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Getafe",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Deportivo Alavés",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Celta Vigo",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.4276,
                  "creative_index": 0.2321,
                  "expectedGoals": 0.0179,
                  "expectedAssists": 0.0152,
                  "onTargetScoringAttempt": 0.1263
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.5327685475349426,
                    "model_output": 0.5328,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1306
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.1093
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0973
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0805
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0359
                        }
                      ],
                      "others": -0.1678,
                      "total": 0.5328,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.136455
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.112957
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.112526
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.103796
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.050035
                        }
                      ],
                      "others_margin": -0.27362
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03396613895893097,
                    "model_output": 0.034,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0185
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0122
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0076
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0067
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0044
                        }
                      ],
                      "others": -0.0156,
                      "total": 0.034,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.243631
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.20031
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.148697
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.132369
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.08466
                        }
                      ],
                      "others_margin": -0.379863
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.03978079929947853,
                    "model_output": 0.0398,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.019
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0119
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0049
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0043
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0042
                        }
                      ],
                      "others": -0.0115,
                      "total": 0.0398,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.244953
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.191569
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.090852
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.086884
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.085156
                        }
                      ],
                      "others_margin": -0.256195
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.027930257841944695,
                    "model_output": 0.0279,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0372
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.01
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0068
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0051
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0041
                        }
                      ],
                      "others": -0.0134,
                      "total": 0.0279,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.50238
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.192588
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.156796
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.120118
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.09422
                        }
                      ],
                      "others_margin": -0.390853
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.047614388167858124,
                    "model_output": 0.0476,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0194
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0128
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0085
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0064
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0058
                        }
                      ],
                      "others": -0.0089,
                      "total": 0.0476,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.220977
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.178599
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.139091
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.118342
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.10825
                        }
                      ],
                      "others_margin": -0.170915
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.12068328261375427,
                    "model_output": 0.1207,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0825
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0468
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0337
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0192
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0175
                        }
                      ],
                      "others": -0.0403,
                      "total": 0.1207,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.291872
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.213526
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.188366
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.125521
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.114763
                        }
                      ],
                      "others_margin": -0.288376
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5024541020393372,
                    "model_output": 0.5025,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2583
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1102
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0678
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0437
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0397
                        }
                      ],
                      "others": -0.1937,
                      "total": 0.5025,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.258308
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.110232
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.067751
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.043731
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.039653
                        }
                      ],
                      "others_margin": -0.193871
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.826322078704834,
                    "model_output": 6.8263,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0406
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0308
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0237
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0181
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0154
                        }
                      ],
                      "others": -0.041,
                      "total": 6.8263,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.040559
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.030777
                        },
                        {
                          "name": "rating",
                          "margin": -0.023681
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.018064
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.015383
                        }
                      ],
                      "others_margin": -0.040941
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 40,
                  "role_matches": 35,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9980, quality 0.446)",
              "stats": {
                "key_pass": 0.5317,
                "expected_assists": 0.0339,
                "assists": 0.0397,
                "assist_rate": 0.0397,
                "expected_goals": 0.0279,
                "goals": 0.0475,
                "goal_rate": 0.0475,
                "shots_on_target": 0.1204,
                "total_shots": 0.5015,
                "rating": 6.8263,
                "minutes": 75.84,
                "total_pass": 38.9164,
                "accurate_pass": 36.0629,
                "duels_won": 1.8193,
                "total_long_balls": 1.9508,
                "accurate_long_balls": 1.1199,
                "total_own_half_passes": 20.1486,
                "accurate_own_half_passes": 19.4508,
                "total_opp_half_passes": 18.7678,
                "accurate_opp_half_passes": 16.6121,
                "crosses_total": 0.0052,
                "crosses_accurate": 0.0052,
                "touches": 45.8317,
                "possession_lost": 3.3827,
                "dispossessed": 0.0368,
                "duels_lost": 2.1134,
                "aerial_won": 0.2122,
                "aerial_lost": 0.4507,
                "interceptions": 1.047,
                "tackles_won": 0.631,
                "tackles": 0.8955,
                "clearances": 1.6791,
                "total_contest": 0.0214,
                "won_contest": 0.0,
                "challenges_lost": 0.3125,
                "fouls": 1.3075,
                "fouls_drawn": 0.7124,
                "blocks": 0.4857,
                "big_chances_created": 0.0672,
                "big_chances_missed": 0.0,
                "xgot": 0.0495,
                "ball_carries": 7.7263,
                "total_progression": 25.5739,
                "progressive_carries": 0.2692,
                "shots_off_target": 0.381
              },
              "params": {
                "market_value_eur": 3700000,
                "quality_factor": 0.4461,
                "boost_factor": 0.998,
                "reference_quality": 0.505,
                "history_matches": 40,
                "history_shrink": 0.1111,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0106)",
              "stats": {
                "key_pass": 0.5317,
                "expected_assists": 0.0339,
                "assists": 0.0393,
                "assist_rate": 0.0393,
                "expected_goals": 0.0279,
                "goals": 0.0511,
                "goal_rate": 0.0511,
                "shots_on_target": 0.1231,
                "total_shots": 0.5002,
                "rating": 6.8263,
                "minutes": 75.84,
                "total_pass": 38.9164,
                "accurate_pass": 36.0629,
                "duels_won": 1.8193,
                "total_long_balls": 1.9508,
                "accurate_long_balls": 1.1199,
                "total_own_half_passes": 20.1486,
                "accurate_own_half_passes": 19.4508,
                "total_opp_half_passes": 18.7678,
                "accurate_opp_half_passes": 16.6121,
                "crosses_total": 0.0051,
                "crosses_accurate": 0.0052,
                "touches": 45.8317,
                "possession_lost": 3.3827,
                "dispossessed": 0.0368,
                "duels_lost": 2.1134,
                "aerial_won": 0.2122,
                "aerial_lost": 0.4507,
                "interceptions": 1.0359,
                "tackles_won": 0.6284,
                "tackles": 0.8955,
                "clearances": 1.6791,
                "total_contest": 0.0214,
                "won_contest": 0.0,
                "challenges_lost": 0.3125,
                "fouls": 1.3018,
                "fouls_drawn": 0.717,
                "blocks": 0.4857,
                "big_chances_created": 0.0672,
                "big_chances_missed": 0.0,
                "xgot": 0.0495,
                "ball_carries": 7.7263,
                "total_progression": 25.5739,
                "progressive_carries": 0.2692,
                "shots_off_target": 0.381
              },
              "params": {
                "blend_weight": 0.0106,
                "history_matches": 40,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8427,
                "prior_reliability": 0.1467,
                "competition": "La Liga",
                "squad": "Elche"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 1.047,
                  "after": 1.0359
                },
                {
                  "stat": "fouls",
                  "before": 1.3075,
                  "after": 1.3018
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.5317,
                "expected_assists": 0.0339,
                "assists": 0.0393,
                "assist_rate": 0.0393,
                "expected_goals": 0.0279,
                "goals": 0.0511,
                "goal_rate": 0.0511,
                "shots_on_target": 0.1231,
                "total_shots": 0.5041,
                "rating": 6.8263,
                "minutes": 75.84,
                "total_pass": 38.9164,
                "accurate_pass": 36.0629,
                "duels_won": 1.8193,
                "total_long_balls": 1.9508,
                "accurate_long_balls": 1.1199,
                "total_own_half_passes": 20.1486,
                "accurate_own_half_passes": 19.4508,
                "total_opp_half_passes": 18.7678,
                "accurate_opp_half_passes": 16.6121,
                "crosses_total": 0.0051,
                "crosses_accurate": 0.0051,
                "touches": 45.8317,
                "possession_lost": 3.3827,
                "dispossessed": 0.0368,
                "duels_lost": 2.1134,
                "aerial_won": 0.2122,
                "aerial_lost": 0.4507,
                "interceptions": 1.0359,
                "tackles_won": 0.6284,
                "tackles": 0.8955,
                "clearances": 1.6791,
                "total_contest": 0.0214,
                "won_contest": 0.0,
                "challenges_lost": 0.3125,
                "fouls": 1.3018,
                "fouls_drawn": 0.717,
                "blocks": 0.4857,
                "big_chances_created": 0.0672,
                "big_chances_missed": 0.0,
                "xgot": 0.0495,
                "ball_carries": 7.7263,
                "total_progression": 25.5739,
                "progressive_carries": 0.2692,
                "shots_off_target": 0.381
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 0.5317,
                "expected_assists": 0.0339,
                "assists": 0.0393,
                "assist_rate": 0.0393,
                "expected_goals": 0.0201,
                "goals": 0.0368,
                "goal_rate": 0.0368,
                "shots_on_target": 0.0887,
                "total_shots": 0.3631,
                "rating": 6.8263,
                "minutes": 75.84,
                "total_pass": 38.9164,
                "accurate_pass": 36.0629,
                "duels_won": 1.8193,
                "total_long_balls": 1.9508,
                "accurate_long_balls": 1.1199,
                "total_own_half_passes": 20.1486,
                "accurate_own_half_passes": 19.4508,
                "total_opp_half_passes": 18.7678,
                "accurate_opp_half_passes": 16.6121,
                "crosses_total": 0.0051,
                "crosses_accurate": 0.0051,
                "touches": 45.8317,
                "possession_lost": 3.3827,
                "dispossessed": 0.0368,
                "duels_lost": 2.1134,
                "aerial_won": 1.0,
                "aerial_lost": 0.4507,
                "interceptions": 1.0359,
                "tackles_won": 0.6284,
                "tackles": 0.8955,
                "clearances": 1.6791,
                "total_contest": 0.0214,
                "won_contest": 0.0,
                "challenges_lost": 0.3125,
                "fouls": 1.3018,
                "fouls_drawn": 0.717,
                "blocks": 0.4857,
                "big_chances_created": 0.0672,
                "big_chances_missed": 0.0,
                "xgot": 0.0356,
                "ball_carries": 7.7263,
                "total_progression": 25.5739,
                "progressive_carries": 0.2692,
                "shots_off_target": 0.2744,
                "duel_xg_multiplier": 0.7202,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.21,
                "pressing_faced": "HIGH",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pape Gueye",
                "opponent_faced": "Pape Gueye",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pape Gueye",
                  "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                  "duel_win_rate": 0.21,
                  "pressing_faced": "HIGH",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.7202,
                  "skill_edge": -0.1544,
                  "height_edge": -0.036,
                  "attacker_skill": 0.4542,
                  "defender_skill": 0.7972,
                  "attacker_role": "CDM",
                  "attacker_mv_price_index": 0.85,
                  "defender_adjusted_parts": [
                    {
                      "player": "Pape Gueye",
                      "market_value": 39000000,
                      "role": "CM",
                      "price_index": 0.9,
                      "adjusted_quality": 0.7972
                    }
                  ],
                  "xg_override": 0.0201
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.2122,
                  "after": 1.0
                },
                {
                  "stat": "totalShots",
                  "before": 0.5041,
                  "after": 0.3631
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.381,
                  "after": 0.2744
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1231,
                  "after": 0.0887
                },
                {
                  "stat": "goals",
                  "before": 0.0511,
                  "after": 0.0368
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.0495,
                  "after": 0.0356
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.0279,
                  "after": 0.0201
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.5317,
                "expected_assists": 0.0339,
                "assist_rate": 0.0393,
                "assists": 0,
                "expected_goals": 0.0201,
                "goal_rate": 0.0368,
                "goals": 0,
                "shots_on_target": 0.0887,
                "total_shots": 0.3631,
                "rating": 6.8263,
                "minutes": 75.84,
                "total_pass": 38.9164,
                "accurate_pass": 36.0629,
                "duels_won": 1.8193,
                "total_long_balls": 1.9508,
                "accurate_long_balls": 1.1199,
                "total_own_half_passes": 20.1486,
                "accurate_own_half_passes": 19.4508,
                "total_opp_half_passes": 18.7678,
                "accurate_opp_half_passes": 16.6121,
                "crosses_total": 0.0051,
                "crosses_accurate": 0.0051,
                "touches": 45.8317,
                "possession_lost": 3.3827,
                "dispossessed": 0.0368,
                "duels_lost": 2.1134,
                "aerial_won": 1.0,
                "aerial_lost": 0.4507,
                "interceptions": 1.0359,
                "tackles_won": 0.6284,
                "tackles": 0.8955,
                "clearances": 1.6791,
                "total_contest": 0.0214,
                "won_contest": 0.0,
                "challenges_lost": 0.3125,
                "fouls": 1.3018,
                "fouls_drawn": 0.717,
                "blocks": 0.4857,
                "big_chances_created": 0.0672,
                "big_chances_missed": 0.0,
                "xgot": 0.0356,
                "ball_carries": 7.7263,
                "total_progression": 25.5739,
                "progressive_carries": 0.2692,
                "shots_off_target": 0.2744,
                "duel_xg_multiplier": 0.7202,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.21,
                "pressing_faced": "HIGH",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pape Gueye",
                "opponent_faced": "Pape Gueye",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.90 (squad xG sum 0.8976, xG scale 1.0004, xA scale 0.8162, team xA 0.72 = 0.80 x lambda)",
              "stats": {
                "key_pass": 0.5317,
                "expected_assists": 0.0277,
                "assist_rate": 0.0393,
                "assists": 0,
                "expected_goals": 0.0201,
                "goal_rate": 0.0368,
                "goals": 0,
                "shots_on_target": 0.0887,
                "total_shots": 0.3631,
                "rating": 6.8263,
                "minutes": 75.84,
                "total_pass": 38.9164,
                "accurate_pass": 36.0629,
                "duels_won": 1.8193,
                "total_long_balls": 1.9508,
                "accurate_long_balls": 1.1199,
                "total_own_half_passes": 20.1486,
                "accurate_own_half_passes": 19.4508,
                "total_opp_half_passes": 18.7678,
                "accurate_opp_half_passes": 16.6121,
                "crosses_total": 0.0051,
                "crosses_accurate": 0.0051,
                "touches": 45.8317,
                "possession_lost": 3.3827,
                "dispossessed": 0.0368,
                "duels_lost": 2.1134,
                "aerial_won": 1.0,
                "aerial_lost": 0.4507,
                "interceptions": 1.0359,
                "tackles_won": 0.6284,
                "tackles": 0.8955,
                "clearances": 1.6791,
                "total_contest": 0.0214,
                "won_contest": 0.0,
                "challenges_lost": 0.3125,
                "fouls": 1.3018,
                "fouls_drawn": 0.717,
                "blocks": 0.4857,
                "big_chances_created": 0.0672,
                "big_chances_missed": 0.0,
                "xgot": 0.0356,
                "ball_carries": 7.7263,
                "total_progression": 25.5739,
                "progressive_carries": 0.2692,
                "shots_off_target": 0.2744,
                "duel_xg_multiplier": 0.7202,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.21,
                "pressing_faced": "HIGH",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pape Gueye",
                "opponent_faced": "Pape Gueye",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2382,
                "creation_factor": 1.0644
              },
              "params": {
                "team_lambda": 0.898,
                "squad_xg_sum": 0.8976,
                "squad_xa_sum": 0.8802,
                "team_expected_assists": 0.7184,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0004,
                "xa_scale": 0.8162,
                "opponent_lambda": 1.948,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0339,
                  "after": 0.0277
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 10 by projected rating, fifa_overall 74.0)",
              "stats": {
                "key_pass": 0.5317,
                "expected_assists": 0.0277,
                "assist_rate": 0.0393,
                "assists": 0,
                "expected_goals": 0.0201,
                "goal_rate": 0.0368,
                "goals": 0,
                "shots_on_target": 0.0887,
                "total_shots": 0.3631,
                "rating": 6.8263,
                "minutes": 75.84,
                "total_pass": 38.9164,
                "accurate_pass": 36.0629,
                "duels_won": 1.8193,
                "total_long_balls": 1.9508,
                "accurate_long_balls": 1.1199,
                "total_own_half_passes": 20.1486,
                "accurate_own_half_passes": 19.4508,
                "total_opp_half_passes": 18.7678,
                "accurate_opp_half_passes": 16.6121,
                "crosses_total": 0.0051,
                "crosses_accurate": 0.0051,
                "touches": 45.8317,
                "possession_lost": 3.3827,
                "dispossessed": 0.0368,
                "duels_lost": 2.1134,
                "aerial_won": 1.0,
                "aerial_lost": 0.4507,
                "interceptions": 1.0359,
                "tackles_won": 0.6284,
                "tackles": 0.8955,
                "clearances": 1.6791,
                "total_contest": 0.0214,
                "won_contest": 0.0,
                "challenges_lost": 0.3125,
                "fouls": 1.3018,
                "fouls_drawn": 0.717,
                "blocks": 0.4857,
                "big_chances_created": 0.0672,
                "big_chances_missed": 0.0,
                "xgot": 0.0356,
                "ball_carries": 7.7263,
                "total_progression": 25.5739,
                "progressive_carries": 0.2692,
                "shots_off_target": 0.2744,
                "duel_xg_multiplier": 0.7202,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.21,
                "pressing_faced": "HIGH",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pape Gueye",
                "opponent_faced": "Pape Gueye",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2382,
                "creation_factor": 1.0644,
                "fifa_overall": 74.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": 3479,
                "fifa_rank": 2893.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.5317,
                "expected_assists": 0.0277,
                "assist_rate": 0.0393,
                "assists": 0,
                "expected_goals": 0.0201,
                "goal_rate": 0.0368,
                "goals": 0,
                "shots_on_target": 0.0887,
                "total_shots": 0.3631,
                "rating": 6.8263,
                "minutes": 75.84,
                "total_pass": 38.9164,
                "accurate_pass": 36.0629,
                "duels_won": 1.8193,
                "total_long_balls": 1.9508,
                "accurate_long_balls": 1.1199,
                "total_own_half_passes": 20.1486,
                "accurate_own_half_passes": 19.4508,
                "total_opp_half_passes": 18.7678,
                "accurate_opp_half_passes": 16.6121,
                "crosses_total": 0.0051,
                "crosses_accurate": 0.0051,
                "touches": 45.8317,
                "possession_lost": 3.3827,
                "dispossessed": 0.0368,
                "duels_lost": 2.1134,
                "aerial_won": 1.0,
                "aerial_lost": 0.4507,
                "interceptions": 1.0359,
                "tackles_won": 0.6284,
                "tackles": 0.8955,
                "clearances": 1.6791,
                "total_contest": 0.0214,
                "won_contest": 0.0,
                "challenges_lost": 0.3125,
                "fouls": 1.3018,
                "fouls_drawn": 0.717,
                "blocks": 0.4857,
                "big_chances_created": 0.0672,
                "big_chances_missed": 0.0,
                "xgot": 0.0356,
                "ball_carries": 7.7263,
                "total_progression": 25.5739,
                "progressive_carries": 0.2692,
                "shots_off_target": 0.2744,
                "duel_xg_multiplier": 0.7202,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.21,
                "pressing_faced": "HIGH",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pape Gueye",
                "opponent_faced": "Pape Gueye",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0199,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2382,
                "creation_factor": 1.0644,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0199,
                "goal_rate": 0.0368,
                "scorer_weight": 0.0249,
                "squad_weight_total": 1.0138,
                "weight_share": 0.0245,
                "finishing_factor": 1.2382,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0.5317,
                "expected_assists": 0.0277,
                "assist_rate": 0.0393,
                "assists": 0,
                "expected_goals": 0.0201,
                "goal_rate": 0.0368,
                "goals": 0,
                "shots_on_target": 0.0887,
                "total_shots": 0.3631,
                "rating": 6.8263,
                "minutes": 75.84,
                "total_pass": 38.9164,
                "accurate_pass": 36.0629,
                "duels_won": 1.8193,
                "total_long_balls": 1.9508,
                "accurate_long_balls": 1.1199,
                "total_own_half_passes": 20.1486,
                "accurate_own_half_passes": 19.4508,
                "total_opp_half_passes": 18.7678,
                "accurate_opp_half_passes": 16.6121,
                "crosses_total": 0.0051,
                "crosses_accurate": 0.0051,
                "touches": 45.8317,
                "possession_lost": 3.3827,
                "dispossessed": 0.0368,
                "duels_lost": 2.1134,
                "aerial_won": 1.0,
                "aerial_lost": 0.4507,
                "interceptions": 1.0359,
                "tackles_won": 0.6284,
                "tackles": 0.8955,
                "clearances": 1.6791,
                "total_contest": 0.0214,
                "won_contest": 0.0,
                "challenges_lost": 0.3125,
                "fouls": 1.3018,
                "fouls_drawn": 0.717,
                "blocks": 0.4857,
                "big_chances_created": 0.0672,
                "big_chances_missed": 0.0,
                "xgot": 0.0356,
                "ball_carries": 7.7263,
                "total_progression": 25.5739,
                "progressive_carries": 0.2692,
                "shots_off_target": 0.2744,
                "duel_xg_multiplier": 0.7202,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.21,
                "pressing_faced": "HIGH",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pape Gueye",
                "opponent_faced": "Pape Gueye",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0199,
                "projected_assists": 0,
                "assist_probability": 0.0273,
                "finishing_factor": 1.2382,
                "creation_factor": 1.0644,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0273,
                "assist_rate": 0.0393,
                "provider_weight": 0.0295,
                "squad_weight_total": 0.7026,
                "weight_share": 0.042,
                "creation_factor": 1.0644,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 13
              }
            }
          ]
        },
        "Gonzalo Villar": {
          "player_id": 914765,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 12,
          "height": 181,
          "market_value": 1700000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0738,
            "assist_rate": 0.0888,
            "assists": 0,
            "expected_goals": 0.0514,
            "goal_rate": 0.0543,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.935,
            "minutes": 79,
            "total_pass": 45,
            "accurate_pass": 41,
            "duels_won": 5,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 19,
            "accurate_own_half_passes": 18,
            "total_opp_half_passes": 27,
            "accurate_opp_half_passes": 23,
            "crosses_total": 2,
            "crosses_accurate": 1,
            "touches": 58,
            "possession_lost": 8.0392,
            "dispossessed": 1.1274,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 2,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0674,
            "ball_carries": 18,
            "total_progression": 32,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "duel_xg_multiplier": 0.7267,
            "dribbles_attempted": 3,
            "dribbles_successful": 0.6,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.234,
            "pressing_faced": "HIGH",
            "matchup_zone": "CAM vs CM",
            "numerical_situation": "1v1",
            "opponent_defenders": "Pape Gueye",
            "opponent_faced": "Pape Gueye",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0501,
            "projected_assists": 0,
            "assist_probability": 0.0711,
            "finishing_factor": 1.0286,
            "creation_factor": 0.9886,
            "fifa_overall": 72.0
          },
          "latest_10_games": [
            {
              "match_id": 16421058,
              "match_date": "2026-10-11",
              "home_team": "Elche",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 71,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1084,
                "expected_assists": 0.0259,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 50,
                "accurate_pass": 49,
                "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": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 60,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0783,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 21,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 2,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416342,
              "match_date": "2026-09-15",
              "home_team": "Elche",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0538,
                "total_shots": 0,
                "total_pass": 61,
                "accurate_pass": 57,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 2,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 9,
                "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,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 83,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0367,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 33,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "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": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 70,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0294,
                "total_shots": 0,
                "total_pass": 46,
                "accurate_pass": 42,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 6,
                "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": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1209,
                "expected_assists": 0.4185,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 56,
                "accurate_pass": 48,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 8,
                "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": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.3509,
                "total_shots": 0,
                "total_pass": 45,
                "accurate_pass": 39,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 6
              },
              "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": 16421050,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0859,
                "expected_assists": 0.1163,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 71,
                "accurate_pass": 60,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 8,
                "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": 14083743,
              "match_date": "2026-05-23",
              "home_team": "Girona FC",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 75,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0057,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 16,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083671,
              "match_date": "2026-05-17",
              "home_team": "Elche",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0076,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 31,
                "tackles": 3,
                "tackles_won": 1,
                "aerial_won": 2,
                "duels_won": 10,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 4307,
            "combined_rank_score": 2317.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 383.0,
            "sofascore_rating": 6.9583,
            "sofascore_appearances": 12.0,
            "fifa_rank": 4251.0,
            "fifa_overall": 72.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.935,
            "source_file": "data/player_rankings.csv",
            "player_name": "Gonzalo Villar",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Fabian Reese",
                  "ranking": 4302
                },
                {
                  "player_name": "Kristoffer Nordfeldt",
                  "ranking": 4303
                },
                {
                  "player_name": "Vinicius Souza",
                  "ranking": 4304
                },
                {
                  "player_name": "Saël Kumbedi",
                  "ranking": 4305
                },
                {
                  "player_name": "Dženan Pejčinović",
                  "ranking": 4306
                }
              ],
              "lower": [
                {
                  "player_name": "Tomi Horvat",
                  "ranking": 4308
                },
                {
                  "player_name": "Samet Akaydın",
                  "ranking": 4309
                },
                {
                  "player_name": "Alexander Schlager",
                  "ranking": 4310
                },
                {
                  "player_name": "Cristiano Biraghi",
                  "ranking": 4311
                },
                {
                  "player_name": "Oleksandr Karavaiev",
                  "ranking": 4312
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 20,
          "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",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "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",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 20,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9959,
            "fbref_prior_metrics": {
              "squad": "Elche",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 270.0,
              "goals_per90": 0.0,
              "assists_per90": 0.3333333333333333,
              "shots_per90": 1.33,
              "shots_on_target_pct": 75.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (M_service) evaluated 20 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Elche, rel: 0.20, gls/90: 0.0, ast/90: 0.3333333333333333)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.0519,
                "expected_assists": 0.0907,
                "assists": 0.0836,
                "assist_rate": 0.0836,
                "expected_goals": 0.071,
                "goals": 0.077,
                "goal_rate": 0.077,
                "shots_on_target": 0.2448,
                "total_shots": 0.7389,
                "rating": 6.935,
                "minutes": 79.3,
                "total_pass": 45.4393,
                "accurate_pass": 41.1389,
                "duels_won": 5.4885,
                "total_long_balls": 1.641,
                "accurate_long_balls": 0.872,
                "total_own_half_passes": 18.7929,
                "accurate_own_half_passes": 17.9906,
                "total_opp_half_passes": 26.6464,
                "accurate_opp_half_passes": 23.1483,
                "crosses_total": 1.545,
                "crosses_accurate": 0.5303,
                "touches": 58.0945,
                "possession_lost": 8.0723,
                "dispossessed": 1.132,
                "duels_lost": 3.8512,
                "aerial_won": 0.9255,
                "aerial_lost": 0.759,
                "interceptions": 0.5518,
                "tackles_won": 0.8527,
                "tackles": 1.7006,
                "clearances": 0.4349,
                "total_contest": 1.1992,
                "won_contest": 0.8263,
                "challenges_lost": 0.3116,
                "fouls": 1.4134,
                "fouls_drawn": 2.1356,
                "blocks": 0.055,
                "big_chances_created": 0.1222,
                "big_chances_missed": 0.0,
                "xgot": 0.0932,
                "ball_carries": 17.9655,
                "total_progression": 32.2478,
                "progressive_carries": 1.0337,
                "shots_off_target": 0.4941
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-17T10:05:52.581708+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Celta Vigo",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.156,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Espanyol",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.1326,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1127,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Athletic Club",
                    "minutes": 83.0,
                    "is_starting": true,
                    "weight": 0.0958,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Real Sociedad",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.0815,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0692,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0589,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.05,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Girona FC",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.0425,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0361,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.4762,
                  "creative_index": 0.3251,
                  "expectedGoals": 0.0338,
                  "expectedAssists": 0.0917,
                  "onTargetScoringAttempt": 0.3442
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.05191969871521,
                    "model_output": 1.0519,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.126
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0673
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0544
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0568
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0317
                        }
                      ],
                      "others": -0.0427,
                      "total": 1.0519,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.131996
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.068318
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.055634
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.054914
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.029389
                        }
                      ],
                      "others_margin": -0.039808
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.0907360091805458,
                    "model_output": 0.0907,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0107
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0042
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0037
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.003
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0028
                        }
                      ],
                      "others": -0.0109,
                      "total": 0.0907,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.117417
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.045039
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.039672
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.031197
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.028334
                        }
                      ],
                      "others_margin": -0.113781
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.08361974358558655,
                    "model_output": 0.0836,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": 0.0085
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0081
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0061
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0031
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0029
                        }
                      ],
                      "others": -0.0139,
                      "total": 0.0836,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": 0.092599
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.080942
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.060483
                        },
                        {
                          "name": "duelWon",
                          "margin": -0.032533
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.030269
                        }
                      ],
                      "others_margin": -0.153196
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.07096081227064133,
                    "model_output": 0.071,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0161
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0118
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0076
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0035
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0032
                        }
                      ],
                      "others": -0.0111,
                      "total": 0.071,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.187254
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.140105
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.087747
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.043093
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.039626
                        }
                      ],
                      "others_margin": -0.145938
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.07699058204889297,
                    "model_output": 0.077,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0156
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0094
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0066
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0032
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0024
                        }
                      ],
                      "others": -0.0072,
                      "total": 0.077,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.173759
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.108006
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.075002
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.038915
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.028988
                        }
                      ],
                      "others_margin": -0.088442
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.24478726089000702,
                    "model_output": 0.2448,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0788
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0385
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0191
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0116
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0106
                        }
                      ],
                      "others": 0.0007,
                      "total": 0.2448,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.27698
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.14491
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.069195
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.04453
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.042675
                        }
                      ],
                      "others_margin": 0.002793
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.7388843894004822,
                    "model_output": 0.7389,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2747
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1293
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0509
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0163
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0121
                        }
                      ],
                      "others": -0.0645,
                      "total": 0.7389,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.274706
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.129301
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.050939
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.016325
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.012122
                        }
                      ],
                      "others_margin": -0.064509
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.935049057006836,
                    "model_output": 6.935,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1004
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0313
                        },
                        {
                          "name": "rating",
                          "contribution": -0.02
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0192
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0168
                        }
                      ],
                      "others": 0.0062,
                      "total": 6.935,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.100447
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.031251
                        },
                        {
                          "name": "rating",
                          "margin": -0.020037
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.019241
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.016835
                        }
                      ],
                      "others_margin": 0.006408
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 20,
                  "role_matches": 16,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9959, quality 0.437)",
              "stats": {
                "key_pass": 1.0476,
                "expected_assists": 0.0904,
                "assists": 0.0833,
                "assist_rate": 0.0833,
                "expected_goals": 0.0707,
                "goals": 0.0767,
                "goal_rate": 0.0767,
                "shots_on_target": 0.2438,
                "total_shots": 0.7359,
                "rating": 6.935,
                "minutes": 79.3,
                "total_pass": 45.253,
                "accurate_pass": 40.9702,
                "duels_won": 5.466,
                "total_long_balls": 1.6343,
                "accurate_long_balls": 0.8684,
                "total_own_half_passes": 18.7158,
                "accurate_own_half_passes": 17.9168,
                "total_opp_half_passes": 26.5371,
                "accurate_opp_half_passes": 23.0534,
                "crosses_total": 1.5387,
                "crosses_accurate": 0.5281,
                "touches": 57.8563,
                "possession_lost": 8.0392,
                "dispossessed": 1.1274,
                "duels_lost": 3.8354,
                "aerial_won": 0.9217,
                "aerial_lost": 0.7559,
                "interceptions": 0.5495,
                "tackles_won": 0.8492,
                "tackles": 1.6936,
                "clearances": 0.4331,
                "total_contest": 1.1943,
                "won_contest": 0.8229,
                "challenges_lost": 0.3103,
                "fouls": 1.4076,
                "fouls_drawn": 2.1268,
                "blocks": 0.0548,
                "big_chances_created": 0.1217,
                "big_chances_missed": 0.0,
                "xgot": 0.0928,
                "ball_carries": 17.8918,
                "total_progression": 32.1156,
                "progressive_carries": 1.0295,
                "shots_off_target": 0.4921
              },
              "params": {
                "market_value_eur": 1700000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9959,
                "reference_quality": 0.505,
                "history_matches": 20,
                "history_shrink": 0.2,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0260)",
              "stats": {
                "key_pass": 1.0476,
                "expected_assists": 0.0904,
                "assists": 0.0888,
                "assist_rate": 0.0888,
                "expected_goals": 0.0707,
                "goals": 0.0747,
                "goal_rate": 0.0747,
                "shots_on_target": 0.2604,
                "total_shots": 0.7472,
                "rating": 6.935,
                "minutes": 79.3,
                "total_pass": 45.253,
                "accurate_pass": 40.9702,
                "duels_won": 5.466,
                "total_long_balls": 1.6343,
                "accurate_long_balls": 0.8684,
                "total_own_half_passes": 18.7158,
                "accurate_own_half_passes": 17.9168,
                "total_opp_half_passes": 26.5371,
                "accurate_opp_half_passes": 23.0534,
                "crosses_total": 1.5674,
                "crosses_accurate": 0.5281,
                "touches": 57.8563,
                "possession_lost": 8.0392,
                "dispossessed": 1.1274,
                "duels_lost": 3.8354,
                "aerial_won": 0.9217,
                "aerial_lost": 0.7559,
                "interceptions": 0.5505,
                "tackles_won": 0.8424,
                "tackles": 1.6936,
                "clearances": 0.4331,
                "total_contest": 1.1943,
                "won_contest": 0.8229,
                "challenges_lost": 0.3103,
                "fouls": 1.4321,
                "fouls_drawn": 2.1784,
                "blocks": 0.0548,
                "big_chances_created": 0.1217,
                "big_chances_missed": 0.0,
                "xgot": 0.0928,
                "ball_carries": 17.8918,
                "total_progression": 32.1156,
                "progressive_carries": 1.0295,
                "shots_off_target": 0.4921
              },
              "params": {
                "blend_weight": 0.026,
                "history_matches": 20,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8811,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Elche"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 2.1268,
                  "after": 2.1784
                },
                {
                  "stat": "totalCross",
                  "before": 1.5387,
                  "after": 1.5674
                },
                {
                  "stat": "fouls",
                  "before": 1.4076,
                  "after": 1.4321
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.2438,
                  "after": 0.2604
                },
                {
                  "stat": "totalShots",
                  "before": 0.7359,
                  "after": 0.7472
                },
                {
                  "stat": "wonTackle",
                  "before": 0.8492,
                  "after": 0.8424
                },
                {
                  "stat": "goalAssist",
                  "before": 0.0833,
                  "after": 0.0888
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.0476,
                "expected_assists": 0.0904,
                "assists": 0.0888,
                "assist_rate": 0.0888,
                "expected_goals": 0.0707,
                "goals": 0.0747,
                "goal_rate": 0.0747,
                "shots_on_target": 0.2604,
                "total_shots": 0.7525,
                "rating": 6.935,
                "minutes": 79.3,
                "total_pass": 45.253,
                "accurate_pass": 40.9702,
                "duels_won": 5.466,
                "total_long_balls": 1.6343,
                "accurate_long_balls": 0.8684,
                "total_own_half_passes": 18.7158,
                "accurate_own_half_passes": 17.9168,
                "total_opp_half_passes": 26.5371,
                "accurate_opp_half_passes": 23.0534,
                "crosses_total": 1.5674,
                "crosses_accurate": 0.5281,
                "touches": 57.8563,
                "possession_lost": 8.0392,
                "dispossessed": 1.1274,
                "duels_lost": 3.8354,
                "aerial_won": 0.9217,
                "aerial_lost": 0.7559,
                "interceptions": 0.5505,
                "tackles_won": 0.8424,
                "tackles": 1.6936,
                "clearances": 0.4331,
                "total_contest": 1.1943,
                "won_contest": 0.8229,
                "challenges_lost": 0.3103,
                "fouls": 1.4321,
                "fouls_drawn": 2.1784,
                "blocks": 0.0548,
                "big_chances_created": 0.1217,
                "big_chances_missed": 0.0,
                "xgot": 0.0928,
                "ball_carries": 17.8918,
                "total_progression": 32.1156,
                "progressive_carries": 1.0295,
                "shots_off_target": 0.4921
              },
              "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.0476,
                "expected_assists": 0.0904,
                "assists": 0.0888,
                "assist_rate": 0.0888,
                "expected_goals": 0.0514,
                "goals": 0.0543,
                "goal_rate": 0.0543,
                "shots_on_target": 0.1892,
                "total_shots": 0.5468,
                "rating": 6.935,
                "minutes": 79.3,
                "total_pass": 45.253,
                "accurate_pass": 40.9702,
                "duels_won": 5.466,
                "total_long_balls": 1.6343,
                "accurate_long_balls": 0.8684,
                "total_own_half_passes": 18.7158,
                "accurate_own_half_passes": 17.9168,
                "total_opp_half_passes": 26.5371,
                "accurate_opp_half_passes": 23.0534,
                "crosses_total": 1.5674,
                "crosses_accurate": 0.5281,
                "touches": 57.8563,
                "possession_lost": 8.0392,
                "dispossessed": 1.1274,
                "duels_lost": 3.8354,
                "aerial_won": 1.1,
                "aerial_lost": 0.7559,
                "interceptions": 0.5505,
                "tackles_won": 0.8424,
                "tackles": 1.6936,
                "clearances": 0.4331,
                "total_contest": 1.1943,
                "won_contest": 0.8229,
                "challenges_lost": 0.3103,
                "fouls": 1.4321,
                "fouls_drawn": 2.1784,
                "blocks": 0.0548,
                "big_chances_created": 0.1217,
                "big_chances_missed": 0.0,
                "xgot": 0.0674,
                "ball_carries": 17.8918,
                "total_progression": 32.1156,
                "progressive_carries": 1.0295,
                "shots_off_target": 0.3576,
                "duel_xg_multiplier": 0.7267,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.234,
                "pressing_faced": "HIGH",
                "matchup_zone": "CAM vs CM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pape Gueye",
                "opponent_faced": "Pape Gueye",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pape Gueye",
                  "matchup_zone": "CAM vs CM",
                  "duel_win_rate": 0.234,
                  "pressing_faced": "HIGH",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.7267,
                  "skill_edge": -0.1619,
                  "height_edge": -0.024,
                  "attacker_skill": 0.4374,
                  "defender_skill": 0.7972,
                  "attacker_role": "CAM",
                  "attacker_mv_price_index": 0.95,
                  "defender_adjusted_parts": [
                    {
                      "player": "Pape Gueye",
                      "market_value": 39000000,
                      "role": "CM",
                      "price_index": 0.9,
                      "adjusted_quality": 0.7972
                    }
                  ],
                  "xg_override": 0.0514
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 0.7525,
                  "after": 0.5468
                },
                {
                  "stat": "aerialWon",
                  "before": 0.9217,
                  "after": 1.1
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.4921,
                  "after": 0.3576
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.2604,
                  "after": 0.1892
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.0928,
                  "after": 0.0674
                },
                {
                  "stat": "goals",
                  "before": 0.0747,
                  "after": 0.0543
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.0707,
                  "after": 0.0514
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 1.0476,
                "expected_assists": 0.0904,
                "assist_rate": 0.0888,
                "assists": 0,
                "expected_goals": 0.0514,
                "goal_rate": 0.0543,
                "goals": 0,
                "shots_on_target": 0.1892,
                "total_shots": 0.5468,
                "rating": 6.935,
                "minutes": 79.3,
                "total_pass": 45.253,
                "accurate_pass": 40.9702,
                "duels_won": 5.466,
                "total_long_balls": 1.6343,
                "accurate_long_balls": 0.8684,
                "total_own_half_passes": 18.7158,
                "accurate_own_half_passes": 17.9168,
                "total_opp_half_passes": 26.5371,
                "accurate_opp_half_passes": 23.0534,
                "crosses_total": 1.5674,
                "crosses_accurate": 0.5281,
                "touches": 57.8563,
                "possession_lost": 8.0392,
                "dispossessed": 1.1274,
                "duels_lost": 3.8354,
                "aerial_won": 1.1,
                "aerial_lost": 0.7559,
                "interceptions": 0.5505,
                "tackles_won": 0.8424,
                "tackles": 1.6936,
                "clearances": 0.4331,
                "total_contest": 1.1943,
                "won_contest": 0.8229,
                "challenges_lost": 0.3103,
                "fouls": 1.4321,
                "fouls_drawn": 2.1784,
                "blocks": 0.0548,
                "big_chances_created": 0.1217,
                "big_chances_missed": 0.0,
                "xgot": 0.0674,
                "ball_carries": 17.8918,
                "total_progression": 32.1156,
                "progressive_carries": 1.0295,
                "shots_off_target": 0.3576,
                "duel_xg_multiplier": 0.7267,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.234,
                "pressing_faced": "HIGH",
                "matchup_zone": "CAM vs CM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pape Gueye",
                "opponent_faced": "Pape Gueye",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.90 (squad xG sum 0.8976, xG scale 1.0004, xA scale 0.8162, team xA 0.72 = 0.80 x lambda)",
              "stats": {
                "key_pass": 1.0476,
                "expected_assists": 0.0738,
                "assist_rate": 0.0888,
                "assists": 0,
                "expected_goals": 0.0514,
                "goal_rate": 0.0543,
                "goals": 0,
                "shots_on_target": 0.1892,
                "total_shots": 0.5468,
                "rating": 6.935,
                "minutes": 79.3,
                "total_pass": 45.253,
                "accurate_pass": 40.9702,
                "duels_won": 5.466,
                "total_long_balls": 1.6343,
                "accurate_long_balls": 0.8684,
                "total_own_half_passes": 18.7158,
                "accurate_own_half_passes": 17.9168,
                "total_opp_half_passes": 26.5371,
                "accurate_opp_half_passes": 23.0534,
                "crosses_total": 1.5674,
                "crosses_accurate": 0.5281,
                "touches": 57.8563,
                "possession_lost": 8.0392,
                "dispossessed": 1.1274,
                "duels_lost": 3.8354,
                "aerial_won": 1.1,
                "aerial_lost": 0.7559,
                "interceptions": 0.5505,
                "tackles_won": 0.8424,
                "tackles": 1.6936,
                "clearances": 0.4331,
                "total_contest": 1.1943,
                "won_contest": 0.8229,
                "challenges_lost": 0.3103,
                "fouls": 1.4321,
                "fouls_drawn": 2.1784,
                "blocks": 0.0548,
                "big_chances_created": 0.1217,
                "big_chances_missed": 0.0,
                "xgot": 0.0674,
                "ball_carries": 17.8918,
                "total_progression": 32.1156,
                "progressive_carries": 1.0295,
                "shots_off_target": 0.3576,
                "duel_xg_multiplier": 0.7267,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.234,
                "pressing_faced": "HIGH",
                "matchup_zone": "CAM vs CM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pape Gueye",
                "opponent_faced": "Pape Gueye",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0286,
                "creation_factor": 0.9886
              },
              "params": {
                "team_lambda": 0.898,
                "squad_xg_sum": 0.8976,
                "squad_xa_sum": 0.8802,
                "team_expected_assists": 0.7184,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0004,
                "xa_scale": 0.8162,
                "opponent_lambda": 1.948,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0904,
                  "after": 0.0738
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 5 by projected rating, fifa_overall 72.0)",
              "stats": {
                "key_pass": 1.0476,
                "expected_assists": 0.0738,
                "assist_rate": 0.0888,
                "assists": 0,
                "expected_goals": 0.0514,
                "goal_rate": 0.0543,
                "goals": 0,
                "shots_on_target": 0.1892,
                "total_shots": 0.5468,
                "rating": 6.935,
                "minutes": 79.3,
                "total_pass": 45.253,
                "accurate_pass": 40.9702,
                "duels_won": 5.466,
                "total_long_balls": 1.6343,
                "accurate_long_balls": 0.8684,
                "total_own_half_passes": 18.7158,
                "accurate_own_half_passes": 17.9168,
                "total_opp_half_passes": 26.5371,
                "accurate_opp_half_passes": 23.0534,
                "crosses_total": 1.5674,
                "crosses_accurate": 0.5281,
                "touches": 57.8563,
                "possession_lost": 8.0392,
                "dispossessed": 1.1274,
                "duels_lost": 3.8354,
                "aerial_won": 1.1,
                "aerial_lost": 0.7559,
                "interceptions": 0.5505,
                "tackles_won": 0.8424,
                "tackles": 1.6936,
                "clearances": 0.4331,
                "total_contest": 1.1943,
                "won_contest": 0.8229,
                "challenges_lost": 0.3103,
                "fouls": 1.4321,
                "fouls_drawn": 2.1784,
                "blocks": 0.0548,
                "big_chances_created": 0.1217,
                "big_chances_missed": 0.0,
                "xgot": 0.0674,
                "ball_carries": 17.8918,
                "total_progression": 32.1156,
                "progressive_carries": 1.0295,
                "shots_off_target": 0.3576,
                "duel_xg_multiplier": 0.7267,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.234,
                "pressing_faced": "HIGH",
                "matchup_zone": "CAM vs CM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pape Gueye",
                "opponent_faced": "Pape Gueye",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0286,
                "creation_factor": 0.9886,
                "fifa_overall": 72.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": 4307,
                "fifa_rank": 4251.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": {
                "key_pass": 1.0476,
                "expected_assists": 0.0738,
                "assist_rate": 0.0888,
                "assists": 0,
                "expected_goals": 0.0514,
                "goal_rate": 0.0543,
                "goals": 0,
                "shots_on_target": 0.1892,
                "total_shots": 0.5468,
                "rating": 6.935,
                "minutes": 79.3,
                "total_pass": 45.253,
                "accurate_pass": 40.9702,
                "duels_won": 5.466,
                "total_long_balls": 1.6343,
                "accurate_long_balls": 0.8684,
                "total_own_half_passes": 18.7158,
                "accurate_own_half_passes": 17.9168,
                "total_opp_half_passes": 26.5371,
                "accurate_opp_half_passes": 23.0534,
                "crosses_total": 1.5674,
                "crosses_accurate": 0.5281,
                "touches": 57.8563,
                "possession_lost": 8.0392,
                "dispossessed": 1.1274,
                "duels_lost": 3.8354,
                "aerial_won": 1.1,
                "aerial_lost": 0.7559,
                "interceptions": 0.5505,
                "tackles_won": 0.8424,
                "tackles": 1.6936,
                "clearances": 0.4331,
                "total_contest": 1.1943,
                "won_contest": 0.8229,
                "challenges_lost": 0.3103,
                "fouls": 1.4321,
                "fouls_drawn": 2.1784,
                "blocks": 0.0548,
                "big_chances_created": 0.1217,
                "big_chances_missed": 0.0,
                "xgot": 0.0674,
                "ball_carries": 17.8918,
                "total_progression": 32.1156,
                "progressive_carries": 1.0295,
                "shots_off_target": 0.3576,
                "duel_xg_multiplier": 0.7267,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.234,
                "pressing_faced": "HIGH",
                "matchup_zone": "CAM vs CM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pape Gueye",
                "opponent_faced": "Pape Gueye",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0501,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0286,
                "creation_factor": 0.9886,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0501,
                "goal_rate": 0.0543,
                "scorer_weight": 0.0529,
                "squad_weight_total": 1.0138,
                "weight_share": 0.0521,
                "finishing_factor": 1.0286,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 1.0476,
                "expected_assists": 0.0738,
                "assist_rate": 0.0888,
                "assists": 0,
                "expected_goals": 0.0514,
                "goal_rate": 0.0543,
                "goals": 0,
                "shots_on_target": 0.1892,
                "total_shots": 0.5468,
                "rating": 6.935,
                "minutes": 79.3,
                "total_pass": 45.253,
                "accurate_pass": 40.9702,
                "duels_won": 5.466,
                "total_long_balls": 1.6343,
                "accurate_long_balls": 0.8684,
                "total_own_half_passes": 18.7158,
                "accurate_own_half_passes": 17.9168,
                "total_opp_half_passes": 26.5371,
                "accurate_opp_half_passes": 23.0534,
                "crosses_total": 1.5674,
                "crosses_accurate": 0.5281,
                "touches": 57.8563,
                "possession_lost": 8.0392,
                "dispossessed": 1.1274,
                "duels_lost": 3.8354,
                "aerial_won": 1.1,
                "aerial_lost": 0.7559,
                "interceptions": 0.5505,
                "tackles_won": 0.8424,
                "tackles": 1.6936,
                "clearances": 0.4331,
                "total_contest": 1.1943,
                "won_contest": 0.8229,
                "challenges_lost": 0.3103,
                "fouls": 1.4321,
                "fouls_drawn": 2.1784,
                "blocks": 0.0548,
                "big_chances_created": 0.1217,
                "big_chances_missed": 0.0,
                "xgot": 0.0674,
                "ball_carries": 17.8918,
                "total_progression": 32.1156,
                "progressive_carries": 1.0295,
                "shots_off_target": 0.3576,
                "duel_xg_multiplier": 0.7267,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.234,
                "pressing_faced": "HIGH",
                "matchup_zone": "CAM vs CM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pape Gueye",
                "opponent_faced": "Pape Gueye",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0501,
                "projected_assists": 0,
                "assist_probability": 0.0711,
                "finishing_factor": 1.0286,
                "creation_factor": 0.9886,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0711,
                "assist_rate": 0.0888,
                "provider_weight": 0.073,
                "squad_weight_total": 0.7026,
                "weight_share": 0.1038,
                "creation_factor": 0.9886,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 13
              }
            }
          ]
        },
        "Roy Revivo": {
          "player_id": 1142085,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 3,
          "height": 183,
          "market_value": 4600000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.7772,
            "minutes": 88,
            "total_pass": 40,
            "accurate_pass": 34,
            "duels_won": 4,
            "total_long_balls": 3,
            "accurate_long_balls": 0,
            "total_own_half_passes": 18,
            "accurate_own_half_passes": 16,
            "total_opp_half_passes": 22,
            "accurate_opp_half_passes": 17,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 54,
            "possession_lost": 10.7375,
            "dispossessed": 0.3115,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 2,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 2,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.5297,
            "assists": 0,
            "expected_goals": 0.0129,
            "expected_assists": 0.1544,
            "shots_on_target": 0,
            "big_chances_created": 1,
            "xgot": 0.0,
            "ball_carries": 13,
            "total_progression": 72,
            "progressive_carries": 1,
            "key_pass": 1,
            "shots_off_target": 1,
            "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.776,
            "opponent_faced": "Tani Oluwaseyi",
            "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.0128,
            "projected_assists": 0,
            "assist_probability": 0.1431,
            "finishing_factor": 0.8,
            "creation_factor": 1.25,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 16421058,
              "match_date": "2026-10-11",
              "home_team": "Elche",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0413,
                "expected_assists": 0.2743,
                "total_shots": 1,
                "total_pass": 53,
                "accurate_pass": 45,
                "key_pass": 1,
                "clearances": 1,
                "aerial_won": 1,
                "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": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 77,
                "rating": 7.3,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_assists": 0.268,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 14,
                "key_pass": 2,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416342,
              "match_date": "2026-09-15",
              "home_team": "Elche",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.144,
                "total_shots": 0,
                "total_pass": 58,
                "accurate_pass": 51,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0026,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 23,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 7,
                "aerial_won": 3,
                "duels_won": 7,
                "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": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 9,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1188,
                "expected_assists": 0.0054,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 6,
                "accurate_pass": 6,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 808,
            "combined_rank_score": 532.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 391.0,
            "sofascore_rating": 6.95,
            "sofascore_appearances": 8.0,
            "fifa_rank": 673.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7772,
            "source_file": "data/player_rankings.csv",
            "player_name": "Roy Revivo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Harvey Barnes",
                  "ranking": 803
                },
                {
                  "player_name": "Nicola Pérez",
                  "ranking": 804
                },
                {
                  "player_name": "Jun-seo Park",
                  "ranking": 805
                },
                {
                  "player_name": "Chang-woo Park",
                  "ranking": 806
                },
                {
                  "player_name": "Ronan",
                  "ranking": 807
                }
              ],
              "lower": [
                {
                  "player_name": "Hugo Magallanes",
                  "ranking": 809
                },
                {
                  "player_name": "Dženis Burnić",
                  "ranking": 810
                },
                {
                  "player_name": "Vanja Drkušić",
                  "ranking": 811
                },
                {
                  "player_name": "Hugo Souza",
                  "ranking": 812
                },
                {
                  "player_name": "Teddy Teuma",
                  "ranking": 813
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.562,
          "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",
              "totalTackle",
              "totalShots",
              "rating",
              "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.562,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9928,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (D_service) evaluated 5 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.9068,
                "tackles": 1.52,
                "tackles_won": 0.8978,
                "clearances": 2.4165,
                "aerial_won": 0.7796,
                "total_shots": 0.5828,
                "rating": 6.7772,
                "minutes": 87.69,
                "total_pass": 40.0985,
                "accurate_pass": 33.8516,
                "duels_won": 3.905,
                "total_long_balls": 3.4255,
                "accurate_long_balls": 0.2667,
                "total_own_half_passes": 18.0168,
                "accurate_own_half_passes": 16.4046,
                "total_opp_half_passes": 22.0817,
                "accurate_opp_half_passes": 17.447,
                "crosses_total": 1.2207,
                "crosses_accurate": 0.2267,
                "touches": 54.5966,
                "possession_lost": 10.8154,
                "dispossessed": 0.3138,
                "duels_lost": 3.436,
                "aerial_lost": 0.8203,
                "total_contest": 1.0471,
                "won_contest": 0.7333,
                "ball_recovery": 2.3068,
                "challenges_lost": 0.994,
                "fouls": 0.994,
                "fouls_drawn": 1.8203,
                "blocks": 0.4935,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.5335,
                "assist_rate": 0.5335,
                "expected_goals": 0.013,
                "expected_assists": 0.1907,
                "shots_on_target": 0.0,
                "big_chances_created": 0.5335,
                "xgot": 0.0,
                "ball_carries": 13.3803,
                "total_progression": 72.7512,
                "progressive_carries": 1.3878,
                "key_pass": 1.074,
                "shots_off_target": 0.5828
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:05:00.533351+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2696,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Espanyol",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.2292,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1948,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1656,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Real Sociedad",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.1408,
                    "rating": 6.2
                  }
                ],
                "feature_row": {
                  "history_matches": 5.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 1.8528,
                  "aerialWon": 0.7664,
                  "totalClearance_p90": 1.8915,
                  "totalTackle": 0.5355,
                  "defensive_actions": 1.4951
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9068400263786316,
                    "model_output": 0.9068,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1161
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0545
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0423
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0307
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.028
                        }
                      ],
                      "others": -0.0321,
                      "total": 0.9068,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.126556
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.057365
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.046952
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.034316
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.030282
                        }
                      ],
                      "others_margin": -0.03482
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.5199915170669556,
                    "model_output": 1.52,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1902
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.1381
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0638
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0591
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0579
                        }
                      ],
                      "others": 0.0114,
                      "total": 1.52,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.128136
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.091367
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.043218
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.038485
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.037651
                        }
                      ],
                      "others_margin": 0.007497
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.8977702260017395,
                    "model_output": 0.8978,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1151
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.1017
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0404
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0357
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0333
                        }
                      ],
                      "others": 0.0016,
                      "total": 0.8978,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.126406
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.110866
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.047686
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.042306
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.03788
                        }
                      ],
                      "others_margin": 0.001748
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.416461229324341,
                    "model_output": 2.4165,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.6422
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3755
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.3324
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.2902
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0823
                        }
                      ],
                      "others": -0.0446,
                      "total": 2.4165,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.207142
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.12625
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.110913
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.108045
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.032887
                        }
                      ],
                      "others_margin": -0.018315
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.7796282172203064,
                    "model_output": 0.7796,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.361
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.1345
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1172
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0802
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0331
                        }
                      ],
                      "others": -0.1061,
                      "total": 0.7796,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.303981
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.141964
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.124758
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.083685
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.036737
                        }
                      ],
                      "others_margin": -0.127463
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5828068852424622,
                    "model_output": 0.5828,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0658
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0206
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0153
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0137
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0123
                        }
                      ],
                      "others": 0.0112,
                      "total": 0.5828,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.065815
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.020557
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.015256
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.013748
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.01229
                        }
                      ],
                      "others_margin": 0.011153
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.777177333831787,
                    "model_output": 6.7772,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0187
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0151
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": 0.0134
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0121
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0118
                        }
                      ],
                      "others": -0.0308,
                      "total": 6.7772,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": 0.018666
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.015052
                        },
                        {
                          "name": "tackle_success_rate",
                          "margin": 0.013446
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.012097
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.011778
                        }
                      ],
                      "others_margin": -0.030815
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 5,
                  "role_matches": 4,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9928, quality 0.457)",
              "stats": {
                "interceptions": 0.9003,
                "tackles": 1.509,
                "tackles_won": 0.8913,
                "clearances": 2.3991,
                "aerial_won": 0.774,
                "total_shots": 0.5786,
                "rating": 6.7772,
                "minutes": 87.69,
                "total_pass": 39.8098,
                "accurate_pass": 33.6079,
                "duels_won": 3.8769,
                "total_long_balls": 3.4008,
                "accurate_long_balls": 0.2648,
                "total_own_half_passes": 17.8871,
                "accurate_own_half_passes": 16.2865,
                "total_opp_half_passes": 21.9227,
                "accurate_opp_half_passes": 17.3214,
                "crosses_total": 1.2119,
                "crosses_accurate": 0.2251,
                "touches": 54.2035,
                "possession_lost": 10.7375,
                "dispossessed": 0.3115,
                "duels_lost": 3.4113,
                "aerial_lost": 0.8144,
                "total_contest": 1.0396,
                "won_contest": 0.728,
                "ball_recovery": 2.2902,
                "challenges_lost": 0.9868,
                "fouls": 0.9868,
                "fouls_drawn": 1.8072,
                "blocks": 0.4899,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.5297,
                "assist_rate": 0.5297,
                "expected_goals": 0.0129,
                "expected_assists": 0.1893,
                "shots_on_target": 0.0,
                "big_chances_created": 0.5297,
                "xgot": 0.0,
                "ball_carries": 13.284,
                "total_progression": 72.2274,
                "progressive_carries": 1.3778,
                "key_pass": 1.0663,
                "shots_off_target": 0.5786
              },
              "params": {
                "market_value_eur": 4600000,
                "quality_factor": 0.4572,
                "boost_factor": 0.9928,
                "reference_quality": 0.505,
                "history_matches": 5,
                "history_shrink": 0.5,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.9003,
                "tackles": 1.509,
                "tackles_won": 0.8913,
                "clearances": 2.3991,
                "aerial_won": 0.774,
                "total_shots": 0.5786,
                "rating": 6.7772,
                "minutes": 87.69,
                "total_pass": 39.8098,
                "accurate_pass": 33.6079,
                "duels_won": 3.8769,
                "total_long_balls": 3.4008,
                "accurate_long_balls": 0.2648,
                "total_own_half_passes": 17.8871,
                "accurate_own_half_passes": 16.2865,
                "total_opp_half_passes": 21.9227,
                "accurate_opp_half_passes": 17.3214,
                "crosses_total": 1.2119,
                "crosses_accurate": 0.2251,
                "touches": 54.2035,
                "possession_lost": 10.7375,
                "dispossessed": 0.3115,
                "duels_lost": 3.4113,
                "aerial_lost": 0.8144,
                "total_contest": 1.0396,
                "won_contest": 0.728,
                "ball_recovery": 2.2902,
                "challenges_lost": 0.9868,
                "fouls": 0.9868,
                "fouls_drawn": 1.8072,
                "blocks": 0.4899,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.5297,
                "assist_rate": 0.5297,
                "expected_goals": 0.0129,
                "expected_assists": 0.1893,
                "shots_on_target": 0.0,
                "big_chances_created": 0.5297,
                "xgot": 0.0,
                "ball_carries": 13.284,
                "total_progression": 72.2274,
                "progressive_carries": 1.3778,
                "key_pass": 1.0663,
                "shots_off_target": 0.5786
              },
              "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": 0.9003,
                "tackles": 1.509,
                "tackles_won": 0.8913,
                "clearances": 2.3991,
                "aerial_won": 0.774,
                "total_shots": 0.5786,
                "rating": 6.7772,
                "minutes": 87.69,
                "total_pass": 39.8098,
                "accurate_pass": 33.6079,
                "duels_won": 3.8769,
                "total_long_balls": 3.4008,
                "accurate_long_balls": 0.2648,
                "total_own_half_passes": 17.8871,
                "accurate_own_half_passes": 16.2865,
                "total_opp_half_passes": 21.9227,
                "accurate_opp_half_passes": 17.3214,
                "crosses_total": 1.2119,
                "crosses_accurate": 0.2251,
                "touches": 54.2035,
                "possession_lost": 10.7375,
                "dispossessed": 0.3115,
                "duels_lost": 3.4113,
                "aerial_lost": 0.8144,
                "total_contest": 1.0396,
                "won_contest": 0.728,
                "ball_recovery": 2.2902,
                "challenges_lost": 0.9868,
                "fouls": 0.9868,
                "fouls_drawn": 1.8072,
                "blocks": 0.4899,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.5297,
                "assist_rate": 0.5297,
                "expected_goals": 0.0129,
                "expected_assists": 0.1893,
                "shots_on_target": 0.0,
                "big_chances_created": 0.5297,
                "xgot": 0.0,
                "ball_carries": 13.284,
                "total_progression": 72.2274,
                "progressive_carries": 1.3778,
                "key_pass": 1.0663,
                "shots_off_target": 0.5786,
                "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.776,
                "opponent_faced": "Tani Oluwaseyi",
                "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": "Tani Oluwaseyi",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 0.9003,
                "tackles": 1.509,
                "tackles_won": 0.8913,
                "clearances": 2.3991,
                "aerial_won": 0.774,
                "total_shots": 0.5786,
                "rating": 6.7772,
                "minutes": 87.69,
                "total_pass": 39.8098,
                "accurate_pass": 33.6079,
                "duels_won": 3.8769,
                "total_long_balls": 3.4008,
                "accurate_long_balls": 0.2648,
                "total_own_half_passes": 17.8871,
                "accurate_own_half_passes": 16.2865,
                "total_opp_half_passes": 21.9227,
                "accurate_opp_half_passes": 17.3214,
                "crosses_total": 1.2119,
                "crosses_accurate": 0.2251,
                "touches": 54.2035,
                "possession_lost": 10.7375,
                "dispossessed": 0.3115,
                "duels_lost": 3.4113,
                "aerial_lost": 0.8144,
                "total_contest": 1.0396,
                "won_contest": 0.728,
                "ball_recovery": 2.2902,
                "challenges_lost": 0.9868,
                "fouls": 0.9868,
                "fouls_drawn": 1.8072,
                "blocks": 0.4899,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.5297,
                "assists": 0,
                "expected_goals": 0.0129,
                "expected_assists": 0.1893,
                "shots_on_target": 0.0,
                "big_chances_created": 0.5297,
                "xgot": 0.0,
                "ball_carries": 13.284,
                "total_progression": 72.2274,
                "progressive_carries": 1.3778,
                "key_pass": 1.0663,
                "shots_off_target": 0.5786,
                "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.776,
                "opponent_faced": "Tani Oluwaseyi",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              },
              "changes": [
                {
                  "stat": "assists",
                  "before": 1.0,
                  "after": 0
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.90 (squad xG sum 0.8976, xG scale 1.0004, xA scale 0.8162, team xA 0.72 = 0.80 x lambda)",
              "stats": {
                "interceptions": 0.9003,
                "tackles": 1.509,
                "tackles_won": 0.8913,
                "clearances": 2.3991,
                "aerial_won": 0.774,
                "total_shots": 0.5786,
                "rating": 6.7772,
                "minutes": 87.69,
                "total_pass": 39.8098,
                "accurate_pass": 33.6079,
                "duels_won": 3.8769,
                "total_long_balls": 3.4008,
                "accurate_long_balls": 0.2648,
                "total_own_half_passes": 17.8871,
                "accurate_own_half_passes": 16.2865,
                "total_opp_half_passes": 21.9227,
                "accurate_opp_half_passes": 17.3214,
                "crosses_total": 1.2119,
                "crosses_accurate": 0.2251,
                "touches": 54.2035,
                "possession_lost": 10.7375,
                "dispossessed": 0.3115,
                "duels_lost": 3.4113,
                "aerial_lost": 0.8144,
                "total_contest": 1.0396,
                "won_contest": 0.728,
                "ball_recovery": 2.2902,
                "challenges_lost": 0.9868,
                "fouls": 0.9868,
                "fouls_drawn": 1.8072,
                "blocks": 0.4899,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.5297,
                "assists": 0,
                "expected_goals": 0.0129,
                "expected_assists": 0.1544,
                "shots_on_target": 0.0,
                "big_chances_created": 0.5297,
                "xgot": 0.0,
                "ball_carries": 13.284,
                "total_progression": 72.2274,
                "progressive_carries": 1.3778,
                "key_pass": 1.0663,
                "shots_off_target": 0.5786,
                "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.776,
                "opponent_faced": "Tani Oluwaseyi",
                "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": 1.25
              },
              "params": {
                "team_lambda": 0.898,
                "squad_xg_sum": 0.8976,
                "squad_xa_sum": 0.8802,
                "team_expected_assists": 0.7184,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0004,
                "xa_scale": 0.8162,
                "opponent_lambda": 1.948,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.1893,
                  "after": 0.1544
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 11 by projected rating, fifa_overall 80.0)",
              "stats": {
                "interceptions": 0.9003,
                "tackles": 1.509,
                "tackles_won": 0.8913,
                "clearances": 2.3991,
                "aerial_won": 0.774,
                "total_shots": 0.5786,
                "rating": 6.7772,
                "minutes": 87.69,
                "total_pass": 39.8098,
                "accurate_pass": 33.6079,
                "duels_won": 3.8769,
                "total_long_balls": 3.4008,
                "accurate_long_balls": 0.2648,
                "total_own_half_passes": 17.8871,
                "accurate_own_half_passes": 16.2865,
                "total_opp_half_passes": 21.9227,
                "accurate_opp_half_passes": 17.3214,
                "crosses_total": 1.2119,
                "crosses_accurate": 0.2251,
                "touches": 54.2035,
                "possession_lost": 10.7375,
                "dispossessed": 0.3115,
                "duels_lost": 3.4113,
                "aerial_lost": 0.8144,
                "total_contest": 1.0396,
                "won_contest": 0.728,
                "ball_recovery": 2.2902,
                "challenges_lost": 0.9868,
                "fouls": 0.9868,
                "fouls_drawn": 1.8072,
                "blocks": 0.4899,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.5297,
                "assists": 0,
                "expected_goals": 0.0129,
                "expected_assists": 0.1544,
                "shots_on_target": 0.0,
                "big_chances_created": 0.5297,
                "xgot": 0.0,
                "ball_carries": 13.284,
                "total_progression": 72.2274,
                "progressive_carries": 1.3778,
                "key_pass": 1.0663,
                "shots_off_target": 0.5786,
                "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.776,
                "opponent_faced": "Tani Oluwaseyi",
                "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": 1.25,
                "fifa_overall": 80.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": 808,
                "fifa_rank": 673.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 80.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 0.9003,
                "tackles": 1.509,
                "tackles_won": 0.8913,
                "clearances": 2.3991,
                "aerial_won": 0.774,
                "total_shots": 0.5786,
                "rating": 6.7772,
                "minutes": 87.69,
                "total_pass": 39.8098,
                "accurate_pass": 33.6079,
                "duels_won": 3.8769,
                "total_long_balls": 3.4008,
                "accurate_long_balls": 0.2648,
                "total_own_half_passes": 17.8871,
                "accurate_own_half_passes": 16.2865,
                "total_opp_half_passes": 21.9227,
                "accurate_opp_half_passes": 17.3214,
                "crosses_total": 1.2119,
                "crosses_accurate": 0.2251,
                "touches": 54.2035,
                "possession_lost": 10.7375,
                "dispossessed": 0.3115,
                "duels_lost": 3.4113,
                "aerial_lost": 0.8144,
                "total_contest": 1.0396,
                "won_contest": 0.728,
                "ball_recovery": 2.2902,
                "challenges_lost": 0.9868,
                "fouls": 0.9868,
                "fouls_drawn": 1.8072,
                "blocks": 0.4899,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.5297,
                "assists": 0,
                "expected_goals": 0.0129,
                "expected_assists": 0.1544,
                "shots_on_target": 0.0,
                "big_chances_created": 0.5297,
                "xgot": 0.0,
                "ball_carries": 13.284,
                "total_progression": 72.2274,
                "progressive_carries": 1.3778,
                "key_pass": 1.0663,
                "shots_off_target": 0.5786,
                "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.776,
                "opponent_faced": "Tani Oluwaseyi",
                "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.0128,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0128,
                "goal_rate": 0.0,
                "scorer_weight": 0.0103,
                "squad_weight_total": 1.0138,
                "weight_share": 0.0102,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 0.9003,
                "tackles": 1.509,
                "tackles_won": 0.8913,
                "clearances": 2.3991,
                "aerial_won": 0.774,
                "total_shots": 0.5786,
                "rating": 6.7772,
                "minutes": 87.69,
                "total_pass": 39.8098,
                "accurate_pass": 33.6079,
                "duels_won": 3.8769,
                "total_long_balls": 3.4008,
                "accurate_long_balls": 0.2648,
                "total_own_half_passes": 17.8871,
                "accurate_own_half_passes": 16.2865,
                "total_opp_half_passes": 21.9227,
                "accurate_opp_half_passes": 17.3214,
                "crosses_total": 1.2119,
                "crosses_accurate": 0.2251,
                "touches": 54.2035,
                "possession_lost": 10.7375,
                "dispossessed": 0.3115,
                "duels_lost": 3.4113,
                "aerial_lost": 0.8144,
                "total_contest": 1.0396,
                "won_contest": 0.728,
                "ball_recovery": 2.2902,
                "challenges_lost": 0.9868,
                "fouls": 0.9868,
                "fouls_drawn": 1.8072,
                "blocks": 0.4899,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.5297,
                "assists": 0,
                "expected_goals": 0.0129,
                "expected_assists": 0.1544,
                "shots_on_target": 0.0,
                "big_chances_created": 0.5297,
                "xgot": 0.0,
                "ball_carries": 13.284,
                "total_progression": 72.2274,
                "progressive_carries": 1.3778,
                "key_pass": 1.0663,
                "shots_off_target": 0.5786,
                "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.776,
                "opponent_faced": "Tani Oluwaseyi",
                "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.0128,
                "projected_assists": 0,
                "assist_probability": 0.1431,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.1431,
                "assist_rate": 0.5297,
                "provider_weight": 0.193,
                "squad_weight_total": 0.7026,
                "weight_share": 0.2747,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 13
              }
            }
          ]
        }
      },
      "bench_players": {
        "Iñaki Peña": {
          "player_id": 794949,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 13,
          "height": 185,
          "market_value": 3600000,
          "stats": {
            "saves": 0,
            "goals_prevented": 0.0069,
            "rating": 7.4153,
            "minutes": 4,
            "total_pass": 9,
            "accurate_pass": 6,
            "total_long_balls": 4,
            "accurate_long_balls": 1,
            "touches": 10,
            "clearances": 0,
            "ball_recovery": 2,
            "high_claims": 0,
            "punches": 0.092,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 2.3973,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 6,
            "accurate_own_half_passes": 5,
            "bench_appearance_probability": 0.11,
            "bench_expected_minutes": 4.42,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.212,
            "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": 75.0
          },
          "latest_10_games": [
            {
              "match_id": 14083292,
              "match_date": "2026-02-07",
              "home_team": "Real Sociedad",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1294,
                "total_shots": 0,
                "total_pass": 81,
                "accurate_pass": 60,
                "key_pass": 1,
                "clearances": 3,
                "ball_recovery": 13,
                "goals_prevented": -0.4088
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083244,
              "match_date": "2026-01-31",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0057,
                "total_shots": 0,
                "total_pass": 55,
                "accurate_pass": 36,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 12,
                "saves": 4,
                "goals_prevented": 0.055
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083146,
              "match_date": "2026-01-23",
              "home_team": "Levante UD",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0023,
                "total_shots": 0,
                "total_pass": 43,
                "accurate_pass": 34,
                "clearances": 1,
                "ball_recovery": 10,
                "saves": 2,
                "goals_prevented": -0.917
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083228,
              "match_date": "2026-01-19",
              "home_team": "Elche",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0066,
                "total_shots": 0,
                "total_pass": 55,
                "accurate_pass": 28,
                "clearances": 3,
                "ball_recovery": 9,
                "saves": 6,
                "goals_prevented": 0.7479
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083198,
              "match_date": "2026-01-03",
              "home_team": "Elche",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0039,
                "total_shots": 0,
                "total_pass": 43,
                "accurate_pass": 40,
                "ball_recovery": 7,
                "saves": 1,
                "goals_prevented": -0.8776
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083183,
              "match_date": "2025-12-21",
              "home_team": "Elche",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 9.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0087,
                "total_shots": 0,
                "total_pass": 45,
                "accurate_pass": 27,
                "clearances": 2,
                "ball_recovery": 12,
                "saves": 8,
                "goals_prevented": 0.8515
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083174,
              "match_date": "2025-12-13",
              "home_team": "Mallorca",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.003,
                "total_shots": 0,
                "total_pass": 56,
                "accurate_pass": 50,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 11,
                "saves": 5,
                "goals_prevented": 0.0595
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083153,
              "match_date": "2025-12-07",
              "home_team": "Elche",
              "away_team": "Girona FC",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0035,
                "total_shots": 0,
                "total_pass": 56,
                "accurate_pass": 46,
                "key_pass": 1,
                "ball_recovery": 10,
                "saves": 4,
                "goals_prevented": 0.9102
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083149,
              "match_date": "2025-11-28",
              "home_team": "Getafe",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 8.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0015,
                "total_shots": 0,
                "total_pass": 49,
                "accurate_pass": 37,
                "clearances": 1,
                "ball_recovery": 8,
                "saves": 4,
                "goals_prevented": 0.6663
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083124,
              "match_date": "2025-11-23",
              "home_team": "Elche",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 8.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0159,
                "total_shots": 0,
                "total_pass": 43,
                "accurate_pass": 29,
                "key_pass": 1,
                "ball_recovery": 6,
                "saves": 5,
                "goals_prevented": 1.3254
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3365,
            "combined_rank_score": 1319.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 201.0,
            "sofascore_rating": 7.1937,
            "sofascore_appearances": 16.0,
            "fifa_rank": 2437.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 7.4153,
            "source_file": "data/player_rankings.csv",
            "player_name": "Iñaki Peña",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Lucas Torró",
                  "ranking": 3360
                },
                {
                  "player_name": "Kyle Walker",
                  "ranking": 3361
                },
                {
                  "player_name": "Nikola Moro",
                  "ranking": 3362
                },
                {
                  "player_name": "Ayden Heaven",
                  "ranking": 3363
                },
                {
                  "player_name": "Aron Dønnum",
                  "ranking": 3364
                }
              ],
              "lower": [
                {
                  "player_name": "Liam Scales",
                  "ranking": 3366
                },
                {
                  "player_name": "Matías Vecino",
                  "ranking": 3367
                },
                {
                  "player_name": "Maxime Estève",
                  "ranking": 3368
                },
                {
                  "player_name": "Fotis Ioannidis",
                  "ranking": 3369
                },
                {
                  "player_name": "Álvaro Rodriguez",
                  "ranking": 3370
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 16,
          "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",
              "passValueNormalized",
              "defensiveValueNormalized",
              "goalkeeperValueNormalized",
              "goalsPrevented",
              "rating",
              "pass_accuracy",
              "long_ball_accuracy",
              "save_contribution",
              "inside_box_save_rate",
              "sweeper_accuracy",
              "sweeper_actions_p90",
              "distribution_accuracy",
              "commanding_index",
              "history_matches"
            ],
            "targets_predicted": [
              "saves",
              "goalsPrevented",
              "rating"
            ],
            "history_matches": 16,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 4.4217204137993775,
            "bench_appearance_prob": 0.11007820062724441,
            "market_value_adjustment": 0.9957,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost G_service (16 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": 2.8578,
                "goals_prevented": 0.0445,
                "rating": 7.4153,
                "minutes": 28.5,
                "total_pass": 56.1754,
                "accurate_pass": 40.962,
                "total_long_balls": 22.9286,
                "accurate_long_balls": 8.3915,
                "touches": 66.85,
                "clearances": 1.6621,
                "ball_recovery": 10.2454,
                "high_claims": 0.5265,
                "punches": 0.5957,
                "aerial_won": 0.226,
                "sweeper_actions": 1.3391,
                "sweeper_accurate": 1.3234,
                "saves_inside_box": 2.5039,
                "possession_lost": 15.5187,
                "duels_won": 0.226,
                "duels_lost": 0.4415,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0271,
                "total_own_half_passes": 37.6086,
                "accurate_own_half_passes": 34.1753
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-17T10:04:09.876591+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 200,
                    "rows": 7041
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-02-07",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.162,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-01-31",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1377,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-01-23",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1171,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-01-19",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0995,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-01-03",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0846,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2025-12-21",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0719,
                    "rating": 9.3
                  },
                  {
                    "match_date": "2025-12-13",
                    "opponent": "Mallorca",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0611,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2025-12-07",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0519,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2025-11-28",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0442,
                    "rating": 8.9
                  },
                  {
                    "match_date": "2025-11-23",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0375,
                    "rating": 8.6
                  }
                ],
                "feature_row": {
                  "history_matches": 16.0,
                  "is_starting_11": 0.0,
                  "accurateLongBalls": 8.3915,
                  "save_contribution": 3.3255,
                  "distribution_accuracy": 0.8882,
                  "accurateOwnHalfPasses": 34.1753,
                  "passValueNormalized": 0.1386,
                  "totalOwnHalfPasses": 37.6086
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.857823371887207,
                    "model_output": 2.8578,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.0393
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.039
                      },
                      {
                        "name": "saves",
                        "importance": 0.0355
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0354
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 2.941,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2042
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0389
                        },
                        {
                          "name": "saves",
                          "contribution": 0.0354
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": 0.0311
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0266
                        }
                      ],
                      "others": 0.0668,
                      "total": 2.8578,
                      "log_link": true,
                      "margin_base": 1.078763,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.071946
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.01433
                        },
                        {
                          "name": "saves",
                          "margin": 0.013026
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": 0.011329
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.009559
                        }
                      ],
                      "others_margin": 0.023658
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": 0.04446670785546303,
                    "model_output": 0.0445,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.0405
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.0401
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0394
                      },
                      {
                        "name": "totalOwnHalfPasses",
                        "importance": 0.0381
                      },
                      {
                        "name": "punches",
                        "importance": 0.0363
                      }
                    ],
                    "decomposition": {
                      "base": -0.0281,
                      "items": [
                        {
                          "name": "sweeper_accuracy",
                          "contribution": 0.0407
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0172
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0147
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "contribution": 0.0146
                        },
                        {
                          "name": "saves",
                          "contribution": -0.0128
                        }
                      ],
                      "others": 0.0276,
                      "total": 0.0445,
                      "log_link": false,
                      "margin_base": -0.028113,
                      "item_margins": [
                        {
                          "name": "sweeper_accuracy",
                          "margin": 0.040653
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.017164
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.014677
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "margin": 0.014569
                        },
                        {
                          "name": "saves",
                          "margin": -0.012757
                        }
                      ],
                      "others_margin": 0.027627
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.415349960327148,
                    "model_output": 7.4153,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0379
                      },
                      {
                        "name": "commanding_index",
                        "importance": 0.0375
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.037
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0354
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 6.9974,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": 0.1392
                        },
                        {
                          "name": "sweeper_accuracy",
                          "contribution": 0.0771
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0685
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0235
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": 0.0207
                        }
                      ],
                      "others": 0.089,
                      "total": 7.4154,
                      "log_link": false,
                      "margin_base": 6.997403,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": 0.139183
                        },
                        {
                          "name": "sweeper_accuracy",
                          "margin": 0.077088
                        },
                        {
                          "name": "touches",
                          "margin": 0.068477
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.023526
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "margin": 0.020723
                        }
                      ],
                      "others_margin": 0.088951
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 16,
                  "role_matches": 0,
                  "minutes_source": "position_median",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9957, quality 0.445)",
              "stats": {
                "saves": 2.8455,
                "goals_prevented": 0.0443,
                "rating": 7.4153,
                "minutes": 28.5,
                "total_pass": 55.9338,
                "accurate_pass": 40.7859,
                "total_long_balls": 22.83,
                "accurate_long_balls": 8.3554,
                "touches": 66.5625,
                "clearances": 1.655,
                "ball_recovery": 10.2013,
                "high_claims": 0.5242,
                "punches": 0.5931,
                "aerial_won": 0.225,
                "sweeper_actions": 1.3333,
                "sweeper_accurate": 1.3177,
                "saves_inside_box": 2.4931,
                "possession_lost": 15.452,
                "duels_won": 0.225,
                "duels_lost": 0.4396,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.027,
                "total_own_half_passes": 37.4469,
                "accurate_own_half_passes": 34.0283
              },
              "params": {
                "market_value_eur": 3600000,
                "quality_factor": 0.4449,
                "boost_factor": 0.9957,
                "reference_quality": 0.505,
                "history_matches": 16,
                "history_shrink": 0.2381,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 28.5 to 4.4 expected minutes (appearance prob 0.11)",
              "stats": {
                "saves": 0.4415,
                "goals_prevented": 0.0069,
                "rating": 7.4153,
                "minutes": 4.42,
                "total_pass": 8.678,
                "accurate_pass": 6.3279,
                "total_long_balls": 3.542,
                "accurate_long_balls": 1.2963,
                "touches": 10.327,
                "clearances": 0.2568,
                "ball_recovery": 1.5827,
                "high_claims": 0.0813,
                "punches": 0.092,
                "aerial_won": 0.0349,
                "sweeper_actions": 0.2069,
                "sweeper_accurate": 0.2044,
                "saves_inside_box": 0.3868,
                "possession_lost": 2.3973,
                "duels_won": 0.0349,
                "duels_lost": 0.0682,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0042,
                "total_own_half_passes": 5.8098,
                "accurate_own_half_passes": 5.2794,
                "bench_appearance_probability": 0.11,
                "bench_expected_minutes": 4.42
              },
              "params": {
                "expected_minutes": 4.42,
                "projection_minutes": 28.5,
                "minutes_scale": 0.1551,
                "appearance_probability": 0.11
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 0.4415,
                "goals_prevented": 0.0069,
                "rating": 7.4153,
                "minutes": 4.42,
                "total_pass": 8.678,
                "accurate_pass": 6.3279,
                "total_long_balls": 3.542,
                "accurate_long_balls": 1.2963,
                "touches": 10.327,
                "clearances": 0.2568,
                "ball_recovery": 1.5827,
                "high_claims": 0.0813,
                "punches": 0.092,
                "aerial_won": 0.0349,
                "sweeper_actions": 0.2069,
                "sweeper_accurate": 0.2044,
                "saves_inside_box": 0.3868,
                "possession_lost": 2.3973,
                "duels_won": 0.0349,
                "duels_lost": 0.0682,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0042,
                "total_own_half_passes": 5.8098,
                "accurate_own_half_passes": 5.2794,
                "bench_appearance_probability": 0.11,
                "bench_expected_minutes": 4.42
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "saves": 0.4415,
                "goals_prevented": 0.0069,
                "rating": 7.4153,
                "minutes": 4.42,
                "total_pass": 8.678,
                "accurate_pass": 6.3279,
                "total_long_balls": 3.542,
                "accurate_long_balls": 1.2963,
                "touches": 10.327,
                "clearances": 0.2568,
                "ball_recovery": 1.5827,
                "high_claims": 0.0813,
                "punches": 0.092,
                "aerial_won": 0.0349,
                "sweeper_actions": 0.2069,
                "sweeper_accurate": 0.2044,
                "saves_inside_box": 0.3868,
                "possession_lost": 2.3973,
                "duels_won": 0.0349,
                "duels_lost": 0.0682,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0042,
                "total_own_half_passes": 5.8098,
                "accurate_own_half_passes": 5.2794,
                "bench_appearance_probability": 0.11,
                "bench_expected_minutes": 4.42,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "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
              },
              "params": {
                "appearance_probability": 0.11,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 1 by projected rating, fifa_overall 75.0)",
              "stats": {
                "saves": 0.4415,
                "goals_prevented": 0.0069,
                "rating": 7.4153,
                "minutes": 4.42,
                "total_pass": 8.678,
                "accurate_pass": 6.3279,
                "total_long_balls": 3.542,
                "accurate_long_balls": 1.2963,
                "touches": 10.327,
                "clearances": 0.2568,
                "ball_recovery": 1.5827,
                "high_claims": 0.0813,
                "punches": 0.092,
                "aerial_won": 0.0349,
                "sweeper_actions": 0.2069,
                "sweeper_accurate": 0.2044,
                "saves_inside_box": 0.3868,
                "possession_lost": 2.3973,
                "duels_won": 0.0349,
                "duels_lost": 0.0682,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0042,
                "total_own_half_passes": 5.8098,
                "accurate_own_half_passes": 5.2794,
                "bench_appearance_probability": 0.11,
                "bench_expected_minutes": 4.42,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "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": 75.0
              },
              "params": {
                "match_squad_rank": 1,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3365,
                "fifa_rank": 2437.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 75.0
              }
            }
          ]
        },
        "Kevin Lomónaco": {
          "player_id": 1003014,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 26,
          "height": 192,
          "market_value": 8199999,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "duels_won": 1,
            "total_pass": 7,
            "accurate_pass": 5,
            "expected_goals": 0.0028,
            "rating": 6.9,
            "minutes": 14,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 4,
            "accurate_own_half_passes": 4,
            "total_opp_half_passes": 2,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 9,
            "possession_lost": 0.9984,
            "dispossessed": 0.5,
            "duels_lost": 1,
            "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.0061,
            "assists": 0,
            "expected_assists": 0.0077,
            "total_shots": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.002,
            "key_pass": 0,
            "ball_carries": 3,
            "total_progression": 9,
            "progressive_carries": 1,
            "bench_appearance_probability": 0.31,
            "bench_expected_minutes": 13.82,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.212,
            "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": 74.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 3656,
            "combined_rank_score": 1619.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 3076.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9,
            "source_file": "data/player_rankings.csv",
            "player_name": "Kevin Lomónaco",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Bashir Humphreys",
                  "ranking": 3651
                },
                {
                  "player_name": "Altimira",
                  "ranking": 3652
                },
                {
                  "player_name": "Miguel Almirón",
                  "ranking": 3653
                },
                {
                  "player_name": "Marko Livaja",
                  "ranking": 3654
                },
                {
                  "player_name": "Víctor Chust",
                  "ranking": 3655
                }
              ],
              "lower": [
                {
                  "player_name": "Giorgi Kochorashvili",
                  "ranking": 3657
                },
                {
                  "player_name": "Quilindschy Hartman",
                  "ranking": 3658
                },
                {
                  "player_name": "Oscar Dorley",
                  "ranking": 3659
                },
                {
                  "player_name": "Mykola Matviienko",
                  "ranking": 3660
                },
                {
                  "player_name": "Hamed Junior Traorè",
                  "ranking": 3661
                }
              ]
            }
          },
          "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.824307952762858,
            "bench_appearance_prob": 0.3101958160346754,
            "market_value_adjustment": 0.5011,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€8,199,999) scaled to 13.8 expected mins."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position D (quality 0.50)",
              "stats": {
                "interceptions": 1.6,
                "tackles": 2.4,
                "tackles_won": 1.5,
                "clearances": 2.7,
                "aerial_won": 2.3,
                "duels_won": 5.5,
                "total_pass": 44.0,
                "accurate_pass": 35.0,
                "expected_goals": 0.018,
                "rating": 6.9,
                "minutes": 90.0,
                "total_long_balls": 6.0,
                "accurate_long_balls": 3.0,
                "total_own_half_passes": 28.0,
                "accurate_own_half_passes": 23.0,
                "total_opp_half_passes": 10.0,
                "accurate_opp_half_passes": 7.0,
                "crosses_total": 0.9,
                "crosses_accurate": 0.4,
                "touches": 60.0,
                "possession_lost": 6.5,
                "dispossessed": 0.5,
                "duels_lost": 3.5,
                "aerial_lost": 2.0,
                "total_contest": 4.0,
                "won_contest": 2.3,
                "ball_recovery": 5.0,
                "challenges_lost": 1.0,
                "fouls": 1.0,
                "fouls_drawn": 0.7,
                "blocks": 0.7,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.04,
                "assist_rate": 0.04,
                "expected_assists": 0.05,
                "total_shots": 0.4,
                "shots_on_target": 0.15,
                "shots_off_target": 0.2,
                "big_chances_created": 0.04,
                "xgot": 0.013,
                "key_pass": 0.6,
                "ball_carries": 20.0,
                "total_progression": 60.0,
                "progressive_carries": 5.0
              },
              "params": {
                "market_value_eur": 8199999,
                "quality_factor": 0.5011
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 90.0 to 13.8 expected minutes (appearance prob 0.31)",
              "stats": {
                "interceptions": 0.2458,
                "tackles": 0.3686,
                "tackles_won": 0.2304,
                "clearances": 0.4147,
                "aerial_won": 0.3533,
                "duels_won": 0.8448,
                "total_pass": 6.7586,
                "accurate_pass": 5.3761,
                "expected_goals": 0.0028,
                "rating": 6.9,
                "minutes": 13.82,
                "total_long_balls": 0.9216,
                "accurate_long_balls": 0.4608,
                "total_own_half_passes": 4.3009,
                "accurate_own_half_passes": 3.5329,
                "total_opp_half_passes": 1.536,
                "accurate_opp_half_passes": 1.0752,
                "crosses_total": 0.1382,
                "crosses_accurate": 0.0614,
                "touches": 9.2162,
                "possession_lost": 0.9984,
                "dispossessed": 0.5,
                "duels_lost": 0.5376,
                "aerial_lost": 2.0,
                "total_contest": 0.6144,
                "won_contest": 0.3533,
                "ball_recovery": 0.768,
                "challenges_lost": 1.0,
                "fouls": 0.1536,
                "fouls_drawn": 0.1075,
                "blocks": 0.1075,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0061,
                "assist_rate": 0.0061,
                "expected_assists": 0.0077,
                "total_shots": 0.0614,
                "shots_on_target": 0.023,
                "shots_off_target": 0.0307,
                "big_chances_created": 0.0061,
                "xgot": 0.002,
                "key_pass": 0.0922,
                "ball_carries": 3.0721,
                "total_progression": 9.2162,
                "progressive_carries": 0.768,
                "bench_appearance_probability": 0.31,
                "bench_expected_minutes": 13.82
              },
              "params": {
                "expected_minutes": 13.82,
                "projection_minutes": 90.0,
                "minutes_scale": 0.1536,
                "appearance_probability": 0.31
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.2458,
                "tackles": 0.3686,
                "tackles_won": 0.2304,
                "clearances": 0.4147,
                "aerial_won": 0.3533,
                "duels_won": 0.8448,
                "total_pass": 6.7586,
                "accurate_pass": 5.3761,
                "expected_goals": 0.0028,
                "rating": 6.9,
                "minutes": 13.82,
                "total_long_balls": 0.9216,
                "accurate_long_balls": 0.4608,
                "total_own_half_passes": 4.3009,
                "accurate_own_half_passes": 3.5329,
                "total_opp_half_passes": 1.536,
                "accurate_opp_half_passes": 1.0752,
                "crosses_total": 0.1382,
                "crosses_accurate": 0.0614,
                "touches": 9.2162,
                "possession_lost": 0.9984,
                "dispossessed": 0.5,
                "duels_lost": 0.5376,
                "aerial_lost": 2.0,
                "total_contest": 0.6144,
                "won_contest": 0.3533,
                "ball_recovery": 0.768,
                "challenges_lost": 1.0,
                "fouls": 0.1536,
                "fouls_drawn": 0.1075,
                "blocks": 0.1075,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0061,
                "assist_rate": 0.0061,
                "expected_assists": 0.0077,
                "total_shots": 0.0614,
                "shots_on_target": 0.023,
                "shots_off_target": 0.0307,
                "big_chances_created": 0.0061,
                "xgot": 0.002,
                "key_pass": 0.0922,
                "ball_carries": 3.0721,
                "total_progression": 9.2162,
                "progressive_carries": 0.768,
                "bench_appearance_probability": 0.31,
                "bench_expected_minutes": 13.82
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "interceptions": 0.2458,
                "tackles": 0.3686,
                "tackles_won": 0.2304,
                "clearances": 0.4147,
                "aerial_won": 0.3533,
                "duels_won": 0.8448,
                "total_pass": 6.7586,
                "accurate_pass": 5.3761,
                "expected_goals": 0.0028,
                "rating": 6.9,
                "minutes": 13.82,
                "total_long_balls": 0.9216,
                "accurate_long_balls": 0.4608,
                "total_own_half_passes": 4.3009,
                "accurate_own_half_passes": 3.5329,
                "total_opp_half_passes": 1.536,
                "accurate_opp_half_passes": 1.0752,
                "crosses_total": 0.1382,
                "crosses_accurate": 0.0614,
                "touches": 9.2162,
                "possession_lost": 0.9984,
                "dispossessed": 0.5,
                "duels_lost": 0.5376,
                "aerial_lost": 2.0,
                "total_contest": 0.6144,
                "won_contest": 0.3533,
                "ball_recovery": 0.768,
                "challenges_lost": 1.0,
                "fouls": 0.1536,
                "fouls_drawn": 0.1075,
                "blocks": 0.1075,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0061,
                "assists": 0,
                "expected_assists": 0.0077,
                "total_shots": 0.0614,
                "shots_on_target": 0.023,
                "shots_off_target": 0.0307,
                "big_chances_created": 0.0061,
                "xgot": 0.002,
                "key_pass": 0.0922,
                "ball_carries": 3.0721,
                "total_progression": 9.2162,
                "progressive_carries": 0.768,
                "bench_appearance_probability": 0.31,
                "bench_expected_minutes": 13.82,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "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
              },
              "params": {
                "appearance_probability": 0.31,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 7 by projected rating, fifa_overall 74.0)",
              "stats": {
                "interceptions": 0.2458,
                "tackles": 0.3686,
                "tackles_won": 0.2304,
                "clearances": 0.4147,
                "aerial_won": 0.3533,
                "duels_won": 0.8448,
                "total_pass": 6.7586,
                "accurate_pass": 5.3761,
                "expected_goals": 0.0028,
                "rating": 6.9,
                "minutes": 13.82,
                "total_long_balls": 0.9216,
                "accurate_long_balls": 0.4608,
                "total_own_half_passes": 4.3009,
                "accurate_own_half_passes": 3.5329,
                "total_opp_half_passes": 1.536,
                "accurate_opp_half_passes": 1.0752,
                "crosses_total": 0.1382,
                "crosses_accurate": 0.0614,
                "touches": 9.2162,
                "possession_lost": 0.9984,
                "dispossessed": 0.5,
                "duels_lost": 0.5376,
                "aerial_lost": 2.0,
                "total_contest": 0.6144,
                "won_contest": 0.3533,
                "ball_recovery": 0.768,
                "challenges_lost": 1.0,
                "fouls": 0.1536,
                "fouls_drawn": 0.1075,
                "blocks": 0.1075,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0061,
                "assists": 0,
                "expected_assists": 0.0077,
                "total_shots": 0.0614,
                "shots_on_target": 0.023,
                "shots_off_target": 0.0307,
                "big_chances_created": 0.0061,
                "xgot": 0.002,
                "key_pass": 0.0922,
                "ball_carries": 3.0721,
                "total_progression": 9.2162,
                "progressive_carries": 0.768,
                "bench_appearance_probability": 0.31,
                "bench_expected_minutes": 13.82,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "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": 74.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": 3656,
                "fifa_rank": 3076.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 74.0
              }
            }
          ]
        },
        "Rubén Sánchez": {
          "player_id": 1021165,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 22,
          "height": 184,
          "market_value": 1700000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.6514,
            "minutes": 14,
            "total_pass": 4,
            "accurate_pass": 3,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 2,
            "accurate_own_half_passes": 1,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 9,
            "possession_lost": 2.2374,
            "dispossessed": 0.3682,
            "duels_lost": 1,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0356,
            "assists": 0,
            "expected_goals": 0.0028,
            "expected_assists": 0.0315,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 2,
            "total_progression": 16,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.299,
            "bench_expected_minutes": 13.57,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.212,
            "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": 71.0
          },
          "latest_10_games": [
            {
              "match_id": 16421058,
              "match_date": "2026-10-11",
              "home_team": "Elche",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0663,
                "expected_assists": 0.0637,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 59,
                "accurate_pass": 54,
                "key_pass": 1,
                "tackles": 1,
                "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": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 53,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.013,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 9,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 6
              },
              "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": 16416342,
              "match_date": "2026-09-15",
              "home_team": "Elche",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 22,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0034,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 9,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416322,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 14,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0099,
                "expected_assists": 0.0001,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 2,
                "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": 14083719,
              "match_date": "2026-05-23",
              "home_team": "Espanyol",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 79,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0122,
                "total_shots": 0,
                "total_pass": 50,
                "accurate_pass": 46,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 3,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083696,
              "match_date": "2026-05-17",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 14,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083629,
              "match_date": "2026-05-13",
              "home_team": "Espanyol",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 63,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1097,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 5,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083587,
              "match_date": "2026-05-09",
              "home_team": "Sevilla",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 66,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0323,
                "expected_assists": 0.0102,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 13,
                "accurate_pass": 6,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 3,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083422,
              "match_date": "2026-05-03",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 61,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.112,
                "expected_assists": 0.0488,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 12,
                "accurate_pass": 5,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 4
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083113,
              "match_date": "2026-04-11",
              "home_team": "FC Barcelona",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 26,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0204,
                "expected_assists": 0.0079,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 2,
                "accurate_pass": 2,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 4776,
            "combined_rank_score": 2855.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 679.0,
            "sofascore_rating": 6.719,
            "sofascore_appearances": 21.0,
            "fifa_rank": 5032.0,
            "fifa_overall": 71.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6514,
            "source_file": "data/player_rankings.csv",
            "player_name": "Rubén Sánchez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Nouhou Tolo",
                  "ranking": 4771
                },
                {
                  "player_name": "Djordje Mihailovic",
                  "ranking": 4772
                },
                {
                  "player_name": "Eduard Löwen",
                  "ranking": 4773
                },
                {
                  "player_name": "Riqui Puig",
                  "ranking": 4774
                },
                {
                  "player_name": "Matt Freese",
                  "ranking": 4775
                }
              ],
              "lower": [
                {
                  "player_name": "Facundo Torres",
                  "ranking": 4777
                },
                {
                  "player_name": "Nathan Harriel",
                  "ranking": 4778
                },
                {
                  "player_name": "Hong Seok-Hyun",
                  "ranking": 4779
                },
                {
                  "player_name": "Jack McGlynn",
                  "ranking": 4780
                },
                {
                  "player_name": "Luka Lochoshvili",
                  "ranking": 4781
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 25,
          "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",
              "totalTackle",
              "totalShots",
              "rating",
              "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": 25,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 13.572222187561248,
            "bench_appearance_prob": 0.2987373721618749,
            "market_value_adjustment": 0.9966,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost D_service (25 historical appearances) to 13.6 expected mins (appearance prob 0.30)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.3481,
                "tackles": 0.6087,
                "tackles_won": 0.3305,
                "clearances": 0.753,
                "aerial_won": 0.2842,
                "total_shots": 0.3141,
                "rating": 6.6514,
                "minutes": 23.21,
                "total_pass": 7.2439,
                "accurate_pass": 5.5225,
                "duels_won": 1.4839,
                "total_long_balls": 1.099,
                "accurate_long_balls": 0.5901,
                "total_own_half_passes": 2.9388,
                "accurate_own_half_passes": 2.2591,
                "total_opp_half_passes": 4.3051,
                "accurate_opp_half_passes": 3.2633,
                "crosses_total": 0.3587,
                "crosses_accurate": 0.2353,
                "touches": 15.4458,
                "possession_lost": 3.8393,
                "dispossessed": 0.3695,
                "duels_lost": 2.0739,
                "aerial_lost": 0.4591,
                "total_contest": 0.813,
                "won_contest": 0.4585,
                "ball_recovery": 1.9439,
                "challenges_lost": 0.4668,
                "fouls": 0.5086,
                "fouls_drawn": 0.1915,
                "blocks": 0.1377,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0611,
                "assist_rate": 0.0611,
                "expected_goals": 0.0048,
                "expected_assists": 0.054,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1251,
                "xgot": 0.0,
                "ball_carries": 3.2423,
                "total_progression": 27.5898,
                "progressive_carries": 0.6866,
                "key_pass": 0.264,
                "shots_off_target": 0.3141
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:05:00.533351+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1526,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Espanyol",
                    "minutes": 53.0,
                    "is_starting": false,
                    "weight": 0.1297,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Real Madrid",
                    "minutes": 22.0,
                    "is_starting": false,
                    "weight": 0.1103,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Athletic Club",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.0937,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Sociedad",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.0797,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Osasuna",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.0677,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Athletic Club",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.0576,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Sevilla",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.0489,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Real Madrid",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.0416,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "FC Barcelona",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.0354,
                    "rating": 5.9
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 1.7751,
                  "aerialWon": 0.6124,
                  "totalClearance_p90": 3.8058,
                  "totalTackle": 0.9591,
                  "defensive_actions": 1.5005
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.34807419776916504,
                    "model_output": 0.3481,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4714
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0423
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0106
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0091
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0083
                        }
                      ],
                      "others": -0.0059,
                      "total": 0.3481,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.793172
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.11488
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.030965
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.02678
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.023857
                        }
                      ],
                      "others_margin": -0.017151
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.6086572408676147,
                    "model_output": 0.6087,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.8054
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.022
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0178
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0154
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0147
                        }
                      ],
                      "others": 0.0275,
                      "total": 0.6087,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.864649
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.038342
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.031145
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.026816
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.025569
                        }
                      ],
                      "others_margin": 0.046207
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.3305186927318573,
                    "model_output": 0.3305,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5052
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0123
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0118
                        },
                        {
                          "name": "errorLeadToAShot",
                          "contribution": -0.0113
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0092
                        }
                      ],
                      "others": 0.0077,
                      "total": 0.3305,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.89525
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.035754
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.035577
                        },
                        {
                          "name": "errorLeadToAShot",
                          "margin": -0.035508
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.029008
                        }
                      ],
                      "others_margin": 0.023618
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 0.7529797554016113,
                    "model_output": 0.753,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.111
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.2672
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0789
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0413
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0372
                        }
                      ],
                      "others": -0.1441,
                      "total": 0.753,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.954405
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.225798
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.077713
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.043253
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.040616
                        }
                      ],
                      "others_margin": -0.175289
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.28416335582733154,
                    "model_output": 0.2842,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7853
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1891
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0333
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.023
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0193
                        }
                      ],
                      "others": -0.0431,
                      "total": 0.2842,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.844404
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.384895
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.086183
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.064348
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.057242
                        }
                      ],
                      "others_margin": -0.141269
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.3140566051006317,
                    "model_output": 0.3141,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2429
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0309
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0178
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0084
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0073
                        }
                      ],
                      "others": 0.0327,
                      "total": 0.3141,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.242913
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.030895
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.01777
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.008403
                        },
                        {
                          "name": "duelWon",
                          "margin": -0.007313
                        }
                      ],
                      "others_margin": 0.032714
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.651427745819092,
                    "model_output": 6.6514,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": -0.0389
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0283
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0148
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0118
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0106
                        }
                      ],
                      "others": -0.0289,
                      "total": 6.6514,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": -0.038856
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.028324
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.014839
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.011803
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.010635
                        }
                      ],
                      "others_margin": -0.028819
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 25,
                  "role_matches": 16,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9966, quality 0.437)",
              "stats": {
                "interceptions": 0.3469,
                "tackles": 0.6066,
                "tackles_won": 0.3294,
                "clearances": 0.7504,
                "aerial_won": 0.2832,
                "total_shots": 0.313,
                "rating": 6.6514,
                "minutes": 23.21,
                "total_pass": 7.2193,
                "accurate_pass": 5.5037,
                "duels_won": 1.4789,
                "total_long_balls": 1.0953,
                "accurate_long_balls": 0.5881,
                "total_own_half_passes": 2.9288,
                "accurate_own_half_passes": 2.2514,
                "total_opp_half_passes": 4.2905,
                "accurate_opp_half_passes": 3.2522,
                "crosses_total": 0.3575,
                "crosses_accurate": 0.2345,
                "touches": 15.3933,
                "possession_lost": 3.8262,
                "dispossessed": 0.3682,
                "duels_lost": 2.0668,
                "aerial_lost": 0.4575,
                "total_contest": 0.8102,
                "won_contest": 0.4569,
                "ball_recovery": 1.9373,
                "challenges_lost": 0.4652,
                "fouls": 0.5069,
                "fouls_drawn": 0.1908,
                "blocks": 0.1372,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0609,
                "assist_rate": 0.0609,
                "expected_goals": 0.0048,
                "expected_assists": 0.0538,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1247,
                "xgot": 0.0,
                "ball_carries": 3.2313,
                "total_progression": 27.496,
                "progressive_carries": 0.6843,
                "key_pass": 0.2631,
                "shots_off_target": 0.313
              },
              "params": {
                "market_value_eur": 1700000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9966,
                "reference_quality": 0.505,
                "history_matches": 25,
                "history_shrink": 0.1667,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 23.2 to 13.6 expected minutes (appearance prob 0.30)",
              "stats": {
                "interceptions": 0.2029,
                "tackles": 0.3547,
                "tackles_won": 0.1926,
                "clearances": 0.4388,
                "aerial_won": 0.1656,
                "total_shots": 0.183,
                "rating": 6.6514,
                "minutes": 13.57,
                "total_pass": 4.2215,
                "accurate_pass": 3.2183,
                "duels_won": 0.8648,
                "total_long_balls": 0.6405,
                "accurate_long_balls": 0.3439,
                "total_own_half_passes": 1.7126,
                "accurate_own_half_passes": 1.3165,
                "total_opp_half_passes": 2.5089,
                "accurate_opp_half_passes": 1.9017,
                "crosses_total": 0.2091,
                "crosses_accurate": 0.1371,
                "touches": 9.0013,
                "possession_lost": 2.2374,
                "dispossessed": 0.3682,
                "duels_lost": 1.2086,
                "aerial_lost": 0.4575,
                "total_contest": 0.4738,
                "won_contest": 0.2672,
                "ball_recovery": 1.1329,
                "challenges_lost": 0.4652,
                "fouls": 0.2964,
                "fouls_drawn": 0.1116,
                "blocks": 0.0802,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0356,
                "assist_rate": 0.0356,
                "expected_goals": 0.0028,
                "expected_assists": 0.0315,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0729,
                "xgot": 0.0,
                "ball_carries": 1.8895,
                "total_progression": 16.0785,
                "progressive_carries": 0.4001,
                "key_pass": 0.1538,
                "shots_off_target": 0.183,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57
              },
              "params": {
                "expected_minutes": 13.57,
                "projection_minutes": 23.21,
                "minutes_scale": 0.5848,
                "appearance_probability": 0.299
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.2029,
                "tackles": 0.3547,
                "tackles_won": 0.1926,
                "clearances": 0.4388,
                "aerial_won": 0.1656,
                "total_shots": 0.183,
                "rating": 6.6514,
                "minutes": 13.57,
                "total_pass": 4.2215,
                "accurate_pass": 3.2183,
                "duels_won": 0.8648,
                "total_long_balls": 0.6405,
                "accurate_long_balls": 0.3439,
                "total_own_half_passes": 1.7126,
                "accurate_own_half_passes": 1.3165,
                "total_opp_half_passes": 2.5089,
                "accurate_opp_half_passes": 1.9017,
                "crosses_total": 0.2091,
                "crosses_accurate": 0.1371,
                "touches": 9.0013,
                "possession_lost": 2.2374,
                "dispossessed": 0.3682,
                "duels_lost": 1.2086,
                "aerial_lost": 0.4575,
                "total_contest": 0.4738,
                "won_contest": 0.2672,
                "ball_recovery": 1.1329,
                "challenges_lost": 0.4652,
                "fouls": 0.2964,
                "fouls_drawn": 0.1116,
                "blocks": 0.0802,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0356,
                "assist_rate": 0.0356,
                "expected_goals": 0.0028,
                "expected_assists": 0.0315,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0729,
                "xgot": 0.0,
                "ball_carries": 1.8895,
                "total_progression": 16.0785,
                "progressive_carries": 0.4001,
                "key_pass": 0.1538,
                "shots_off_target": 0.183,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "interceptions": 0.2029,
                "tackles": 0.3547,
                "tackles_won": 0.1926,
                "clearances": 0.4388,
                "aerial_won": 0.1656,
                "total_shots": 0.183,
                "rating": 6.6514,
                "minutes": 13.57,
                "total_pass": 4.2215,
                "accurate_pass": 3.2183,
                "duels_won": 0.8648,
                "total_long_balls": 0.6405,
                "accurate_long_balls": 0.3439,
                "total_own_half_passes": 1.7126,
                "accurate_own_half_passes": 1.3165,
                "total_opp_half_passes": 2.5089,
                "accurate_opp_half_passes": 1.9017,
                "crosses_total": 0.2091,
                "crosses_accurate": 0.1371,
                "touches": 9.0013,
                "possession_lost": 2.2374,
                "dispossessed": 0.3682,
                "duels_lost": 1.2086,
                "aerial_lost": 0.4575,
                "total_contest": 0.4738,
                "won_contest": 0.2672,
                "ball_recovery": 1.1329,
                "challenges_lost": 0.4652,
                "fouls": 0.2964,
                "fouls_drawn": 0.1116,
                "blocks": 0.0802,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0356,
                "assists": 0,
                "expected_goals": 0.0028,
                "expected_assists": 0.0315,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0729,
                "xgot": 0.0,
                "ball_carries": 1.8895,
                "total_progression": 16.0785,
                "progressive_carries": 0.4001,
                "key_pass": 0.1538,
                "shots_off_target": 0.183,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "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
              },
              "params": {
                "appearance_probability": 0.299,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 16 by projected rating, fifa_overall 71.0)",
              "stats": {
                "interceptions": 0.2029,
                "tackles": 0.3547,
                "tackles_won": 0.1926,
                "clearances": 0.4388,
                "aerial_won": 0.1656,
                "total_shots": 0.183,
                "rating": 6.6514,
                "minutes": 13.57,
                "total_pass": 4.2215,
                "accurate_pass": 3.2183,
                "duels_won": 0.8648,
                "total_long_balls": 0.6405,
                "accurate_long_balls": 0.3439,
                "total_own_half_passes": 1.7126,
                "accurate_own_half_passes": 1.3165,
                "total_opp_half_passes": 2.5089,
                "accurate_opp_half_passes": 1.9017,
                "crosses_total": 0.2091,
                "crosses_accurate": 0.1371,
                "touches": 9.0013,
                "possession_lost": 2.2374,
                "dispossessed": 0.3682,
                "duels_lost": 1.2086,
                "aerial_lost": 0.4575,
                "total_contest": 0.4738,
                "won_contest": 0.2672,
                "ball_recovery": 1.1329,
                "challenges_lost": 0.4652,
                "fouls": 0.2964,
                "fouls_drawn": 0.1116,
                "blocks": 0.0802,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0356,
                "assists": 0,
                "expected_goals": 0.0028,
                "expected_assists": 0.0315,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0729,
                "xgot": 0.0,
                "ball_carries": 1.8895,
                "total_progression": 16.0785,
                "progressive_carries": 0.4001,
                "key_pass": 0.1538,
                "shots_off_target": 0.183,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "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": 71.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": 4776,
                "fifa_rank": 5032.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 71.0
              }
            }
          ]
        },
        "Martim Neto": {
          "player_id": 1100646,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 16,
          "height": 185,
          "market_value": 3800000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0233,
            "assist_rate": 0.0963,
            "assists": 0,
            "expected_goals": 0.0241,
            "goal_rate": 0.0466,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7647,
            "minutes": 25,
            "total_pass": 13,
            "accurate_pass": 11,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 10,
            "accurate_opp_half_passes": 9,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 18,
            "possession_lost": 3.5065,
            "dispossessed": 0.3645,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0246,
            "ball_carries": 6,
            "total_progression": 32,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.5,
            "bench_expected_minutes": 24.76,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.212,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0235,
            "projected_assists": 0,
            "assist_probability": 0.0228,
            "finishing_factor": 0.9847,
            "creation_factor": 1.25,
            "fifa_overall": 72.0
          },
          "latest_10_games": [
            {
              "match_id": 16421058,
              "match_date": "2026-10-11",
              "home_team": "Elche",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 19,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1452,
                "expected_assists": 0.018,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 17,
                "accurate_pass": 15,
                "key_pass": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416342,
              "match_date": "2026-09-15",
              "home_team": "Elche",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 68,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.075,
                "expected_assists": 0.0488,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 39,
                "accurate_pass": 34,
                "key_pass": 1,
                "duels_won": 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,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 14,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0094,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 3,
                "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": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 26,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0174,
                "expected_assists": 0.0012,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 8,
                "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": 16421050,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 60,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1036,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 23,
                "key_pass": 2,
                "tackles": 1,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083401,
              "match_date": "2026-05-03",
              "home_team": "Celta Vigo",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 32,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0103,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 18,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083306,
              "match_date": "2026-04-22",
              "home_team": "Elche",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 67,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2443,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 28,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083132,
              "match_date": "2026-04-11",
              "home_team": "Elche",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Valencia",
              "stats": {
                "minutes": 72,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0832,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 24,
                "key_pass": 1,
                "tackles": 2,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083637,
              "match_date": "2026-03-14",
              "home_team": "Real Madrid",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 74,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1098,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 20,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 5
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081803,
              "match_date": "2026-03-08",
              "home_team": "Villarreal",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 31,
                "rating": 7.6,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.6792,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 14,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 4398,
            "combined_rank_score": 2419.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 575.0,
            "sofascore_rating": 6.804,
            "sofascore_appearances": 25.0,
            "fifa_rank": 4263.0,
            "fifa_overall": 72.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7647,
            "source_file": "data/player_rankings.csv",
            "player_name": "Martim Neto",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Marc Guiu",
                  "ranking": 4393
                },
                {
                  "player_name": "Emanuel Coronel",
                  "ranking": 4394
                },
                {
                  "player_name": "Joe Worrall",
                  "ranking": 4395
                },
                {
                  "player_name": "Ibrahim Osman",
                  "ranking": 4396
                },
                {
                  "player_name": "Karl Edouard Etta Eyong",
                  "ranking": 4397
                }
              ],
              "lower": [
                {
                  "player_name": "Embarba",
                  "ranking": 4399
                },
                {
                  "player_name": "Justo Giani",
                  "ranking": 4400
                },
                {
                  "player_name": "Francés",
                  "ranking": 4401
                },
                {
                  "player_name": "Florin Tănase",
                  "ranking": 4402
                },
                {
                  "player_name": "Víctor García",
                  "ranking": 4403
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.76,
          "history_matches": 30,
          "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",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "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",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 30,
            "data_confidence": 0.76,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 24.76,
            "bench_appearance_prob": 0.5,
            "market_value_adjustment": 0.9975,
            "fbref_prior_metrics": {
              "squad": "Elche",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 1.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 27.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0667
            },
            "rationale": "Bench projection scaled from XGBoost M_service (30 historical appearances) to 24.8 expected mins (appearance prob 0.50); FBref playing time empirical prior: 1.0 sub appearances, 27.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.642,
                "expected_assists": 0.0581,
                "assists": 0.0989,
                "assist_rate": 0.0989,
                "expected_goals": 0.0491,
                "goals": 0.0479,
                "goal_rate": 0.0479,
                "shots_on_target": 0.215,
                "total_shots": 0.4438,
                "rating": 6.7647,
                "minutes": 25.2,
                "total_pass": 13.7691,
                "accurate_pass": 11.6416,
                "duels_won": 1.5656,
                "total_long_balls": 0.5333,
                "accurate_long_balls": 0.4938,
                "total_own_half_passes": 3.4891,
                "accurate_own_half_passes": 2.7508,
                "total_opp_half_passes": 10.28,
                "accurate_opp_half_passes": 8.8908,
                "crosses_total": 0.4378,
                "crosses_accurate": 0.1781,
                "touches": 18.7772,
                "possession_lost": 3.5777,
                "dispossessed": 0.3654,
                "duels_lost": 1.1681,
                "aerial_won": 0.0,
                "aerial_lost": 0.178,
                "interceptions": 0.0547,
                "tackles_won": 0.3428,
                "tackles": 0.4522,
                "clearances": 0.2055,
                "total_contest": 1.1282,
                "won_contest": 0.8237,
                "challenges_lost": 0.1521,
                "fouls": 0.168,
                "fouls_drawn": 0.2897,
                "blocks": 0.0,
                "big_chances_created": 0.1133,
                "big_chances_missed": 0.0,
                "xgot": 0.0502,
                "ball_carries": 5.9556,
                "total_progression": 32.7745,
                "progressive_carries": 1.2823,
                "shots_off_target": 0.2287
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-17T10:05:52.581708+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Celta Vigo",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.1512,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Real Madrid",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.1285,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Athletic Club",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.1092,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "FC Barcelona",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.0928,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.0789,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Celta Vigo",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.0671,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-04-22",
                    "opponent": "Atlético Madrid",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.057,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "Valencia",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.0485,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-03-14",
                    "opponent": "Real Madrid",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.0412,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-03-08",
                    "opponent": "Villarreal",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.035,
                    "rating": 7.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.5699,
                  "creative_index": 0.3943,
                  "expectedGoals": 0.0396,
                  "expectedAssists": 0.0778,
                  "onTargetScoringAttempt": 0.1771
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.6419978141784668,
                    "model_output": 0.642,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.379
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0252
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0165
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.015
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0154
                        }
                      ],
                      "others": 0.1063,
                      "total": 0.642,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.552304
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.050282
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.033264
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.029307
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.029235
                        }
                      ],
                      "others_margin": 0.180798
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.058128874748945236,
                    "model_output": 0.0581,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0343
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0044
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0025
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0024
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0022
                        }
                      ],
                      "others": 0.0085,
                      "total": 0.0581,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.511914
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.088983
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.051635
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.046778
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.043
                        }
                      ],
                      "others_margin": 0.157993
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.09886661171913147,
                    "model_output": 0.0989,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0196
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0083
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0076
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0048
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.005
                        }
                      ],
                      "others": 0.0208,
                      "total": 0.0989,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.2538
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.11593
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.10565
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.068335
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.065573
                        }
                      ],
                      "others_margin": 0.234701
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.04908093437552452,
                    "model_output": 0.0491,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0421
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0076
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0058
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0027
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0027
                        }
                      ],
                      "others": -0.0013,
                      "total": 0.0491,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.591583
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.156684
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.121508
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.05218
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.05164
                        }
                      ],
                      "others_margin": -0.026738
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.047859109938144684,
                    "model_output": 0.0479,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0409
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0077
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0042
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0041
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0031
                        }
                      ],
                      "others": -0.0043,
                      "total": 0.0479,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.541265
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.14611
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.088526
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.087168
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.061235
                        }
                      ],
                      "others_margin": -0.087049
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.21502068638801575,
                    "model_output": 0.215,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1277
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0395
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0244
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0148
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0072
                        }
                      ],
                      "others": 0.0101,
                      "total": 0.215,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.497458
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.222613
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.142955
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.077818
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.035542
                        }
                      ],
                      "others_margin": 0.048422
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4437662959098816,
                    "model_output": 0.4438,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.397
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.2279
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0749
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0263
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0115
                        }
                      ],
                      "others": -0.0395,
                      "total": 0.4438,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.397008
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.227896
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.074919
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.026299
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.011542
                        }
                      ],
                      "others_margin": -0.039624
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.764666557312012,
                    "model_output": 6.7647,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0867
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0308
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0115
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0098
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0068
                        }
                      ],
                      "others": 0.0146,
                      "total": 6.7647,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.086657
                        },
                        {
                          "name": "rating",
                          "margin": -0.030816
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.011523
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.009836
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.006782
                        }
                      ],
                      "others_margin": 0.014506
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 30,
                  "role_matches": 13,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9975, quality 0.447)",
              "stats": {
                "key_pass": 0.6404,
                "expected_assists": 0.058,
                "assists": 0.0986,
                "assist_rate": 0.0986,
                "expected_goals": 0.049,
                "goals": 0.0477,
                "goal_rate": 0.0477,
                "shots_on_target": 0.2145,
                "total_shots": 0.4427,
                "rating": 6.7647,
                "minutes": 25.2,
                "total_pass": 13.7347,
                "accurate_pass": 11.6125,
                "duels_won": 1.5617,
                "total_long_balls": 0.532,
                "accurate_long_balls": 0.4926,
                "total_own_half_passes": 3.4804,
                "accurate_own_half_passes": 2.7439,
                "total_opp_half_passes": 10.2543,
                "accurate_opp_half_passes": 8.8686,
                "crosses_total": 0.4367,
                "crosses_accurate": 0.1777,
                "touches": 18.7303,
                "possession_lost": 3.5688,
                "dispossessed": 0.3645,
                "duels_lost": 1.1652,
                "aerial_won": 0.0,
                "aerial_lost": 0.1776,
                "interceptions": 0.0546,
                "tackles_won": 0.3419,
                "tackles": 0.4511,
                "clearances": 0.205,
                "total_contest": 1.1254,
                "won_contest": 0.8216,
                "challenges_lost": 0.1517,
                "fouls": 0.1676,
                "fouls_drawn": 0.289,
                "blocks": 0.0,
                "big_chances_created": 0.113,
                "big_chances_missed": 0.0,
                "xgot": 0.0501,
                "ball_carries": 5.9407,
                "total_progression": 32.6926,
                "progressive_carries": 1.2791,
                "shots_off_target": 0.2281
              },
              "params": {
                "market_value_eur": 3800000,
                "quality_factor": 0.4474,
                "boost_factor": 0.9975,
                "reference_quality": 0.505,
                "history_matches": 30,
                "history_shrink": 0.1429,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0062)",
              "stats": {
                "key_pass": 0.6404,
                "expected_assists": 0.058,
                "assists": 0.098,
                "assist_rate": 0.098,
                "expected_goals": 0.049,
                "goals": 0.0474,
                "goal_rate": 0.0474,
                "shots_on_target": 0.2132,
                "total_shots": 0.4418,
                "rating": 6.7647,
                "minutes": 25.2,
                "total_pass": 13.7347,
                "accurate_pass": 11.6125,
                "duels_won": 1.5617,
                "total_long_balls": 0.532,
                "accurate_long_balls": 0.4926,
                "total_own_half_passes": 3.4804,
                "accurate_own_half_passes": 2.7439,
                "total_opp_half_passes": 10.2543,
                "accurate_opp_half_passes": 8.8686,
                "crosses_total": 0.4375,
                "crosses_accurate": 0.1777,
                "touches": 18.7303,
                "possession_lost": 3.5688,
                "dispossessed": 0.3645,
                "duels_lost": 1.1652,
                "aerial_won": 0.0,
                "aerial_lost": 0.1776,
                "interceptions": 0.056,
                "tackles_won": 0.3398,
                "tackles": 0.4511,
                "clearances": 0.205,
                "total_contest": 1.1254,
                "won_contest": 0.8216,
                "challenges_lost": 0.1517,
                "fouls": 0.1683,
                "fouls_drawn": 0.2889,
                "blocks": 0.0,
                "big_chances_created": 0.113,
                "big_chances_missed": 0.0,
                "xgot": 0.0501,
                "ball_carries": 5.9407,
                "total_progression": 32.6926,
                "progressive_carries": 1.2791,
                "shots_off_target": 0.2281
              },
              "params": {
                "blend_weight": 0.0062,
                "history_matches": 30,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.28,
                "prior_reliability": 0.0667,
                "competition": "La Liga",
                "squad": "Elche"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 25.2 to 24.8 expected minutes (appearance prob 0.50)",
              "stats": {
                "key_pass": 0.6292,
                "expected_assists": 0.057,
                "assists": 0.0963,
                "assist_rate": 0.0963,
                "expected_goals": 0.0481,
                "goals": 0.0466,
                "goal_rate": 0.0466,
                "shots_on_target": 0.2095,
                "total_shots": 0.4341,
                "rating": 6.7647,
                "minutes": 24.76,
                "total_pass": 13.4949,
                "accurate_pass": 11.4097,
                "duels_won": 1.5344,
                "total_long_balls": 0.5227,
                "accurate_long_balls": 0.484,
                "total_own_half_passes": 3.4196,
                "accurate_own_half_passes": 2.696,
                "total_opp_half_passes": 10.0753,
                "accurate_opp_half_passes": 8.7138,
                "crosses_total": 0.4299,
                "crosses_accurate": 0.1746,
                "touches": 18.4033,
                "possession_lost": 3.5065,
                "dispossessed": 0.3645,
                "duels_lost": 1.1449,
                "aerial_won": 0.0,
                "aerial_lost": 0.1776,
                "interceptions": 0.055,
                "tackles_won": 0.3339,
                "tackles": 0.4432,
                "clearances": 0.2014,
                "total_contest": 1.1058,
                "won_contest": 0.8073,
                "challenges_lost": 0.1517,
                "fouls": 0.1654,
                "fouls_drawn": 0.2839,
                "blocks": 0.0,
                "big_chances_created": 0.111,
                "big_chances_missed": 0.0,
                "xgot": 0.0492,
                "ball_carries": 5.837,
                "total_progression": 32.1218,
                "progressive_carries": 1.2568,
                "shots_off_target": 0.2241,
                "bench_appearance_probability": 0.5,
                "bench_expected_minutes": 24.76
              },
              "params": {
                "expected_minutes": 24.76,
                "projection_minutes": 25.2,
                "minutes_scale": 0.9825,
                "appearance_probability": 0.5
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.6292,
                "expected_assists": 0.057,
                "assists": 0.0963,
                "assist_rate": 0.0963,
                "expected_goals": 0.0481,
                "goals": 0.0466,
                "goal_rate": 0.0466,
                "shots_on_target": 0.2095,
                "total_shots": 0.4341,
                "rating": 6.7647,
                "minutes": 24.76,
                "total_pass": 13.4949,
                "accurate_pass": 11.4097,
                "duels_won": 1.5344,
                "total_long_balls": 0.5227,
                "accurate_long_balls": 0.484,
                "total_own_half_passes": 3.4196,
                "accurate_own_half_passes": 2.696,
                "total_opp_half_passes": 10.0753,
                "accurate_opp_half_passes": 8.7138,
                "crosses_total": 0.4299,
                "crosses_accurate": 0.1746,
                "touches": 18.4033,
                "possession_lost": 3.5065,
                "dispossessed": 0.3645,
                "duels_lost": 1.1449,
                "aerial_won": 0.0,
                "aerial_lost": 0.1776,
                "interceptions": 0.055,
                "tackles_won": 0.3339,
                "tackles": 0.4432,
                "clearances": 0.2014,
                "total_contest": 1.1058,
                "won_contest": 0.8073,
                "challenges_lost": 0.1517,
                "fouls": 0.1654,
                "fouls_drawn": 0.2839,
                "blocks": 0.0,
                "big_chances_created": 0.111,
                "big_chances_missed": 0.0,
                "xgot": 0.0492,
                "ball_carries": 5.837,
                "total_progression": 32.1218,
                "progressive_carries": 1.2568,
                "shots_off_target": 0.2241,
                "bench_appearance_probability": 0.5,
                "bench_expected_minutes": 24.76
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.6292,
                "expected_assists": 0.057,
                "assist_rate": 0.0963,
                "assists": 0,
                "expected_goals": 0.0481,
                "goal_rate": 0.0466,
                "goals": 0,
                "shots_on_target": 0.2095,
                "total_shots": 0.4341,
                "rating": 6.7647,
                "minutes": 24.76,
                "total_pass": 13.4949,
                "accurate_pass": 11.4097,
                "duels_won": 1.5344,
                "total_long_balls": 0.5227,
                "accurate_long_balls": 0.484,
                "total_own_half_passes": 3.4196,
                "accurate_own_half_passes": 2.696,
                "total_opp_half_passes": 10.0753,
                "accurate_opp_half_passes": 8.7138,
                "crosses_total": 0.4299,
                "crosses_accurate": 0.1746,
                "touches": 18.4033,
                "possession_lost": 3.5065,
                "dispossessed": 0.3645,
                "duels_lost": 1.1449,
                "aerial_won": 0.0,
                "aerial_lost": 0.1776,
                "interceptions": 0.055,
                "tackles_won": 0.3339,
                "tackles": 0.4432,
                "clearances": 0.2014,
                "total_contest": 1.1058,
                "won_contest": 0.8073,
                "challenges_lost": 0.1517,
                "fouls": 0.1654,
                "fouls_drawn": 0.2839,
                "blocks": 0.0,
                "big_chances_created": 0.111,
                "big_chances_missed": 0.0,
                "xgot": 0.0492,
                "ball_carries": 5.837,
                "total_progression": 32.1218,
                "progressive_carries": 1.2568,
                "shots_off_target": 0.2241,
                "bench_appearance_probability": 0.5,
                "bench_expected_minutes": 24.76,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.90 (squad xG sum 0.8976, xG scale 1.0004, xA scale 0.8162, team xA 0.72 = 0.80 x lambda)",
              "stats": {
                "key_pass": 0.6292,
                "expected_assists": 0.0233,
                "assist_rate": 0.0963,
                "assists": 0,
                "expected_goals": 0.0241,
                "goal_rate": 0.0466,
                "goals": 0,
                "shots_on_target": 0.2095,
                "total_shots": 0.4341,
                "rating": 6.7647,
                "minutes": 24.76,
                "total_pass": 13.4949,
                "accurate_pass": 11.4097,
                "duels_won": 1.5344,
                "total_long_balls": 0.5227,
                "accurate_long_balls": 0.484,
                "total_own_half_passes": 3.4196,
                "accurate_own_half_passes": 2.696,
                "total_opp_half_passes": 10.0753,
                "accurate_opp_half_passes": 8.7138,
                "crosses_total": 0.4299,
                "crosses_accurate": 0.1746,
                "touches": 18.4033,
                "possession_lost": 3.5065,
                "dispossessed": 0.3645,
                "duels_lost": 1.1449,
                "aerial_won": 0.0,
                "aerial_lost": 0.1776,
                "interceptions": 0.055,
                "tackles_won": 0.3339,
                "tackles": 0.4432,
                "clearances": 0.2014,
                "total_contest": 1.1058,
                "won_contest": 0.8073,
                "challenges_lost": 0.1517,
                "fouls": 0.1654,
                "fouls_drawn": 0.2839,
                "blocks": 0.0,
                "big_chances_created": 0.111,
                "big_chances_missed": 0.0,
                "xgot": 0.0246,
                "ball_carries": 5.837,
                "total_progression": 32.1218,
                "progressive_carries": 1.2568,
                "shots_off_target": 0.2241,
                "bench_appearance_probability": 0.5,
                "bench_expected_minutes": 24.76,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "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.9847,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 0.898,
                "squad_xg_sum": 0.8976,
                "squad_xa_sum": 0.8802,
                "team_expected_assists": 0.7184,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0004,
                "xa_scale": 0.8162,
                "opponent_lambda": 1.948,
                "scoreline_reset": true,
                "appearance_weight": 0.5
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0481,
                  "after": 0.0241
                },
                {
                  "stat": "expected_assists",
                  "before": 0.057,
                  "after": 0.0233
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 12 by projected rating, fifa_overall 72.0)",
              "stats": {
                "key_pass": 0.6292,
                "expected_assists": 0.0233,
                "assist_rate": 0.0963,
                "assists": 0,
                "expected_goals": 0.0241,
                "goal_rate": 0.0466,
                "goals": 0,
                "shots_on_target": 0.2095,
                "total_shots": 0.4341,
                "rating": 6.7647,
                "minutes": 24.76,
                "total_pass": 13.4949,
                "accurate_pass": 11.4097,
                "duels_won": 1.5344,
                "total_long_balls": 0.5227,
                "accurate_long_balls": 0.484,
                "total_own_half_passes": 3.4196,
                "accurate_own_half_passes": 2.696,
                "total_opp_half_passes": 10.0753,
                "accurate_opp_half_passes": 8.7138,
                "crosses_total": 0.4299,
                "crosses_accurate": 0.1746,
                "touches": 18.4033,
                "possession_lost": 3.5065,
                "dispossessed": 0.3645,
                "duels_lost": 1.1449,
                "aerial_won": 0.0,
                "aerial_lost": 0.1776,
                "interceptions": 0.055,
                "tackles_won": 0.3339,
                "tackles": 0.4432,
                "clearances": 0.2014,
                "total_contest": 1.1058,
                "won_contest": 0.8073,
                "challenges_lost": 0.1517,
                "fouls": 0.1654,
                "fouls_drawn": 0.2839,
                "blocks": 0.0,
                "big_chances_created": 0.111,
                "big_chances_missed": 0.0,
                "xgot": 0.0246,
                "ball_carries": 5.837,
                "total_progression": 32.1218,
                "progressive_carries": 1.2568,
                "shots_off_target": 0.2241,
                "bench_appearance_probability": 0.5,
                "bench_expected_minutes": 24.76,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "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.9847,
                "creation_factor": 1.25,
                "fifa_overall": 72.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": 4398,
                "fifa_rank": 4263.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": {
                "key_pass": 0.6292,
                "expected_assists": 0.0233,
                "assist_rate": 0.0963,
                "assists": 0,
                "expected_goals": 0.0241,
                "goal_rate": 0.0466,
                "goals": 0,
                "shots_on_target": 0.2095,
                "total_shots": 0.4341,
                "rating": 6.7647,
                "minutes": 24.76,
                "total_pass": 13.4949,
                "accurate_pass": 11.4097,
                "duels_won": 1.5344,
                "total_long_balls": 0.5227,
                "accurate_long_balls": 0.484,
                "total_own_half_passes": 3.4196,
                "accurate_own_half_passes": 2.696,
                "total_opp_half_passes": 10.0753,
                "accurate_opp_half_passes": 8.7138,
                "crosses_total": 0.4299,
                "crosses_accurate": 0.1746,
                "touches": 18.4033,
                "possession_lost": 3.5065,
                "dispossessed": 0.3645,
                "duels_lost": 1.1449,
                "aerial_won": 0.0,
                "aerial_lost": 0.1776,
                "interceptions": 0.055,
                "tackles_won": 0.3339,
                "tackles": 0.4432,
                "clearances": 0.2014,
                "total_contest": 1.1058,
                "won_contest": 0.8073,
                "challenges_lost": 0.1517,
                "fouls": 0.1654,
                "fouls_drawn": 0.2839,
                "blocks": 0.0,
                "big_chances_created": 0.111,
                "big_chances_missed": 0.0,
                "xgot": 0.0246,
                "ball_carries": 5.837,
                "total_progression": 32.1218,
                "progressive_carries": 1.2568,
                "shots_off_target": 0.2241,
                "bench_appearance_probability": 0.5,
                "bench_expected_minutes": 24.76,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0235,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9847,
                "creation_factor": 1.25,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0235,
                "goal_rate": 0.0466,
                "scorer_weight": 0.0237,
                "squad_weight_total": 1.0138,
                "weight_share": 0.0234,
                "finishing_factor": 0.9847,
                "appearance_weight": 0.5,
                "weight_rank": 11,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0.6292,
                "expected_assists": 0.0233,
                "assist_rate": 0.0963,
                "assists": 0,
                "expected_goals": 0.0241,
                "goal_rate": 0.0466,
                "goals": 0,
                "shots_on_target": 0.2095,
                "total_shots": 0.4341,
                "rating": 6.7647,
                "minutes": 24.76,
                "total_pass": 13.4949,
                "accurate_pass": 11.4097,
                "duels_won": 1.5344,
                "total_long_balls": 0.5227,
                "accurate_long_balls": 0.484,
                "total_own_half_passes": 3.4196,
                "accurate_own_half_passes": 2.696,
                "total_opp_half_passes": 10.0753,
                "accurate_opp_half_passes": 8.7138,
                "crosses_total": 0.4299,
                "crosses_accurate": 0.1746,
                "touches": 18.4033,
                "possession_lost": 3.5065,
                "dispossessed": 0.3645,
                "duels_lost": 1.1449,
                "aerial_won": 0.0,
                "aerial_lost": 0.1776,
                "interceptions": 0.055,
                "tackles_won": 0.3339,
                "tackles": 0.4432,
                "clearances": 0.2014,
                "total_contest": 1.1058,
                "won_contest": 0.8073,
                "challenges_lost": 0.1517,
                "fouls": 0.1654,
                "fouls_drawn": 0.2839,
                "blocks": 0.0,
                "big_chances_created": 0.111,
                "big_chances_missed": 0.0,
                "xgot": 0.0246,
                "ball_carries": 5.837,
                "total_progression": 32.1218,
                "progressive_carries": 1.2568,
                "shots_off_target": 0.2241,
                "bench_appearance_probability": 0.5,
                "bench_expected_minutes": 24.76,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0235,
                "projected_assists": 0,
                "assist_probability": 0.0228,
                "finishing_factor": 0.9847,
                "creation_factor": 1.25,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0228,
                "assist_rate": 0.0963,
                "provider_weight": 0.0291,
                "squad_weight_total": 0.7026,
                "weight_share": 0.0415,
                "creation_factor": 1.25,
                "appearance_weight": 0.5,
                "weight_rank": 8,
                "eligible_players": 13
              }
            }
          ]
        },
        "Federico Redondo": {
          "player_id": 1117026,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 5,
          "height": 188,
          "market_value": 2400000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.024,
            "assist_rate": 0.0337,
            "assists": 0,
            "expected_goals": 0.0192,
            "goal_rate": 0.0339,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7272,
            "minutes": 22,
            "total_pass": 12,
            "accurate_pass": 11,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 6,
            "accurate_own_half_passes": 5,
            "total_opp_half_passes": 6,
            "accurate_opp_half_passes": 5,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 17,
            "possession_lost": 2.0399,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 1,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 3,
            "total_progression": 10,
            "progressive_carries": 0,
            "shots_off_target": 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.212,
            "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": 70.0
          },
          "latest_10_games": [
            {
              "match_id": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 6,
                "rating": 3.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 4,
                "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": 16416342,
              "match_date": "2026-09-15",
              "home_team": "Elche",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1398,
                "total_shots": 0,
                "total_pass": 53,
                "accurate_pass": 52,
                "tackles": 4,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 3,
                "duels_won": 5,
                "ball_recovery": 6
              },
              "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,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0015,
                "total_shots": 0,
                "total_pass": 40,
                "accurate_pass": 39,
                "tackles": 6,
                "tackles_won": 3,
                "interceptions": 4,
                "clearances": 4,
                "duels_won": 8,
                "ball_recovery": 7
              },
              "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": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 81,
                "rating": 5.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0175,
                "total_shots": 0,
                "total_pass": 53,
                "accurate_pass": 46,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 3,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "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": 16421050,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 60,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0522,
                "expected_assists": 0.0057,
                "total_shots": 1,
                "total_pass": 64,
                "accurate_pass": 60,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 3,
                "duels_won": 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": 14083697,
              "match_date": "2026-04-03",
              "home_team": "Rayo Vallecano",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 13,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0026,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 10,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083668,
              "match_date": "2026-03-21",
              "home_team": "Elche",
              "away_team": "Mallorca",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 11,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 3,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083637,
              "match_date": "2026-03-14",
              "home_team": "Real Madrid",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 64,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.068,
                "expected_assists": 0.0146,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 57,
                "accurate_pass": 49,
                "tackles": 4,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081803,
              "match_date": "2026-03-08",
              "home_team": "Villarreal",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 22,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0213,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 24
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083244,
              "match_date": "2026-01-31",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 34,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0008,
                "total_shots": 0,
                "total_pass": 14,
                "accurate_pass": 13,
                "ball_recovery": 3
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 5116,
            "combined_rank_score": 3314.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 698.0,
            "sofascore_rating": 6.7,
            "sofascore_appearances": 1.0,
            "fifa_rank": 5931.0,
            "fifa_overall": 70.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7272,
            "source_file": "data/player_rankings.csv",
            "player_name": "Federico Redondo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Nicolas Madsen",
                  "ranking": 5111
                },
                {
                  "player_name": "Randy Nteka",
                  "ranking": 5112
                },
                {
                  "player_name": "Federico Gattoni",
                  "ranking": 5113
                },
                {
                  "player_name": "Callum Doyle",
                  "ranking": 5114
                },
                {
                  "player_name": "Caleb Taylor",
                  "ranking": 5115
                }
              ],
              "lower": [
                {
                  "player_name": "Pablo",
                  "ranking": 5117
                },
                {
                  "player_name": "Caspar Jander",
                  "ranking": 5118
                },
                {
                  "player_name": "Alejandro Camargo",
                  "ranking": 5119
                },
                {
                  "player_name": "Nhoa Sangui",
                  "ranking": 5120
                },
                {
                  "player_name": "Gessime Yassine",
                  "ranking": 5121
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.765,
          "history_matches": 16,
          "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",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "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",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 16,
            "data_confidence": 0.765,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 21.97222218756125,
            "bench_appearance_prob": 0.307,
            "market_value_adjustment": 0.9952,
            "fbref_prior_metrics": {
              "squad": "Elche",
              "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.1
            },
            "rationale": "Bench projection scaled from XGBoost M_service (16 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": 0.255,
                "expected_assists": 0.0181,
                "assists": 0.0258,
                "assist_rate": 0.0258,
                "expected_goals": 0.0144,
                "goals": 0.0259,
                "goal_rate": 0.0259,
                "shots_on_target": 0.0537,
                "total_shots": 0.1514,
                "rating": 6.7272,
                "minutes": 16.48,
                "total_pass": 9.0427,
                "accurate_pass": 8.226,
                "duels_won": 0.9571,
                "total_long_balls": 0.7725,
                "accurate_long_balls": 0.4991,
                "total_own_half_passes": 4.2053,
                "accurate_own_half_passes": 4.0945,
                "total_opp_half_passes": 4.8374,
                "accurate_opp_half_passes": 4.1315,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.6204,
                "possession_lost": 1.5374,
                "dispossessed": 0.0,
                "duels_lost": 1.1965,
                "aerial_won": 0.3879,
                "aerial_lost": 0.2735,
                "interceptions": 0.3638,
                "tackles_won": 0.2416,
                "tackles": 0.2416,
                "clearances": 0.7517,
                "total_contest": 0.1868,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.7363,
                "fouls_drawn": 0.4863,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.3292,
                "total_progression": 7.7409,
                "progressive_carries": 0.0,
                "shots_off_target": 0.0977
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-17T10:05:52.581708+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Espanyol",
                    "minutes": 6.0,
                    "is_starting": true,
                    "weight": 0.162,
                    "rating": 3.0
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1377,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1171,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "FC Barcelona",
                    "minutes": 81.0,
                    "is_starting": true,
                    "weight": 0.0995,
                    "rating": 5.5
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.0846,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-04-03",
                    "opponent": "Rayo Vallecano",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.0719,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-03-21",
                    "opponent": "Mallorca",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.0611,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-03-14",
                    "opponent": "Real Madrid",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.0519,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-03-08",
                    "opponent": "Villarreal",
                    "minutes": 22.0,
                    "is_starting": false,
                    "weight": 0.0442,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-01-31",
                    "opponent": "FC Barcelona",
                    "minutes": 34.0,
                    "is_starting": false,
                    "weight": 0.0375,
                    "rating": 6.2
                  }
                ],
                "feature_row": {
                  "history_matches": 16.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.1365,
                  "creative_index": 0.1124,
                  "expectedGoals": 0.0079,
                  "expectedAssists": 0.0238,
                  "onTargetScoringAttempt": 0.0
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.2549796402454376,
                    "model_output": 0.255,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3745
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0594
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0491
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0374
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0211
                        }
                      ],
                      "others": -0.0965,
                      "total": 0.255,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.543655
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.121776
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.113102
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.095533
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.058427
                        }
                      ],
                      "others_margin": -0.320889
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.018104862421751022,
                    "model_output": 0.0181,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0378
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0095
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0058
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0047
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0022
                        }
                      ],
                      "others": -0.0075,
                      "total": 0.0181,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.581687
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.220857
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.164272
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.156394
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.084092
                        }
                      ],
                      "others_margin": -0.346671
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.025841066613793373,
                    "model_output": 0.0258,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.02
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0127
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0097
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0043
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.003
                        }
                      ],
                      "others": -0.0117,
                      "total": 0.0258,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.260664
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.209924
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.195132
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.101636
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.076948
                        }
                      ],
                      "others_margin": -0.372415
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.01444717962294817,
                    "model_output": 0.0144,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0383
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0203
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0074
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0035
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0028
                        }
                      ],
                      "others": -0.0076,
                      "total": 0.0144,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.520837
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.450046
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.23388
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.130563
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.119723
                        }
                      ],
                      "others_margin": -0.420881
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.02594348043203354,
                    "model_output": 0.0259,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0321
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0125
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0088
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0041
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0031
                        }
                      ],
                      "others": -0.0113,
                      "total": 0.0259,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.398308
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.210661
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.181083
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.097443
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.080357
                        }
                      ],
                      "others_margin": -0.359036
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.05368884280323982,
                    "model_output": 0.0537,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1414
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0502
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0295
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0157
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0074
                        }
                      ],
                      "others": -0.0278,
                      "total": 0.0537,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.569091
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.317836
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.248563
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.162876
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.08667
                        }
                      ],
                      "others_margin": -0.417825
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.15136639773845673,
                    "model_output": 0.1514,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.316
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.2103
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0418
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0412
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0335
                        }
                      ],
                      "others": -0.2013,
                      "total": 0.1514,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.316046
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.210311
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.04176
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.041231
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.033522
                        }
                      ],
                      "others_margin": -0.201297
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.727186679840088,
                    "model_output": 6.7272,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0687
                        },
                        {
                          "name": "rating",
                          "contribution": -0.038
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0278
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.009
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0073
                        }
                      ],
                      "others": 0.0069,
                      "total": 6.7272,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.068689
                        },
                        {
                          "name": "rating",
                          "margin": -0.037978
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.027793
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.009001
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.00735
                        }
                      ],
                      "others_margin": 0.006938
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 16,
                  "role_matches": 10,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9952, quality 0.437)",
              "stats": {
                "key_pass": 0.2538,
                "expected_assists": 0.018,
                "assists": 0.0257,
                "assist_rate": 0.0257,
                "expected_goals": 0.0144,
                "goals": 0.0258,
                "goal_rate": 0.0258,
                "shots_on_target": 0.0534,
                "total_shots": 0.1507,
                "rating": 6.7272,
                "minutes": 16.48,
                "total_pass": 8.9993,
                "accurate_pass": 8.1865,
                "duels_won": 0.9525,
                "total_long_balls": 0.7688,
                "accurate_long_balls": 0.4967,
                "total_own_half_passes": 4.1851,
                "accurate_own_half_passes": 4.0748,
                "total_opp_half_passes": 4.8142,
                "accurate_opp_half_passes": 4.1117,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.5598,
                "possession_lost": 1.53,
                "dispossessed": 0.0,
                "duels_lost": 1.1908,
                "aerial_won": 0.386,
                "aerial_lost": 0.2722,
                "interceptions": 0.3621,
                "tackles_won": 0.2404,
                "tackles": 0.2404,
                "clearances": 0.7481,
                "total_contest": 0.1859,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.7328,
                "fouls_drawn": 0.484,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.318,
                "total_progression": 7.7037,
                "progressive_carries": 0.0,
                "shots_off_target": 0.0972
              },
              "params": {
                "market_value_eur": 2400000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9952,
                "reference_quality": 0.505,
                "history_matches": 16,
                "history_shrink": 0.2381,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0155)",
              "stats": {
                "key_pass": 0.2538,
                "expected_assists": 0.018,
                "assists": 0.0253,
                "assist_rate": 0.0253,
                "expected_goals": 0.0144,
                "goals": 0.0254,
                "goal_rate": 0.0254,
                "shots_on_target": 0.0526,
                "total_shots": 0.1502,
                "rating": 6.7272,
                "minutes": 16.48,
                "total_pass": 8.9993,
                "accurate_pass": 8.1865,
                "duels_won": 0.9525,
                "total_long_balls": 0.7688,
                "accurate_long_balls": 0.4967,
                "total_own_half_passes": 4.1851,
                "accurate_own_half_passes": 4.0748,
                "total_opp_half_passes": 4.8142,
                "accurate_opp_half_passes": 4.1117,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.5598,
                "possession_lost": 1.53,
                "dispossessed": 0.0,
                "duels_lost": 1.1908,
                "aerial_won": 0.386,
                "aerial_lost": 0.2722,
                "interceptions": 0.3622,
                "tackles_won": 0.2405,
                "tackles": 0.2404,
                "clearances": 0.7481,
                "total_contest": 0.1859,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.7233,
                "fouls_drawn": 0.4784,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 2.318,
                "total_progression": 7.7037,
                "progressive_carries": 0.0,
                "shots_off_target": 0.0972
              },
              "params": {
                "blend_weight": 0.0155,
                "history_matches": 16,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.1831,
                "prior_reliability": 0.1,
                "competition": "La Liga",
                "squad": "Elche"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.7328,
                  "after": 0.7233
                },
                {
                  "stat": "wasFouled",
                  "before": 0.484,
                  "after": 0.4784
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 16.5 to 22.0 expected minutes (appearance prob 0.31)",
              "stats": {
                "key_pass": 0.3384,
                "expected_assists": 0.024,
                "assists": 0.0337,
                "assist_rate": 0.0337,
                "expected_goals": 0.0192,
                "goals": 0.0339,
                "goal_rate": 0.0339,
                "shots_on_target": 0.0701,
                "total_shots": 0.2003,
                "rating": 6.7272,
                "minutes": 21.97,
                "total_pass": 11.9985,
                "accurate_pass": 10.9148,
                "duels_won": 1.2699,
                "total_long_balls": 1.025,
                "accurate_long_balls": 0.6622,
                "total_own_half_passes": 5.5799,
                "accurate_own_half_passes": 5.4328,
                "total_opp_half_passes": 6.4186,
                "accurate_opp_half_passes": 5.482,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 16.7456,
                "possession_lost": 2.0399,
                "dispossessed": 0.0,
                "duels_lost": 1.5877,
                "aerial_won": 0.5146,
                "aerial_lost": 0.2722,
                "interceptions": 0.4829,
                "tackles_won": 0.3205,
                "tackles": 0.3205,
                "clearances": 0.9974,
                "total_contest": 0.2479,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.9644,
                "fouls_drawn": 0.6378,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.0905,
                "total_progression": 10.2711,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1296,
                "bench_appearance_probability": 0.307,
                "bench_expected_minutes": 21.97
              },
              "params": {
                "expected_minutes": 21.97,
                "projection_minutes": 16.48,
                "minutes_scale": 1.3333,
                "appearance_probability": 0.307
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.3384,
                "expected_assists": 0.024,
                "assists": 0.0337,
                "assist_rate": 0.0337,
                "expected_goals": 0.0192,
                "goals": 0.0339,
                "goal_rate": 0.0339,
                "shots_on_target": 0.0701,
                "total_shots": 0.2003,
                "rating": 6.7272,
                "minutes": 21.97,
                "total_pass": 11.9985,
                "accurate_pass": 10.9148,
                "duels_won": 1.2699,
                "total_long_balls": 1.025,
                "accurate_long_balls": 0.6622,
                "total_own_half_passes": 5.5799,
                "accurate_own_half_passes": 5.4328,
                "total_opp_half_passes": 6.4186,
                "accurate_opp_half_passes": 5.482,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 16.7456,
                "possession_lost": 2.0399,
                "dispossessed": 0.0,
                "duels_lost": 1.5877,
                "aerial_won": 0.5146,
                "aerial_lost": 0.2722,
                "interceptions": 0.4829,
                "tackles_won": 0.3205,
                "tackles": 0.3205,
                "clearances": 0.9974,
                "total_contest": 0.2479,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.9644,
                "fouls_drawn": 0.6378,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.0905,
                "total_progression": 10.2711,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1296,
                "bench_appearance_probability": 0.307,
                "bench_expected_minutes": 21.97
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "key_pass": 0.3384,
                "expected_assists": 0.024,
                "assist_rate": 0.0337,
                "assists": 0,
                "expected_goals": 0.0192,
                "goal_rate": 0.0339,
                "goals": 0,
                "shots_on_target": 0.0701,
                "total_shots": 0.2003,
                "rating": 6.7272,
                "minutes": 21.97,
                "total_pass": 11.9985,
                "accurate_pass": 10.9148,
                "duels_won": 1.2699,
                "total_long_balls": 1.025,
                "accurate_long_balls": 0.6622,
                "total_own_half_passes": 5.5799,
                "accurate_own_half_passes": 5.4328,
                "total_opp_half_passes": 6.4186,
                "accurate_opp_half_passes": 5.482,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 16.7456,
                "possession_lost": 2.0399,
                "dispossessed": 0.0,
                "duels_lost": 1.5877,
                "aerial_won": 0.5146,
                "aerial_lost": 0.2722,
                "interceptions": 0.4829,
                "tackles_won": 0.3205,
                "tackles": 0.3205,
                "clearances": 0.9974,
                "total_contest": 0.2479,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.9644,
                "fouls_drawn": 0.6378,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.0905,
                "total_progression": 10.2711,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1296,
                "bench_appearance_probability": 0.307,
                "bench_expected_minutes": 21.97,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "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
              },
              "params": {
                "appearance_probability": 0.307,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 14 by projected rating, fifa_overall 70.0)",
              "stats": {
                "key_pass": 0.3384,
                "expected_assists": 0.024,
                "assist_rate": 0.0337,
                "assists": 0,
                "expected_goals": 0.0192,
                "goal_rate": 0.0339,
                "goals": 0,
                "shots_on_target": 0.0701,
                "total_shots": 0.2003,
                "rating": 6.7272,
                "minutes": 21.97,
                "total_pass": 11.9985,
                "accurate_pass": 10.9148,
                "duels_won": 1.2699,
                "total_long_balls": 1.025,
                "accurate_long_balls": 0.6622,
                "total_own_half_passes": 5.5799,
                "accurate_own_half_passes": 5.4328,
                "total_opp_half_passes": 6.4186,
                "accurate_opp_half_passes": 5.482,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 16.7456,
                "possession_lost": 2.0399,
                "dispossessed": 0.0,
                "duels_lost": 1.5877,
                "aerial_won": 0.5146,
                "aerial_lost": 0.2722,
                "interceptions": 0.4829,
                "tackles_won": 0.3205,
                "tackles": 0.3205,
                "clearances": 0.9974,
                "total_contest": 0.2479,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.9644,
                "fouls_drawn": 0.6378,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.0905,
                "total_progression": 10.2711,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1296,
                "bench_appearance_probability": 0.307,
                "bench_expected_minutes": 21.97,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "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": 70.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": 5116,
                "fifa_rank": 5931.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 70.0
              }
            }
          ]
        },
        "Facundo Buonanotte": {
          "player_id": 1117025,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 10,
          "height": 174,
          "market_value": 10900000,
          "stats": {
            "expected_goals": 0.0582,
            "goal_rate": 0.1108,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0253,
            "key_pass": 1,
            "rating": 6.6374,
            "minutes": 26,
            "total_pass": 8,
            "accurate_pass": 6,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 6,
            "accurate_opp_half_passes": 4,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 14,
            "possession_lost": 5.0088,
            "dispossessed": 0.2299,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 1,
            "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.0381,
            "offsides": 0,
            "ball_carries": 6,
            "total_progression": 43,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.534,
            "bench_expected_minutes": 26.4,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.212,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0551,
            "projected_assists": 0,
            "assist_probability": 0.0247,
            "finishing_factor": 1.012,
            "creation_factor": 0.8,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16421058,
              "match_date": "2026-10-11",
              "home_team": "Elche",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0024,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 6
              },
              "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,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 69,
                "rating": 7.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.7884,
                "expected_assists": 0.0012,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 14,
                "accurate_pass": 8,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 2,
                "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": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 55,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0985,
                "expected_assists": 0.1246,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 28,
                "accurate_pass": 23,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 69,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0912,
                "expected_assists": 0.0361,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 27,
                "accurate_pass": 20,
                "key_pass": 1,
                "tackles": 3,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 6,
                "ball_recovery": 6
              },
              "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": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 26,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.151,
                "expected_assists": 0.0001,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 5,
                "accurate_pass": 3,
                "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": 14023968,
              "match_date": "2026-05-24",
              "home_team": "West Ham United",
              "away_team": "Leeds United",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Leeds United",
              "opponent": "West Ham United",
              "stats": {
                "minutes": 12,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0227,
                "expected_assists": 0.1789,
                "total_shots": 1,
                "total_pass": 6,
                "accurate_pass": 4,
                "key_pass": 1
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14025134,
              "match_date": "2026-01-31",
              "home_team": "Leeds United",
              "away_team": "Arsenal",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Leeds United",
              "opponent": "Arsenal",
              "stats": {
                "minutes": 19,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0012,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 2,
                "aerial_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 15129439,
              "match_date": "2026-01-26",
              "home_team": "Everton",
              "away_team": "Leeds United",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Leeds United",
              "opponent": "Everton",
              "stats": {
                "minutes": 10,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0401,
                "expected_assists": 0.0061,
                "total_shots": 1,
                "total_pass": 3,
                "accurate_pass": 2,
                "interceptions": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14025127,
              "match_date": "2025-09-13",
              "home_team": "Brentford",
              "away_team": "Chelsea",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Chelsea",
              "opponent": "Brentford",
              "stats": {
                "minutes": 45,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0932,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 20,
                "key_pass": 2,
                "tackles": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3732,
            "combined_rank_score": 1718.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 745.0,
            "sofascore_rating": 6.6667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 2691.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6374,
            "source_file": "data/player_rankings.csv",
            "player_name": "Facundo Buonanotte",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jay DaSilva",
                  "ranking": 3727
                },
                {
                  "player_name": "Oskar Pietuszewski",
                  "ranking": 3728
                },
                {
                  "player_name": "Honest Ahanor",
                  "ranking": 3729
                },
                {
                  "player_name": "Alexandru Mitriță",
                  "ranking": 3730
                },
                {
                  "player_name": "Fabio Carvalho",
                  "ranking": 3731
                }
              ],
              "lower": [
                {
                  "player_name": "Shea Charles",
                  "ranking": 3733
                },
                {
                  "player_name": "Mojmír Chytil",
                  "ranking": 3734
                },
                {
                  "player_name": "Kendry Páez",
                  "ranking": 3735
                },
                {
                  "player_name": "Josip Juranović",
                  "ranking": 3736
                },
                {
                  "player_name": "Michel Aebischer",
                  "ranking": 3737
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.761,
          "history_matches": 9,
          "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",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "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",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 9,
            "data_confidence": 0.761,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 26.4,
            "bench_appearance_prob": 0.534,
            "market_value_adjustment": 1.003,
            "fbref_prior_metrics": {
              "squad": "Elche",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 1.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 27.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0733
            },
            "rationale": "Bench projection scaled from XGBoost F_service (9 historical appearances) to 26.4 expected mins (appearance prob 0.53); FBref playing time empirical prior: 1.0 sub appearances, 27.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0724,
                "goals": 0.075,
                "goal_rate": 0.075,
                "shots_on_target": 0.3629,
                "total_shots": 0.7725,
                "expected_assists": 0.0386,
                "key_pass": 0.4177,
                "rating": 6.6374,
                "minutes": 15.47,
                "total_pass": 5.4526,
                "accurate_pass": 3.6974,
                "duels_won": 0.3948,
                "total_long_balls": 0.1656,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 4.1401,
                "accurate_opp_half_passes": 2.3849,
                "crosses_total": 0.3896,
                "crosses_accurate": 0.1948,
                "touches": 9.5353,
                "possession_lost": 3.3292,
                "dispossessed": 0.2292,
                "duels_lost": 1.83,
                "aerial_lost": 0.9633,
                "total_contest": 0.3948,
                "won_contest": 0.2292,
                "ball_recovery": 0.1408,
                "challenges_lost": 0.3063,
                "fouls": 0.1656,
                "fouls_drawn": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1408,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.2527,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2292,
                "xgot": 0.0474,
                "offsides": 0.0,
                "ball_carries": 3.678,
                "total_progression": 28.5287,
                "progressive_carries": 0.8188,
                "shots_off_target": 0.4096
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:06:24.593912+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Celta Vigo",
                    "minutes": 3.0,
                    "is_starting": false,
                    "weight": 0.1952,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Athletic Club",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.1659,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Real Sociedad",
                    "minutes": 55.0,
                    "is_starting": true,
                    "weight": 0.141,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Real Racing Club",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.1199,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "FC Barcelona",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.1019,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "West Ham United",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.0866,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-01-31",
                    "opponent": "Arsenal",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.0736,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-01-26",
                    "opponent": "Everton",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.0626,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2025-09-13",
                    "opponent": "Brentford",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0532,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 9.0,
                  "is_starting_11": 0.0,
                  "totalOppositionHalfPasses": 9.7116,
                  "expectedGoals": 0.1755,
                  "accurateOppositionHalfPasses": 6.5484,
                  "accuratePass": 10.129,
                  "totalShots": 1.1607
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.07239662855863571,
                    "model_output": 0.0724,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0941
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.007
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0062
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0051
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0038
                        }
                      ],
                      "others": -0.0089,
                      "total": 0.0724,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.646941
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.070311
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.066709
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.058626
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.045955
                        }
                      ],
                      "others_margin": -0.115136
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.07497139275074005,
                    "model_output": 0.075,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0988
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0157
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0058
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0033
                        },
                        {
                          "name": "goals",
                          "contribution": 0.003
                        }
                      ],
                      "others": -0.0078,
                      "total": 0.075,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.664904
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.162154
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.067554
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.040769
                        },
                        {
                          "name": "goals",
                          "margin": 0.036472
                        }
                      ],
                      "others_margin": -0.09895
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.36289530992507935,
                    "model_output": 0.3629,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2068
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0182
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0155
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0131
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0125
                        }
                      ],
                      "others": 0.03,
                      "total": 0.3629,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.485409
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.053661
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.045329
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.03993
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.038124
                        }
                      ],
                      "others_margin": 0.085791
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.772491991519928,
                    "model_output": 0.7725,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5544
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1137
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0662
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0378
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0277
                        }
                      ],
                      "others": -0.0649,
                      "total": 0.7725,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.554385
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.113679
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.066233
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": 0.037765
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.027724
                        }
                      ],
                      "others_margin": -0.065006
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03861613571643829,
                    "model_output": 0.0386,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0216
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.005
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.004
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0031
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0019
                        }
                      ],
                      "others": 0.002,
                      "total": 0.0386,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.40959
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.125368
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.101194
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.077998
                        },
                        {
                          "name": "rating",
                          "margin": -0.050052
                        }
                      ],
                      "others_margin": 0.053241
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.4177272319793701,
                    "model_output": 0.4177,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2462
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0351
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0298
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0269
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0263
                        }
                      ],
                      "others": 0.0022,
                      "total": 0.4177,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.455026
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.085653
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.079011
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.071512
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.06531
                        }
                      ],
                      "others_margin": 0.005404
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.637449264526367,
                    "model_output": 6.6374,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0876
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0221
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0217
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0095
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0093
                        }
                      ],
                      "others": -0.0612,
                      "total": 6.6374,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.087555
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.022108
                        },
                        {
                          "name": "rating",
                          "margin": -0.021678
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.009532
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.009345
                        }
                      ],
                      "others_margin": -0.061306
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 9,
                  "role_matches": 5,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0030, quality 0.533)",
              "stats": {
                "expected_goals": 0.0726,
                "goals": 0.0752,
                "goal_rate": 0.0752,
                "shots_on_target": 0.364,
                "total_shots": 0.7748,
                "expected_assists": 0.0387,
                "key_pass": 0.419,
                "rating": 6.6374,
                "minutes": 15.47,
                "total_pass": 5.469,
                "accurate_pass": 3.7085,
                "duels_won": 0.396,
                "total_long_balls": 0.1661,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 4.1525,
                "accurate_opp_half_passes": 2.3921,
                "crosses_total": 0.3908,
                "crosses_accurate": 0.1954,
                "touches": 9.5639,
                "possession_lost": 3.3392,
                "dispossessed": 0.2299,
                "duels_lost": 1.8355,
                "aerial_lost": 0.9662,
                "total_contest": 0.396,
                "won_contest": 0.2299,
                "ball_recovery": 0.1412,
                "challenges_lost": 0.3072,
                "fouls": 0.1661,
                "fouls_drawn": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1412,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.2535,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2299,
                "xgot": 0.0475,
                "offsides": 0.0,
                "ball_carries": 3.689,
                "total_progression": 28.6143,
                "progressive_carries": 0.8213,
                "shots_off_target": 0.4108
              },
              "params": {
                "market_value_eur": 10900000,
                "quality_factor": 0.533,
                "boost_factor": 1.003,
                "reference_quality": 0.505,
                "history_matches": 9,
                "history_shrink": 0.3571,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0170)",
              "stats": {
                "expected_goals": 0.0726,
                "goals": 0.0739,
                "goal_rate": 0.0739,
                "shots_on_target": 0.3633,
                "total_shots": 0.7755,
                "expected_assists": 0.0387,
                "key_pass": 0.419,
                "rating": 6.6374,
                "minutes": 15.47,
                "total_pass": 5.469,
                "accurate_pass": 3.7085,
                "duels_won": 0.396,
                "total_long_balls": 0.1661,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 4.1525,
                "accurate_opp_half_passes": 2.3921,
                "crosses_total": 0.3921,
                "crosses_accurate": 0.1954,
                "touches": 9.5639,
                "possession_lost": 3.3392,
                "dispossessed": 0.2299,
                "duels_lost": 1.8355,
                "aerial_lost": 0.9662,
                "total_contest": 0.396,
                "won_contest": 0.2299,
                "ball_recovery": 0.1412,
                "challenges_lost": 0.3072,
                "fouls": 0.1713,
                "fouls_drawn": 0.0027,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1415,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.2535,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2299,
                "xgot": 0.0475,
                "offsides": 0.0,
                "ball_carries": 3.689,
                "total_progression": 28.6143,
                "progressive_carries": 0.8213,
                "shots_off_target": 0.4108
              },
              "params": {
                "blend_weight": 0.017,
                "history_matches": 9,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.1719,
                "prior_reliability": 0.0733,
                "competition": "La Liga",
                "squad": "Elche"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.1661,
                  "after": 0.1713
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 15.5 to 26.4 expected minutes (appearance prob 0.53)",
              "stats": {
                "expected_goals": 0.1089,
                "goals": 0.1108,
                "goal_rate": 0.1108,
                "shots_on_target": 0.545,
                "total_shots": 1.1632,
                "expected_assists": 0.058,
                "key_pass": 0.6285,
                "rating": 6.6374,
                "minutes": 26.4,
                "total_pass": 8.2035,
                "accurate_pass": 5.5627,
                "duels_won": 0.594,
                "total_long_balls": 0.2491,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.2287,
                "accurate_opp_half_passes": 3.5882,
                "crosses_total": 0.5881,
                "crosses_accurate": 0.2931,
                "touches": 14.3459,
                "possession_lost": 5.0088,
                "dispossessed": 0.2299,
                "duels_lost": 2.7532,
                "aerial_lost": 0.9662,
                "total_contest": 0.594,
                "won_contest": 0.3448,
                "ball_recovery": 0.2118,
                "challenges_lost": 0.3072,
                "fouls": 0.257,
                "fouls_drawn": 0.004,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2122,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.3802,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3448,
                "xgot": 0.0713,
                "offsides": 0.0,
                "ball_carries": 5.5335,
                "total_progression": 42.9215,
                "progressive_carries": 1.232,
                "shots_off_target": 0.6162,
                "bench_appearance_probability": 0.534,
                "bench_expected_minutes": 26.4
              },
              "params": {
                "expected_minutes": 26.4,
                "projection_minutes": 15.47,
                "minutes_scale": 1.5,
                "appearance_probability": 0.534
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1089,
                "goals": 0.1108,
                "goal_rate": 0.1108,
                "shots_on_target": 0.545,
                "total_shots": 1.1632,
                "expected_assists": 0.058,
                "key_pass": 0.6285,
                "rating": 6.6374,
                "minutes": 26.4,
                "total_pass": 8.2035,
                "accurate_pass": 5.5627,
                "duels_won": 0.594,
                "total_long_balls": 0.2491,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.2287,
                "accurate_opp_half_passes": 3.5882,
                "crosses_total": 0.5881,
                "crosses_accurate": 0.2931,
                "touches": 14.3459,
                "possession_lost": 5.0088,
                "dispossessed": 0.2299,
                "duels_lost": 2.7532,
                "aerial_lost": 0.9662,
                "total_contest": 0.594,
                "won_contest": 0.3448,
                "ball_recovery": 0.2118,
                "challenges_lost": 0.3072,
                "fouls": 0.257,
                "fouls_drawn": 0.004,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2122,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.3802,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3448,
                "xgot": 0.0713,
                "offsides": 0.0,
                "ball_carries": 5.5335,
                "total_progression": 42.9215,
                "progressive_carries": 1.232,
                "shots_off_target": 0.6162,
                "bench_appearance_probability": 0.534,
                "bench_expected_minutes": 26.4
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.1089,
                "goal_rate": 0.1108,
                "goals": 0,
                "shots_on_target": 0.545,
                "total_shots": 1.1632,
                "expected_assists": 0.058,
                "key_pass": 0.6285,
                "rating": 6.6374,
                "minutes": 26.4,
                "total_pass": 8.2035,
                "accurate_pass": 5.5627,
                "duels_won": 0.594,
                "total_long_balls": 0.2491,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.2287,
                "accurate_opp_half_passes": 3.5882,
                "crosses_total": 0.5881,
                "crosses_accurate": 0.2931,
                "touches": 14.3459,
                "possession_lost": 5.0088,
                "dispossessed": 0.2299,
                "duels_lost": 2.7532,
                "aerial_lost": 0.9662,
                "total_contest": 0.594,
                "won_contest": 0.3448,
                "ball_recovery": 0.2118,
                "challenges_lost": 0.3072,
                "fouls": 0.257,
                "fouls_drawn": 0.004,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2122,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.3802,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3448,
                "xgot": 0.0713,
                "offsides": 0.0,
                "ball_carries": 5.5335,
                "total_progression": 42.9215,
                "progressive_carries": 1.232,
                "shots_off_target": 0.6162,
                "bench_appearance_probability": 0.534,
                "bench_expected_minutes": 26.4,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.90 (squad xG sum 0.8976, xG scale 1.0004, xA scale 0.8162, team xA 0.72 = 0.80 x lambda)",
              "stats": {
                "expected_goals": 0.0582,
                "goal_rate": 0.1108,
                "goals": 0,
                "shots_on_target": 0.545,
                "total_shots": 1.1632,
                "expected_assists": 0.0253,
                "key_pass": 0.6285,
                "rating": 6.6374,
                "minutes": 26.4,
                "total_pass": 8.2035,
                "accurate_pass": 5.5627,
                "duels_won": 0.594,
                "total_long_balls": 0.2491,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.2287,
                "accurate_opp_half_passes": 3.5882,
                "crosses_total": 0.5881,
                "crosses_accurate": 0.2931,
                "touches": 14.3459,
                "possession_lost": 5.0088,
                "dispossessed": 0.2299,
                "duels_lost": 2.7532,
                "aerial_lost": 0.9662,
                "total_contest": 0.594,
                "won_contest": 0.3448,
                "ball_recovery": 0.2118,
                "challenges_lost": 0.3072,
                "fouls": 0.257,
                "fouls_drawn": 0.004,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2122,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.3802,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3448,
                "xgot": 0.0381,
                "offsides": 0.0,
                "ball_carries": 5.5335,
                "total_progression": 42.9215,
                "progressive_carries": 1.232,
                "shots_off_target": 0.6162,
                "bench_appearance_probability": 0.534,
                "bench_expected_minutes": 26.4,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.012,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.898,
                "squad_xg_sum": 0.8976,
                "squad_xa_sum": 0.8802,
                "team_expected_assists": 0.7184,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0004,
                "xa_scale": 0.8162,
                "opponent_lambda": 1.948,
                "scoreline_reset": true,
                "appearance_weight": 0.534
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1089,
                  "after": 0.0582
                },
                {
                  "stat": "expected_assists",
                  "before": 0.058,
                  "after": 0.0253
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 17 by projected rating, fifa_overall 74.0)",
              "stats": {
                "expected_goals": 0.0582,
                "goal_rate": 0.1108,
                "goals": 0,
                "shots_on_target": 0.545,
                "total_shots": 1.1632,
                "expected_assists": 0.0253,
                "key_pass": 0.6285,
                "rating": 6.6374,
                "minutes": 26.4,
                "total_pass": 8.2035,
                "accurate_pass": 5.5627,
                "duels_won": 0.594,
                "total_long_balls": 0.2491,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.2287,
                "accurate_opp_half_passes": 3.5882,
                "crosses_total": 0.5881,
                "crosses_accurate": 0.2931,
                "touches": 14.3459,
                "possession_lost": 5.0088,
                "dispossessed": 0.2299,
                "duels_lost": 2.7532,
                "aerial_lost": 0.9662,
                "total_contest": 0.594,
                "won_contest": 0.3448,
                "ball_recovery": 0.2118,
                "challenges_lost": 0.3072,
                "fouls": 0.257,
                "fouls_drawn": 0.004,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2122,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.3802,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3448,
                "xgot": 0.0381,
                "offsides": 0.0,
                "ball_carries": 5.5335,
                "total_progression": 42.9215,
                "progressive_carries": 1.232,
                "shots_off_target": 0.6162,
                "bench_appearance_probability": 0.534,
                "bench_expected_minutes": 26.4,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.012,
                "creation_factor": 0.8,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3732,
                "fifa_rank": 2691.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.0582,
                "goal_rate": 0.1108,
                "goals": 0,
                "shots_on_target": 0.545,
                "total_shots": 1.1632,
                "expected_assists": 0.0253,
                "key_pass": 0.6285,
                "rating": 6.6374,
                "minutes": 26.4,
                "total_pass": 8.2035,
                "accurate_pass": 5.5627,
                "duels_won": 0.594,
                "total_long_balls": 0.2491,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.2287,
                "accurate_opp_half_passes": 3.5882,
                "crosses_total": 0.5881,
                "crosses_accurate": 0.2931,
                "touches": 14.3459,
                "possession_lost": 5.0088,
                "dispossessed": 0.2299,
                "duels_lost": 2.7532,
                "aerial_lost": 0.9662,
                "total_contest": 0.594,
                "won_contest": 0.3448,
                "ball_recovery": 0.2118,
                "challenges_lost": 0.3072,
                "fouls": 0.257,
                "fouls_drawn": 0.004,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2122,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.3802,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3448,
                "xgot": 0.0381,
                "offsides": 0.0,
                "ball_carries": 5.5335,
                "total_progression": 42.9215,
                "progressive_carries": 1.232,
                "shots_off_target": 0.6162,
                "bench_appearance_probability": 0.534,
                "bench_expected_minutes": 26.4,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0551,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.012,
                "creation_factor": 0.8,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0551,
                "goal_rate": 0.1108,
                "scorer_weight": 0.0589,
                "squad_weight_total": 1.0138,
                "weight_share": 0.0581,
                "finishing_factor": 1.012,
                "appearance_weight": 0.534,
                "weight_rank": 6,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0582,
                "goal_rate": 0.1108,
                "goals": 0,
                "shots_on_target": 0.545,
                "total_shots": 1.1632,
                "expected_assists": 0.0253,
                "key_pass": 0.6285,
                "rating": 6.6374,
                "minutes": 26.4,
                "total_pass": 8.2035,
                "accurate_pass": 5.5627,
                "duels_won": 0.594,
                "total_long_balls": 0.2491,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.2287,
                "accurate_opp_half_passes": 3.5882,
                "crosses_total": 0.5881,
                "crosses_accurate": 0.2931,
                "touches": 14.3459,
                "possession_lost": 5.0088,
                "dispossessed": 0.2299,
                "duels_lost": 2.7532,
                "aerial_lost": 0.9662,
                "total_contest": 0.594,
                "won_contest": 0.3448,
                "ball_recovery": 0.2118,
                "challenges_lost": 0.3072,
                "fouls": 0.257,
                "fouls_drawn": 0.004,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2122,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.3802,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3448,
                "xgot": 0.0381,
                "offsides": 0.0,
                "ball_carries": 5.5335,
                "total_progression": 42.9215,
                "progressive_carries": 1.232,
                "shots_off_target": 0.6162,
                "bench_appearance_probability": 0.534,
                "bench_expected_minutes": 26.4,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0551,
                "projected_assists": 0,
                "assist_probability": 0.0247,
                "finishing_factor": 1.012,
                "creation_factor": 0.8,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0247,
                "assist_rate": 0.0,
                "provider_weight": 0.0202,
                "squad_weight_total": 0.7026,
                "weight_share": 0.0288,
                "creation_factor": 0.8,
                "appearance_weight": 0.534,
                "weight_rank": 11,
                "eligible_players": 13
              }
            }
          ]
        },
        "Rafa Mir": {
          "player_id": 825754,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 10,
          "height": 189,
          "market_value": 4099999,
          "stats": {
            "expected_goals": 0.0849,
            "goal_rate": 0.2473,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0112,
            "key_pass": 0,
            "rating": 6.6552,
            "minutes": 25,
            "total_pass": 5,
            "accurate_pass": 5,
            "duels_won": 1,
            "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": 10,
            "possession_lost": 3.1753,
            "dispossessed": 0.8412,
            "duels_lost": 3,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 2,
            "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,
            "bench_appearance_probability": 0.561,
            "bench_expected_minutes": 25.35,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.212,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0788,
            "projected_assists": 0,
            "assist_probability": 0.0111,
            "finishing_factor": 1.25,
            "creation_factor": 0.8,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 14083306,
              "match_date": "2026-04-22",
              "home_team": "Elche",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 67,
                "rating": 5.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4054,
                "expected_assists": 0.0124,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 13,
                "accurate_pass": 10,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083132,
              "match_date": "2026-04-11",
              "home_team": "Elche",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.198,
                "expected_assists": 0.0013,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 15,
                "accurate_pass": 10,
                "tackles": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083697,
              "match_date": "2026-04-03",
              "home_team": "Rayo Vallecano",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 45,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1036,
                "expected_assists": 0.0075,
                "total_shots": 4,
                "shots_on_target": 3,
                "shots_off_target": 1,
                "total_pass": 13,
                "accurate_pass": 7,
                "tackles": 3,
                "tackles_won": 3,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 4
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083668,
              "match_date": "2026-03-21",
              "home_team": "Elche",
              "away_team": "Mallorca",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 80,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3516,
                "expected_assists": 0.0152,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 13,
                "accurate_pass": 9,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083637,
              "match_date": "2026-03-14",
              "home_team": "Real Madrid",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 26,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1082,
                "expected_assists": 0.0014,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 5,
                "accurate_pass": 5,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081803,
              "match_date": "2026-03-08",
              "home_team": "Villarreal",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 77,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0315,
                "expected_assists": 0.1499,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 18,
                "accurate_pass": 16,
                "key_pass": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 5
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081819,
              "match_date": "2026-03-01",
              "home_team": "Elche",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.2722,
                "expected_assists": 0.002,
                "total_shots": 5,
                "shots_on_target": 4,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 5,
                "tackles": 1,
                "duels_won": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083549,
              "match_date": "2026-02-20",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 15,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083360,
              "match_date": "2026-02-13",
              "home_team": "Elche",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 11,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083198,
              "match_date": "2026-01-03",
              "home_team": "Elche",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 79,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.099,
                "expected_assists": 0.0395,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 27,
                "accurate_pass": 25,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 2,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 1951,
            "combined_rank_score": 752.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 752.0,
            "sofascore_rating": 6.6593,
            "sofascore_appearances": 27.0,
            "fifa_rank": 752.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6552,
            "source_file": "data/player_rankings.csv",
            "player_name": "Rafa Mir",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Lucas Ahijado",
                  "ranking": 1946
                },
                {
                  "player_name": "Francisco Marchant",
                  "ranking": 1947
                },
                {
                  "player_name": "Ben Halloran",
                  "ranking": 1948
                },
                {
                  "player_name": "Yang Tae-Yang",
                  "ranking": 1949
                },
                {
                  "player_name": "Nicolas Giacopetti",
                  "ranking": 1950
                }
              ],
              "lower": [
                {
                  "player_name": "Guedes",
                  "ranking": 1952
                },
                {
                  "player_name": "Justin Kluivert",
                  "ranking": 1953
                },
                {
                  "player_name": "Oscar Gloukh",
                  "ranking": 1954
                },
                {
                  "player_name": "Misael Dávila",
                  "ranking": 1955
                },
                {
                  "player_name": "Yeray",
                  "ranking": 1956
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 27,
          "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",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "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",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 27,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.346242177473513,
            "bench_appearance_prob": 0.561192826248796,
            "market_value_adjustment": 0.9975,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (27 historical appearances) to 25.3 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1208,
                "goals": 0.1976,
                "goal_rate": 0.1976,
                "shots_on_target": 0.5923,
                "total_shots": 1.0924,
                "expected_assists": 0.0196,
                "key_pass": 0.3037,
                "rating": 6.6552,
                "minutes": 20.2,
                "total_pass": 4.1848,
                "accurate_pass": 3.7855,
                "duels_won": 0.7225,
                "total_long_balls": 0.3771,
                "accurate_long_balls": 0.2514,
                "total_opp_half_passes": 2.8097,
                "accurate_opp_half_passes": 2.4104,
                "crosses_total": 0.1479,
                "crosses_accurate": 0.0,
                "touches": 7.8319,
                "possession_lost": 2.5369,
                "dispossessed": 0.8433,
                "duels_lost": 2.5353,
                "aerial_lost": 0.2047,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.2408,
                "challenges_lost": 0.0,
                "fouls": 1.7388,
                "fouls_drawn": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.2408,
                "tackles": 0.2408,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.2408,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.448,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.5
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:06:24.593912+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-04-22",
                    "opponent": "Atlético Madrid",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.1519,
                    "rating": 5.6
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1291,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-04-03",
                    "opponent": "Rayo Vallecano",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1097,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-03-21",
                    "opponent": "Mallorca",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.0933,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-03-14",
                    "opponent": "Real Madrid",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.0793,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-03-08",
                    "opponent": "Villarreal",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.0674,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-03-01",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0573,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-02-20",
                    "opponent": "Athletic Club",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.0487,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-02-13",
                    "opponent": "Osasuna",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.0414,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-01-03",
                    "opponent": "Villarreal",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.0352,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalOppositionHalfPasses": 9.3724,
                  "expectedGoals": 0.2874,
                  "accurateOppositionHalfPasses": 6.5793,
                  "accuratePass": 9.9282,
                  "totalShots": 2.4626
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.12081845104694366,
                    "model_output": 0.1208,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0908
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0123
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0083
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0076
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0052
                        }
                      ],
                      "others": -0.0027,
                      "total": 0.1208,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.615186
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.108728
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.07265
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.066625
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.043071
                        }
                      ],
                      "others_margin": -0.022137
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.19760972261428833,
                    "model_output": 0.1976,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0809
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0204
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0091
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0076
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.008
                        }
                      ],
                      "others": 0.03,
                      "total": 0.1976,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.506939
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.154369
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.061706
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.048976
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.048849
                        }
                      ],
                      "others_margin": 0.164367
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5923348665237427,
                    "model_output": 0.5923,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1948
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0433
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.032
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0292
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0218
                        }
                      ],
                      "others": 0.1232,
                      "total": 0.5923,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.449931
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.118919
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.079664
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.067464
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.047627
                        }
                      ],
                      "others_margin": 0.233122
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0923523902893066,
                    "model_output": 1.0924,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5934
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.2183
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0686
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": 0.0467
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0259
                        }
                      ],
                      "others": -0.0475,
                      "total": 1.0924,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.593398
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.218298
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.068589
                        },
                        {
                          "name": "shotOffTarget",
                          "margin": 0.046749
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.025917
                        }
                      ],
                      "others_margin": -0.047642
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.01958540640771389,
                    "model_output": 0.0196,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.022
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0053
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0032
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0026
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0021
                        }
                      ],
                      "others": -0.0094,
                      "total": 0.0196,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.420437
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.133473
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.089494
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.079451
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.068934
                        }
                      ],
                      "others_margin": -0.395672
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3036915361881256,
                    "model_output": 0.3037,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.244
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0288
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.022
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0204
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0105
                        }
                      ],
                      "others": -0.044,
                      "total": 0.3037,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.449993
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.069509
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.056463
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.05549
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.029766
                        }
                      ],
                      "others_margin": -0.135059
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.655171871185303,
                    "model_output": 6.6552,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0595
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.027
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0241
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0145
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0142
                        }
                      ],
                      "others": -0.0549,
                      "total": 6.6552,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.059452
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.027007
                        },
                        {
                          "name": "rating",
                          "margin": -0.024071
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.01455
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.014197
                        }
                      ],
                      "others_margin": -0.054962
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 27,
                  "role_matches": 6,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9975, quality 0.451)",
              "stats": {
                "expected_goals": 0.1205,
                "goals": 0.1971,
                "goal_rate": 0.1971,
                "shots_on_target": 0.5909,
                "total_shots": 1.0897,
                "expected_assists": 0.0195,
                "key_pass": 0.3029,
                "rating": 6.6552,
                "minutes": 20.2,
                "total_pass": 4.1743,
                "accurate_pass": 3.776,
                "duels_won": 0.7207,
                "total_long_balls": 0.3762,
                "accurate_long_balls": 0.2508,
                "total_opp_half_passes": 2.8027,
                "accurate_opp_half_passes": 2.4044,
                "crosses_total": 0.1475,
                "crosses_accurate": 0.0,
                "touches": 7.8123,
                "possession_lost": 2.5306,
                "dispossessed": 0.8412,
                "duels_lost": 2.529,
                "aerial_lost": 0.2042,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.2402,
                "challenges_lost": 0.0,
                "fouls": 1.7345,
                "fouls_drawn": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.2402,
                "tackles": 0.2402,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.2402,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.4444,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4988
              },
              "params": {
                "market_value_eur": 4099999,
                "quality_factor": 0.4511,
                "boost_factor": 0.9975,
                "reference_quality": 0.505,
                "history_matches": 27,
                "history_shrink": 0.1562,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 20.2 to 25.3 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.1512,
                "goals": 0.2473,
                "goal_rate": 0.2473,
                "shots_on_target": 0.7414,
                "total_shots": 1.3673,
                "expected_assists": 0.0245,
                "key_pass": 0.3801,
                "rating": 6.6552,
                "minutes": 25.35,
                "total_pass": 5.2378,
                "accurate_pass": 4.738,
                "duels_won": 0.9043,
                "total_long_balls": 0.472,
                "accurate_long_balls": 0.3147,
                "total_opp_half_passes": 3.5167,
                "accurate_opp_half_passes": 3.017,
                "crosses_total": 0.1851,
                "crosses_accurate": 0.0,
                "touches": 9.8026,
                "possession_lost": 3.1753,
                "dispossessed": 0.8412,
                "duels_lost": 3.1733,
                "aerial_lost": 0.2042,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.3014,
                "challenges_lost": 0.0,
                "fouls": 2.1764,
                "fouls_drawn": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.3014,
                "tackles": 0.3014,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.3014,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.8124,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.6259,
                "bench_appearance_probability": 0.561,
                "bench_expected_minutes": 25.35
              },
              "params": {
                "expected_minutes": 25.35,
                "projection_minutes": 20.2,
                "minutes_scale": 1.2548,
                "appearance_probability": 0.561
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1512,
                "goals": 0.2473,
                "goal_rate": 0.2473,
                "shots_on_target": 0.7414,
                "total_shots": 1.3673,
                "expected_assists": 0.0245,
                "key_pass": 0.3801,
                "rating": 6.6552,
                "minutes": 25.35,
                "total_pass": 5.2378,
                "accurate_pass": 4.738,
                "duels_won": 0.9043,
                "total_long_balls": 0.472,
                "accurate_long_balls": 0.3147,
                "total_opp_half_passes": 3.5167,
                "accurate_opp_half_passes": 3.017,
                "crosses_total": 0.1851,
                "crosses_accurate": 0.0,
                "touches": 9.8026,
                "possession_lost": 3.1753,
                "dispossessed": 0.8412,
                "duels_lost": 3.1733,
                "aerial_lost": 0.2042,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.3014,
                "challenges_lost": 0.0,
                "fouls": 2.1764,
                "fouls_drawn": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.3014,
                "tackles": 0.3014,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.3014,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.8124,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.6259,
                "bench_appearance_probability": 0.561,
                "bench_expected_minutes": 25.35
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.1512,
                "goal_rate": 0.2473,
                "goals": 0,
                "shots_on_target": 0.7414,
                "total_shots": 1.3673,
                "expected_assists": 0.0245,
                "key_pass": 0.3801,
                "rating": 6.6552,
                "minutes": 25.35,
                "total_pass": 5.2378,
                "accurate_pass": 4.738,
                "duels_won": 0.9043,
                "total_long_balls": 0.472,
                "accurate_long_balls": 0.3147,
                "total_opp_half_passes": 3.5167,
                "accurate_opp_half_passes": 3.017,
                "crosses_total": 0.1851,
                "crosses_accurate": 0.0,
                "touches": 9.8026,
                "possession_lost": 3.1753,
                "dispossessed": 0.8412,
                "duels_lost": 3.1733,
                "aerial_lost": 0.2042,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.3014,
                "challenges_lost": 0.0,
                "fouls": 2.1764,
                "fouls_drawn": 0.0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.3014,
                "tackles": 0.3014,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.3014,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.8124,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.6259,
                "bench_appearance_probability": 0.561,
                "bench_expected_minutes": 25.35,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.90 (squad xG sum 0.8976, xG scale 1.0004, xA scale 0.8162, team xA 0.72 = 0.80 x lambda)",
              "stats": {
                "expected_goals": 0.0849,
                "goal_rate": 0.2473,
                "goals": 0,
                "shots_on_target": 0.7414,
                "total_shots": 1.3673,
                "expected_assists": 0.0112,
                "key_pass": 0.3801,
                "rating": 6.6552,
                "minutes": 25.35,
                "total_pass": 5.2378,
                "accurate_pass": 4.738,
                "duels_won": 0.9043,
                "total_long_balls": 0.472,
                "accurate_long_balls": 0.3147,
                "total_opp_half_passes": 3.5167,
                "accurate_opp_half_passes": 3.017,
                "crosses_total": 0.1851,
                "crosses_accurate": 0.0,
                "touches": 9.8026,
                "possession_lost": 3.1753,
                "dispossessed": 0.8412,
                "duels_lost": 3.1733,
                "aerial_lost": 0.2042,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.3014,
                "challenges_lost": 0.0,
                "fouls": 2.1764,
                "fouls_drawn": 0.0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.3014,
                "tackles": 0.3014,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.3014,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.8124,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.6259,
                "bench_appearance_probability": 0.561,
                "bench_expected_minutes": 25.35,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.898,
                "squad_xg_sum": 0.8976,
                "squad_xa_sum": 0.8802,
                "team_expected_assists": 0.7184,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0004,
                "xa_scale": 0.8162,
                "opponent_lambda": 1.948,
                "scoreline_reset": true,
                "appearance_weight": 0.561
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1512,
                  "after": 0.0849
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0245,
                  "after": 0.0112
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 15 by projected rating, fifa_overall 80.0)",
              "stats": {
                "expected_goals": 0.0849,
                "goal_rate": 0.2473,
                "goals": 0,
                "shots_on_target": 0.7414,
                "total_shots": 1.3673,
                "expected_assists": 0.0112,
                "key_pass": 0.3801,
                "rating": 6.6552,
                "minutes": 25.35,
                "total_pass": 5.2378,
                "accurate_pass": 4.738,
                "duels_won": 0.9043,
                "total_long_balls": 0.472,
                "accurate_long_balls": 0.3147,
                "total_opp_half_passes": 3.5167,
                "accurate_opp_half_passes": 3.017,
                "crosses_total": 0.1851,
                "crosses_accurate": 0.0,
                "touches": 9.8026,
                "possession_lost": 3.1753,
                "dispossessed": 0.8412,
                "duels_lost": 3.1733,
                "aerial_lost": 0.2042,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.3014,
                "challenges_lost": 0.0,
                "fouls": 2.1764,
                "fouls_drawn": 0.0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.3014,
                "tackles": 0.3014,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.3014,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.8124,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.6259,
                "bench_appearance_probability": 0.561,
                "bench_expected_minutes": 25.35,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 80.0
              },
              "params": {
                "match_squad_rank": 15,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1951,
                "fifa_rank": 752.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 80.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0849,
                "goal_rate": 0.2473,
                "goals": 0,
                "shots_on_target": 0.7414,
                "total_shots": 1.3673,
                "expected_assists": 0.0112,
                "key_pass": 0.3801,
                "rating": 6.6552,
                "minutes": 25.35,
                "total_pass": 5.2378,
                "accurate_pass": 4.738,
                "duels_won": 0.9043,
                "total_long_balls": 0.472,
                "accurate_long_balls": 0.3147,
                "total_opp_half_passes": 3.5167,
                "accurate_opp_half_passes": 3.017,
                "crosses_total": 0.1851,
                "crosses_accurate": 0.0,
                "touches": 9.8026,
                "possession_lost": 3.1753,
                "dispossessed": 0.8412,
                "duels_lost": 3.1733,
                "aerial_lost": 0.2042,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.3014,
                "challenges_lost": 0.0,
                "fouls": 2.1764,
                "fouls_drawn": 0.0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.3014,
                "tackles": 0.3014,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.3014,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.8124,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.6259,
                "bench_appearance_probability": 0.561,
                "bench_expected_minutes": 25.35,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0788,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0788,
                "goal_rate": 0.2473,
                "scorer_weight": 0.1061,
                "squad_weight_total": 1.0138,
                "weight_share": 0.1047,
                "finishing_factor": 1.25,
                "appearance_weight": 0.561,
                "weight_rank": 4,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0849,
                "goal_rate": 0.2473,
                "goals": 0,
                "shots_on_target": 0.7414,
                "total_shots": 1.3673,
                "expected_assists": 0.0112,
                "key_pass": 0.3801,
                "rating": 6.6552,
                "minutes": 25.35,
                "total_pass": 5.2378,
                "accurate_pass": 4.738,
                "duels_won": 0.9043,
                "total_long_balls": 0.472,
                "accurate_long_balls": 0.3147,
                "total_opp_half_passes": 3.5167,
                "accurate_opp_half_passes": 3.017,
                "crosses_total": 0.1851,
                "crosses_accurate": 0.0,
                "touches": 9.8026,
                "possession_lost": 3.1753,
                "dispossessed": 0.8412,
                "duels_lost": 3.1733,
                "aerial_lost": 0.2042,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.3014,
                "challenges_lost": 0.0,
                "fouls": 2.1764,
                "fouls_drawn": 0.0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.3014,
                "tackles": 0.3014,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.3014,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.8124,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.6259,
                "bench_appearance_probability": 0.561,
                "bench_expected_minutes": 25.35,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0788,
                "projected_assists": 0,
                "assist_probability": 0.0111,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0111,
                "assist_rate": 0.0,
                "provider_weight": 0.009,
                "squad_weight_total": 0.7026,
                "weight_share": 0.0128,
                "creation_factor": 0.8,
                "appearance_weight": 0.561,
                "weight_rank": 13,
                "eligible_players": 13
              }
            }
          ]
        }
      },
      "substitutes": {
        "Rafa Mir": {
          "player_id": 825754,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 10,
          "height": 189,
          "market_value": 4099999,
          "stats": {
            "expected_goals": 0.0849,
            "goal_rate": 0.2473,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0112,
            "key_pass": 0,
            "rating": 6.6552,
            "minutes": 25,
            "total_pass": 5,
            "accurate_pass": 5,
            "duels_won": 1,
            "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": 10,
            "possession_lost": 3.1753,
            "dispossessed": 0.8412,
            "duels_lost": 3,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 2,
            "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,
            "bench_appearance_probability": 0.561,
            "bench_expected_minutes": 25.35,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.212,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0788,
            "projected_assists": 0,
            "assist_probability": 0.0111,
            "finishing_factor": 1.25,
            "creation_factor": 0.8,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 14083306,
              "match_date": "2026-04-22",
              "home_team": "Elche",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 67,
                "rating": 5.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4054,
                "expected_assists": 0.0124,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 13,
                "accurate_pass": 10,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083132,
              "match_date": "2026-04-11",
              "home_team": "Elche",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.198,
                "expected_assists": 0.0013,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 15,
                "accurate_pass": 10,
                "tackles": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083697,
              "match_date": "2026-04-03",
              "home_team": "Rayo Vallecano",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 45,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1036,
                "expected_assists": 0.0075,
                "total_shots": 4,
                "shots_on_target": 3,
                "shots_off_target": 1,
                "total_pass": 13,
                "accurate_pass": 7,
                "tackles": 3,
                "tackles_won": 3,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 4
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083668,
              "match_date": "2026-03-21",
              "home_team": "Elche",
              "away_team": "Mallorca",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 80,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3516,
                "expected_assists": 0.0152,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 13,
                "accurate_pass": 9,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083637,
              "match_date": "2026-03-14",
              "home_team": "Real Madrid",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 26,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1082,
                "expected_assists": 0.0014,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 5,
                "accurate_pass": 5,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081803,
              "match_date": "2026-03-08",
              "home_team": "Villarreal",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 77,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0315,
                "expected_assists": 0.1499,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 18,
                "accurate_pass": 16,
                "key_pass": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 5
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081819,
              "match_date": "2026-03-01",
              "home_team": "Elche",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.2722,
                "expected_assists": 0.002,
                "total_shots": 5,
                "shots_on_target": 4,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 5,
                "tackles": 1,
                "duels_won": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083549,
              "match_date": "2026-02-20",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 15,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083360,
              "match_date": "2026-02-13",
              "home_team": "Elche",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 11,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083198,
              "match_date": "2026-01-03",
              "home_team": "Elche",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 79,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.099,
                "expected_assists": 0.0395,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 27,
                "accurate_pass": 25,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 2,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 1951,
            "combined_rank_score": 752.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 752.0,
            "sofascore_rating": 6.6593,
            "sofascore_appearances": 27.0,
            "fifa_rank": 752.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6552,
            "source_file": "data/player_rankings.csv",
            "player_name": "Rafa Mir",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Lucas Ahijado",
                  "ranking": 1946
                },
                {
                  "player_name": "Francisco Marchant",
                  "ranking": 1947
                },
                {
                  "player_name": "Ben Halloran",
                  "ranking": 1948
                },
                {
                  "player_name": "Yang Tae-Yang",
                  "ranking": 1949
                },
                {
                  "player_name": "Nicolas Giacopetti",
                  "ranking": 1950
                }
              ],
              "lower": [
                {
                  "player_name": "Guedes",
                  "ranking": 1952
                },
                {
                  "player_name": "Justin Kluivert",
                  "ranking": 1953
                },
                {
                  "player_name": "Oscar Gloukh",
                  "ranking": 1954
                },
                {
                  "player_name": "Misael Dávila",
                  "ranking": 1955
                },
                {
                  "player_name": "Yeray",
                  "ranking": 1956
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 27,
          "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",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "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",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 27,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.346242177473513,
            "bench_appearance_prob": 0.561192826248796,
            "market_value_adjustment": 0.9975,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (27 historical appearances) to 25.3 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1208,
                "goals": 0.1976,
                "goal_rate": 0.1976,
                "shots_on_target": 0.5923,
                "total_shots": 1.0924,
                "expected_assists": 0.0196,
                "key_pass": 0.3037,
                "rating": 6.6552,
                "minutes": 20.2,
                "total_pass": 4.1848,
                "accurate_pass": 3.7855,
                "duels_won": 0.7225,
                "total_long_balls": 0.3771,
                "accurate_long_balls": 0.2514,
                "total_opp_half_passes": 2.8097,
                "accurate_opp_half_passes": 2.4104,
                "crosses_total": 0.1479,
                "crosses_accurate": 0.0,
                "touches": 7.8319,
                "possession_lost": 2.5369,
                "dispossessed": 0.8433,
                "duels_lost": 2.5353,
                "aerial_lost": 0.2047,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.2408,
                "challenges_lost": 0.0,
                "fouls": 1.7388,
                "fouls_drawn": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.2408,
                "tackles": 0.2408,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.2408,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.448,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.5
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:06:24.593912+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-04-22",
                    "opponent": "Atlético Madrid",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.1519,
                    "rating": 5.6
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1291,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-04-03",
                    "opponent": "Rayo Vallecano",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1097,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-03-21",
                    "opponent": "Mallorca",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.0933,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-03-14",
                    "opponent": "Real Madrid",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.0793,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-03-08",
                    "opponent": "Villarreal",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.0674,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-03-01",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0573,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-02-20",
                    "opponent": "Athletic Club",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.0487,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-02-13",
                    "opponent": "Osasuna",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.0414,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-01-03",
                    "opponent": "Villarreal",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.0352,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalOppositionHalfPasses": 9.3724,
                  "expectedGoals": 0.2874,
                  "accurateOppositionHalfPasses": 6.5793,
                  "accuratePass": 9.9282,
                  "totalShots": 2.4626
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.12081845104694366,
                    "model_output": 0.1208,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0908
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0123
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": -0.0083
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0076
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0052
                        }
                      ],
                      "others": -0.0027,
                      "total": 0.1208,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.615186
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.108728
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": -0.07265
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.066625
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.043071
                        }
                      ],
                      "others_margin": -0.022137
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.19760972261428833,
                    "model_output": 0.1976,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0809
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0204
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0091
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0076
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.008
                        }
                      ],
                      "others": 0.03,
                      "total": 0.1976,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.506939
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.154369
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.061706
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.048976
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.048849
                        }
                      ],
                      "others_margin": 0.164367
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5923348665237427,
                    "model_output": 0.5923,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1948
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0433
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.032
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0292
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0218
                        }
                      ],
                      "others": 0.1232,
                      "total": 0.5923,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.449931
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.118919
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.079664
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.067464
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.047627
                        }
                      ],
                      "others_margin": 0.233122
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0923523902893066,
                    "model_output": 1.0924,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5934
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.2183
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0686
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": 0.0467
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0259
                        }
                      ],
                      "others": -0.0475,
                      "total": 1.0924,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.593398
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.218298
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.068589
                        },
                        {
                          "name": "shotOffTarget",
                          "margin": 0.046749
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.025917
                        }
                      ],
                      "others_margin": -0.047642
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.01958540640771389,
                    "model_output": 0.0196,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.022
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0053
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0032
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0026
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0021
                        }
                      ],
                      "others": -0.0094,
                      "total": 0.0196,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.420437
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.133473
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.089494
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.079451
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.068934
                        }
                      ],
                      "others_margin": -0.395672
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3036915361881256,
                    "model_output": 0.3037,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.244
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0288
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.022
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0204
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0105
                        }
                      ],
                      "others": -0.044,
                      "total": 0.3037,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.449993
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.069509
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.056463
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.05549
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.029766
                        }
                      ],
                      "others_margin": -0.135059
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.655171871185303,
                    "model_output": 6.6552,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0595
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.027
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0241
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0145
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0142
                        }
                      ],
                      "others": -0.0549,
                      "total": 6.6552,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.059452
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.027007
                        },
                        {
                          "name": "rating",
                          "margin": -0.024071
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.01455
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.014197
                        }
                      ],
                      "others_margin": -0.054962
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 27,
                  "role_matches": 6,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9975, quality 0.451)",
              "stats": {
                "expected_goals": 0.1205,
                "goals": 0.1971,
                "goal_rate": 0.1971,
                "shots_on_target": 0.5909,
                "total_shots": 1.0897,
                "expected_assists": 0.0195,
                "key_pass": 0.3029,
                "rating": 6.6552,
                "minutes": 20.2,
                "total_pass": 4.1743,
                "accurate_pass": 3.776,
                "duels_won": 0.7207,
                "total_long_balls": 0.3762,
                "accurate_long_balls": 0.2508,
                "total_opp_half_passes": 2.8027,
                "accurate_opp_half_passes": 2.4044,
                "crosses_total": 0.1475,
                "crosses_accurate": 0.0,
                "touches": 7.8123,
                "possession_lost": 2.5306,
                "dispossessed": 0.8412,
                "duels_lost": 2.529,
                "aerial_lost": 0.2042,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.2402,
                "challenges_lost": 0.0,
                "fouls": 1.7345,
                "fouls_drawn": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.2402,
                "tackles": 0.2402,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.2402,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.4444,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4988
              },
              "params": {
                "market_value_eur": 4099999,
                "quality_factor": 0.4511,
                "boost_factor": 0.9975,
                "reference_quality": 0.505,
                "history_matches": 27,
                "history_shrink": 0.1562,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 20.2 to 25.3 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.1512,
                "goals": 0.2473,
                "goal_rate": 0.2473,
                "shots_on_target": 0.7414,
                "total_shots": 1.3673,
                "expected_assists": 0.0245,
                "key_pass": 0.3801,
                "rating": 6.6552,
                "minutes": 25.35,
                "total_pass": 5.2378,
                "accurate_pass": 4.738,
                "duels_won": 0.9043,
                "total_long_balls": 0.472,
                "accurate_long_balls": 0.3147,
                "total_opp_half_passes": 3.5167,
                "accurate_opp_half_passes": 3.017,
                "crosses_total": 0.1851,
                "crosses_accurate": 0.0,
                "touches": 9.8026,
                "possession_lost": 3.1753,
                "dispossessed": 0.8412,
                "duels_lost": 3.1733,
                "aerial_lost": 0.2042,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.3014,
                "challenges_lost": 0.0,
                "fouls": 2.1764,
                "fouls_drawn": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.3014,
                "tackles": 0.3014,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.3014,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.8124,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.6259,
                "bench_appearance_probability": 0.561,
                "bench_expected_minutes": 25.35
              },
              "params": {
                "expected_minutes": 25.35,
                "projection_minutes": 20.2,
                "minutes_scale": 1.2548,
                "appearance_probability": 0.561
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1512,
                "goals": 0.2473,
                "goal_rate": 0.2473,
                "shots_on_target": 0.7414,
                "total_shots": 1.3673,
                "expected_assists": 0.0245,
                "key_pass": 0.3801,
                "rating": 6.6552,
                "minutes": 25.35,
                "total_pass": 5.2378,
                "accurate_pass": 4.738,
                "duels_won": 0.9043,
                "total_long_balls": 0.472,
                "accurate_long_balls": 0.3147,
                "total_opp_half_passes": 3.5167,
                "accurate_opp_half_passes": 3.017,
                "crosses_total": 0.1851,
                "crosses_accurate": 0.0,
                "touches": 9.8026,
                "possession_lost": 3.1753,
                "dispossessed": 0.8412,
                "duels_lost": 3.1733,
                "aerial_lost": 0.2042,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.3014,
                "challenges_lost": 0.0,
                "fouls": 2.1764,
                "fouls_drawn": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.3014,
                "tackles": 0.3014,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.3014,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.8124,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.6259,
                "bench_appearance_probability": 0.561,
                "bench_expected_minutes": 25.35
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.1512,
                "goal_rate": 0.2473,
                "goals": 0,
                "shots_on_target": 0.7414,
                "total_shots": 1.3673,
                "expected_assists": 0.0245,
                "key_pass": 0.3801,
                "rating": 6.6552,
                "minutes": 25.35,
                "total_pass": 5.2378,
                "accurate_pass": 4.738,
                "duels_won": 0.9043,
                "total_long_balls": 0.472,
                "accurate_long_balls": 0.3147,
                "total_opp_half_passes": 3.5167,
                "accurate_opp_half_passes": 3.017,
                "crosses_total": 0.1851,
                "crosses_accurate": 0.0,
                "touches": 9.8026,
                "possession_lost": 3.1753,
                "dispossessed": 0.8412,
                "duels_lost": 3.1733,
                "aerial_lost": 0.2042,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.3014,
                "challenges_lost": 0.0,
                "fouls": 2.1764,
                "fouls_drawn": 0.0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.3014,
                "tackles": 0.3014,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.3014,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.8124,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.6259,
                "bench_appearance_probability": 0.561,
                "bench_expected_minutes": 25.35,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.90 (squad xG sum 0.8976, xG scale 1.0004, xA scale 0.8162, team xA 0.72 = 0.80 x lambda)",
              "stats": {
                "expected_goals": 0.0849,
                "goal_rate": 0.2473,
                "goals": 0,
                "shots_on_target": 0.7414,
                "total_shots": 1.3673,
                "expected_assists": 0.0112,
                "key_pass": 0.3801,
                "rating": 6.6552,
                "minutes": 25.35,
                "total_pass": 5.2378,
                "accurate_pass": 4.738,
                "duels_won": 0.9043,
                "total_long_balls": 0.472,
                "accurate_long_balls": 0.3147,
                "total_opp_half_passes": 3.5167,
                "accurate_opp_half_passes": 3.017,
                "crosses_total": 0.1851,
                "crosses_accurate": 0.0,
                "touches": 9.8026,
                "possession_lost": 3.1753,
                "dispossessed": 0.8412,
                "duels_lost": 3.1733,
                "aerial_lost": 0.2042,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.3014,
                "challenges_lost": 0.0,
                "fouls": 2.1764,
                "fouls_drawn": 0.0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.3014,
                "tackles": 0.3014,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.3014,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.8124,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.6259,
                "bench_appearance_probability": 0.561,
                "bench_expected_minutes": 25.35,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.898,
                "squad_xg_sum": 0.8976,
                "squad_xa_sum": 0.8802,
                "team_expected_assists": 0.7184,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0004,
                "xa_scale": 0.8162,
                "opponent_lambda": 1.948,
                "scoreline_reset": true,
                "appearance_weight": 0.561
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1512,
                  "after": 0.0849
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0245,
                  "after": 0.0112
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 15 by projected rating, fifa_overall 80.0)",
              "stats": {
                "expected_goals": 0.0849,
                "goal_rate": 0.2473,
                "goals": 0,
                "shots_on_target": 0.7414,
                "total_shots": 1.3673,
                "expected_assists": 0.0112,
                "key_pass": 0.3801,
                "rating": 6.6552,
                "minutes": 25.35,
                "total_pass": 5.2378,
                "accurate_pass": 4.738,
                "duels_won": 0.9043,
                "total_long_balls": 0.472,
                "accurate_long_balls": 0.3147,
                "total_opp_half_passes": 3.5167,
                "accurate_opp_half_passes": 3.017,
                "crosses_total": 0.1851,
                "crosses_accurate": 0.0,
                "touches": 9.8026,
                "possession_lost": 3.1753,
                "dispossessed": 0.8412,
                "duels_lost": 3.1733,
                "aerial_lost": 0.2042,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.3014,
                "challenges_lost": 0.0,
                "fouls": 2.1764,
                "fouls_drawn": 0.0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.3014,
                "tackles": 0.3014,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.3014,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.8124,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.6259,
                "bench_appearance_probability": 0.561,
                "bench_expected_minutes": 25.35,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 80.0
              },
              "params": {
                "match_squad_rank": 15,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1951,
                "fifa_rank": 752.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 80.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0849,
                "goal_rate": 0.2473,
                "goals": 0,
                "shots_on_target": 0.7414,
                "total_shots": 1.3673,
                "expected_assists": 0.0112,
                "key_pass": 0.3801,
                "rating": 6.6552,
                "minutes": 25.35,
                "total_pass": 5.2378,
                "accurate_pass": 4.738,
                "duels_won": 0.9043,
                "total_long_balls": 0.472,
                "accurate_long_balls": 0.3147,
                "total_opp_half_passes": 3.5167,
                "accurate_opp_half_passes": 3.017,
                "crosses_total": 0.1851,
                "crosses_accurate": 0.0,
                "touches": 9.8026,
                "possession_lost": 3.1753,
                "dispossessed": 0.8412,
                "duels_lost": 3.1733,
                "aerial_lost": 0.2042,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.3014,
                "challenges_lost": 0.0,
                "fouls": 2.1764,
                "fouls_drawn": 0.0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.3014,
                "tackles": 0.3014,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.3014,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.8124,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.6259,
                "bench_appearance_probability": 0.561,
                "bench_expected_minutes": 25.35,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0788,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0788,
                "goal_rate": 0.2473,
                "scorer_weight": 0.1061,
                "squad_weight_total": 1.0138,
                "weight_share": 0.1047,
                "finishing_factor": 1.25,
                "appearance_weight": 0.561,
                "weight_rank": 4,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0849,
                "goal_rate": 0.2473,
                "goals": 0,
                "shots_on_target": 0.7414,
                "total_shots": 1.3673,
                "expected_assists": 0.0112,
                "key_pass": 0.3801,
                "rating": 6.6552,
                "minutes": 25.35,
                "total_pass": 5.2378,
                "accurate_pass": 4.738,
                "duels_won": 0.9043,
                "total_long_balls": 0.472,
                "accurate_long_balls": 0.3147,
                "total_opp_half_passes": 3.5167,
                "accurate_opp_half_passes": 3.017,
                "crosses_total": 0.1851,
                "crosses_accurate": 0.0,
                "touches": 9.8026,
                "possession_lost": 3.1753,
                "dispossessed": 0.8412,
                "duels_lost": 3.1733,
                "aerial_lost": 0.2042,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.3014,
                "challenges_lost": 0.0,
                "fouls": 2.1764,
                "fouls_drawn": 0.0,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.3014,
                "tackles": 0.3014,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.3014,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "offsides": 0.0,
                "ball_carries": 1.8124,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.6259,
                "bench_appearance_probability": 0.561,
                "bench_expected_minutes": 25.35,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0788,
                "projected_assists": 0,
                "assist_probability": 0.0111,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0111,
                "assist_rate": 0.0,
                "provider_weight": 0.009,
                "squad_weight_total": 0.7026,
                "weight_share": 0.0128,
                "creation_factor": 0.8,
                "appearance_weight": 0.561,
                "weight_rank": 13,
                "eligible_players": 13
              }
            }
          ]
        },
        "Facundo Buonanotte": {
          "player_id": 1117025,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 10,
          "height": 174,
          "market_value": 10900000,
          "stats": {
            "expected_goals": 0.0582,
            "goal_rate": 0.1108,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0253,
            "key_pass": 1,
            "rating": 6.6374,
            "minutes": 26,
            "total_pass": 8,
            "accurate_pass": 6,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 6,
            "accurate_opp_half_passes": 4,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 14,
            "possession_lost": 5.0088,
            "dispossessed": 0.2299,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 1,
            "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.0381,
            "offsides": 0,
            "ball_carries": 6,
            "total_progression": 43,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.534,
            "bench_expected_minutes": 26.4,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.212,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0551,
            "projected_assists": 0,
            "assist_probability": 0.0247,
            "finishing_factor": 1.012,
            "creation_factor": 0.8,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16421058,
              "match_date": "2026-10-11",
              "home_team": "Elche",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0024,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 6
              },
              "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,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 69,
                "rating": 7.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.7884,
                "expected_assists": 0.0012,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 14,
                "accurate_pass": 8,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 2,
                "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": 16416319,
              "match_date": "2026-09-07",
              "home_team": "Elche",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 55,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0985,
                "expected_assists": 0.1246,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 28,
                "accurate_pass": 23,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416304,
              "match_date": "2026-08-28",
              "home_team": "Real Racing Club",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 69,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0912,
                "expected_assists": 0.0361,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 27,
                "accurate_pass": 20,
                "key_pass": 1,
                "tackles": 3,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 6,
                "ball_recovery": 6
              },
              "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": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 26,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.151,
                "expected_assists": 0.0001,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 5,
                "accurate_pass": 3,
                "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": 14023968,
              "match_date": "2026-05-24",
              "home_team": "West Ham United",
              "away_team": "Leeds United",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Leeds United",
              "opponent": "West Ham United",
              "stats": {
                "minutes": 12,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0227,
                "expected_assists": 0.1789,
                "total_shots": 1,
                "total_pass": 6,
                "accurate_pass": 4,
                "key_pass": 1
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14025134,
              "match_date": "2026-01-31",
              "home_team": "Leeds United",
              "away_team": "Arsenal",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Leeds United",
              "opponent": "Arsenal",
              "stats": {
                "minutes": 19,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0012,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 2,
                "aerial_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "Premier League",
              "league_id": "17",
              "league_slug": "premier-league",
              "league_country": "England",
              "season_id": "76986",
              "season_name": "Premier League 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 15129439,
              "match_date": "2026-01-26",
              "home_team": "Everton",
              "away_team": "Leeds United",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Leeds United",
              "opponent": "Everton",
              "stats": {
                "minutes": 10,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0401,
                "expected_assists": 0.0061,
                "total_shots": 1,
                "total_pass": 3,
                "accurate_pass": 2,
                "interceptions": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14025127,
              "match_date": "2025-09-13",
              "home_team": "Brentford",
              "away_team": "Chelsea",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Chelsea",
              "opponent": "Brentford",
              "stats": {
                "minutes": 45,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0932,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 20,
                "key_pass": 2,
                "tackles": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3732,
            "combined_rank_score": 1718.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 745.0,
            "sofascore_rating": 6.6667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 2691.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6374,
            "source_file": "data/player_rankings.csv",
            "player_name": "Facundo Buonanotte",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jay DaSilva",
                  "ranking": 3727
                },
                {
                  "player_name": "Oskar Pietuszewski",
                  "ranking": 3728
                },
                {
                  "player_name": "Honest Ahanor",
                  "ranking": 3729
                },
                {
                  "player_name": "Alexandru Mitriță",
                  "ranking": 3730
                },
                {
                  "player_name": "Fabio Carvalho",
                  "ranking": 3731
                }
              ],
              "lower": [
                {
                  "player_name": "Shea Charles",
                  "ranking": 3733
                },
                {
                  "player_name": "Mojmír Chytil",
                  "ranking": 3734
                },
                {
                  "player_name": "Kendry Páez",
                  "ranking": 3735
                },
                {
                  "player_name": "Josip Juranović",
                  "ranking": 3736
                },
                {
                  "player_name": "Michel Aebischer",
                  "ranking": 3737
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.761,
          "history_matches": 9,
          "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",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "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",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 9,
            "data_confidence": 0.761,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 26.4,
            "bench_appearance_prob": 0.534,
            "market_value_adjustment": 1.003,
            "fbref_prior_metrics": {
              "squad": "Elche",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 1.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 27.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0733
            },
            "rationale": "Bench projection scaled from XGBoost F_service (9 historical appearances) to 26.4 expected mins (appearance prob 0.53); FBref playing time empirical prior: 1.0 sub appearances, 27.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0724,
                "goals": 0.075,
                "goal_rate": 0.075,
                "shots_on_target": 0.3629,
                "total_shots": 0.7725,
                "expected_assists": 0.0386,
                "key_pass": 0.4177,
                "rating": 6.6374,
                "minutes": 15.47,
                "total_pass": 5.4526,
                "accurate_pass": 3.6974,
                "duels_won": 0.3948,
                "total_long_balls": 0.1656,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 4.1401,
                "accurate_opp_half_passes": 2.3849,
                "crosses_total": 0.3896,
                "crosses_accurate": 0.1948,
                "touches": 9.5353,
                "possession_lost": 3.3292,
                "dispossessed": 0.2292,
                "duels_lost": 1.83,
                "aerial_lost": 0.9633,
                "total_contest": 0.3948,
                "won_contest": 0.2292,
                "ball_recovery": 0.1408,
                "challenges_lost": 0.3063,
                "fouls": 0.1656,
                "fouls_drawn": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1408,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.2527,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2292,
                "xgot": 0.0474,
                "offsides": 0.0,
                "ball_carries": 3.678,
                "total_progression": 28.5287,
                "progressive_carries": 0.8188,
                "shots_off_target": 0.4096
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-17T10:06:24.593912+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Celta Vigo",
                    "minutes": 3.0,
                    "is_starting": false,
                    "weight": 0.1952,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Athletic Club",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.1659,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-07",
                    "opponent": "Real Sociedad",
                    "minutes": 55.0,
                    "is_starting": true,
                    "weight": 0.141,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Real Racing Club",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.1199,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "FC Barcelona",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.1019,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "West Ham United",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.0866,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-01-31",
                    "opponent": "Arsenal",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.0736,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-01-26",
                    "opponent": "Everton",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.0626,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2025-09-13",
                    "opponent": "Brentford",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0532,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 9.0,
                  "is_starting_11": 0.0,
                  "totalOppositionHalfPasses": 9.7116,
                  "expectedGoals": 0.1755,
                  "accurateOppositionHalfPasses": 6.5484,
                  "accuratePass": 10.129,
                  "totalShots": 1.1607
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.07239662855863571,
                    "model_output": 0.0724,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0941
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.007
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0062
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0051
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0038
                        }
                      ],
                      "others": -0.0089,
                      "total": 0.0724,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.646941
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.070311
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.066709
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.058626
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.045955
                        }
                      ],
                      "others_margin": -0.115136
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.07497139275074005,
                    "model_output": 0.075,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0988
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0157
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0058
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0033
                        },
                        {
                          "name": "goals",
                          "contribution": 0.003
                        }
                      ],
                      "others": -0.0078,
                      "total": 0.075,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.664904
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.162154
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.067554
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.040769
                        },
                        {
                          "name": "goals",
                          "margin": 0.036472
                        }
                      ],
                      "others_margin": -0.09895
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.36289530992507935,
                    "model_output": 0.3629,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2068
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0182
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0155
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0131
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0125
                        }
                      ],
                      "others": 0.03,
                      "total": 0.3629,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.485409
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.053661
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.045329
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.03993
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.038124
                        }
                      ],
                      "others_margin": 0.085791
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.772491991519928,
                    "model_output": 0.7725,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5544
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1137
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0662
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0378
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0277
                        }
                      ],
                      "others": -0.0649,
                      "total": 0.7725,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.554385
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.113679
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.066233
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": 0.037765
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.027724
                        }
                      ],
                      "others_margin": -0.065006
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03861613571643829,
                    "model_output": 0.0386,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0216
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.005
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.004
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0031
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0019
                        }
                      ],
                      "others": 0.002,
                      "total": 0.0386,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.40959
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.125368
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.101194
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.077998
                        },
                        {
                          "name": "rating",
                          "margin": -0.050052
                        }
                      ],
                      "others_margin": 0.053241
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.4177272319793701,
                    "model_output": 0.4177,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2462
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0351
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0298
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0269
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0263
                        }
                      ],
                      "others": 0.0022,
                      "total": 0.4177,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.455026
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.085653
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.079011
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.071512
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.06531
                        }
                      ],
                      "others_margin": 0.005404
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.637449264526367,
                    "model_output": 6.6374,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0876
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0221
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0217
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0095
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0093
                        }
                      ],
                      "others": -0.0612,
                      "total": 6.6374,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.087555
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.022108
                        },
                        {
                          "name": "rating",
                          "margin": -0.021678
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.009532
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.009345
                        }
                      ],
                      "others_margin": -0.061306
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 9,
                  "role_matches": 5,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0030, quality 0.533)",
              "stats": {
                "expected_goals": 0.0726,
                "goals": 0.0752,
                "goal_rate": 0.0752,
                "shots_on_target": 0.364,
                "total_shots": 0.7748,
                "expected_assists": 0.0387,
                "key_pass": 0.419,
                "rating": 6.6374,
                "minutes": 15.47,
                "total_pass": 5.469,
                "accurate_pass": 3.7085,
                "duels_won": 0.396,
                "total_long_balls": 0.1661,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 4.1525,
                "accurate_opp_half_passes": 2.3921,
                "crosses_total": 0.3908,
                "crosses_accurate": 0.1954,
                "touches": 9.5639,
                "possession_lost": 3.3392,
                "dispossessed": 0.2299,
                "duels_lost": 1.8355,
                "aerial_lost": 0.9662,
                "total_contest": 0.396,
                "won_contest": 0.2299,
                "ball_recovery": 0.1412,
                "challenges_lost": 0.3072,
                "fouls": 0.1661,
                "fouls_drawn": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1412,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.2535,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2299,
                "xgot": 0.0475,
                "offsides": 0.0,
                "ball_carries": 3.689,
                "total_progression": 28.6143,
                "progressive_carries": 0.8213,
                "shots_off_target": 0.4108
              },
              "params": {
                "market_value_eur": 10900000,
                "quality_factor": 0.533,
                "boost_factor": 1.003,
                "reference_quality": 0.505,
                "history_matches": 9,
                "history_shrink": 0.3571,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0170)",
              "stats": {
                "expected_goals": 0.0726,
                "goals": 0.0739,
                "goal_rate": 0.0739,
                "shots_on_target": 0.3633,
                "total_shots": 0.7755,
                "expected_assists": 0.0387,
                "key_pass": 0.419,
                "rating": 6.6374,
                "minutes": 15.47,
                "total_pass": 5.469,
                "accurate_pass": 3.7085,
                "duels_won": 0.396,
                "total_long_balls": 0.1661,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 4.1525,
                "accurate_opp_half_passes": 2.3921,
                "crosses_total": 0.3921,
                "crosses_accurate": 0.1954,
                "touches": 9.5639,
                "possession_lost": 3.3392,
                "dispossessed": 0.2299,
                "duels_lost": 1.8355,
                "aerial_lost": 0.9662,
                "total_contest": 0.396,
                "won_contest": 0.2299,
                "ball_recovery": 0.1412,
                "challenges_lost": 0.3072,
                "fouls": 0.1713,
                "fouls_drawn": 0.0027,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1415,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.2535,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2299,
                "xgot": 0.0475,
                "offsides": 0.0,
                "ball_carries": 3.689,
                "total_progression": 28.6143,
                "progressive_carries": 0.8213,
                "shots_off_target": 0.4108
              },
              "params": {
                "blend_weight": 0.017,
                "history_matches": 9,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.1719,
                "prior_reliability": 0.0733,
                "competition": "La Liga",
                "squad": "Elche"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.1661,
                  "after": 0.1713
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 15.5 to 26.4 expected minutes (appearance prob 0.53)",
              "stats": {
                "expected_goals": 0.1089,
                "goals": 0.1108,
                "goal_rate": 0.1108,
                "shots_on_target": 0.545,
                "total_shots": 1.1632,
                "expected_assists": 0.058,
                "key_pass": 0.6285,
                "rating": 6.6374,
                "minutes": 26.4,
                "total_pass": 8.2035,
                "accurate_pass": 5.5627,
                "duels_won": 0.594,
                "total_long_balls": 0.2491,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.2287,
                "accurate_opp_half_passes": 3.5882,
                "crosses_total": 0.5881,
                "crosses_accurate": 0.2931,
                "touches": 14.3459,
                "possession_lost": 5.0088,
                "dispossessed": 0.2299,
                "duels_lost": 2.7532,
                "aerial_lost": 0.9662,
                "total_contest": 0.594,
                "won_contest": 0.3448,
                "ball_recovery": 0.2118,
                "challenges_lost": 0.3072,
                "fouls": 0.257,
                "fouls_drawn": 0.004,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2122,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.3802,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3448,
                "xgot": 0.0713,
                "offsides": 0.0,
                "ball_carries": 5.5335,
                "total_progression": 42.9215,
                "progressive_carries": 1.232,
                "shots_off_target": 0.6162,
                "bench_appearance_probability": 0.534,
                "bench_expected_minutes": 26.4
              },
              "params": {
                "expected_minutes": 26.4,
                "projection_minutes": 15.47,
                "minutes_scale": 1.5,
                "appearance_probability": 0.534
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1089,
                "goals": 0.1108,
                "goal_rate": 0.1108,
                "shots_on_target": 0.545,
                "total_shots": 1.1632,
                "expected_assists": 0.058,
                "key_pass": 0.6285,
                "rating": 6.6374,
                "minutes": 26.4,
                "total_pass": 8.2035,
                "accurate_pass": 5.5627,
                "duels_won": 0.594,
                "total_long_balls": 0.2491,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.2287,
                "accurate_opp_half_passes": 3.5882,
                "crosses_total": 0.5881,
                "crosses_accurate": 0.2931,
                "touches": 14.3459,
                "possession_lost": 5.0088,
                "dispossessed": 0.2299,
                "duels_lost": 2.7532,
                "aerial_lost": 0.9662,
                "total_contest": 0.594,
                "won_contest": 0.3448,
                "ball_recovery": 0.2118,
                "challenges_lost": 0.3072,
                "fouls": 0.257,
                "fouls_drawn": 0.004,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2122,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.3802,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3448,
                "xgot": 0.0713,
                "offsides": 0.0,
                "ball_carries": 5.5335,
                "total_progression": 42.9215,
                "progressive_carries": 1.232,
                "shots_off_target": 0.6162,
                "bench_appearance_probability": 0.534,
                "bench_expected_minutes": 26.4
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.1089,
                "goal_rate": 0.1108,
                "goals": 0,
                "shots_on_target": 0.545,
                "total_shots": 1.1632,
                "expected_assists": 0.058,
                "key_pass": 0.6285,
                "rating": 6.6374,
                "minutes": 26.4,
                "total_pass": 8.2035,
                "accurate_pass": 5.5627,
                "duels_won": 0.594,
                "total_long_balls": 0.2491,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.2287,
                "accurate_opp_half_passes": 3.5882,
                "crosses_total": 0.5881,
                "crosses_accurate": 0.2931,
                "touches": 14.3459,
                "possession_lost": 5.0088,
                "dispossessed": 0.2299,
                "duels_lost": 2.7532,
                "aerial_lost": 0.9662,
                "total_contest": 0.594,
                "won_contest": 0.3448,
                "ball_recovery": 0.2118,
                "challenges_lost": 0.3072,
                "fouls": 0.257,
                "fouls_drawn": 0.004,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2122,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.3802,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3448,
                "xgot": 0.0713,
                "offsides": 0.0,
                "ball_carries": 5.5335,
                "total_progression": 42.9215,
                "progressive_carries": 1.232,
                "shots_off_target": 0.6162,
                "bench_appearance_probability": 0.534,
                "bench_expected_minutes": 26.4,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.90 (squad xG sum 0.8976, xG scale 1.0004, xA scale 0.8162, team xA 0.72 = 0.80 x lambda)",
              "stats": {
                "expected_goals": 0.0582,
                "goal_rate": 0.1108,
                "goals": 0,
                "shots_on_target": 0.545,
                "total_shots": 1.1632,
                "expected_assists": 0.0253,
                "key_pass": 0.6285,
                "rating": 6.6374,
                "minutes": 26.4,
                "total_pass": 8.2035,
                "accurate_pass": 5.5627,
                "duels_won": 0.594,
                "total_long_balls": 0.2491,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.2287,
                "accurate_opp_half_passes": 3.5882,
                "crosses_total": 0.5881,
                "crosses_accurate": 0.2931,
                "touches": 14.3459,
                "possession_lost": 5.0088,
                "dispossessed": 0.2299,
                "duels_lost": 2.7532,
                "aerial_lost": 0.9662,
                "total_contest": 0.594,
                "won_contest": 0.3448,
                "ball_recovery": 0.2118,
                "challenges_lost": 0.3072,
                "fouls": 0.257,
                "fouls_drawn": 0.004,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2122,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.3802,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3448,
                "xgot": 0.0381,
                "offsides": 0.0,
                "ball_carries": 5.5335,
                "total_progression": 42.9215,
                "progressive_carries": 1.232,
                "shots_off_target": 0.6162,
                "bench_appearance_probability": 0.534,
                "bench_expected_minutes": 26.4,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.012,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.898,
                "squad_xg_sum": 0.8976,
                "squad_xa_sum": 0.8802,
                "team_expected_assists": 0.7184,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0004,
                "xa_scale": 0.8162,
                "opponent_lambda": 1.948,
                "scoreline_reset": true,
                "appearance_weight": 0.534
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1089,
                  "after": 0.0582
                },
                {
                  "stat": "expected_assists",
                  "before": 0.058,
                  "after": 0.0253
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 17 by projected rating, fifa_overall 74.0)",
              "stats": {
                "expected_goals": 0.0582,
                "goal_rate": 0.1108,
                "goals": 0,
                "shots_on_target": 0.545,
                "total_shots": 1.1632,
                "expected_assists": 0.0253,
                "key_pass": 0.6285,
                "rating": 6.6374,
                "minutes": 26.4,
                "total_pass": 8.2035,
                "accurate_pass": 5.5627,
                "duels_won": 0.594,
                "total_long_balls": 0.2491,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.2287,
                "accurate_opp_half_passes": 3.5882,
                "crosses_total": 0.5881,
                "crosses_accurate": 0.2931,
                "touches": 14.3459,
                "possession_lost": 5.0088,
                "dispossessed": 0.2299,
                "duels_lost": 2.7532,
                "aerial_lost": 0.9662,
                "total_contest": 0.594,
                "won_contest": 0.3448,
                "ball_recovery": 0.2118,
                "challenges_lost": 0.3072,
                "fouls": 0.257,
                "fouls_drawn": 0.004,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2122,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.3802,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3448,
                "xgot": 0.0381,
                "offsides": 0.0,
                "ball_carries": 5.5335,
                "total_progression": 42.9215,
                "progressive_carries": 1.232,
                "shots_off_target": 0.6162,
                "bench_appearance_probability": 0.534,
                "bench_expected_minutes": 26.4,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.012,
                "creation_factor": 0.8,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3732,
                "fifa_rank": 2691.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.0582,
                "goal_rate": 0.1108,
                "goals": 0,
                "shots_on_target": 0.545,
                "total_shots": 1.1632,
                "expected_assists": 0.0253,
                "key_pass": 0.6285,
                "rating": 6.6374,
                "minutes": 26.4,
                "total_pass": 8.2035,
                "accurate_pass": 5.5627,
                "duels_won": 0.594,
                "total_long_balls": 0.2491,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.2287,
                "accurate_opp_half_passes": 3.5882,
                "crosses_total": 0.5881,
                "crosses_accurate": 0.2931,
                "touches": 14.3459,
                "possession_lost": 5.0088,
                "dispossessed": 0.2299,
                "duels_lost": 2.7532,
                "aerial_lost": 0.9662,
                "total_contest": 0.594,
                "won_contest": 0.3448,
                "ball_recovery": 0.2118,
                "challenges_lost": 0.3072,
                "fouls": 0.257,
                "fouls_drawn": 0.004,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2122,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.3802,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3448,
                "xgot": 0.0381,
                "offsides": 0.0,
                "ball_carries": 5.5335,
                "total_progression": 42.9215,
                "progressive_carries": 1.232,
                "shots_off_target": 0.6162,
                "bench_appearance_probability": 0.534,
                "bench_expected_minutes": 26.4,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0551,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.012,
                "creation_factor": 0.8,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0551,
                "goal_rate": 0.1108,
                "scorer_weight": 0.0589,
                "squad_weight_total": 1.0138,
                "weight_share": 0.0581,
                "finishing_factor": 1.012,
                "appearance_weight": 0.534,
                "weight_rank": 6,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0582,
                "goal_rate": 0.1108,
                "goals": 0,
                "shots_on_target": 0.545,
                "total_shots": 1.1632,
                "expected_assists": 0.0253,
                "key_pass": 0.6285,
                "rating": 6.6374,
                "minutes": 26.4,
                "total_pass": 8.2035,
                "accurate_pass": 5.5627,
                "duels_won": 0.594,
                "total_long_balls": 0.2491,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.2287,
                "accurate_opp_half_passes": 3.5882,
                "crosses_total": 0.5881,
                "crosses_accurate": 0.2931,
                "touches": 14.3459,
                "possession_lost": 5.0088,
                "dispossessed": 0.2299,
                "duels_lost": 2.7532,
                "aerial_lost": 0.9662,
                "total_contest": 0.594,
                "won_contest": 0.3448,
                "ball_recovery": 0.2118,
                "challenges_lost": 0.3072,
                "fouls": 0.257,
                "fouls_drawn": 0.004,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2122,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.3802,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3448,
                "xgot": 0.0381,
                "offsides": 0.0,
                "ball_carries": 5.5335,
                "total_progression": 42.9215,
                "progressive_carries": 1.232,
                "shots_off_target": 0.6162,
                "bench_appearance_probability": 0.534,
                "bench_expected_minutes": 26.4,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0551,
                "projected_assists": 0,
                "assist_probability": 0.0247,
                "finishing_factor": 1.012,
                "creation_factor": 0.8,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0247,
                "assist_rate": 0.0,
                "provider_weight": 0.0202,
                "squad_weight_total": 0.7026,
                "weight_share": 0.0288,
                "creation_factor": 0.8,
                "appearance_weight": 0.534,
                "weight_rank": 11,
                "eligible_players": 13
              }
            }
          ]
        },
        "Martim Neto": {
          "player_id": 1100646,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 16,
          "height": 185,
          "market_value": 3800000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0233,
            "assist_rate": 0.0963,
            "assists": 0,
            "expected_goals": 0.0241,
            "goal_rate": 0.0466,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7647,
            "minutes": 25,
            "total_pass": 13,
            "accurate_pass": 11,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 10,
            "accurate_opp_half_passes": 9,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 18,
            "possession_lost": 3.5065,
            "dispossessed": 0.3645,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0246,
            "ball_carries": 6,
            "total_progression": 32,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.5,
            "bench_expected_minutes": 24.76,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.212,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0235,
            "projected_assists": 0,
            "assist_probability": 0.0228,
            "finishing_factor": 0.9847,
            "creation_factor": 1.25,
            "fifa_overall": 72.0
          },
          "latest_10_games": [
            {
              "match_id": 16421058,
              "match_date": "2026-10-11",
              "home_team": "Elche",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 19,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1452,
                "expected_assists": 0.018,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 17,
                "accurate_pass": 15,
                "key_pass": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416342,
              "match_date": "2026-09-15",
              "home_team": "Elche",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 68,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.075,
                "expected_assists": 0.0488,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 39,
                "accurate_pass": 34,
                "key_pass": 1,
                "duels_won": 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,
              "match_date": "2026-09-12",
              "home_team": "Athletic Club",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 14,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0094,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 3,
                "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": 16416311,
              "match_date": "2026-08-23",
              "home_team": "Elche",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 26,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0174,
                "expected_assists": 0.0012,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 8,
                "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": 16421050,
              "match_date": "2026-08-17",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 60,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1036,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 23,
                "key_pass": 2,
                "tackles": 1,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083401,
              "match_date": "2026-05-03",
              "home_team": "Celta Vigo",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 32,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0103,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 18,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083306,
              "match_date": "2026-04-22",
              "home_team": "Elche",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 67,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2443,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 28,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083132,
              "match_date": "2026-04-11",
              "home_team": "Elche",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Valencia",
              "stats": {
                "minutes": 72,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0832,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 24,
                "key_pass": 1,
                "tackles": 2,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083637,
              "match_date": "2026-03-14",
              "home_team": "Real Madrid",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Elche",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 74,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1098,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 20,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 5
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081803,
              "match_date": "2026-03-08",
              "home_team": "Villarreal",
              "away_team": "Elche",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Elche",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 31,
                "rating": 7.6,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.6792,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 14,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 4398,
            "combined_rank_score": 2419.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 575.0,
            "sofascore_rating": 6.804,
            "sofascore_appearances": 25.0,
            "fifa_rank": 4263.0,
            "fifa_overall": 72.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7647,
            "source_file": "data/player_rankings.csv",
            "player_name": "Martim Neto",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Marc Guiu",
                  "ranking": 4393
                },
                {
                  "player_name": "Emanuel Coronel",
                  "ranking": 4394
                },
                {
                  "player_name": "Joe Worrall",
                  "ranking": 4395
                },
                {
                  "player_name": "Ibrahim Osman",
                  "ranking": 4396
                },
                {
                  "player_name": "Karl Edouard Etta Eyong",
                  "ranking": 4397
                }
              ],
              "lower": [
                {
                  "player_name": "Embarba",
                  "ranking": 4399
                },
                {
                  "player_name": "Justo Giani",
                  "ranking": 4400
                },
                {
                  "player_name": "Francés",
                  "ranking": 4401
                },
                {
                  "player_name": "Florin Tănase",
                  "ranking": 4402
                },
                {
                  "player_name": "Víctor García",
                  "ranking": 4403
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.76,
          "history_matches": 30,
          "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",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "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",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 30,
            "data_confidence": 0.76,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 24.76,
            "bench_appearance_prob": 0.5,
            "market_value_adjustment": 0.9975,
            "fbref_prior_metrics": {
              "squad": "Elche",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 1.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 27.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0667
            },
            "rationale": "Bench projection scaled from XGBoost M_service (30 historical appearances) to 24.8 expected mins (appearance prob 0.50); FBref playing time empirical prior: 1.0 sub appearances, 27.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.642,
                "expected_assists": 0.0581,
                "assists": 0.0989,
                "assist_rate": 0.0989,
                "expected_goals": 0.0491,
                "goals": 0.0479,
                "goal_rate": 0.0479,
                "shots_on_target": 0.215,
                "total_shots": 0.4438,
                "rating": 6.7647,
                "minutes": 25.2,
                "total_pass": 13.7691,
                "accurate_pass": 11.6416,
                "duels_won": 1.5656,
                "total_long_balls": 0.5333,
                "accurate_long_balls": 0.4938,
                "total_own_half_passes": 3.4891,
                "accurate_own_half_passes": 2.7508,
                "total_opp_half_passes": 10.28,
                "accurate_opp_half_passes": 8.8908,
                "crosses_total": 0.4378,
                "crosses_accurate": 0.1781,
                "touches": 18.7772,
                "possession_lost": 3.5777,
                "dispossessed": 0.3654,
                "duels_lost": 1.1681,
                "aerial_won": 0.0,
                "aerial_lost": 0.178,
                "interceptions": 0.0547,
                "tackles_won": 0.3428,
                "tackles": 0.4522,
                "clearances": 0.2055,
                "total_contest": 1.1282,
                "won_contest": 0.8237,
                "challenges_lost": 0.1521,
                "fouls": 0.168,
                "fouls_drawn": 0.2897,
                "blocks": 0.0,
                "big_chances_created": 0.1133,
                "big_chances_missed": 0.0,
                "xgot": 0.0502,
                "ball_carries": 5.9556,
                "total_progression": 32.7745,
                "progressive_carries": 1.2823,
                "shots_off_target": 0.2287
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-17T10:05:52.581708+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Celta Vigo",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.1512,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Real Madrid",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.1285,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Athletic Club",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.1092,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "FC Barcelona",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.0928,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-17",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.0789,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Celta Vigo",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.0671,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-04-22",
                    "opponent": "Atlético Madrid",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.057,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "Valencia",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.0485,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-03-14",
                    "opponent": "Real Madrid",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.0412,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-03-08",
                    "opponent": "Villarreal",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.035,
                    "rating": 7.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.5699,
                  "creative_index": 0.3943,
                  "expectedGoals": 0.0396,
                  "expectedAssists": 0.0778,
                  "onTargetScoringAttempt": 0.1771
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.6419978141784668,
                    "model_output": 0.642,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.379
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0252
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0165
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.015
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0154
                        }
                      ],
                      "others": 0.1063,
                      "total": 0.642,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.552304
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.050282
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.033264
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.029307
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.029235
                        }
                      ],
                      "others_margin": 0.180798
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.058128874748945236,
                    "model_output": 0.0581,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0343
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0044
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0025
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0024
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0022
                        }
                      ],
                      "others": 0.0085,
                      "total": 0.0581,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.511914
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.088983
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.051635
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.046778
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.043
                        }
                      ],
                      "others_margin": 0.157993
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.09886661171913147,
                    "model_output": 0.0989,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0196
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0083
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0076
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0048
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.005
                        }
                      ],
                      "others": 0.0208,
                      "total": 0.0989,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.2538
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.11593
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.10565
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.068335
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.065573
                        }
                      ],
                      "others_margin": 0.234701
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.04908093437552452,
                    "model_output": 0.0491,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0421
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0076
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0058
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0027
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0027
                        }
                      ],
                      "others": -0.0013,
                      "total": 0.0491,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.591583
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.156684
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.121508
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.05218
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.05164
                        }
                      ],
                      "others_margin": -0.026738
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.047859109938144684,
                    "model_output": 0.0479,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0409
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0077
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0042
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0041
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0031
                        }
                      ],
                      "others": -0.0043,
                      "total": 0.0479,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.541265
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.14611
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.088526
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.087168
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.061235
                        }
                      ],
                      "others_margin": -0.087049
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.21502068638801575,
                    "model_output": 0.215,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1277
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0395
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0244
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0148
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0072
                        }
                      ],
                      "others": 0.0101,
                      "total": 0.215,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.497458
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.222613
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.142955
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.077818
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.035542
                        }
                      ],
                      "others_margin": 0.048422
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4437662959098816,
                    "model_output": 0.4438,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.397
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.2279
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0749
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0263
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0115
                        }
                      ],
                      "others": -0.0395,
                      "total": 0.4438,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.397008
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.227896
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.074919
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.026299
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.011542
                        }
                      ],
                      "others_margin": -0.039624
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.764666557312012,
                    "model_output": 6.7647,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0867
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0308
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0115
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0098
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0068
                        }
                      ],
                      "others": 0.0146,
                      "total": 6.7647,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.086657
                        },
                        {
                          "name": "rating",
                          "margin": -0.030816
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.011523
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.009836
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.006782
                        }
                      ],
                      "others_margin": 0.014506
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 30,
                  "role_matches": 13,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9975, quality 0.447)",
              "stats": {
                "key_pass": 0.6404,
                "expected_assists": 0.058,
                "assists": 0.0986,
                "assist_rate": 0.0986,
                "expected_goals": 0.049,
                "goals": 0.0477,
                "goal_rate": 0.0477,
                "shots_on_target": 0.2145,
                "total_shots": 0.4427,
                "rating": 6.7647,
                "minutes": 25.2,
                "total_pass": 13.7347,
                "accurate_pass": 11.6125,
                "duels_won": 1.5617,
                "total_long_balls": 0.532,
                "accurate_long_balls": 0.4926,
                "total_own_half_passes": 3.4804,
                "accurate_own_half_passes": 2.7439,
                "total_opp_half_passes": 10.2543,
                "accurate_opp_half_passes": 8.8686,
                "crosses_total": 0.4367,
                "crosses_accurate": 0.1777,
                "touches": 18.7303,
                "possession_lost": 3.5688,
                "dispossessed": 0.3645,
                "duels_lost": 1.1652,
                "aerial_won": 0.0,
                "aerial_lost": 0.1776,
                "interceptions": 0.0546,
                "tackles_won": 0.3419,
                "tackles": 0.4511,
                "clearances": 0.205,
                "total_contest": 1.1254,
                "won_contest": 0.8216,
                "challenges_lost": 0.1517,
                "fouls": 0.1676,
                "fouls_drawn": 0.289,
                "blocks": 0.0,
                "big_chances_created": 0.113,
                "big_chances_missed": 0.0,
                "xgot": 0.0501,
                "ball_carries": 5.9407,
                "total_progression": 32.6926,
                "progressive_carries": 1.2791,
                "shots_off_target": 0.2281
              },
              "params": {
                "market_value_eur": 3800000,
                "quality_factor": 0.4474,
                "boost_factor": 0.9975,
                "reference_quality": 0.505,
                "history_matches": 30,
                "history_shrink": 0.1429,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0062)",
              "stats": {
                "key_pass": 0.6404,
                "expected_assists": 0.058,
                "assists": 0.098,
                "assist_rate": 0.098,
                "expected_goals": 0.049,
                "goals": 0.0474,
                "goal_rate": 0.0474,
                "shots_on_target": 0.2132,
                "total_shots": 0.4418,
                "rating": 6.7647,
                "minutes": 25.2,
                "total_pass": 13.7347,
                "accurate_pass": 11.6125,
                "duels_won": 1.5617,
                "total_long_balls": 0.532,
                "accurate_long_balls": 0.4926,
                "total_own_half_passes": 3.4804,
                "accurate_own_half_passes": 2.7439,
                "total_opp_half_passes": 10.2543,
                "accurate_opp_half_passes": 8.8686,
                "crosses_total": 0.4375,
                "crosses_accurate": 0.1777,
                "touches": 18.7303,
                "possession_lost": 3.5688,
                "dispossessed": 0.3645,
                "duels_lost": 1.1652,
                "aerial_won": 0.0,
                "aerial_lost": 0.1776,
                "interceptions": 0.056,
                "tackles_won": 0.3398,
                "tackles": 0.4511,
                "clearances": 0.205,
                "total_contest": 1.1254,
                "won_contest": 0.8216,
                "challenges_lost": 0.1517,
                "fouls": 0.1683,
                "fouls_drawn": 0.2889,
                "blocks": 0.0,
                "big_chances_created": 0.113,
                "big_chances_missed": 0.0,
                "xgot": 0.0501,
                "ball_carries": 5.9407,
                "total_progression": 32.6926,
                "progressive_carries": 1.2791,
                "shots_off_target": 0.2281
              },
              "params": {
                "blend_weight": 0.0062,
                "history_matches": 30,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.28,
                "prior_reliability": 0.0667,
                "competition": "La Liga",
                "squad": "Elche"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 25.2 to 24.8 expected minutes (appearance prob 0.50)",
              "stats": {
                "key_pass": 0.6292,
                "expected_assists": 0.057,
                "assists": 0.0963,
                "assist_rate": 0.0963,
                "expected_goals": 0.0481,
                "goals": 0.0466,
                "goal_rate": 0.0466,
                "shots_on_target": 0.2095,
                "total_shots": 0.4341,
                "rating": 6.7647,
                "minutes": 24.76,
                "total_pass": 13.4949,
                "accurate_pass": 11.4097,
                "duels_won": 1.5344,
                "total_long_balls": 0.5227,
                "accurate_long_balls": 0.484,
                "total_own_half_passes": 3.4196,
                "accurate_own_half_passes": 2.696,
                "total_opp_half_passes": 10.0753,
                "accurate_opp_half_passes": 8.7138,
                "crosses_total": 0.4299,
                "crosses_accurate": 0.1746,
                "touches": 18.4033,
                "possession_lost": 3.5065,
                "dispossessed": 0.3645,
                "duels_lost": 1.1449,
                "aerial_won": 0.0,
                "aerial_lost": 0.1776,
                "interceptions": 0.055,
                "tackles_won": 0.3339,
                "tackles": 0.4432,
                "clearances": 0.2014,
                "total_contest": 1.1058,
                "won_contest": 0.8073,
                "challenges_lost": 0.1517,
                "fouls": 0.1654,
                "fouls_drawn": 0.2839,
                "blocks": 0.0,
                "big_chances_created": 0.111,
                "big_chances_missed": 0.0,
                "xgot": 0.0492,
                "ball_carries": 5.837,
                "total_progression": 32.1218,
                "progressive_carries": 1.2568,
                "shots_off_target": 0.2241,
                "bench_appearance_probability": 0.5,
                "bench_expected_minutes": 24.76
              },
              "params": {
                "expected_minutes": 24.76,
                "projection_minutes": 25.2,
                "minutes_scale": 0.9825,
                "appearance_probability": 0.5
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.6292,
                "expected_assists": 0.057,
                "assists": 0.0963,
                "assist_rate": 0.0963,
                "expected_goals": 0.0481,
                "goals": 0.0466,
                "goal_rate": 0.0466,
                "shots_on_target": 0.2095,
                "total_shots": 0.4341,
                "rating": 6.7647,
                "minutes": 24.76,
                "total_pass": 13.4949,
                "accurate_pass": 11.4097,
                "duels_won": 1.5344,
                "total_long_balls": 0.5227,
                "accurate_long_balls": 0.484,
                "total_own_half_passes": 3.4196,
                "accurate_own_half_passes": 2.696,
                "total_opp_half_passes": 10.0753,
                "accurate_opp_half_passes": 8.7138,
                "crosses_total": 0.4299,
                "crosses_accurate": 0.1746,
                "touches": 18.4033,
                "possession_lost": 3.5065,
                "dispossessed": 0.3645,
                "duels_lost": 1.1449,
                "aerial_won": 0.0,
                "aerial_lost": 0.1776,
                "interceptions": 0.055,
                "tackles_won": 0.3339,
                "tackles": 0.4432,
                "clearances": 0.2014,
                "total_contest": 1.1058,
                "won_contest": 0.8073,
                "challenges_lost": 0.1517,
                "fouls": 0.1654,
                "fouls_drawn": 0.2839,
                "blocks": 0.0,
                "big_chances_created": 0.111,
                "big_chances_missed": 0.0,
                "xgot": 0.0492,
                "ball_carries": 5.837,
                "total_progression": 32.1218,
                "progressive_carries": 1.2568,
                "shots_off_target": 0.2241,
                "bench_appearance_probability": 0.5,
                "bench_expected_minutes": 24.76
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.6292,
                "expected_assists": 0.057,
                "assist_rate": 0.0963,
                "assists": 0,
                "expected_goals": 0.0481,
                "goal_rate": 0.0466,
                "goals": 0,
                "shots_on_target": 0.2095,
                "total_shots": 0.4341,
                "rating": 6.7647,
                "minutes": 24.76,
                "total_pass": 13.4949,
                "accurate_pass": 11.4097,
                "duels_won": 1.5344,
                "total_long_balls": 0.5227,
                "accurate_long_balls": 0.484,
                "total_own_half_passes": 3.4196,
                "accurate_own_half_passes": 2.696,
                "total_opp_half_passes": 10.0753,
                "accurate_opp_half_passes": 8.7138,
                "crosses_total": 0.4299,
                "crosses_accurate": 0.1746,
                "touches": 18.4033,
                "possession_lost": 3.5065,
                "dispossessed": 0.3645,
                "duels_lost": 1.1449,
                "aerial_won": 0.0,
                "aerial_lost": 0.1776,
                "interceptions": 0.055,
                "tackles_won": 0.3339,
                "tackles": 0.4432,
                "clearances": 0.2014,
                "total_contest": 1.1058,
                "won_contest": 0.8073,
                "challenges_lost": 0.1517,
                "fouls": 0.1654,
                "fouls_drawn": 0.2839,
                "blocks": 0.0,
                "big_chances_created": 0.111,
                "big_chances_missed": 0.0,
                "xgot": 0.0492,
                "ball_carries": 5.837,
                "total_progression": 32.1218,
                "progressive_carries": 1.2568,
                "shots_off_target": 0.2241,
                "bench_appearance_probability": 0.5,
                "bench_expected_minutes": 24.76,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.90 (squad xG sum 0.8976, xG scale 1.0004, xA scale 0.8162, team xA 0.72 = 0.80 x lambda)",
              "stats": {
                "key_pass": 0.6292,
                "expected_assists": 0.0233,
                "assist_rate": 0.0963,
                "assists": 0,
                "expected_goals": 0.0241,
                "goal_rate": 0.0466,
                "goals": 0,
                "shots_on_target": 0.2095,
                "total_shots": 0.4341,
                "rating": 6.7647,
                "minutes": 24.76,
                "total_pass": 13.4949,
                "accurate_pass": 11.4097,
                "duels_won": 1.5344,
                "total_long_balls": 0.5227,
                "accurate_long_balls": 0.484,
                "total_own_half_passes": 3.4196,
                "accurate_own_half_passes": 2.696,
                "total_opp_half_passes": 10.0753,
                "accurate_opp_half_passes": 8.7138,
                "crosses_total": 0.4299,
                "crosses_accurate": 0.1746,
                "touches": 18.4033,
                "possession_lost": 3.5065,
                "dispossessed": 0.3645,
                "duels_lost": 1.1449,
                "aerial_won": 0.0,
                "aerial_lost": 0.1776,
                "interceptions": 0.055,
                "tackles_won": 0.3339,
                "tackles": 0.4432,
                "clearances": 0.2014,
                "total_contest": 1.1058,
                "won_contest": 0.8073,
                "challenges_lost": 0.1517,
                "fouls": 0.1654,
                "fouls_drawn": 0.2839,
                "blocks": 0.0,
                "big_chances_created": 0.111,
                "big_chances_missed": 0.0,
                "xgot": 0.0246,
                "ball_carries": 5.837,
                "total_progression": 32.1218,
                "progressive_carries": 1.2568,
                "shots_off_target": 0.2241,
                "bench_appearance_probability": 0.5,
                "bench_expected_minutes": 24.76,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "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.9847,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 0.898,
                "squad_xg_sum": 0.8976,
                "squad_xa_sum": 0.8802,
                "team_expected_assists": 0.7184,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.0004,
                "xa_scale": 0.8162,
                "opponent_lambda": 1.948,
                "scoreline_reset": true,
                "appearance_weight": 0.5
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0481,
                  "after": 0.0241
                },
                {
                  "stat": "expected_assists",
                  "before": 0.057,
                  "after": 0.0233
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 12 by projected rating, fifa_overall 72.0)",
              "stats": {
                "key_pass": 0.6292,
                "expected_assists": 0.0233,
                "assist_rate": 0.0963,
                "assists": 0,
                "expected_goals": 0.0241,
                "goal_rate": 0.0466,
                "goals": 0,
                "shots_on_target": 0.2095,
                "total_shots": 0.4341,
                "rating": 6.7647,
                "minutes": 24.76,
                "total_pass": 13.4949,
                "accurate_pass": 11.4097,
                "duels_won": 1.5344,
                "total_long_balls": 0.5227,
                "accurate_long_balls": 0.484,
                "total_own_half_passes": 3.4196,
                "accurate_own_half_passes": 2.696,
                "total_opp_half_passes": 10.0753,
                "accurate_opp_half_passes": 8.7138,
                "crosses_total": 0.4299,
                "crosses_accurate": 0.1746,
                "touches": 18.4033,
                "possession_lost": 3.5065,
                "dispossessed": 0.3645,
                "duels_lost": 1.1449,
                "aerial_won": 0.0,
                "aerial_lost": 0.1776,
                "interceptions": 0.055,
                "tackles_won": 0.3339,
                "tackles": 0.4432,
                "clearances": 0.2014,
                "total_contest": 1.1058,
                "won_contest": 0.8073,
                "challenges_lost": 0.1517,
                "fouls": 0.1654,
                "fouls_drawn": 0.2839,
                "blocks": 0.0,
                "big_chances_created": 0.111,
                "big_chances_missed": 0.0,
                "xgot": 0.0246,
                "ball_carries": 5.837,
                "total_progression": 32.1218,
                "progressive_carries": 1.2568,
                "shots_off_target": 0.2241,
                "bench_appearance_probability": 0.5,
                "bench_expected_minutes": 24.76,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "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.9847,
                "creation_factor": 1.25,
                "fifa_overall": 72.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": 4398,
                "fifa_rank": 4263.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": {
                "key_pass": 0.6292,
                "expected_assists": 0.0233,
                "assist_rate": 0.0963,
                "assists": 0,
                "expected_goals": 0.0241,
                "goal_rate": 0.0466,
                "goals": 0,
                "shots_on_target": 0.2095,
                "total_shots": 0.4341,
                "rating": 6.7647,
                "minutes": 24.76,
                "total_pass": 13.4949,
                "accurate_pass": 11.4097,
                "duels_won": 1.5344,
                "total_long_balls": 0.5227,
                "accurate_long_balls": 0.484,
                "total_own_half_passes": 3.4196,
                "accurate_own_half_passes": 2.696,
                "total_opp_half_passes": 10.0753,
                "accurate_opp_half_passes": 8.7138,
                "crosses_total": 0.4299,
                "crosses_accurate": 0.1746,
                "touches": 18.4033,
                "possession_lost": 3.5065,
                "dispossessed": 0.3645,
                "duels_lost": 1.1449,
                "aerial_won": 0.0,
                "aerial_lost": 0.1776,
                "interceptions": 0.055,
                "tackles_won": 0.3339,
                "tackles": 0.4432,
                "clearances": 0.2014,
                "total_contest": 1.1058,
                "won_contest": 0.8073,
                "challenges_lost": 0.1517,
                "fouls": 0.1654,
                "fouls_drawn": 0.2839,
                "blocks": 0.0,
                "big_chances_created": 0.111,
                "big_chances_missed": 0.0,
                "xgot": 0.0246,
                "ball_carries": 5.837,
                "total_progression": 32.1218,
                "progressive_carries": 1.2568,
                "shots_off_target": 0.2241,
                "bench_appearance_probability": 0.5,
                "bench_expected_minutes": 24.76,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0235,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9847,
                "creation_factor": 1.25,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0235,
                "goal_rate": 0.0466,
                "scorer_weight": 0.0237,
                "squad_weight_total": 1.0138,
                "weight_share": 0.0234,
                "finishing_factor": 0.9847,
                "appearance_weight": 0.5,
                "weight_rank": 11,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0.6292,
                "expected_assists": 0.0233,
                "assist_rate": 0.0963,
                "assists": 0,
                "expected_goals": 0.0241,
                "goal_rate": 0.0466,
                "goals": 0,
                "shots_on_target": 0.2095,
                "total_shots": 0.4341,
                "rating": 6.7647,
                "minutes": 24.76,
                "total_pass": 13.4949,
                "accurate_pass": 11.4097,
                "duels_won": 1.5344,
                "total_long_balls": 0.5227,
                "accurate_long_balls": 0.484,
                "total_own_half_passes": 3.4196,
                "accurate_own_half_passes": 2.696,
                "total_opp_half_passes": 10.0753,
                "accurate_opp_half_passes": 8.7138,
                "crosses_total": 0.4299,
                "crosses_accurate": 0.1746,
                "touches": 18.4033,
                "possession_lost": 3.5065,
                "dispossessed": 0.3645,
                "duels_lost": 1.1449,
                "aerial_won": 0.0,
                "aerial_lost": 0.1776,
                "interceptions": 0.055,
                "tackles_won": 0.3339,
                "tackles": 0.4432,
                "clearances": 0.2014,
                "total_contest": 1.1058,
                "won_contest": 0.8073,
                "challenges_lost": 0.1517,
                "fouls": 0.1654,
                "fouls_drawn": 0.2839,
                "blocks": 0.0,
                "big_chances_created": 0.111,
                "big_chances_missed": 0.0,
                "xgot": 0.0246,
                "ball_carries": 5.837,
                "total_progression": 32.1218,
                "progressive_carries": 1.2568,
                "shots_off_target": 0.2241,
                "bench_appearance_probability": 0.5,
                "bench_expected_minutes": 24.76,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.212,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0235,
                "projected_assists": 0,
                "assist_probability": 0.0228,
                "finishing_factor": 0.9847,
                "creation_factor": 1.25,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0228,
                "assist_rate": 0.0963,
                "provider_weight": 0.0291,
                "squad_weight_total": 0.7026,
                "weight_share": 0.0415,
                "creation_factor": 1.25,
                "appearance_weight": 0.5,
                "weight_rank": 8,
                "eligible_players": 13
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 0,
        "expected_goals": 0.9,
        "expected_assists": 0.72,
        "total_shots": 12,
        "shots_on_target": 3,
        "total_passes": 443,
        "interceptions": 7,
        "tackles": 16,
        "avg_rating": 6.86,
        "possession_estimated_pct": 47.6,
        "pressing_actions_per_90": 6.1
      }
    }
  },
  "antagonist_report": {
    "home_attacking_duels": [
      {
        "attacker": "Tani Oluwaseyi",
        "attacker_role": "ST",
        "attacker_market_value": 7500000,
        "attacker_height": 188,
        "attacker_skill_quality": 0.493,
        "defenders": [
          "Buba Sangaré",
          "Roy Revivo"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.459,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.224,
        "xg_contribution": 0.18,
        "xg_multiplier": 1.0358,
        "shots_in_zone": 2.2,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.4,
        "aerial_duels": 3,
        "aerial_won": 1.9,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.4,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Buba Sangaré",
            "role": "CB",
            "market_value": 4900000,
            "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.776
          },
          {
            "player": "Roy Revivo",
            "role": "CB",
            "market_value": 4600000,
            "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.776
          }
        ],
        "duel_analysis": "Tani Oluwaseyi (ST) is evenly matched against Buba Sangaré and Roy Revivo in a 2-defender block. Duel win probability: 22%.  Matchup xG multiplier ×1.04 (×1.00 = his usual level). Projected xG contribution: 0.180 — with neither side clearly dominant."
      },
      {
        "attacker": "Alberto Moleiro",
        "attacker_role": "ST",
        "attacker_market_value": 54000000,
        "attacker_height": 172,
        "attacker_skill_quality": 0.837,
        "defenders": [
          "Buba Sangaré",
          "Roy Revivo"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.459,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.315,
        "xg_contribution": 0.2871,
        "xg_multiplier": 1.1695,
        "shots_in_zone": 2.6,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.6,
        "aerial_duels": 3,
        "aerial_won": 1.3,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.6,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Buba Sangaré",
            "role": "CB",
            "market_value": 4900000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.8,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.685
          },
          {
            "player": "Roy Revivo",
            "role": "CB",
            "market_value": 4600000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.8,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.685
          }
        ],
        "duel_analysis": "Alberto Moleiro (ST) is slightly favored against Buba Sangaré and Roy Revivo in a 2-defender block. Duel win probability: 32%. The quality gap is significant (€54M vs €5M avg). Matchup xG multiplier ×1.17 (×1.00 = his usual level). Projected xG contribution: 0.287 — creating consistent moderate threat."
      },
      {
        "attacker": "Ayoze Pérez",
        "attacker_role": "ST",
        "attacker_market_value": 5400000,
        "attacker_height": 180,
        "attacker_skill_quality": 0.467,
        "defenders": [
          "Buba Sangaré",
          "Roy Revivo"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.459,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.181,
        "xg_contribution": 0.3179,
        "xg_multiplier": 0.9719,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.6,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Buba Sangaré",
            "role": "CB",
            "market_value": 4900000,
            "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.7,
            "defensive_success_rate": 0.819
          },
          {
            "player": "Roy Revivo",
            "role": "CB",
            "market_value": 4600000,
            "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.7,
            "defensive_success_rate": 0.819
          }
        ],
        "duel_analysis": "Ayoze Pérez (ST) is evenly matched against Buba Sangaré and Roy Revivo in a 2-defender block. Duel win probability: 18%.  Matchup xG multiplier ×0.97 (×1.00 = his usual level). Projected xG contribution: 0.318 — with neither side clearly dominant."
      },
      {
        "attacker": "Ilias Akhomach",
        "attacker_role": "ST",
        "attacker_market_value": 11100000,
        "attacker_height": 175,
        "attacker_skill_quality": 0.535,
        "defenders": [
          "Buba Sangaré",
          "Roy Revivo"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.459,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.192,
        "xg_contribution": 0.1114,
        "xg_multiplier": 0.9876,
        "shots_in_zone": 2.1,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.4,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Buba Sangaré",
            "role": "CB",
            "market_value": 4900000,
            "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.8,
            "defensive_success_rate": 0.808
          },
          {
            "player": "Roy Revivo",
            "role": "CB",
            "market_value": 4600000,
            "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.8,
            "defensive_success_rate": 0.808
          }
        ],
        "duel_analysis": "Ilias Akhomach (ST) is evenly matched against Buba Sangaré and Roy Revivo in a 2-defender block. Duel win probability: 19%.  Matchup xG multiplier ×0.99 (×1.00 = his usual level). Projected xG contribution: 0.111 — with neither side clearly dominant."
      },
      {
        "attacker": "Santi Comesaña",
        "attacker_role": "LM",
        "attacker_market_value": 8400000,
        "attacker_height": 187,
        "attacker_skill_quality": 0.503,
        "defenders": [
          "Matías Dituro"
        ],
        "defender_roles": [
          "GK"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "Left Mid vs Right Back — Wide Channel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.439,
        "xg_contribution": 0.0586,
        "xg_multiplier": 1.0275,
        "shots_in_zone": 1.5,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.2,
        "aerial_duels": 2,
        "aerial_won": 1.2,
        "crosses_in_zone": 2.2,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Matías Dituro",
            "role": "GK",
            "market_value": 105000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.5,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.561
          }
        ],
        "duel_analysis": "Santi Comesaña (LM) is evenly matched against Matías Dituro in a direct 1v1 contest. Duel win probability: 44%.  Matchup xG multiplier ×1.03 (×1.00 = his usual level). Projected xG contribution: 0.059 — with neither side clearly dominant."
      },
      {
        "attacker": "Pape Gueye",
        "attacker_role": "CM",
        "attacker_market_value": 39000000,
        "attacker_height": 187,
        "attacker_skill_quality": 0.775,
        "defenders": [
          "Javi Morcillo"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.628,
        "xg_contribution": 0.1423,
        "xg_multiplier": 1.2615,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.7,
        "aerial_duels": 2,
        "aerial_won": 1.2,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Javi Morcillo",
            "role": "CDM",
            "market_value": 2100000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.4,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.372
          }
        ],
        "duel_analysis": "Pape Gueye (CM) has a clear attacking advantage against Javi Morcillo in a direct 1v1 contest. Duel win probability: 63%. The quality gap is significant (€39M vs €2M avg). Matchup xG multiplier ×1.26 (×1.00 = his usual level). Projected xG contribution: 0.142 — and projects to generate high-quality chances."
      }
    ],
    "away_attacking_duels": [
      {
        "attacker": "Thomas Lemar",
        "attacker_role": "LW",
        "attacker_market_value": 1900000,
        "attacker_height": 170,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Juan Foyth"
        ],
        "defender_roles": [
          "RB"
        ],
        "def_skill_quality_avg": 0.506,
        "duel_zone": "Left Wing vs Right Back — Flank Battle",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.37,
        "xg_contribution": 0.0748,
        "xg_multiplier": 0.8381,
        "shots_in_zone": 1.7,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.0,
        "aerial_duels": 2,
        "aerial_won": 0.8,
        "crosses_in_zone": 1.9,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Juan Foyth",
            "role": "RB",
            "market_value": 8600000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.7,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 1.2,
            "defensive_success_rate": 0.63
          }
        ],
        "duel_analysis": "Thomas Lemar (LW) faces tough defensive resistance against Juan Foyth in a direct 1v1 contest. Duel win probability: 37%.  Matchup xG multiplier ×0.84 (×1.00 = his usual level). Projected xG contribution: 0.075 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Gonzalo Villar",
        "attacker_role": "CAM",
        "attacker_market_value": 1700000,
        "attacker_height": 181,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Pape Gueye"
        ],
        "defender_roles": [
          "CM"
        ],
        "def_skill_quality_avg": 0.775,
        "duel_zone": "CAM vs CM",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.234,
        "xg_contribution": 0.0514,
        "xg_multiplier": 0.7267,
        "shots_in_zone": 1.6,
        "dribbles_attempted": 3,
        "dribbles_successful": 0.6,
        "aerial_duels": 2,
        "aerial_won": 1.1,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.4,
        "pressing_intensity_on_attacker": "HIGH",
        "defender_stats": [
          {
            "player": "Pape Gueye",
            "role": "CM",
            "market_value": 39000000,
            "tackles_attempted": 2.2,
            "tackles_won": 2.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.2,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.766
          }
        ],
        "duel_analysis": "Gonzalo Villar (CAM) is heavily outmatched defensively against Pape Gueye in a direct 1v1 contest. Duel win probability: 23%. The quality gap is significant (€2M vs €39M avg). Matchup xG multiplier ×0.73 (×1.00 = his usual level). Projected xG contribution: 0.051 — with very limited chance creation expected."
      },
      {
        "attacker": "Fernando Niño",
        "attacker_role": "ST",
        "attacker_market_value": 3600000,
        "attacker_height": 190,
        "attacker_skill_quality": 0.445,
        "defenders": [
          "Renato Veiga",
          "Alexander Freeman"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.638,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.3157,
        "xg_multiplier": 0.8409,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 2.0,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "MEDIUM",
        "defender_stats": [
          {
            "player": "Renato Veiga",
            "role": "CB",
            "market_value": 29000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 1.0,
            "aerial_duels_won": 0.5,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Alexander Freeman",
            "role": "CB",
            "market_value": 13800000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 0.5,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Fernando Niño (ST) faces tough defensive resistance against Renato Veiga and Alexander Freeman in a 2-defender block. Duel win probability: 18%. The quality gap is significant (€4M vs €21M avg). Matchup xG multiplier ×0.84 (×1.00 = his usual level). Projected xG contribution: 0.316 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Germán Valera",
        "attacker_role": "ST",
        "attacker_market_value": 6200000,
        "attacker_height": 170,
        "attacker_skill_quality": 0.477,
        "defenders": [
          "Renato Veiga",
          "Alexander Freeman"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.638,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.0879,
        "xg_multiplier": 0.768,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.2,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "MEDIUM",
        "defender_stats": [
          {
            "player": "Renato Veiga",
            "role": "CB",
            "market_value": 29000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 1.0,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Alexander Freeman",
            "role": "CB",
            "market_value": 13800000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Germán Valera (ST) is heavily outmatched defensively against Renato Veiga and Alexander Freeman in a 2-defender block. Duel win probability: 18%. The quality gap is significant (€6M vs €21M avg). Matchup xG multiplier ×0.77 (×1.00 = his usual level). Projected xG contribution: 0.088 — with very limited chance creation expected."
      },
      {
        "attacker": "Lucas Cepeda",
        "attacker_role": "ST",
        "attacker_market_value": 2600000,
        "attacker_height": 177,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Renato Veiga",
          "Alexander Freeman"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.638,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.0956,
        "xg_multiplier": 0.7595,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.5,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.4,
        "pressing_intensity_on_attacker": "MEDIUM",
        "defender_stats": [
          {
            "player": "Renato Veiga",
            "role": "CB",
            "market_value": 29000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 1.0,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Alexander Freeman",
            "role": "CB",
            "market_value": 13800000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Lucas Cepeda (ST) is heavily outmatched defensively against Renato Veiga and Alexander Freeman in a 2-defender block. Duel win probability: 18%. The quality gap is significant (€3M vs €21M avg). Matchup xG multiplier ×0.76 (×1.00 = his usual level). Projected xG contribution: 0.096 — with very limited chance creation expected."
      },
      {
        "attacker": "Javi Morcillo",
        "attacker_role": "CDM",
        "attacker_market_value": 2100000,
        "attacker_height": 183,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Pape Gueye"
        ],
        "defender_roles": [
          "CM"
        ],
        "def_skill_quality_avg": 0.775,
        "duel_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.222,
        "xg_contribution": 0.0217,
        "xg_multiplier": 0.7385,
        "shots_in_zone": 0.7,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.4,
        "aerial_duels": 2,
        "aerial_won": 1.1,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.4,
        "pressing_intensity_on_attacker": "HIGH",
        "defender_stats": [
          {
            "player": "Pape Gueye",
            "role": "CM",
            "market_value": 39000000,
            "tackles_attempted": 2.2,
            "tackles_won": 2.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.2,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.778
          }
        ],
        "duel_analysis": "Javi Morcillo (CDM) is heavily outmatched defensively against Pape Gueye in a direct 1v1 contest. Duel win probability: 22%. The quality gap is significant (€2M vs €39M avg). Matchup xG multiplier ×0.74 (×1.00 = his usual level). Projected xG contribution: 0.022 — with very limited chance creation expected."
      },
      {
        "attacker": "Marc Aguado",
        "attacker_role": "CDM",
        "attacker_market_value": 3700000,
        "attacker_height": 178,
        "attacker_skill_quality": 0.446,
        "defenders": [
          "Pape Gueye"
        ],
        "defender_roles": [
          "CM"
        ],
        "def_skill_quality_avg": 0.775,
        "duel_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.21,
        "xg_contribution": 0.0201,
        "xg_multiplier": 0.7202,
        "shots_in_zone": 0.7,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.4,
        "aerial_duels": 2,
        "aerial_won": 1.0,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.4,
        "pressing_intensity_on_attacker": "HIGH",
        "defender_stats": [
          {
            "player": "Pape Gueye",
            "role": "CM",
            "market_value": 39000000,
            "tackles_attempted": 2.2,
            "tackles_won": 2.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.2,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.79
          }
        ],
        "duel_analysis": "Marc Aguado (CDM) is heavily outmatched defensively against Pape Gueye in a direct 1v1 contest. Duel win probability: 21%. The quality gap is significant (€4M vs €39M avg). Matchup xG multiplier ×0.72 (×1.00 = his usual level). Projected xG contribution: 0.020 — with very limited chance creation expected."
      }
    ],
    "midfield_battle": {
      "home_midfield_power": 0.614,
      "away_midfield_power": 0.465,
      "home_creative_power": 0.544,
      "away_creative_power": 0.374,
      "home_defensive_power": 0.544,
      "away_defensive_power": 0.374,
      "home_dominance_ratio": 0.569,
      "home_midfield_count": 2,
      "away_midfield_count": 4,
      "home_midfield_players": [
        "Santi Comesaña",
        "Pape Gueye"
      ],
      "away_midfield_players": [
        "Javi Morcillo",
        "Thomas Lemar",
        "Marc Aguado",
        "Gonzalo Villar"
      ],
      "possession_advantage": "home",
      "estimated_possession_home_pct": 52.4,
      "estimated_possession_away_pct": 47.6,
      "home_pressing_actions_per_90": 7.1,
      "away_pressing_actions_per_90": 6.1,
      "home_key_passes_projected": 4.8,
      "away_key_passes_projected": 3.7,
      "home_throughball_threat": 2.2,
      "away_throughball_threat": 1.7,
      "key_personal_duel": "Pape Gueye vs Marc Aguado",
      "midfield_lambda_factor_home": 1.028,
      "midfield_lambda_factor_away": 0.972
    },
    "formation_analysis": {
      "home_formation": "4-4-2",
      "away_formation": "4-2-3-1",
      "home_tactical_bonus": -0.04,
      "away_tactical_bonus": 0.07,
      "formation_verdict": "Tactical parity between 4-4-2 and 4-2-3-1. Match outcome driven primarily by individual player quality."
    },
    "home_lambda": 1.948,
    "away_lambda": 0.898,
    "home_top_threat_zones": [
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
    ],
    "away_top_threat_zones": [
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
    ],
    "home_player_antagonists": {
      "Tani Oluwaseyi": {
        "opponents": [
          "Buba Sangaré",
          "Roy Revivo"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Alberto Moleiro": {
        "opponents": [
          "Buba Sangaré",
          "Roy Revivo"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Ayoze Pérez": {
        "opponents": [
          "Buba Sangaré",
          "Roy Revivo"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Ilias Akhomach": {
        "opponents": [
          "Buba Sangaré",
          "Roy Revivo"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Santi Comesaña": {
        "opponents": [
          "Matías Dituro",
          "Javi Morcillo",
          "Thomas Lemar"
        ],
        "primary_zone": "Left Mid vs Right Back — Wide Channel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Pape Gueye": {
        "opponents": [
          "Javi Morcillo",
          "Gonzalo Villar",
          "Marc Aguado"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "attacking_duel, defensive_duel, midfield_pairing"
      },
      "Juan Foyth": {
        "opponents": [
          "Thomas Lemar"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "defensive_duel"
      },
      "Renato Veiga": {
        "opponents": [
          "Fernando Niño",
          "Germán Valera",
          "Lucas Cepeda"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Alexander Freeman": {
        "opponents": [
          "Fernando Niño",
          "Germán Valera",
          "Lucas Cepeda"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Péter Gulácsi": {
        "opponents": [
          "Germán Valera",
          "Fernando Niño"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      },
      "Sergi Cardona": {
        "opponents": [
          "Lucas Cepeda"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "away_player_antagonists": {
      "Buba Sangaré": {
        "opponents": [
          "Tani Oluwaseyi",
          "Alberto Moleiro",
          "Ayoze Pérez",
          "Ilias Akhomach"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Roy Revivo": {
        "opponents": [
          "Tani Oluwaseyi",
          "Alberto Moleiro",
          "Ayoze Pérez",
          "Ilias Akhomach"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Matías Dituro": {
        "opponents": [
          "Santi Comesaña"
        ],
        "primary_zone": "Left Mid vs Right Back — Wide Channel",
        "source": "defensive_duel"
      },
      "Javi Morcillo": {
        "opponents": [
          "Pape Gueye",
          "Santi Comesaña"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "defensive_duel, attacking_duel, midfield_pairing"
      },
      "Thomas Lemar": {
        "opponents": [
          "Juan Foyth",
          "Santi Comesaña"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "attacking_duel, midfield_pairing"
      },
      "Gonzalo Villar": {
        "opponents": [
          "Pape Gueye"
        ],
        "primary_zone": "CAM vs CM",
        "source": "attacking_duel, midfield_pairing"
      },
      "Fernando Niño": {
        "opponents": [
          "Renato Veiga",
          "Alexander Freeman"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Germán Valera": {
        "opponents": [
          "Renato Veiga",
          "Alexander Freeman"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Lucas Cepeda": {
        "opponents": [
          "Renato Veiga",
          "Alexander Freeman"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Marc Aguado": {
        "opponents": [
          "Pape Gueye"
        ],
        "primary_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Víctor Chust": {
        "opponents": [
          "Alberto Moleiro"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "key_tactical_insight": "Home midfield dominates with ~52% possession expected (Pape Gueye vs Marc Aguado). Total antagonist xG — Home: 1.10, Away: 0.67. Home danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle. Away danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle.",
    "lambda_factors": {
      "league_anchor": 1.35,
      "home_advantage_factor": 1.15,
      "home_gk_opposition_factor": 1.0107,
      "away_gk_opposition_factor": 1.0107,
      "home_set_piece_bonus": 0.18,
      "away_set_piece_bonus": 0.056,
      "home_defensive_solidity_vs": 1.0164,
      "away_defensive_solidity_vs": 0.9605,
      "home_midfield_factor": 1.028,
      "away_midfield_factor": 0.972,
      "stage_discount": 1.0,
      "quality_gap_applied": true,
      "home_avg_quality": 0.5899,
      "away_avg_quality": 0.4473,
      "avg_quality_gap": 0.1425,
      "squad_value_gap_log": 1.4909,
      "top5_value_gap_log": 1.5591,
      "attack_value_gap_log": 1.4488,
      "elite_count_gap": 1,
      "combined_quality_gap": 0.3418,
      "stronger_lambda_boost": 0.188,
      "weaker_lambda_suppression": 0.1094,
      "home_lambda_chain": [
        {
          "label": "league_anchor",
          "value": 1.35
        },
        {
          "label": "duel_blend",
          "raw_xg": 1.0973,
          "n_duels": 6,
          "duel_confidence": 0.75,
          "result": 1.1605
        },
        {
          "label": "midfield_factor",
          "factor": 1.028,
          "result": 1.193
        },
        {
          "label": "formation_bonus",
          "factor": 0.96,
          "result": 1.1452
        },
        {
          "label": "home_advantage",
          "factor": 1.15,
          "result": 1.317
        },
        {
          "label": "standing_factor",
          "factor": 1.0685,
          "result": 1.4073
        },
        {
          "label": "gk_opposition",
          "factor": 1.0107,
          "result": 1.4222
        },
        {
          "label": "defensive_solidity",
          "factor": 1.0164,
          "result": 1.4455
        },
        {
          "label": "set_piece_bonus",
          "bonus": 0.18,
          "result": 1.6255
        },
        {
          "label": "engine_clamp",
          "pre": 1.6255,
          "result": 1.6255,
          "band": [
            0.6,
            4.0
          ],
          "clamped": false
        },
        {
          "label": "quality_gap",
          "applied": true,
          "combined_quality_gap": 0.3418,
          "factor": 1.188,
          "pre": 1.6255,
          "result": 1.9311
        },
        {
          "label": "stage_discount",
          "applied": false,
          "factor": 1.0,
          "result": 1.9311
        },
        {
          "label": "bench_bonus",
          "side": "home",
          "bonus": 0.159,
          "result": 2.09
        },
        {
          "label": "fbref_blend",
          "side": "home",
          "applied": true,
          "blending_weight": 0.228,
          "empirical_lambda": 0.9877,
          "result": 1.8387
        },
        {
          "label": "router_clamp",
          "pre": 1.8387,
          "result": 1.839,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "h2h_adjustment",
          "applied": true,
          "multiplier": 1.0214,
          "pre": 1.839,
          "result": 1.8784,
          "available": true
        },
        {
          "label": "mismatch_pressure",
          "applied": true,
          "factor": 1.0905,
          "pre": 1.8784,
          "result": 2.048
        },
        {
          "label": "underdog_floor",
          "applied": false,
          "mode": "disabled_ablation",
          "result": 2.048
        },
        {
          "label": "redistribution",
          "applied": true,
          "factor": 0.9512,
          "input_total": 2.846,
          "result": 1.9481
        },
        {
          "label": "final_clamp",
          "applied": true,
          "pre": 1.9481,
          "result": 1.948,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "competition_calibration",
          "applied": false,
          "reason": "no_sofascore_matches_data",
          "samples": 0,
          "scale": 1.0,
          "observed_total_goals": 0.0,
          "result": 1.948
        }
      ],
      "away_lambda_chain": [
        {
          "label": "league_anchor",
          "value": 1.35
        },
        {
          "label": "duel_blend",
          "raw_xg": 0.6672,
          "n_duels": 7,
          "duel_confidence": 0.75,
          "result": 0.8379
        },
        {
          "label": "midfield_factor",
          "factor": 0.972,
          "result": 0.8144
        },
        {
          "label": "formation_bonus",
          "factor": 1.07,
          "result": 0.8714
        },
        {
          "label": "home_advantage",
          "factor": 1.0,
          "result": 0.8714
        },
        {
          "label": "standing_factor",
          "factor": 0.9886,
          "result": 0.8615
        },
        {
          "label": "gk_opposition",
          "factor": 1.0107,
          "result": 0.8707
        },
        {
          "label": "defensive_solidity",
          "factor": 0.9605,
          "result": 0.8363
        },
        {
          "label": "set_piece_bonus",
          "bonus": 0.056,
          "result": 0.8923
        },
        {
          "label": "engine_clamp",
          "pre": 0.8923,
          "result": 0.8923,
          "band": [
            0.6,
            4.0
          ],
          "clamped": false
        },
        {
          "label": "quality_gap",
          "applied": true,
          "combined_quality_gap": 0.3418,
          "factor": 0.8906,
          "pre": 0.8923,
          "result": 0.7947
        },
        {
          "label": "stage_discount",
          "applied": false,
          "factor": 1.0,
          "result": 0.7947
        },
        {
          "label": "bench_bonus",
          "side": "away",
          "bonus": 0.1945,
          "result": 0.9895
        },
        {
          "label": "fbref_blend",
          "side": "away",
          "applied": true,
          "blending_weight": 0.228,
          "empirical_lambda": 0.9852,
          "result": 0.9885
        },
        {
          "label": "router_clamp",
          "pre": 0.9885,
          "result": 0.989,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "h2h_adjustment",
          "applied": true,
          "multiplier": 0.9786,
          "pre": 0.989,
          "result": 0.9678,
          "available": true
        },
        {
          "label": "mismatch_pressure",
          "applied": true,
          "factor": 0.9758,
          "pre": 0.9678,
          "result": 0.944
        },
        {
          "label": "underdog_floor",
          "applied": false,
          "mode": "disabled_ablation",
          "result": 0.944
        },
        {
          "label": "redistribution",
          "applied": true,
          "factor": 0.9512,
          "input_total": 2.846,
          "result": 0.8979
        },
        {
          "label": "final_clamp",
          "applied": true,
          "pre": 0.8979,
          "result": 0.898,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "competition_calibration",
          "applied": false,
          "reason": "no_sofascore_matches_data",
          "samples": 0,
          "scale": 1.0,
          "observed_total_goals": 0.0,
          "result": 0.898
        }
      ],
      "home_bench_lambda_bonus": 0.159,
      "away_bench_lambda_bonus": 0.1945,
      "home_bench_players_modelled": 7,
      "away_bench_players_modelled": 7,
      "fbref_team_priors": {
        "applied": true,
        "home_squad": "Villarreal",
        "away_squad": "Elche",
        "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": true,
      "mismatch_score_pressure_gap": 0.3418,
      "mismatch_favorite_lambda_boost": 1.0905,
      "mismatch_underdog_lambda_factor": 0.9758,
      "pre_mismatch_home_lambda": 1.8784,
      "pre_mismatch_away_lambda": 0.9678,
      "competitive_underdog_floor_applied": false,
      "competitive_underdog_floor": 1.0,
      "competitive_underdog_floor_mode": "disabled_ablation",
      "pre_competitive_floor_home_lambda": 2.048,
      "pre_competitive_floor_away_lambda": 0.944,
      "pre_calibration_home_lambda": 1.8387,
      "pre_calibration_away_lambda": 0.9885,
      "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.948,
      "final_away_lambda": 0.898
    }
  },
  "home_standing": {
    "available": true,
    "team_position": 11,
    "opponent_position": 18,
    "standing_lambda_multiplier": 1.0685,
    "attack_index": 1.021,
    "defense_concede_index": 1.15,
    "form_multiplier": 1.009,
    "team_attack_rate_contextual": 1.58,
    "opp_defense_rate_contextual": 1.78,
    "team_ppg": 1.16,
    "opponent_ppg": 1.01
  },
  "away_standing": {
    "available": true,
    "team_position": 18,
    "opponent_position": 11,
    "standing_lambda_multiplier": 0.9886,
    "attack_index": 0.956,
    "defense_concede_index": 1.021,
    "form_multiplier": 0.991,
    "team_attack_rate_contextual": 1.48,
    "opp_defense_rate_contextual": 1.58,
    "team_ppg": 1.01,
    "opponent_ppg": 1.16
  },
  "xgboost_reasoning": {
    "summary": "Antagonist + XGBoost match analysis for Villarreal vs Elche. Player statistics regressed using position-specific XGBoost models (G, D, M, F) with 2026-2027 FBref priors. Micro-duels resolved across 4-4-2 vs 4-2-3-1 (duel lambdas: Home 1.839, Away 0.989). Final calibrated Poisson lambdas: Home 1.948, Away 0.898 (most likely score 1-0).",
    "competition": "LaLiga",
    "model_coverage": {
      "home_starters_count": 11,
      "home_xgboost_players": 11,
      "home_fbref_players": 8,
      "away_starters_count": 11,
      "away_xgboost_players": 11,
      "away_fbref_players": 8,
      "home_bench_modelled": 7,
      "away_bench_modelled": 7
    },
    "team_priors": {
      "applied": true,
      "home_squad": "Villarreal",
      "away_squad": "Elche",
      "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.948,
      "away_lambda": 0.898,
      "micro_duel_home_lambda": 1.839,
      "micro_duel_away_lambda": 0.989
    },
    "calibration_and_pressure": {
      "competition_calibration_applied": false,
      "competition_calibration_scale": 1.0,
      "mismatch_pressure_applied": true,
      "underdog_floor_applied": false
    }
  },
  "timestamp": "2026-10-17T13:31:52Z",
  "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
  }
}