Spaces:
Sleeping
Sleeping
Commit History
-
fix: address critical and medium post-audit findings
HatmanStackCritical/High: - Remove dead _get_model() cached wrapper (never called) - Add [build-system] to pyproject.toml for reliable editable installs - Fix devcontainer.json to use pyproject.toml instead of deleted requirements.txt - Add scikit-learn and scikeras as [train] optional deps Medium: - Move streamlit import in config.py to lazy import inside configure_page() - Remove unreachable QueryExecutionError catch blocks in 1_home_team.py - Add uv cache step to CI workflow - Fix actions/checkout and actions/setup-python to stable v4/v5 Low: - Remove duplicated --cov-fail-under from CI (pyproject.toml is single source) - Fix SIM105 indentation in pyproject.toml - Fix compile_model.py arr type to match str|float sliced values - Add dist/ and build/ to .gitignore31b602c
-
Refactor app with security fixes, error handling, and type safety
Hatmanstack +1: Claude Opus 4.5- Fix SQL injection: use parameterized queries in src/database/queries.py - Fix XSS: add HTML escaping in src/utils/html.py - Re-enable CORS/XSRF protection in devcontainer.json - Add Pydantic models for validation in src/models/player.py - Add session state management with safe defaults - Cache ML model loading with @st.cache_resource - Fix N+1 query with batch IN clause - Add loop guards to prevent infinite loops - Add comprehensive test suite - Add pyproject.toml with mypy strict mode and ruff config - Move compile_model.py to scripts/ with main() guard Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>6424951
-
Added Dev Container Folder
CJ62bb647