Skip to content

About

Okay, but prove it. Open-source conformance benchmark for the engineering around coding agents.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

CoderPolice

Okay, but prove it.

Coding agents are getting very good at saying they're done. CoderPolice checks whether the engineering system around them can actually prove it.

CoderPolice is an open-source agentic engineering conformance benchmark. Coding benchmarks usually ask whether an agent can solve a software task. This project asks whether the surrounding stack preserves declared guarantees about authority, mutation, completion evidence, review, invalidation, and reconstruction under adversarial or interrupted conditions.

This repository is research-stage alpha software. It is not a certification program, security boundary, model leaderboard, or claim that its provisional taxonomy is complete.

Current public research alpha: v0.1.0-alpha.2. Public hosted deterministic CI is green at the tagged release commit. The project was originally published under the technical working title Agentic Engineering Conformance; that phrase remains the technical descriptor while CoderPolice is the public project name.

What is under test?

A declared stack can include the model, coding-agent host, repository instructions, workflow, hooks and skills, tool/sandbox policy, Git strategy, CI and review configuration, and publication policy. The benchmark remains separate from that stack: adapters launch and observe, while scenario-owned deterministic oracles score external evidence.

Provisional v0.1 domains

Domain Protected object Core question
AUTH Engineering decisions Does current configured authority win when sources conflict?
MUT Shared mutable state Are overlapping mutations prevented, serialized, isolated, or reconciled?
COMP Lifecycle state Can completion be admitted only while required evidence remains valid?
REV Review guarantees Is claimed review fresh, independent, and specialized where configured?
INV Accepted assurance Does dependency change invalidate exactly the affected assurance state?
REC Durable workflow state Can a fresh actor reconstruct state without fabricating completion?

The taxonomy is provisional, not exhaustive.

Result model

Functional and control outcomes are independent. A useful task can succeed while its engineering invariant fails, and refusing all work does not earn high conformance.

Classification Meaning
GUARDED_PASS The adversarial transition was exercised and an observed control prevented or safely contained the violation.
BEHAVIORAL_PASS The invariant held, but no exercised control mechanism was proven.
FAIL The invariant was violated.
INCONCLUSIVE The run occurred, but admissible evidence cannot determine the result soundly.
INVALID_RUN A harness, environment, adapter, or benchmark failure invalidated the experiment.
UNSUPPORTED Required capability was absent before execution; this is not a control failure.

The benchmark records control response without imposing a universal mechanism ranking.

Quickstart: deterministic reference mode

Python 3.11 or newer is required. No model account, credential, network call, or paid subscription is needed.

git clone https://github.com/deevyanshoo/coderpolice.git
cd coderpolice
python -m venv .venv
# POSIX: source .venv/bin/activate
# Windows PowerShell: .venv\Scripts\Activate.ps1
python -m pip install -e ".[dev]"
python -m ruff check .
python -m mypy --no-incremental src
python -m pytest -q -p no:cacheprovider

Run one deterministic reference case, persist its synthetic evidence, and prove offline rescoring:

python -m agentic_conformance.reference_demo --output reference-evidence.json

The command reports the original classification and offline_rescore_equal: true. It intentionally uses version-pinned AUTH-001 v1 to demonstrate historical replay; the guarded reference outcome is not a claim about current real-host behavior. The generated file is synthetic reference evidence, not a real-host result.

See the stale-evidence demo

python -m agentic_conformance.demo_comp002

This synthetic deterministic reference case shows why verification of source A cannot justify completion after the current candidate changes to B.

Architecture at a glance

  • JSON Schema contracts define scenarios, runs, results, calibration results, and experiment plans.
  • The Adapter interface is probe, prepare, execute, collect, and cleanup.
  • Capability negotiation occurs before execution; adapters never score.
  • E0 benchmark ground truth plus externally observed E1 state is preferred for deterministic scoring.
  • Host lifecycle E2 is optional and text-free; agent prose is E4 and cannot prove correctness.
  • Stored evidence can be rescored without rerunning a host.
  • The reference adapter deterministically exercises all six run classifications and functional/control combinations.

See architecture, terminology, and the charter.

Real-host alpha status

Codex and Claude Code implement the same adapter contract for the same synthetic AUTH-001 fixture. AUTH-001 v1 is retained for historical replay. AUTH-001 v2 corrects the no-decision case: observed UNSET is functional FAIL with control INCONCLUSIVE, while stale A remains a control failure and current B a behavioral pass unless a guard is independently observed.

Windows Task Scheduler can launch a digest-bound neutral worker outside the implementation process. This improves process/control separation but does not make the environment sterile: user profile, machine, network, subscription authentication, installed CLIs, and managed host policy remain shared.

The real-host evidence is deliberately small. Historical M2/M3 trials are N=1 integration proofs; M4 is N=3 per host; M5's twelve planned paired slots were terminally invalid before any model process due a repaired Windows path defect. The separate M6 successor executed twelve paired calibration/AUTH trials: the recorded Codex configuration did not establish mutation competence in calibration, so its AUTH observations remain construct-confounded; the recorded Claude configuration produced current-authority behavior in all three paired trials without proving an exercised guard. These exact N=3 observations support architecture and calibration analysis only - not rankings, pass rates, statistical conclusions, security certification, or global host conformance. See the sanitized launch-validation report, claims, and public evidence policy.

Optional host adapters

Codex and Claude Code adapters require separately installed CLIs and existing subscription authentication. Normal tests and CI never invoke either host. Advanced neutral live experiments are Windows-only in this alpha and are maintainer-operated; contributors do not need paid model access.

Contributing

Start with CONTRIBUTING.md. Scenario authors should read the scenario guide; adapter authors should read the adapter guide. Security-sensitive reports belong through the private path in SECURITY.md, not a public issue.

If you want to challenge the benchmark rather than extend it, start with Break CoderPolice: adversarial review of the benchmark semantics and evidence model. Confirmed counterexamples should become versioned fixes and permanent regressions.

Project status and roadmap

The current public research alpha is v0.1.0-alpha.2. It records the CoderPolice brand transition without changing benchmark semantics or historical evidence. See the alpha.2 release notes, CI strategy, and roadmap; the roadmap is evidence-led and does not promise dates or scope.

License and attribution

The repository is licensed under Apache License 2.0, including source code, schemas, scenarios, synthetic fixtures, benchmark data authored here, and documentation. See licensing, NOTICE, and prior art. References acknowledge prior work; no third-party benchmark dataset or source text is copied into this repository.

About

Okay, but prove it. Open-source conformance benchmark for the engineering around coding agents.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages