Skip to content
AI NEWS JOURNAL
Hacker News Show HNAI NEWS / JOURNAL

Show HN: Aethens – audit the tests that score coding agents

Article URL: https://github.com/beastrog/aethens Comments URL: https://news.ycombinator.com/item?id=50680863 Points: 2 # Comments: 0

Audit the tests that score your agents. 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. Real report from aethens audit bench/tasks/order-alphabetical --check C005 --seed 0 --budget smoke (local run, 27 Nov 2026, aethens 0.1.0.dev0). Not a mock-up. Status: first release (0.1.0), Python tasks only. Licence: Apache-2.0. No LLMs, no network access for task code, no telemetry, no hosted service yet. Use it before you train or evaluate on a set of coding tasks, to find tests that accept wrong solutions, reject right ones, or give different answers on different runs. Quickstart Needs Docker and Python 3.11+. pipx install aethens docker pull python:3.12-slim uv tool install aethens and pip install aethens install the same v0.1.0 release. From a clone, python -m pip install . installs that checkout instead. The example tasks are in the repository: git clone https://github.com/beastrog/aethens.git cd aethens aethens audit examples/add-two --format markdown The example task is clean, so this prints a report with no error or warning findings (C004 may list info-level surviving mutants) and exits 0. Try a planted defect: aethens audit bench/tasks/brokengold-offbyone --check C001 --format markdown This exits 1 and reports "Gold solution fails the verifier", with the verifier's output and a repro command you can paste. Useful options: --budget smoke|standard|deep, --fail-on error|warning, --format json|markdown, --seed N, --check C00X (repeatable), --output FILE. Exit codes: 0 pass, 1 findings at or above --fail-on, 2 tool error (including Ctrl-C and SIGTERM), 3 the gold solution timed out. --unsafe-local runs task code directly on your machine without container isolation, with a scrubbed environment and timeouts. Only use it on code you trust. GitHub Action (Marketplace), tag v0.1.0: - uses: beastrog/aethens@v0.1.0 with: path: path/to/tasks budget: standard fail-on: error seed: "0" Tasks use the aethens-task/v1 directory format: docs/task-format.md. Reports follow aethens-report/v2: docs/report-schema.json. Findings These notes name defects in other people's benchmarks. The Terminal-Bench 2 converter and the SWE-bench patch probes that surfaced them are not part of the v0.1.0 release. Each result was confirmed with that benchmark's own harness, not with Aethens' grader. Policy for findings that are not yet public: docs/DISCLOSURE.md. The same text is on the site: Findings. Harness commands: docs/reproduce-findings.md. Terminal-Bench 2. A broken solution scored full reward: 3 of 3 tests passed, reward 1. Confirmed with Terminal-Bench's own harness. SWE-bench Verified. Wrong patches were graded resolved on 9 instances: 8 test gaps across 4 repositories (sphinx-doc, astropy, django, and pydata/xarray), plus a log-parser bug on sympy__sympy-14248. parse_log_sympy keys results by bare test name, so a later file that shares the name can leave a failing test recorded as passed. Reported to the SWE-bench maintainers in issue #733. Confirmed with swebench.harness.run_evaluation from swebench 5.0.2. django__django-16631 is one of those test gaps. The instance tests do not check that a password change logs the user out, so a patch that leaves the session authenticated is graded resolved. That is a gap in the instance tests, not a Django security issue. How it fits together flowchart LR task["Task directory aethens-task/v1"] --> cli["aethens audit"] cli --> sandbox["Docker sandbox no network, locked down"] sandbox --> checks["Checks C001–C007"] checks --> report["Report JSON / Markdown evidence + one-line repro"] The CLI loads a task, runs its verifier inside a locked-down Docker container, and writes a report. It does not decide whether a solution is correct, and it is not a sandbox product: see SECURITY.md. It does not decide whether a solution is correct. Checks that judge candidates (C003) rely on the labels you provide, and every such finding says so. It 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. It runs untrusted task code in Docker with a locked-down configuration (see SECURITY.md); that reduces risk but is not a guarantee. No LLMs, no network access for task code, no telemetry, no hosted service yet. Seven checks, each with a stated limit. Expand a row in the full table or read the summaries below. Published accuracy The bench is self-authored: small original tasks written for this project, with defects planted on purpose (task list and expected findings: bench/manifest.yaml). Its numbers show whether Aethens catches the defects that were planted. They do not measure real-world recall on other people's benchmarks. The tables below are generated from the JSON in this repository, never typed by hand. Internal-bench figures match the bench-results artifact of GitHub Actions run 45969249199 (push to main of 4d75c86, 27 Nov 2026; aethens 0.1.0.dev0, seed 0, budget standard). Generated from bench/results.json (aethens 0.1.0.dev0, seed 0, budget standard) by bench/render_readme.py. Bench: 34 self-authored tasks, 15 clean controls and 19 with planted defects. Known misses in this run: Reward hacking (C007), scored separately: each task lists the probe categories that should get through its verifier (labels in bench/manifest.yaml). Overall: recall 1.0 (116/116), precision 1.0, false positives 0. Accuracy on public data Aethens did not write The bench above is self-authored, so it can only show that Aethens finds what its authors planted. The external bench runs Aethens on public tasks and judges the results with an outside oracle. Method, ground truth and caveats: bench/external/README.md. Full write-up: docs/EXTERNAL_BENCH.md. The 164-task figures are taken from bench/external/results.json as committed in 4d75c86 on 27 Nov 2026. The full run is not regenerated by GitHub CI (make check runs a six-task sample only). Hosted CI run 45969249199 is the main-branch check of that commit. Generated from bench/external/results.json by bench/external/render_external.py (aethens 0.1.0.dev0, seed 0, budget standard). On 164 HumanEval tasks (MIT), judged by EvalPlus's HumanEval+ tests (Apache-2.0) as an outside oracle: C004 precision 0.8158: 31 of 38 mutants that HumanEval's own tests accepted are rejected by HumanEval+. C004 recall 0.8 relative to exhaustive mutation (24 of 30 weak tasks found at budget standard). Without C004's equivalent-mutant filter (same run): precision 0.4615, recall 0.8667; the filter hid 51 survivors, 5 of which HumanEval+ rejects. Error/warning findings on checks without labels in this data (presumed clean): C001 0, C002 0, C005 0, C006 0. Details: docs/EXTERNAL_BENCH.md. Compared with other auditor tools Capabilities below are taken from docs/COMPETITIVE.md, researched from public GitHub READMEs, arXiv, and project blogs on 18 Nov 2026. Where a claim comes from a project's own README or paper, it is that project's claim and has not been reproduced here. Star counts are omitted because they go stale. Aethens does not claim to have more probe families than these tools. Several already ship reward-hacking probes. The difference we put a number on is published, reproducible accuracy — including C004 precision on public data, with and without the equivalent-mutant filter. Where Aethens is behind, as of that survey: own task format only; no leak scanner; no Harbor or SWE-bench adapter yet. v0.1.0 is on PyPI. C005 reorders tests only for python -m unittest verifiers, and only tries the default order, reversed, a few seeded shuffles and each test alone; other orders are not tried. C006 only catches tests coupled to implementation details (source text, line numbers, local names, code shape). Its five rewrites are argued and tested to preserve behaviour, not machine-proved, and it skips every site it cannot show is safe. Its findings need review: a statement may legitimately require an implementation detail. C002 is still statistical: without a finding it states only that the flake rate is below a bound (0.25 at 95% confidence at the default budget, 0.05 at deep), assuming independent runs. A rarer flake can pass unseen, and the time budget can stop it before the target bound. C007 tries six probe families; resisting them does not prove a verifier cannot be gamed. It does not probe pytest conftest.py hooks. Almost every plain python -m unittest verifier is gameable by its exit-code probes, so expect C007 errors on most tasks until the harness judges results outside the solution's process (see bench/tasks/ctrl-hardened-harness for one way). Python tasks only; verifiers must be runnable as a command inside a Docker image with no network. Tested on Linux with Docker Engine. Rootless Docker, Docker Desktop and Podman are untested. Reproducing findings on other benchmarks The public notes are the Findings section above and the site Findings page. Harness commands, and what is not in this repository, are in docs/reproduce-findings.md. Those notes are separate from the accuracy tables above, which measure this repository's own bench. Contributing, security and disclosure See CONTRIBUTING.md, SECURITY.md, CODE_OF_CONDUCT.md, the documentation index in docs/README.md, and the disclosure policy for findings about other people's benchmarks in docs/DISCLOSURE.md. The marketing site is at beastrog.github.io/aethens. Questions and audit enquiries: GitHub Discussions. Founder: Ani Dey.

Sources

Read original ↗

Related topics

← Continue to all updates