FeedbackScope is a configurable benchmark-generation, evaluation, and model-training pipeline. This repository extends the original AutoBencher workflow with mathematical answer verification, dataset filtering, resumable execution, and local fine-tuning.
Chinese documentation: README.zh-CN.md
This project is based on or uses ideas and components from the following open-source projects:
- XiangLi1999/AutoBencher
- SymPy
- Hugging Face Math-Verify
- Microsoft ToRA
- Hugging Face TRL
- dottxt-ai Outlines
- Guidance
- datasketch
- Sentence Transformers
- DSPy
- Ragas
The following public datasets or repositories are used only when explicitly prepared by the user or as design references:
Upstream datasets are not downloaded automatically. Review the license and redistribution terms of every exact source archive before use. Dependency versions, licenses, revisions, and the way each project is used are recorded in THIRD_PARTY_NOTICES.md.
Python 3.10 or newer is recommended.
python -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements-lock.txt
cp .env.example .envOn Windows, activate with .\.venv\Scripts\Activate.ps1. Keep .env local and do
not commit or print credentials.
Runtime data should be written to the configured data directory, not to the source repository. Production configurations use:
/vepfs-mlp2/queue010/20262202597/math_flywheel/
These commands are offline and do not start API inference or GPU training:
python verify_project.py
python smoke_test.py
python -m pytest -qChoose an experiment YAML, environment YAML, and unique run ID:
python run_scripts.py math \
--config <experiment.yaml> \
--environment <environment.yaml> \
--run-id <run-id>Resume with the same configuration and run ID:
python run_scripts.py math \
--config <experiment.yaml> \
--environment <environment.yaml> \
--run-id <run-id> \
--resume trueRun or resume a study suite:
python run_study.py --suite <study-suite.yaml>
python run_study.py --suite <study-suite.yaml> --resumeIf a changed suite prevents normal resume, restore the Git commit recorded in the Registry and resume the exact registered run:
python resume_experiment.py \
--registry <experiment_index.json> \
--study-id <study-id>Aggregate a completed study:
python aggregate_study.py --index <experiment_index.json>List the checkpoint-bound evaluation options:
python run_formal_evaluation.py --helpWhen assembling an evaluation set, provide both training and generation records for leakage checks:
python prepare_evaluation_sets.py assemble-official \
--candidates <candidates.json> \
--training-data <training-records.json> \
--generation-data <generation-records.json> \
--output <evaluation-set.json>