Spaces:
Sleeping
Sleeping
FairValue
feat: production web app — React/Vite frontend + FastAPI backend with Render/Vercel deployment
b72652e Download qa_notes.py from Britzzy/fairvalue-api: direct link, hf CLI and curl.
- Browser
- Download file 556 Bytes
-
https://huggingface.co/spaces/Britzzy/fairvalue-api/resolve/main/qa_notes.py
- Command line
-
hf download hf://spaces/Britzzy/fairvalue-api/qa_notes.py
-
curl -L -o qa_notes.py https://huggingface.co/spaces/Britzzy/fairvalue-api/resolve/main/qa_notes.py
556 Bytes
| import os | |
| import sys | |
| # Fix for age slider showing extreme values from bad Transfermarkt DB records. | |
| # The players.csv uses `height_in_cm` instead of a true `Age` column. | |
| # The run_pipeline.py was randomly assigning age from `height_in_cm`. | |
| # This fix ensures Age comes from `date_of_birth` if available. | |
| print("This is a notes file about the age bug found through QA testing.") | |
| print("The `Age` column in the merged df was populated from `height_in_cm` as a fallback.") | |
| print("Fix: derive Age from `date_of_birth` column in players.csv during merging.") | |