Spaces:
Sleeping
Sleeping
Commit History
-
fix: pass ruff lint+format, clean README, remove stray script
Priya Monishafa0ce5b -
section-12: CI + Tests + HuggingFace Deployment
Priya Monisha- pytest suite: 57 tests, 0 failures across health/classify/detect/drift/redis - RedisCache: _client= kwarg (keyword-only) for fakeredis injection in tests - conftest.py: MockClassificationModel (real nn.Module), synthetic confidence baseline, raise_server_exceptions=False, session-scoped test_image_bytes - pytest.ini: pythonpath=., coverage xml+term, strict-markers - .github/workflows/ci.yml: ruff lint+format → pytest, pip cache, coverage artifact - spaces.yaml: streamlit sdk, python_version=3.11, cpu-basic, 5 CV tags - packages.txt: libgl1, libglib2.0-0 for HF Spaces build - requirements.txt: fakeredis>=2.23.0 added to Testing section4d14020