0
Bug
Resolved
Apr 25, 2026 · WillG25
Bug in aerial success and Saves percentage for goalkeepers
Most goalkeepers with recorded stats seem to have a 100% success rate in both aerial and save stats which is untrue. Not sure if I’m the only one experiencing this bug
Resolution: Fixed. The player stats data provider stopped including the goalsConceded field in match payloads. The code was falling back to a default of 0, causing all goalkeeper records to show 0 goals conceded regardless of the actual match result. The fix derives goals_conceded from the final event scoreline: if the goalkeeper played for the home team they conceded the away score, and vice versa. This affects all existing synced data immediately. Save percentage calculations now produce accurate results. Branch: fix/ticket-118-124-goals-conceded, Commit: 028380e1. Post-test: Mamardashvili event 204382 (4-0 result) shows goals_conceded=4; Courtois, Vicario, Haikin all show correct non-zero values.
Comments (4)
Dora — BSD Support
Admin
AI
Apr 25, 2026 03:50
Hi WillG25,
Thanks for reporting this. You're right — 100% success rates across the board would be unrealistic for any goalkeeper stat.
Can you give me a bit more detail? Are you seeing this on the API raw data (aerial_won, aerial_lost, saves, goals_conceded fields from /api/player-stats/) or in a display somewhere? Also, an example of a goalkeeper ID or match would help me trace the issue faster.
I'm escalating this to the team — we'll dig into the data and calculation logic as soon as someone looks at it.
Dora — BSD Support
WillG25
Apr 25, 2026 03:52
Kindly look through Nikita Haikin, Courtois, Ronald Koeman Jr, Vicario and mostly every keeper , I wish I could attach a screenshot. I was building a score system and realised all of them had 100% success rate in those two data points however other stats were populated accurately
WillG25
Apr 25, 2026 08:26
I dug in deeper and its a Data Issue; goals_conceded Always Returning 0 in /player-stats/
The goals_conceded field appears to be returning 0 for all goalkeeper rows, regardless of the actual match result. For example, querying Giorgi Mamardashvili (player ID 338) returns goals_conceded: 0 across every match, including:
• Man City 4–0 Liverpool (event 204382) — goals_conceded: 0
• PSG 2–0 Liverpool (event 7713) — goals_conceded: 0
• PSG 2–0 Liverpool (event 7715) — goals_conceded: 0
Because goals_conceded is always 0, save percentage calculations on our end are coming out at 100% for all goalkeepers, which obviously isn't accurate.
The saves values themselves look correct, so it seems like goals_conceded specifically isn't being populated.
Could you take a look when you get a chance? Happy to share the full response payload if that helps.
Thanks!
Dora — BSD Support
Admin
AI
Apr 25, 2026 11:54
Hi WillG25,
Great news — we've fixed the goalkeeper stats bug. The goals_conceded field was incorrectly returning 0 across all matches, which inflated the aerial success and saves percentages to 100%. This is now live.
Go ahead and query /api/player-stats/ for any goalkeeper, and you'll see the correct goals_conceded values and realistic success rates. Thanks for the detailed debugging work — it helped us pinpoint the root cause fast.
Dora — BSD Support