Aethens

Open sourceApache-2.00.1.0Python tasks

Audit the tests that score your agents.

Aethens is an open-source Python CLI and GitHub Action that audits the verifiers of RL environments and code-task benchmarks by running them in a Docker sandbox. Every finding comes with evidence and a one-line repro command. The checks themselves have published precision and recall you can reproduce.

v0.1.0 is on PyPI. Needs Docker and Python 3.11+. No LLMs, no network access for task code, no telemetry.

Install and run

pipx install aethens
docker pull python:3.12-slim
aethens audit path/to/task --format markdown

uv tool install aethens and pip install aethens install the same release. From a clone, python -m pip install .

GitHub Action

- uses: beastrog/aethens@v0.1.0
  with:
    path: path/to/tasks
    budget: standard
    fail-on: error
    seed: "0"

Marketplace, tag v0.1.0.

Precision
1.0
Recall
1.020/20 planted defects
False positives
0
Reward-hacking
116/116

Internal self-authored bench, 34 tasks, seed 0, budget standard. hosted CI, 27 Nov 2026. External-bench figures, including a weak C004 precision of 0.8158, are in Published accuracy.

01 The problem

If the tests that judge an agent are wrong, the leaderboard is too.

Reinforcement-learning environments and coding benchmarks score a policy by running a verifier: a test suite, a grader, a reward function. When those tests accept a wrong solution, reject a correct one, or change their verdict from run to run, training and evaluation are measuring the wrong thing.

This is already documented in public sources. The citations below are from those sources, not from an Aethens audit of the same benchmarks — Aethens has not published findings on them.

  • OpenAI, Feb 2026

    OpenAI explained why it no longer evaluates on SWE-bench Verified. It had audited 27.6% of the Verified set and found that at least 59.4% of the audited problems had tests that reject functionally correct submissions.

    openai.com — retirement post

  • SWE-Bench+, 2024

    The SWE-Bench+ paper reported that 31.08% of “resolved” patches passed through weak tests, and that 32.67% copied solutions leaked in issue text.

    arXiv:2410.06992

  • EvalPlus / HumanEval+

    EvalPlus’s HumanEval+ adds roughly 80× more tests than the original HumanEval suite — public evidence that widely used coding tests can be incomplete. Aethens uses HumanEval+ only as an outside oracle for its own mutation check.

    github.com/evalplus/evalplus

02 The checks

Seven checks, each with a stated limit.

Aethens does not prove a verifier is sound. No findings means only that these checks found nothing at the chosen budget and seed. It is not a sandbox product: task code runs in Docker with a locked-down configuration that reduces risk but is not a guarantee.

Accept correct solutions

C001

Gold sanity

Runs the unsolved starting state (must fail) and the reference gold solution (must pass), once each.

Can catch
Tests with no real assertions; a broken gold solution or a wrong file layout.
Cannot catch
Defects that only show on some runs — see C002.

C006

Over-specified tests

Reruns the gold after behaviour-preserving rewrites: reformat, local renames, swapping adjacent constant assignments, turning an append loop into a comprehension, if/else inversion. A rejection must reproduce, and the gold must still pass.

Can catch
Tests that read the gold’s source, line numbers, local variable names or code shape, and would reject a correct solution written differently. Findings are warnings and need review.
Cannot catch
Over-strict tests on behaviour the statement leaves open, such as exact messages or float digits (use C003). Rewrites it cannot prove safe are skipped. The five rewrites are argued and tested to preserve behaviour, not machine-proved.

Reject wrong solutions

C003

Labelled candidates

Runs each candidate in candidates/valid and candidates/invalid.

Can catch
False rejects (over-strict tests) and false accepts (weak tests), but only as good as the labels you provide. llm-unreviewed labels give warnings marked needs-review.
Cannot catch
Anything for which you have no labelled candidate. Aethens does not decide whether a solution is correct.

C004

Mutation probes

Runs up to 5, 10 or 30 AST mutants of the gold solution, depending on the budget (smoke, standard, deep).

Can catch
Behaviour the tests never check (surviving mutants, reported at info level).
Cannot catch
Equivalent mutants look like weaknesses. A killed mutant does not prove the tests are strong. See the accuracy section for published precision on HumanEval, with and without the equivalent-mutant filter.

C007

Reward-hacking probes

When the unsolved starter fails, runs candidates that do not solve the task, in the same sandbox: os._exit(0) on import, an atexit hook forcing exit 0, a unittest patch that reports success, a sitecustomize.py hook, functions returning an object equal to everything, and a lookup table of the visible tests’ literal answers. An accepted probe must pass twice.

Can catch
Verifiers a policy can game without solving the task (error). The lookup-table probe is a warning, needs review, since it matters only when tests are visible.
Cannot catch
Other gaming routes. Pytest conftest.py hooks are not probed. A verifier that resists these probes can still be gamed. Almost every plain python -m unittest verifier is gameable by the exit-code probes, so expect C007 errors until the harness judges results outside the solution’s process.

Behave the same on every run

C002

Adaptive flakiness

Runs the gold at least 3, 5 or 10 times (smoke, standard, deep), varying only PYTHONHASHSEED. While every run agrees it keeps going — up to 6, 11 or 59 runs, or 120, 300 or 1800 seconds — until it can state a flake rate below 0.5, 0.25 or 0.05 at 95% confidence (exact binomial bound, recorded in the report’s coverage list).

Can catch
Verdicts that depend on set or dict ordering or hash(). Flips rarer than a fixed run count could see.
Cannot catch
Flakiness from time, unseeded randomness or scheduling, except by chance. A flake rate below the stated bound. The time budget can stop the check before the target bound. The bound assumes independent runs.

C005

Test order and isolation

Reruns the gold’s tests in their default order, reversed, in 1, 2 or 5 seeded shuffles, and each test alone (up to 10, 30 or 200), all with the same PYTHONHASHSEED. A changed verdict must reproduce on a second run.

Can catch
Tests that pass only because an earlier test left state behind, or that break when another test runs first.
Cannot catch
Orders it did not try. Verifiers other than python -m unittest (the check reports that it checked nothing).

03 Published accuracy

Numbers you can regenerate, including the weak ones.

The brand claim is accuracy you can verify. Both benches below were generated from JSON checked into the repository. The figures on this page are produced at site build time from those files, not typed in by hand. The internal bench is labelled hosted CI, 27 Nov 2026; the external bench is labelled committed 27 Nov 2026, in 4d75c86.

Internal bench

34 self-authored tasks (15 clean controls, 19 with planted defects). aethens 0.1.0.dev0, seed 0, budget standard. hosted CI, 27 Nov 2026.Self-authored bench of small original tasks with planted defects. Figures match the bench-results artifact of GitHub Actions run 45969249199 on beastrog/aethens (push to main of 4d75c86, 27 Nov 2026; aethens 0.1.0.dev0, seed 0, budget standard), identical to bench/results.json: precision 1.0, recall 1.0 (20/20), 0 false positives, info findings on controls 6, C007 116/116.

Precision

1.0

Recall

1.0

20/20 planted defects

False positives

0

on clean controls

Known misses

0

in this run

Planted defects found, by class
Defect classFound / planted
weak-tests3/3
over-strict5/5
flaky3/3
no-assertions2/2
broken-gold2/2
order-dependence5/5
Planted defects found, by check
CheckFound / plantedFalse positives
C0014/40
C0024/40
C0034/40
C0041/10
C0054/40
C0063/30

Unexpected error/warning findings on defective tasks: 3. Info findings on controls: 6 (typically C004 surviving mutants, which may be equivalent to the gold and are not counted as false positives).

Reward-hacking probes (C007)

Scored separately. Each task lists the probe categories that should get through its verifier. hosted CI, 27 Nov 2026.

Recall

1.0

116/116

Precision

1.0

False positives

0

C007 results by exploit category
CategoryFound / labelledFalse positives
exit-zero30/300
atexit-override30/300
framework-patch30/300
sitecustomize-hook1/10
always-equal15/150
hardcoded-visible10/100

External bench — and the weak number

The internal bench can only show that Aethens finds defects its authors planted. The external bench runs Aethens on public tasks it did not write, and judges C004 with an outside oracle: EvalPlus HumanEval+ tests. 164 HumanEval tasks (MIT), seed 0, budget standard, exhaustive mutation on. committed 27 Nov 2026, in 4d75c86.

C003 was not run (HumanEval has no labelled candidates). C007 was not run (the verifier is Aethens' own unittest conversion, so probe results would describe the converter, not HumanEval). 20 tasks whose original canonical solution fails the HumanEval+ oracle are excluded from C004 precision and recall.

C004 precision

0.8158

31 of 38 surviving mutants rejected by HumanEval+

C004 recall

0.8

24 of 30 weak tasks found at budget standard

C004 precision is 0.8158 with the equivalent-mutant filter:31 of 38 mutants that HumanEval’s own tests accepted are rejected by HumanEval+. The other 7 were not confirmed by the oracle. Without the filter, on the same run, precision is 0.4615 and recall is 0.8667: the filter hid 51 survivors, 5 of which HumanEval+ rejects. A surviving mutant is not, by itself, evidence of a weak test. We publish both figures.

Checks without labels in this data are treated as presumed clean; no precision is claimed from zero findings. Error/warning findings on those checks: C001 0, C002 0, C005 0. 20 tasks whose original canonical solution fails the HumanEval+ oracle are excluded from C004 precision and recall.

How to reproduce

From a checkout of beastrog/aethens, with Docker available. The internal bench and a six-task external sample are part of make check. The full 164-task external run needs a network fetch of the pinned HumanEval and HumanEval+ files the first time.

Internal bench

python bench/run_bench.py
# writes bench/results.json; then
python bench/render_readme.py

External bench (full)

python bench/external/fetch.py
python bench/external/convert.py
python bench/external/run_external.py --full --exhaustive --workers 6
python bench/external/render_external.py

To refresh the numbers on this website after those files change, from the website folder run npm run numbers (or just npm run build). Then update the date labels in website/data/bench/meta.json so they still match how the results were produced.

04 Comparison

What other free auditors already do — and what they don’t publish.

Feature lists are easy to copy. The comparison below is factual, linked, and surveyed 18 Nov 2026 from public GitHub READMEs, arXiv, and project blogs, recorded in docs/COMPETITIVE.md. Where a claim comes from a project’s own README or paper, it is that project’s claim and has not been reproduced here.

Comparison of Aethens with rlgate, BenchJack and Assay as of 18 November 2026
CapabilityAethensrlgateBenchJackAssay
What it isPython CLI and GitHub Action that runs a task’s tests in DockerPython CLI (Harbor, SWE-bench, MiMo, YAML layouts), GitHub Action, on PyPI as 1.0.0Hackability scanner: static tools plus Claude Code or Codex agents. Paper: arXiv:2605.12673Probe battery plus an LLM “auditor” that emits an Environment Card
Findings proven by executionYesYesPoCs, in partYes (probes)
Gold / baseline sanityC001Yes (5 runs each)Not seenPartial
FlakinessC002, with a stated 95% confidence boundYesNot seenNot seen
Test order and isolationC005Not seenNot seenNot seen
Weak tests (false accepts)C003, C004, C007YesPartialYes
Over-strict tests (false rejects), no LLMC006 rewrites; C003 if you supply labelsOnly with the optional LLM layerNot seenNot seen
Reward-hacking probesC007 (six families)Yes (exit 0, hooks, always-equal, hardcoded answers, and more)YesYes
Solution / answer leakageNot builtYesYesNot seen
Published accuracy of the auditorOwn planted-defect bench, and HumanEval judged by HumanEval+README: “Not yet built: dedup and calibration.”Not seenDeterministic precision 0.757 on its own 33-environment, 54-defect corpus (project’s claim). No public-data calibration seen.
LLM required?NoOptional --deep-reviewAgents used for exploitationLLM auditor arm; probes can run without it
LicenceApache-2.0MITApache-2.0Apache-2.0
Where Aethens is behindOwn task format only; no leak scanner; no Harbor or SWE-bench adapter yetBroader task formats, leak detection, a 1.0 PyPI releaseA published paper and a community audit archive (1 audit when surveyed)A browser demo; scores itself under cost profiles on its own corpus

Aethens does not claim to have more probe families than these tools. Several already ship reward-hacking probes. The difference we are willing to put a number on is published, reproducible accuracy — including the weak C004 precision on public data.

05 An example report

Every finding carries evidence and a command you can paste.

This is a real report, not a mock-up. It was produced by running Aethens on a planted test-order defect in the self-authored bench. local run, 27 Nov 2026. Tool aethens 0.1.0.dev0, budget smoke, seed 0. Duration on that machine was 32.1 seconds and will vary.

Reproduce this report

aethens audit bench/tasks/order-alphabetical --check C005 --seed 0 --budget smoke

Aethens report

Tool aethens 0.1.0.dev0 · Budget: smoke · Seed: 0 · Checks run: C005 · Tasks: 1 · Duration: 32.1s

1 error, 0 warning, 0 info

Findings summary
SeverityCheckTaskTitle
errorC005order-alphabeticalTest verdict depends on test order or isolation: test_reg.TestRegistry.test_b_lookup

errorC005order-alphabetical

test_reg.TestRegistry.test_b_lookup gives 'pass' in the verifier's default order but a different verdict in reversed order: error; in shuffled order (driver seed 4228934073): error; alone in a fresh process: error. It passes only because of state left behind by tests that run before it in the default order (or it is broken by tests that run before it in another order). Solutions are judged by an accident of test order. Both the baseline and the changed order were run twice with the same PYTHONHASHSEED and gave the same verdicts.

  • Observed: default order: pass; in reversed order: error
  • Subject: test:test_reg.TestRegistry.test_b_lookup; confidence: confirmed; seed: 0
  • Command: python .aethens/order_driver.py reverse -- discover -s tests
  • Limits: Orders tried: default, reversed, 1 seeded shuffle(s) and up to 10 tests alone (budget smoke). Dependence that only shows in an order not tried is missed, and so is a run that crashes before reporting per-test verdicts. The driver adds .aethens/ to the work directory; tests that list the work directory could notice it.

Reproduce

aethens audit bench/tasks/order-alphabetical --check C005 --seed 0 --budget smoke

stderr (tail)

test_b_lookup (test_reg.TestRegistry.test_b_lookup) ... ERROR
test_a_register (test_reg.TestRegistry.test_a_register) ... ok

======================================================================
ERROR: test_b_lookup (test_reg.TestRegistry.test_b_lookup)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/work/tests/test_reg.py", line 14, in test_b_lookup
    self.assertEqual(lookup("x"), 1)
                     ^^^^^^^^^^^
  File "/work/reg.py", line 9, in lookup
    return _REGISTRY[name]
           ~~~~~~~~~^^^^^^
KeyError: 'x'

----------------------------------------------------------------------
Ran 2 tests in 0.001s

FAILED (errors=1)

The full markdown, exactly as the CLI printed it, is checked into data/report-order-alphabetical.md in this website repository. A shorter C001 example on brokengold-offbyone is in data/report-brokengold-offbyone.md.

06 Work with us

The CLI stays free. Expert audits are available for teams that want a reviewed report.

Aethens is Apache-2.0 and will remain a free, local tool. If you want a reviewed audit of a verifier, task suite or RL environment you already run, start a discussion. A hosted CI product — running the heavy checks on shared machines, with history and a verified badge — is planned and not available yet.

Expert audits

Work with us

A reviewed audit of a verifier, task suite or RL environment. The deliverable is a report with evidence, repro commands, and a written judgement of what was and was not in scope. Pricing is not published on this site.

Open a GitHub Discussion

Not available

Hosted CI

A hosted GitHub integration that would run Aethens on shared machines, keep audit history, and issue a verified badge. It does not exist yet. There is no product and no signup form. If you want to hear when it exists, say so in a discussion.

Discuss hosted CI

07 Open source

Apache-2.0, no LLMs, no telemetry, no network for task code.

The code, benches, check definitions and this website’s number-generation script are public. Status today: 0.1.0 on PyPI, Python tasks only. Rootless Docker, Docker Desktop and Podman are untested. Aethens is not a sandbox product and does not decide whether a solution is correct.

github.com/beastrog/aethens