
Interactive Debugging Environments: Green Tests, Broken Apps
Annie Hua
Jay DeyDebugging In An Existing Codebase
Frist builds reinforcement learning environments at internet scale containing pixel perfect applications to power the next generation of coding and computer-use agents.
To help models generalize, our applications cover economically valuable workflows across industries, product domains, and feature types.
Coding agents today handle greenfield development well. We explore their ability to resolve bugs or surgically add features in a functioning codebase without introducing regressions.
The tasks in our evaluation set resemble tickets a mid-level software engineer would typically handle, built with a ProgramDistill-inspired approach: we remove a feature from, or plant a bug in, a working app. While that makes them narrower in scope, the resulting tasks share key aspects of what makes leading public benchmarks hard: like SWE-Marathon's product clones, they are full-stack apps graded through the browser; like DeepSWE v1.1, they ask for changes to an existing codebase checked by hidden and regression tests.
We find that models struggle with these tasks in three recurring ways: they leave parts of the flow they change untested, they break or overwrite neighboring functionality, and they report their work as tested and done when it isn't.
How We Structure Tasks
Each ticket is a feature request or a customer's bug report. The agent gets what an engineer would have:
- The ticket, stating the expected behavior and every value the checks look for, without naming files or the cause.
- The codebase, which runs as the app with the feature missing or the bug in place, with no git history or internet.
- A browser to perceive the app as a developer would and design screenshots for screen changes.
- Standard tools: a shell, an editor, search and sub-agents, with 90 minutes to finish.
The change is then judged the way a QA test engineer would evaluate the feature or fix. The ticket's user journeys replay in a browser on held-out inputs, regression journeys cover the rest of the app, and the tests expect the app's existing components and labels. Grading is deterministic: the original code passes every task and the broken app fails it.
Sample Tasks
Below are three model attempts from our evaluation: one successful attempt and two failures on tickets an engineer might encounter in a working app.
OpenTable · Feature request
Open a restaurant's details and photo gallery from search
The same task Grok takes on next. Opus 5.5 solved all three rounds; the other four models failed every round.
Task summary of a feature request with two acceptance criteria.
- Rounds passed
- 3/3
- Model
- Opus 5.5
- Checks passed
- 29/29
Final State
PassedRounds
Opus 5.5 passed 3 of 3 rounds on this task; the round shown is R1. A round passes only when every check passes.
| Model | Round | Checks |
|---|---|---|
| Opus 5.5 | R1 | 29/29 passed |
- Cost
- $3.20
- Time
- 19 min 57 s
- Turns
- 68
- Tool calls
- 70
- Edits
- 31
Highlights · Run 1
Selected steps, summarized from the recorded transcript. The closing excerpt is the model's own statement.
Steps 1–16 · Find the gap
The result cards link nowhere, and the route for restaurants without a stored page renders nothing.
Step 25 · Model's reasoning
“Reusing an existing stored page as a template and swapping in text feels hacky since it'd leave mismatched descriptions and reviews.”
Steps 26–52 · Build it
It keeps a stored page's structure but fills every field from Grill 23's own data, drops sections it has no data for, and adds an enlarge view.
Steps 53–67 · Use it like a customer
In the browser it catches the gallery showing 5 of 6 photos and fixes it, checks where every result card links, then runs the tests and a phone-width layout.
Closing · Model's statement
“`bun test` passes, but those are the existing 2 tests; I didn't add tests for the new parts.”
The ticket, as the model received it
Loading…
Full trajectory · loading
Loading…
How this run is graded
29/29 checks passedHeld-out browser journeys replay against the agent's final code: 2 for this feature and 27 regression journeys.
Opus reported what it hadn't covered: the existing tests pass, but it added none for the new parts.
Checks
The task's two feature checks are listed; all 27 regression journeys also passed.
- 1Open Grill 23 & Bar: details and availabilityPassed
- 2Open Grill 23 & Bar: photo galleryPassed
OpenTable · Feature request
Open a restaurant's details and photo gallery from search
Open a restaurant from search results to see its details, reservation times and photo gallery. Only Opus 5.5 passes; the other four fail every round.
Task summary of a feature request with two acceptance criteria.
- Rounds passed
- 0/3
- Model
- Grok 4.6
- Checks passed
- 27/29
Final State
FailedRounds
Grok 4.6 passed 0 of 3 rounds on this task; the round shown is R2. A round passes only when every check passes.
| Model | Round | Checks |
|---|---|---|
| Grok 4.6 | R2 | 27/29 passed |
- Cost
- $3.21
- Time
- 10 min 43 s
- Turns
- 55
- Tool calls
- 125
- Edits
- 29
Highlights · Run 2
Selected steps, summarized from the recorded transcript. The closing excerpt is the model's own statement.
Steps 1–40 · Find the gap
It wires search cards to the details page, then finds Grill 23 has no stored profile page.
Step 41 · Model's plan
“I'll implement catalog restaurant pages by cloning a stored HTML template and adapting it.”
Steps 45–52 · Clone a template
It copies Stephanie's on Newbury's page and swaps only the name and photos; rating, cuisine and description stay Stephanie's. Opus started from the same page but replaced every field.
Closing · Model's statement
“Grill 23 & Bar details and gallery are verified.”
The ticket, as the model received it
Loading…
Full trajectory · loading
Loading…
How this run is graded
27/29 checks passedHeld-out browser journeys replay against the agent's final code: 2 for this feature and 27 regression journeys.
Grok's own test checked the name, gallery and enlarge button, nothing else.
Checks
Only failed checks are listed. Both expect Grill 23's cuisine, Steak; the page showed another restaurant's.
- 1Open Grill 23 & Bar: details and availabilityFailed
- 2Open Grill 23 & Bar: photo galleryFailed
Zappos · Bug report
Each pair's own picture and crossed-out price in the bag and checkout
Make every bag and checkout line show its own colour's picture, and a crossed-out price only when that colour is on sale. Opus 5.5 and GLM 5.3 Flash pass 3/3; GPT-6 Astra 0/3.
Task summary of a bug report with two example shoes.
- Rounds passed
- 0/3
- Model
- GPT-6 Astra
- Checks passed
- 152/155
Final State
FailedNo final-state recording
Run 3 has no recorded final-state video. The verifier reports 152 of 155 checks passed.
Rounds
GPT-6 Astra passed 0 of 3 rounds on this task; the round shown is R3. A round passes only when every check passes.
| Model | Round | Checks |
|---|---|---|
| GPT-6 Astra | R3 | 152/155 passed |
- Cost
- $8.36
- Time
- 22 min 3 s
- Turns
- 48
- Tool calls
- 94
- Edits
- 15
Highlights · Run 3
Selected steps, summarized from the recorded transcript. The closing excerpt is the model's own statement.
Steps 1–5 · Delegate and diagnose
Two read-only sub-agents trace the code; Astra finds colours resolving to the wrong ID.
Step 9 · Rewrite the rule
It deletes the seed's note that a missing list price means "the product's own", and that fallback, writing:
Model's comment
“Missing original prices mean this colour has no sale, not a fallback to another colour.”
Steps 10–48 · Test its own rule
A sub-agent writes tests for the new rule; Astra reports them passing on 2,898 product rows.
The ticket, as the model received it
Loading…
Full trajectory · loading
Loading…
How this run is graded
152/155 checks passedBrowser journeys and backend calls compare 155 facts with values from the working site.
Astra's own tests passed because they encoded its new rule.
Checks
Astra matched 152 of 155; the failures are one checkout flow where a $110 list price on a sale pair disappears.
- 1Checkout API: add a Nalle Walk (Navy Knit)Failed
- 2Checkout API: review the orderFailed
- 3Checkout API: read back the orderFailed
How Frontier Models Fare
Changing a working app is still hard: only one model gets it right reliably.
- Across 14 audited tasks on four clones, Opus 5.5 solves 86% of its runs. The other four frontier models solve 45–74%.
- Feature work isn't saturated: one task, opening a restaurant's details and photo gallery from search results, fails four of five frontier models in every round.
- 1Opus 5.586%
- 2Grok 4.674%
- 3GLM 5.3 Flash74%
- 4GPT-6 Sol57%
- 5GPT-6 Astra45%
Where they fail. Rarely by crashing: the model ships code that passes its own checks but changes what the app already did.
- Opus 5.5 reuses the app's components and checks against the design; it misses steps it didn't check.
- Grok 4.6 is fastest, with small edits, but checks its work after its last edit in under half its runs.
- GLM 5.3 Flash often runs to the 90-minute limit, re-checking; when it fails, it built a new page instead of reusing the app's.
- GPT-6 Sol is cheapest, often tests only the ticket's example, and breaks behaviour next to it.
- GPT-6 Astra costs most, delegates to sub-agents and rewrites existing behaviour, so its own tests confirm its assumptions.
By criterion. Each round scored on aspects a typical reviewer would check in an engineer's work.
| Model | Feature works | No regressions | Fits the codebase | Tests its work | Reports truthfully | Consistent |
|---|---|---|---|---|---|---|
| Opus 5.5 | 86% | 95% | 100% | 100% | 93% | 79% |
| Grok 4.6 | 76% | 90% | 90% | 45% | 74% | 57% |
| GLM 5.3 Flash | 74% | 98% | 88% | 93% | 67% | 57% |
| GPT-6 Sol | 62% | 83% | 69% | 88% | 62% | 29% |
| GPT-6 Astra | 62% | 76% | 52% | 100% | 59% | 36% |
- Feature works
- Every feature check passes, held-out inputs included.
- No regressions
- No regression journey breaks.
- Fits the codebase
- No failure from replacing or dropping a name, label or fallback the app already uses.
- Tests its work
- Runs the app or its tests after its last edit.
- Reports truthfully
- Doesn't claim success on a round that failed. Rounds with no closing message are left out.
- Consistent
- Share of tasks passed in all three rounds, not of rounds.
14 audited tasks, three rounds per model.
Fast versus good. Grok 4.6 solves 74% of its runs within 15 minutes; Opus 5.5 overtakes it after an hour. Each model's solved runs by how long the agent worked:
- Grok 4.674%median 9 min
- GPT-6 Sol55%median 9 min
- Opus 5.521%median 20 min
- GLM 5.3 Flash5%median 61 min
- GPT-6 Astra5%median 22 min
What it costs. A solved run costs from $2.02 (GPT-6 Sol) to $20.74 (GPT-6 Astra). Each run's model spend against the number of steps the agent took:
| Model | Per run | Turns | Per solved run | Total spend |
|---|---|---|---|---|
| GPT-6 Sol | $1.12 | 38 | $2.02 | $49 |
| GLM 5.3 Flash | $1.10 | 198 | $2.03 | $63 |
| Opus 5.5 | $2.83 | 60.5 | $3.57 | $129 |
| Grok 4.6 | $2.64 | 43 | $3.94 | $122 |
| GPT-6 Astra | $8.02 | 31.5 | $21 | $394 |
How Our Findings Compare
Greenfield versus existing code. Models build a working web app from a spec over 90% of the time on Vibe Code Bench, but changing existing code is harder. On FeatBench the best agent resolves 29.94% of feature requests, and its authors trace many failures to agents breaking existing features. SWE-CI finds most models keep a codebase free of regressions on fewer than a quarter of maintenance tasks, with only two Claude Opus models above half. We see the same pattern: 36% of our failed rounds broke something the app already did, from 1 of 42 rounds for GLM 5.3 Flash and 2 for Opus 5.5 to 11 for GPT-6 Astra.
How regressions are checked. SWE-Bench Pro and DeepSWE run a repository's existing tests. We replay user journeys across the running app in a browser, on held-out inputs, and expect the app's existing components and labels.
Claiming success. Turing found 65.4% of failures on hard terminal tasks ended in a confident claim of success. Here, 84% of failed rounds with a closing message claimed success.
What's Coming Soon
We aim to expand the number and difficulty of our tasks, post-train on them, and measure gains on public benchmarks including long-horizon feature work such as SWE-Marathon and DeepSWE v1.1.
To evaluate a sample or license tasks, write to research@frist.ai.
We make the observable world verifiable.
Related articles

How synthetic tasks tripled Qwen3.8-27B’s pass rate in Frist’s Accounts Payable world
Read blog↗

Frist MedPractice: An enterprise world for accounts payable agents
Read blog↗

FristWorld: A synthetic internet for evaluating computer use agents
Read blog↗
Shaheer Aslam·Improving Qwen3.8-27B using GRPO - Frist JetBlue vs WebInfinity
Read blog↗

JJeung Park, Sung Ho Choi, Joannier Pinales, Jonathan Beltran·