Set up a benchmark workspace
In real runs How we measure Octryx AI against a coding agent on its own, every setting we use, and how to run it yourself. The results are on Status and results.The workspace
| Setting | Value |
|---|---|
| Workspace | "Octryx Bench", on a local stack on one Mac |
| Data class | Internal |
| Coding agent | Claude Code on a person's Claude subscription (seat); every case runs Sonnet 5.5 |
| Review | on the seat, with the platform's default review model (Sonnet 5.5), no Workspace override; an admin can change the default for the installation, and a Workspace or a workflow step can override it |
| Workflows | bugs: Bug fix with a reproduction test; stories: Story / epic delivery, both the shipped definitions |
| Size classes | from the workflow definition, default M; the bug cases are S, the story cases M |
| Browser and system test | the bug workflow always runs the declared system test, and the bug must be red on the old code first; for stories the browser test is skipped in S unless the item is labelled ui-visible or hands-on |
| Budget | none |
An app that declares no system test counts that criterion as "n/a", listed separately.
The cases
- Three apps in one repository: a Flutter web app (a coffee-brewing app), a small Python app and a small Node app.
- Each case pins a base branch and a base commit. A case is refused when the branch has moved, so it cannot change silently.
- Nightly set: 6 cases, one bug (S) and one small story (M) per stack.
- On-demand set: 11 more Flutter cases, taken from real runs and approved by a person.
- Each case has a fixed clone folder on the device, on the device's folder allow list.
The benchmark repository
The cases are public at github.com/octryx-ai/octryx-bench:
- the three apps on
main; - each case's base as its own branch or tag;
- a copy of the case briefs, the same text the runs start from (some are in German, as they were written).
git clone https://github.com/octryx-ai/octryx-bench.git| Case | Base branch | Commit |
|---|---|---|
| flutter-bug | base/flutter-bug-env | ca315d2cd7fc99d221d6b87304bd3f66dab165b6 |
| flutter-story | base/flutter-story-env | 2d6437e9e4cb1af2466dee82ad425839f7ba17f4 |
| python-bug | base/python-bug-env | 06d99c7103da2d84082b34f19d9bbffc7cfbdc13 |
| python-story | base/python-story-env | 033a3f3d9accfc3c96bcd553cd1605578feabe4c |
| node-bug | base/node-bug-env | d43311f0afcbba49bde863e0597ea3d0ce4e22f2 |
| node-story | base/node-story-env | 16f6cefb833fc2204e9496ecb9df78009f9c486c |
| bug-cof-73 | base/bug-cof-73-env | bff9cf1ef48d4f13ec513a3cad2a526b3b219b8f |
| story-cof-45 | base/story-cof-45-env | 2b8bd43d5f5a88ebb1737f535c3a2a8e862bf7e3 |
| story-cof-46 | base/story-cof-46-env | 1326b808601022494b6d7ec96c4efea8ab5d8649 |
| story-cof-47 | base/story-cof-47-env | 0299d1b54dc0ea7bd83de7751e60dd810554c565 |
| story-cof-48 | base/story-cof-48-env | 7b4f12c30079900b6956fbb76e86adc4c8cd3a04 |
| story-cof-49 | base/story-cof-49-env | 4a33fa1a20ff3ff546d4c1202c63c02199a580f7 |
| story-cof-50 | base/story-cof-50-env | 5e02c9869f008b3f186101047d1ac11ea1aa91bc |
| story-cof-75 | base/story-cof-75-env | 781823b2a205e22aa07350f115bba6448c84d2e1 |
| story-cof-77 | base/story-cof-77-env | 8fd718321c61476095775b15a050069397163f83 |
| story-cof-78 | base/story-cof-78-env | 2a2f0226b7c81eaf07a8cb2107ff02aaaea84e62 |
| story-cof-81 | base/story-cof-81-env | 82fb0fd808fd9453ca1e27582f5aec0af307d96d |
Each base branch is one commit, and cases/cases.json in the repository names the same commit per case. Check out a base before you run its case; the commit must match, or the result is not comparable.
A round
The suite runs nightly, after the merge gate, or on demand, one case after another or all at once. For each case it:
- resets the clone to its base (leftovers are stashed, never deleted);
- creates a new work item through the API;
- starts the run on the device and watches it, with no human step;
- at the end, stops a run that is still open and closes its pull request; the branch stays.
What is measured
Outcome per case
- completed: done, or a pull request is open;
- paused: paused or waiting for a person for more than 3 minutes, with the cause: platform, agent, environment or person;
- failed: stopped, failed, or over the 45-minute limit.
Time and cost come from the run's events: wall time, and cost at list price for seat use, with real API cost reported separately. They are also exported as Prometheus metrics.
A rubric (version 2) checks yes-or-no criteria from the events and the pull request:
- proven: a story counts only with a green last pipeline, nothing unproven, and a new or changed test in the pull request;
- system test green;
- review passed;
- pull request opened;
- no intervention.
Each round, people check 2 sampled cases by hand, and the report shows how often they agree with the rubric.
Compared with plain Claude Code
The same bug and the same story go to plain claude -p with the same model, base commit, brief and machine. Reference figures: the bug in 73 s for $0.26, the story in 208 s for $0.33. The report shows the factor Octryx AI ÷ plain.
Plain runs vary a lot: the same story took between 9.5 and 23 minutes within one hour. Compare against a plain control started at the same time, not only against fixed numbers.
Run a round yourself
The harness that runs the rounds is in the product repository, under scripts/e2e. The cases are in scripts/e2e/cases.json.
You need
- A running stack: see Docker Compose. The demo data is not needed.
- In the Workspace, the workflows Bug fix with a reproduction test and Story / epic delivery, and the seat models admitted.
- A device registered with the stack and running
octryx-claude, with Claude Code signed in to a Claude subscription (Launcher and devices). The cases use the seat and Sonnet 5.5. - One clone folder per case,
<cases_dir>/e2e-<case id>(default~/bench-cases), with a clone ofoctryx-benchand the case's base branchbase/<case id>-envchecked out. Every folder must be on the device's folder allow list. - An admin API key for the stack, in a file:
~/.octryx-e2e/api-key, or the path inOCTRYX_E2E_KEY_FILE. The key is never written anywhere.
Your installation's values go into scripts/e2e/cases.local.json, which Git ignores. cases.json ships with the placeholders <workspace-id> and <device-id>; the local file sets defaults (api, project_id, device_id, cases_dir, stack_checkout), can change single cases under cases, and has an env block. A setting is taken from the environment first, then from that env block, then from the default. The README in scripts/e2e has an example under "Your installation".
| Setting | Default |
|---|---|
OCTRYX_E2E_KEY_FILE | ~/.octryx-e2e/api-key |
OCTRYX_E2E_OUT (the report folder; --out wins) | ./e2e-reports |
OCTRYX_E2E_TRANSCRIPTS | ~/.claude/projects |
OCTRYX_E2E_PROMETHEUS | http://127.0.0.1:24290 |
Run it from the root of the product repository:
python3 -m scripts.e2e.nightly --dry-run # checks cases, folders and bases, starts nothing
python3 -m scripts.e2e.nightly # the 6 nightly cases
python3 -m scripts.e2e.nightly --schedule on-demand # the 11 on-demand cases
python3 -m scripts.e2e.nightly --schedule all --all-parallel # all 17 at once
python3 -m scripts.e2e.nightly --cases flutter-bug # one case by its idWithout --all-parallel, the cases of one stack run one after another, and two stacks run at the same time. For a daily round we use scripts/e2e/nightly-e2e.sh, a scheduler for a Mac (screen session, 03:30). A case whose branch has moved off its base commit, or whose folder is not on the allow list, is not run, and the report says why.
The report lands in the report folder:
latest.mdand<date>.md: the outcome per case (completed, paused, failed), wall time and cost, and the rubric criteria;<date>.json: the source for the trend across rounds;e2e.prom: the same figures as Prometheus metrics;<date>.audit.jsonandreview/index.html: the 2 sampled cases for the check by hand, with a read-only page to go through them;summary.txt: a short summary of the round.
python3 -m scripts.e2e.rescore e2e-reports/<date>.json scores a finished round again with the current rubric.
Do it yourself
The same method on your own repository:
- Pin a base commit.
- Write one bug with a clear reproduction and one small story with at most three acceptance criteria.
- Start plain
claude -pwith the same brief and a run in Octryx AI at the same moment, on the same machine and model. - Compare wall time, cost, and whether the result is proven by tests: a test red on the old code and green with the fix, and the declared tests green.
Run each case more than once: a single run says little.
