API reference¶
WARNING
This documentation is almost entirely "vibe coded"; while a helpful resource for humans and agents to understand this codebase, it should not be considered a source of ground truth in the way documentation normally is, and the user is responsible for verifying that all instructions given here are safe.
abc-mine is primarily a CLI, but every module is importable for embedding or
testing. The layering:
cli argument parsing, reporting, drift enforcement
stages/{screen,rank,build} the three workflow stages
sandbox staging and running one agent in a container
parallel serial / local-process / MPI backends
prompts templates, slot packs, gated overrides
rubric axes, weights, gates, deterministic scoring
repo commit selection, worktrees, bundle-cutoff
preflight proving the toolchain works, measuring cost
manifest run provenance, config lock, drift detection
config the run configuration schema
Nothing below stages/ depends on anything above it.
Where to look first¶
| If you want to | Read |
|---|---|
| Understand the config schema | config |
| Change how commits are scored | rubric |
| Understand prompt composition | prompts |
| Understand starting-state construction | repo — build_cutoff_workspace |
| Understand verifier polarity checking | stages.build |
| Understand resume and drift | manifest |
| Add a parallel backend | parallel |
Notable entry points¶
rubric.score— the deterministic scorer. The model supplies axis scores; this computes the total and the gate outcome.repo.build_cutoff_workspace— builds a benchmark's starting state and asserts it leaks no post-cutoff objects. The correctness keystone.stages.build.decide_verifier_result— the PASS/FAIL contract, deliberately identical to abc-runner's own logic.manifest.enforce— refuses to continue a run whose settings would make results incomparable.prompts.load_pack— slot loading and the override gate.