Spaces:
Runtime error
Runtime error
Commit History
-
Add CI, typed ORM models, and packaging cleanup
Aryan MishraIntroduce repo-wide engineering guardrails with GitHub Actions CI (ruff, mypy, bandit, pytest), pre-commit hooks, editor config, and contributor/security docs. Refactor API persistence models into `api/models` with SQLAlchemy 2.0 typed mappings, wire imports accordingly, and align project packaging/test execution by adding `py.typed` markers, pytest pythonpath config, and Makefile/docs updates that remove ad-hoc `PYTHONPATH` usage. This also cleans generated artifacts from git, updates notebook/script paths to src-layout module execution, and refreshes project structure documentation.a00fee9
-
chore: Address security vulnerabilities and apply best practices
Aryan Mishra- Removed hardcoded credentials in docker-compose.yml in favor of environment variables. - Fixed SQL injection vulnerability in drift_monitor.py by using parameterized queries. - Prevented potential XSS in predict_result.html by replacing innerHTML with safe DOM API methods. - Added essential security headers (CSP, X-Frame-Options, etc.) to nginx configuration. - Upgraded vulnerable dependencies (fastapi, jinja2, pandas, etc.) in requirements.txt and added slowapi for rate limiting. - Improved error handling and resource cleanup in batch processing tasks. - Added SECURITY_AUDIT.md to document the security assessment.c539266
-
feat: Phase 8 - final evaluation and portfolio polish
Aryan Mishra1130076