Offline benchmark for fictional service-enquiry routing, cited drafts and abstention
pip install enquiry-bench Copy PIP instructions
An offline benchmark for routing, cited draft replies and abstention on a small fictional service-enquiry task. It scores prediction files you supply. It is not a customer-service agent, makes no model or network calls, and needs no accounts or third-party packages.
Status: 0.1.0 — released 2026-11-05 · github.com/failstocode66/enquiry-bench Exercised on Windows with CPython 3.12.12, 3.13.12 and 3.14.5. Other platforms are unverified.
pip install enquiry-bench Or the tagged release straight from the repository:
pip install "git+https://github.com/failstocode66/enquiry-bench@v0.1.0" Requires Python 3.12 or later; older interpreters are refused with E_RUNTIME rather than run without Windows junction checks.
From a clone of the repository, or after either install above, skip the first line:
python -m pip install --no-deps . enquiry-bench demo --output demo-out The demo scores two bundled prediction files, both synthetic: an authored reference that matches the gold, and an always-abstain baseline generated from the case inputs. Neither is output measured from any model. The frozen fixture is designed to give the figures below, so they show the scorer working, not AI-model performance; confirm them in demo-out/summary.md.
Bundled inputs live in src/enquiry_bench/data/ and install with the package. The source distribution also carries tests/, docs/ and CHANGELOG.md; the wheel does not.
enquiry-bench validate --cases CASES --gold GOLD --knowledge KNOWLEDGE enquiry-bench run --baseline always-abstain --cases CASES --knowledge KNOWLEDGE --output DIR enquiry-bench score --cases CASES --gold GOLD --knowledge KNOWLEDGE --predictions PRED --output DIR [--repeat-predictions PRED2 ...] [--rates RATES] enquiry-bench demo --output DIR run never reads gold; score never executes file content. --output must be a new directory. score writes score.json (byte-reproducible), cases.csv, report.md, confusion.svg and manifest.txt (file hashes, written last). Errors are fixed codes that never echo input text or paths. Python equivalents: validate_files, run_baseline, score_files, demo.
python -m unittest discover -s tests Needs the package installed or src on PYTHONPATH. The symlink, hard-link and junction tests create real links. A recognized refusal to create one (link type unsupported, access denied, privilege not held) skips that test with the reason, so its product check did not run and the skip is not a pass. Any other error while creating a link is reported as an error, and once a link exists its product checks run unchanged. No administrator rights, Developer Mode or permission changes are required or made.
The headline, joint task pass, needs the right route, the right abstention flag, a consistent route/flag pair, an exact acceptable draft and the exact expected citations. Draft match is exact comparison against a short authored list: a closed-format rubric, not a semantic judge. A reworded correct answer fails, and a citation that exists is not proof the draft is true. Results on this synthetic task say nothing about real-world model performance.
See metrics and schemas, synthetic provenance and the publication post.
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.




