abc_runner.config¶
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_runner.config
¶
Configuration loading and management for ABC Runner.
ABC Runner builds on :class:automaton.AutomatonConfig, which owns the
provider/model/agent/harness configuration and sandbox execution defaults.
This module extends it with benchmark-orchestration concerns: locating the
package root (harnesses/ and container base/harness templates) and the results
directory, and building the task-group resolver.
Task groups themselves are not part of the package root; they are discovered
via :class:abc_runner.groups.GroupResolver (CLI --task-dir > TASK_PATH
the installed
~/.abc-runner/tasksroot populated byabc-runner install).
Config
¶
Bases: AutomatonConfig
ABC Runner configuration.
Extends :class:automaton.AutomatonConfig (providers/models/agents/harnesses
and sandbox defaults) with package-root and results-directory resolution and
task-group resolver construction.
Examples:
Load configuration from file or use the ABC Runner default location.
Source code in abc_runner/config.py
memory_cgroup
property
¶
Whether runs are memory-capped with a cgroup rather than ulimit -v.
group_resolver
¶
group_resolver(task_dir: Path | None = None, warn: bool = True) -> GroupResolver
Build a task-group resolver honoring CLI > TASK_PATH > installed.
Source code in abc_runner/config.py
get_package_root
¶
Return the root holding harnesses/ and containers/.
These are ABC Runner-owned runtime assets (not benchmarks). abc_runner is not a published package, so these always live in a checkout. Resolution order:
ABC_RUNNER_PACKAGE_ROOTenvironment variable- Parent directory of the
abc_runnerpackage (editable/checkout install)
Source code in abc_runner/config.py
initialize_user_config
¶
Create the default ABC Runner user config directory and template if missing.
Returns:
| Type | Description |
|---|---|
Path
|
Path to the created config file |