Spaces:
Sleeping

p4r5kpftnp-cmd commited on
Commit
16fb4fc
·
1 Parent(s): f4afb6d

Repo cleanup: dead code out, test isolation fix, real README

Browse files

- Remove src/lmm_client.py and src/proof_agent.py — MVP-era relics with
zero production importers since the provider routing moved into
rag_chain. Their tests go with them (including the proof_agent
default-model regression test, obsolete with the module deleted).

- Fix sys.modules pollution in test_manual_bug_fixes.py: it installed
MagicMocks at lean_verifier/retriever/rag_chain at import time and
never restored them, poisoning every test module imported later
during discovery (alphabetical order put 6 files after it). Mocks are
now installed only around the langgraph_agent import and restored in
a finally block; the mock-built langgraph_agent is evicted too.

- Replace the 344-line MVP design doc README (Ollama-era, described the
since-removed reranker) with an accurate project README: architecture
diagram, RAG details with real numbers, model matrix, local-run
quickstart, honest small-sample benchmark table, project layout, CI
notes. HF Spaces frontmatter unchanged.

- Track scripts/setup_lean.py — the one-time Lean+Mathlib warmup
utility referenced by the README quickstart.

- UI: rebalance the controls bar (optional Claude key field no longer
gets equal width with the model picker; clearer label).

103 tests pass, ruff clean.

7 files changed +128 -551
Files changed (7)
README.md+65-304
app.py+3-3
scripts/setup_lean.pyAdded+35
src/lmm_client.pyDeleted-56
src/proof_agent.pyDeleted-11
tests/test_manual_bug_fixes.py+25-30
tests/test_proof_agent.pyDeleted-147