BanditRLBench · public development edition
Run, evaluate and train
Start with prompt-only data. Keep the access condition, model identity and evidence attached to each result.
Public dev · 4 cores · 2 Lean warmups · Gold admission and held-out tests pending
1. Prepare a run
1. Prepare a run
Python 3.11+ and Git are enough for NL tasks. Work from this repository root. The command creates a new directory and never overwrites a previous run.
python tools/banditrlbench.py prepare --track non-lean --mode closed-book --model YOUR_MODEL --agent YOUR_AGENT --output _out/nl-run
# Lean track: replace non-lean with lean and choose lean-assisted.Give the agent prompts.jsonl, then fill predictions.jsonl. Lean rows contain exact imports and target signatures; submit only the proof expression. The runner makes no API calls. Record generation settings, token/cost budgets and transcripts alongside run.json.
2. Assess natural-language answers
2. Assess natural-language answers
python tools/banditrlbench.py review-pack --predictions _out/nl-run/predictions.jsonl --output _out/review
# A domain expert fills review.jsonl, with identity, criterion scores and reasons.
python tools/banditrlbench.py assess --predictions _out/nl-run/predictions.jsonl --review _out/review/review.jsonl --output _out/nl-resultsThe reviewer packet contains candidate gold and must stay outside the agent input. Scores are explicit expert rubric judgments, not an automatic mathematical verifier. Contracts and response hashes must match; incomplete or stale reviews are rejected.
3. Replay trusted Lean proofs
3. Replay trusted Lean proofs
Use the committed lean-toolchain and lake-manifest.json. Build and check the library first, then run:
python tools/bandit.py check
python tools/banditrlbench.py replay --trusted-local --library . --mode lean-assisted --model YOUR_MODEL --agent YOUR_AGENT --predictions _out/lean-run/predictions.jsonl --output _out/lean-results
python tools/banditrlbench.py canary --trusted-local --library . --output _out/canaryEach fixed-target replay records compiler logs, axiom closure and direct constants in the checked type and proof. Canary tests require reference success and empty, incorrect and placeholder rejection. These are harness checks, not model scores.
Trusted local execution only: Lean elaboration can execute code. This runner is not a security sandbox. Do not submit untrusted model code on a workstation with credentials. Container isolation and a Harbor adapter have not been validated or released.
4. Train and report honestly
4. Train and report honestly
python website/scripts/banditrlbench.py export --track non-lean --include-solutions --output _out/dev-training.jsonlThis opt-in exports public development answers for practice or supervised training. The Lean export includes the exact formal target and its reference proof. There is no train/test split yet; every solution alias stays in its family. Report closed-book, text-retrieval, graph-retrieval and Lean-assisted runs separately. Local access modes are operator declarations, not enforced isolation.
No leaderboard, held-out score, automated NL correctness or RL-training environment is claimed. See admission and contribution requirements.