Spaces:
Sleeping
Sleeping
Commit History
-
feat(sprint-18-19): bidirectional translation + neuro-symbolic eligibility bridge
60d1026
-
fix(ci): resolve all 3 CI/CD pipeline failures — green build
FRONTEND (lint error — exit code 1): - AdminCoverage.tsx: moved fetchData above useEffect, wrapped in useCallback - Fixes react-hooks/immutability: variable accessed before declaration - Verified: npm run lint exits 0 BACKEND (pytest — exit code 5, no tests collected): - Created tests/test_core.py: 28 comprehensive pytest tests covering: * Config module (pydantic-settings loading) * SearchQuery validation (XSS strip, language fallback, min length) * IngestRequest + EligibilityRequest validation (bounds, defaults) * chunk_text business logic (empty, short, overlap, whitespace) * WhatsApp expiry alert payload generation (structure, defaults) * Eligibility engine (PM Kisan farmer/non-farmer, income limits) * Bhashini language maps (completeness, BCP47 format) - Created pytest.ini to point test discovery at tests/ directory - Verified: 24 passed, 4 skipped (openfisca), 0 failures, 0.90s CI WORKFLOW: - Fixed pytest command: pytest tests/ --cov=. --cov-report=xml -v - Removed…71074f8