Spaces:
Sleeping
Sleeping
Commit History
-
refactor: KI-050 β complete data/ β 40-data/ rename across all Python refsβ
The data/ β 40-data/ git mv landed in the previous commit (c8bf1a1) but the corresponding string-path updates in Python code did not β Python was still resolving _DATA_ROOT, _PROFILES_DIR, PREMIUM_DATA, HEALTH_FILE, etc. to the now-non-existent data/ path. The HF Space rebuild would have shipped a broken backend. This commit sweeps the 23 files that referenced data/ as a string path: β’ `"data/*` β `"40-data/*` β’ `/data/*` β `/40-data/*` β’ `(data/` β `(40-data/` β’ `Path("data" ...)` β `Path("40-data" ...)` β’ `ROOT / "data"` β `ROOT / "40-data"` Touched: backend/{session_state, profile_store, premium_calculator, llm_health, admin, main, scorecard, providers/nvidia_nim_llm}, rag/build_kb, tools/{check_link_rot, info_source_map, refresh_premiums, generate_policy_facts, curate_*, ingest_reviews, ingest_kb_summaries}, backend's per-folder docs, etc. Dockerfile: `COPY data ./data` β `COPY 40-data ./40-data` β container path mirrors host. Verified by: β’ Python smoke: _DATA_ROOβ¦52c6351
-
Stack A: NIM brain + Maverick judge + Sarvam voice/Indic (D-019). Data moved to insurance-bot-data dataset; Space is now code-only.
Verified signaturec32bddc