Spaces:
Sleeping
Sleeping
Commit History
-
Rebuild match_data.csv and newdata.csv in the cron, by stat title
ewmapois fits on both, and both were built by hand out of match.ipynb and newdata.ipynb - which meant not at all. They were last written 2026-05-25 while the JSONs behind them kept arriving. Porting them surfaced a live data bug. The notebooks read Fotmob's stats by position, and the layout has moved twice since they were written: Top stats gained "Touches in opposition box" and "Yellow cards", shifting the rows inside the block, so the notebook read Big chances missed as accurate passes and yellow cards as corners. From 2025-26 the Defence block renamed "Tackles won" (rendered "8 (67%)") to "Tackles" (a plain int). The notebook split that on "(", which raises on an int, so tackles - and so tackles_attempted, CBIT and CBITR - came out as zero for every match in the last two seasons. CBIT and CBITR are what ewmapois actually uses, 45 references between them. Season means, notebook vs this module: 2020-21 .. 2024-25 identical, every column 2025-26 CBIT 36.7 -> …9232595