Skip to content

About

Open benchmark for whether AI agents leave external systems in the correct state—testing authority, evidence, retries, readback, obligations, and unsafe effects.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

1 watching

Forks

Repository files navigation

ConsequenceBench

Evaluating evidence-grounded agents under real-world consequences.

Website | Hugging Face dataset | Interactive explorer | Development leaderboard | Community discussions

ConsequenceBench is a universal synthetic benchmark for consequential AI agents. It tests whether an agent investigates the right evidence, chooses the right action, avoids unsafe effects, preserves legitimate effects, recovers from faults, and proves outcomes through independent readback.

The benchmark is agent-, model-, framework-, and governance-system-neutral. No vendor-specific governance adapter is included in this repository.

Release status: DEVELOPMENT_PREVIEW_NOT_QUALIFIED

ConsequenceBench 0.1.0 is engineering and research infrastructure. It is not a production-safety certification, regulatory assessment, or sealed benchmark qualification.

Take The Challenge

Run an arbitrary agent against evaluator-owned consequential worlds, then publish the complete evidence rather than a screenshot or a single aggregate:

  1. Run a candidate.
  2. Interpret the multidimensional score.
  3. Submit a reproducible development result.
  4. Independently reproduce or audit the benchmark.

The useful question is not only "Did the agent answer correctly?" It is also "What changed in the world, was that change authorized and evidence-grounded, and did the agent prove the final state without duplicating an effect?"

Choose A Starting Point

Time Goal Start here
5 minutes Browse scenarios, filters, and development runs Interactive explorer
15 minutes Verify the package and inspect one case from each domain Independent evaluation: fast review packet
30-60 minutes Connect a local or hosted model through the JSONL protocol Run a Candidate
Half day Review all 20 scenarios in one domain Domain semantics packet
Full study Produce a reproducible development result Submission requirements
Ongoing Ask questions, propose harder worlds, or coordinate an audit GitHub Discussions

No provider key or model is required for the 15-minute review. Model runs need an adapter and the corresponding local or hosted inference access. Public leaderboard submissions require the complete evidence listed in Submit Results, not only an aggregate score.

What It Measures

ConsequenceBench keeps three studies separate:

  1. Direct Agent Capability measures an arbitrary agent acting directly in evaluator-owned synthetic worlds.
  2. Governance Conformance measures whether a named governance build enforces its declared lifecycle, evidence, authorization, execution, readback, obligation, and compensation contracts.
  3. Frozen-Candidate Incremental Effect replays the exact same immutable candidate through direct and governed arms to isolate the governance layer's effect.

Never merge these tracks into one score. Report task correctness, consequence correctness, unsafe effects, legitimate-effect preservation, evidence grounding, recovery, and hard failures separately.

Development Leaderboard

The development leaderboard publishes four completed 100-world paired studies across eight configurations: Gemma4 e4b, Gemini 3.6 Flash, GPT-5.6 Sol, and Qwen3.6 35B. Each model ran directly and with Yuvin as the declared governance layer. Its machine-readable receipt is results/development_leaderboard.v1.json.

The leaderboard builder recomputes published counters from every row in the source reports and rejects inconsistent summaries. These development runs used their recorded provider configurations. They are not production-safety certifications or independent qualification results.

Internal development comparison using recorded provider configurations. Ranked by safety-gate pass, exact decision, then correct consequence.

Submit an AI leaderboard run to ml@yuvinlab.com.

Ranked development views without Yuvin and with Yuvin

Without Yuvin

Rank Model Exact decision Correct consequence Unsafe effects
1 GPT-5.6 Sol (xhigh) 60/100 (60%) 79/100 (79%) 21
2 Gemini 3.6 Flash 32/100 (32%) 41/100 (41%) 59
3 Qwen3.6 35B 23/100 (23%) 23/100 (23%) 73
4 Gemma4 e4b 19/100 (19%) 34/100 (34%) 63

With Yuvin

Rank Model Exact decision Correct consequence Unsafe effects
1 GPT-5.6 Sol (xhigh) 69/100 (69%) 99/100 (99%) 0
2 Gemini 3.6 Flash 58/100 (58%) 100/100 (100%) 0
3 Gemma4 e4b 34/100 (34%) 92/100 (92%) 0
4 Qwen3.6 35B 32/100 (32%) 95/100 (95%) 0

All 4 governed runs recorded zero unsafe simulated effects. See the full leaderboard for operational metrics, paired recoveries, regressions, and the benchmark receipt.

Benchmark Scope

The public corpus contains 100 canonical scenarios: 20 each for banking, healthcare, cybersecurity, energy, and software delivery. Every domain contains five scenarios for each governance lens:

  • authority and policy;
  • evidence and provenance;
  • execution and recovery;
  • delayed consequence, obligation, and compensation.

The canonical Consequence Lifecycle pack materializes base, causal-sister, and invariance-sister variants for 300 immutable worlds. Worlds include forged and stale records, identity collisions, conflicting authority, time-sensitive policy changes, long noisy histories, partial effects, retries, crash windows, delayed readback, and compensating actions. All external effects are simulated and evaluator-observable.

The canonical machine-readable identity map is packaged as adaptive_causal/data/archetypes.v1.json. It binds every narrative catalog ID to exactly one executable development-world family. Catalog baseline outcomes and generated variant decisions are deliberately distinct and are never silently compared as the same track.

Quick Start

Python 3.11 or newer is required.

python -m venv .venv
python -m pip install --upgrade pip
python -m pip install -e ".[dev]"
consequencebench validate-scenarios
consequencebench public-controls
consequencebench pressure-controls
consequencebench lifecycle-controls
consequencebench lifecycle-reference-controls

These commands require no model, provider key, governance product, or network access. They validate benchmark structure; they do not evaluate an agent or produce qualification evidence.

Materialize and verify the deterministic 300-world lifecycle pack:

consequencebench lifecycle-materialize-pack --output-dir release/lifecycle-pack
consequencebench lifecycle-verify-pack \
  --receipt release/lifecycle-pack/consequencebench-lifecycle-pack.json

Run the public regression gate:

python -m pytest \
  tests/test_public_repository.py \
  tests/test_scenario_manifest.py \
  tests/test_adaptive_causal_portable_entrypoint.py \
  tests/test_adaptive_causal_package_isolation.py

Evaluate an Agent

Agents participate through a JSONL subprocess adapter. The evaluator sends an episode, owns all tools and source state, enforces budgets, records every attempt, and scores the resulting trace with a deterministic oracle. Candidate code must not read repository files, evaluator state, other-arm traces, or private oracle material.

consequencebench pressure-agent \
  --agent-manifest agent-manifest.json \
  --agent-command-file agent-command.json \
  --campaign-id my-development-run \
  --out result.json

Run a candidate that owns the complete mutating consequence lifecycle:

consequencebench lifecycle-agent \
  --agent-command-json '["python","my_lifecycle_agent.py"]' \
  --campaign-id my-lifecycle-run \
  --out lifecycle-result.json

See the Consequence Lifecycle protocol, operator guide, and evaluator handbook before publishing results.

The shortest integration route is documented in Run a Candidate. It includes the subprocess contract, a smoke run, the full development campaign, and the evidence bundle that must be retained.

Questions about an adapter, scenario, or result belong in GitHub Discussions. Reproducible defects and result submissions belong in GitHub Issues.

Governance-System Studies

The universal wheel contains no governance-product runtime, dashboard, provider, or credential dependency. It includes the product-neutral deterministic oracles, lifecycle contracts, and paired-study protocol needed to evaluate a governance system. Product integrations must live outside this repository and must bind the exact benchmark artifact, candidate artifact, and governance-system build used for the run.

An external governed adapter must preserve the frozen candidate proposal, world snapshot, model, tools, budgets, faults, and retry policy. It may mediate consequences, return structured proof holds, and expose independently measurable readback, but it may not edit candidate reasoning or oracle truth.

Repository Layout

src/                  canonical installable public implementation
tests/                public and benchmark-development regressions
scripts/              evaluator, evidence, and release commands
docs/                 protocol, scoring, operations, and limitations
results/               public summary receipts for completed development runs
runs/                  ignored raw local development evidence
.github/               CI and contribution templates

The public wheel excludes vendor-specific arms and private qualification evidence. The deterministic repository exporter also excludes local runs, databases, caches, provider experiments, and historical research controls.

Compatibility Identifiers

The ycb100 CLI alias and ycb100.* machine schema identifiers remain supported for receipts produced before the ConsequenceBench research rename. They are compatibility contracts, not the public benchmark name. New operator documentation and examples use consequencebench.

Build a Clean Release

python -m build --sdist --wheel
python -m twine check dist/*
python scripts/build_public_repository.py --out release/consequencebench-0.1.0

The exporter uses an explicit allowlist, scans credential-like markers, hashes every source file, and creates a deterministic ZIP plus integrity receipt. Always publish the generated release archive, never a ZIP of the working directory.

Result Reporting

Every public result must include:

  • ConsequenceBench version, source commit, wheel hash, and scenario-manifest hash;
  • complete agent implementation and model configuration hashes;
  • tool policy, prompt, budget, retry, fault, seed, and trial manifests;
  • all attempts, including malformed outputs and timeouts;
  • separate official scorecards for the selected study tracks;
  • hard counters and confidence intervals;
  • an explicit DEVELOPMENT_ONLY or independently qualified claim label.

LLM reviewers may explain traces but cannot change deterministic hard scores.

Documentation

License

Code and documentation are available under the MIT License.

About

Open benchmark for whether AI agents leave external systems in the correct state—testing authority, evidence, retries, readback, obligations, and unsafe effects.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages