# User guide ## Solve one problem With the verification server running (see `INSTALL.md`): ```bash python3 run_pipeline.py --config completo --split dev --ids mathd_algebra_141 --rag-query lean ``` Presets: `completo`, `sin_rag`, `sin_critico`, `sin_rag_ni_critico`. Results go to `results/` (`.jsonl`, one line per problem) and a per agent log to `*_agentes.jsonl`. ## Run a whole configuration or all five ```bash python3 run_experiment.py --split dev --rag-query lean --auto-resume # the five configurations on the development set python3 run_experiment.py --split test --rag-query lean --auto-resume --allow-test python3 run_experiment.py --split dev --configs baseline_a baseline_b # only some configurations ``` `--auto-resume` waits for the daily quota and retries 503 errors. `--allow-test` is required for the test set on purpose, because the code was frozen before the test run. ## Read the results `python3 analyze_results.py --split test` writes `results/analysis_test.md` and `.csv`: pass@1 with Wilson intervals, delivered proofs and false positives, paired McNemar with Bonferroni, bootstrap differences, rescued by retry, lemma use and the error taxonomy. Every record in `results/*.jsonl` has: `problem_id`, `verified` (accepted by Lean), `claimed_correct` (delivered as correct), `lean_code`, `trace` (last Lean message), `llm_calls`, `tokens_in`, `tokens_out`, `latency_s`, and for pipelines `subgoals`, `retrieved`, `r`, `k`, `status`, `failure_reason`. ## Explore the results without Lean Open the static Space (see `README.md`) or run the Gradio app: `pip install gradio==5.9.1 && python3 demo/app.py`.