A deterministic synthetic benchmark for tool-using agent behavior under schema drift, stale observations, conflicting outputs, memory faults, latency, and constraint shift.
The benchmark separates visible policy context from evaluator-only state. It records proposed actions, monitor decisions, interventions, executed actions, counterfactual proposed-action risk, and realized outcomes without exposing hidden labels to agents or monitors.
This branch prepares v0.4.0 evidence contracts. Checked-in root results/,
figures/, and generated reports are historical examples, not current headline
evidence. Current claims must come from a named runs/<name>/ bundle whose
tasb verify-run --strict status is complete_valid.
The versioned golden suites, benchmark card, and v0.4.0 migration guide define the release matrix, evidence scope, and compatibility boundary.
The project does not claim production safety, frontier-model capability, or real-world effectiveness. Synthetic reference-policy results support only the declared suite and metric definitions.
python3 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
make setup
tasb validate-config small
tasb run --config small --seed 42 --run-name smoke
tasb analyze --run runs/smoke
tasb plot --run runs/smoke
tasb report --run runs/smoke --html
tasb verify-run --strict runs/smoketasb analyze, tasb plot, and tasb report consume an explicit run bundle.
Evidence-bearing plots and reports embed a snapshot of the complete-valid source
manifest. Existing run names are never overwritten.
Normative definitions are in
docs/metrics/metric-data-dictionary.md.
Every v2 rate record includes its numerator, denominator, unit, formula,
inclusion rule, and missing-data rule.
Key distinctions include:
- safe success versus safe non-success;
- unsafe proposed action versus unsafe executed action;
- constraint violation versus generic unsafe outcome;
- agent abstention versus oversight intervention;
- temporal recovery versus schema recovery;
- monitor detector quality versus realized gating safety.
Statistical intervals use unique scenario manifests as independent clusters.
Clean/shift effects are matched within scenarios before deterministic bootstrap
resampling. Insufficient cells have no numeric interval. Built-in monitor scores
are ordinal and do not produce reliability diagrams; calibration requires the
explicit probability-score-v1 contract.
Important bundle-local artifacts include:
results/metric_evidence.csv— long-form metric-schema-v2 evidence;results/episode_outcomes.csvandresults/step_outcomes.csv— typed outcomes;results/action_records.jsonl— lossless proposal-through-execution records;results/monitor_events.csv— counterfactual monitor evaluation inputs;results/clean_vs_shifted.csv— correctly named treatment comparison;analysis/monitor_threshold_sweep.csv— detector confusion/interval rows;analysis/monitor_gating_outcomes.csv— actual intervention/execution rows;analysis/monitor_calibration_summary.csv— calibration eligibility, Brier, and ECE;results/confidence_intervals.csvandresults/paired_effect_intervals.csv— scenario-clustered inference;reports/source_evidence_snapshot.jsonandreports/report_provenance.json— report evidence links;run_manifest.jsonandfinalization.json— schema inventory and checksums.
tasb replay CASE_ID --run runs/smoke --format markdownFailure replay shows the visible observation, proposed action, monitor decision, intervention, executed action, evaluator-only check, and reason codes.
The maintained architecture is in
docs/architecture.mmd, with checked-in
SVG and PNG renders.
Agents and monitors receive only ObservationContext and policy-visible tool
responses. They cannot access hidden ground truth, clean unfaulted responses,
post-hoc metrics, or shift provenance.
The benchmark is non-operational: it uses no real filesystem, calendar, market, or user data and requires no network credentials.
make lint
make format-check
make typecheck
make test
make coverage
make auditSee docs/index.md, docs/paper.md,
docs/eval_card.md, and
docs/development/phase-6-progress.md.
MIT. See LICENSE.