Does a better ticket beat a better setup? Pricing ticket wording on your own test bench
In short: Give your agent every frozen task three ways, the title alone, the ticket as filed and the ticket rewritten with acceptance criteria by a published rule that a leak check and a person verify, then run each version twice on your bench and read the results pair by pair. On 44 pytest tasks the title alone lost a net 3.5 tasks and cost $0.74 per landed change against $0.53 as filed; the rewrite gained a net 1 at about $0.50, and the trajectories show the wording decided which existing behaviour the agent kept.
Update, 14 November 2026. This post reads wording effects against a yardstick of 1 task in 44, the difference between one pair of identical runs. One pair was not a measurement: the three pairs of identical runs behind this post disagree on 1, 3 and 6 tasks. A later post shows how to turn such counts into a noise floor; by that arithmetic the floor here is about 2.6 tasks for two runs against two. The readings below hold against it: the title alone lost a net 3.5 tasks, still above the floor, and acceptance criteria gained a net 1, still inside it.
When a coding agent fails on a ticket, the argument that follows is about the setup: the model, the context file, whether the agent may run the tests. Nobody argues about the ticket, although it is the one input your team writes itself and the only one no setting can improve. Most backlogs I have seen are mostly titles; a few tickets carry a reproduction, fewer still the acceptance criteria somebody spent an hour on.
A group at Carnegie Mellon asked the question from one side: Ambig-SWE took benchmark tickets, had a model strip detail out of them, and measured how much agents lost. I wanted the other side, on real tickets. With the model and the setup held fixed, what does an hour making a ticket clearer buy, in changes that land and in dollars, and what does a title-only backlog cost?
This post is the method as five steps a team runs on its own test bench, the one from the previous post. Then I run it on a public repository, to check that it holds up and to get a rough sense of what to expect. The yardstick for “beats a better setup” is the one that post measured: two identical runs of one setup differed on 1 task in 44, so a wording effect has to clear that before it means anything. The repository is not the point and neither is the agent; the method is.
Step one: start from a frozen bench
Change the ticket and nothing else. Use the task set you froze: the same commits, withheld tests, image, harness settings and model, and the fairness labels that say which tasks test something the issue never states. The run step should refuse to start if the image or the manifest differs; that refusal is what makes three versions of a ticket comparable. The labels are not redone, since a rewrite that may add nothing the issue does not say cannot change whether the tests check what the issue says.
Step two: write the rewrite rule down before any run
The rule is a published prompt file that sees the issue text and nothing else. No repository, no fix, no tests, no other issue. It restates the issue under six fixed headings: a one-sentence summary, observed behaviour, expected behaviour, steps to reproduce only if the issue gives them, acceptance criteria as numbered testable statements, and open questions for anything the issue leaves undecided. It forbids three things: proposing a solution, naming any file, function, option, flag or message the issue does not contain, and resolving an open question by picking an answer, which includes turning the reporter’s suggestion into a requirement. The same model as the agent applies it, one call per ticket; a person can apply it by hand. The file is bench/rewrite_rule.md in the kit.
Make three versions of every task. The title alone, the cut most backlogs live with; the ticket as filed, which your bench already ran; and the rewrite. Each version is one checksummed file, frozen before any agent sees it, and the run step records which one it used.
Step three: check for leaks, by machine and by eye
Refuse any rewrite that names something the issue does not. A deterministic check pulls the code-like tokens out of the rewrite (backticked spans, dotted or underscored names, CamelCase names, flags, quoted strings) and requires each to occur in the issue as filed, with the repository’s name and the heading words allowed. A rewrite that fails goes back to the rewriter once with the offending tokens named; if it fails again, the task keeps its as-filed text and is counted, so a leak can never reach the agent. Report first drafts rejected, second drafts rejected and tasks that fell back.
Then have a person read five rewrites drawn by seed against their issues. The check catches names; it cannot catch the leak that mattered here. My rule took three rounds before any run, because each spot check found a reporter’s suggestion turned into a requirement: a flag the reporter said might be added became the trigger, a measurement became a target, a property of a sketched fix became a criterion. The token check passed every one. The fix was to make each criterion end with a quotation of at least three words from the sentence it traces to, which the check then verifies and a reader confirms by eye. First-draft rejections went 7, 8 and 17 across the rounds, the spot-check rate 2, 2 and 0 of 5, and the round that ran was declared final before it was generated. A rewrite cost a median $0.017 and 8 seconds per ticket.
Step four: run the versions in pairs
Two runs per version, nothing else varied. Same harness, model, per-task caps and isolation as your bench fixed. The as-filed arm is the pair of baseline runs the bench already has, provided the run step’s checks prove they ran against the same image and manifest; here they did, so those runs were not repeated. Two runs is what the halves rule below needs, and the bench already told you how far two identical runs differ.
Step five: read the paired table
Count tasks, not rates. Per task, a version scores 1 if it resolved the task in both runs, a half if in one of two. For each pair of versions count the tasks resolved under both, under neither, under one and not the other each way, and the net; split the same counts by the fairness labels; add cost per landed change (run total divided by tasks resolved) and how many tasks stopped on the cap. Report the 95% interval on each resolved rate too, as the reminder of what 44 tasks cannot tell you; here every interval overlapped every other, and only the pairing could read anything.
What I wrote down before running it
The thesis: with the model and the setup held fixed, the wording of the ticket moves the outcome more than the run-to-run noise of the setup does, in both directions. The predictions, fixed before any rewrite existed: against as filed, the title alone loses a net 5 or more of the 44 tasks and the rewrite gains a net 3 or more; on the 23 unfair tasks the rewrite gains a net 1 at most, because the rule cannot add what the issue does not say; cost per landed change is lower for the rewrite and higher for the title alone, in every run; and the leak check rejects the first draft for at least 5 of the 44 tasks. The second was the one I cared about, since it is the number behind the claim that clarity pays; if it failed, I wrote, the post says that on a well-maintained repository an hour on the ticket buys little and the gain lies in the tests.
How I tested the method
The bench from the previous post. The 44 pytest tasks frozen there, fixes merged from 1 July 2026, with its fairness labels: 21 tasks whose withheld tests check what the issue states, 23 whose tests check a name, message or choice it does not. Its two baseline runs are the as-filed arm.
One plain setup. mini-swe-agent 2.4.6 with its own prompt and tools, Claude Sonnet 5.5 through an AI gateway, $1 and 75 steps per task, in a container whose only way out is the gateway. The rewriter was the same model, one call per ticket. This is not a comparison of tools; it is one setup, used to see whether the method works.
What the run showed
| As filed | Title only | Rewritten | |
|---|---|---|---|
| Resolved, run 1 and run 2, of 44 | 15, 16 | 11, 13 | 17, 16 |
| Fair tasks resolved, of 21 | 13, 13 | 9, 12 | 15, 14 |
| Unfair tasks resolved, of 23 | 2, 3 | 2, 1 | 2, 2 |
| Net against as filed, 44 tasks | −3.5 | +1 | |
| Net on fair, on unfair | −2.5, −1 | +1.5, −0.5 | |
| Cost per run | $7.98, $8.60 | $8.16, $9.56 | $8.74, $7.95 |
| Cost per landed change | $0.53, $0.54 | $0.74, $0.74 | $0.51, $0.50 |
| Stopped at the $1 cap | 1, 1 | 2, 3 | 2, 1 |
The title alone cost 3 or 4 tasks in 44 and about 20 cents per landed change. Against the ticket as filed, 11 tasks were resolved under both versions, 27.5 under neither, 4.5 only as filed and 1 only from the title: a net loss of 3.5, above the 1-task noise of two identical runs and below the 5 I predicted. Spend per task barely moved, so the title-only agent did not wander; it fixed the wrong half of the behaviour more often, and more of its runs hit the cap. The title-only version is a cut I made, not a description of how anyone files issues on this repository. If your backlog is mostly titles, expect to lose a few tasks in 44 and to pay more for each one that lands.
Acceptance criteria bought a net 1 task and a few cents. 13 tasks resolved under both, 25 under neither, 2.5 only as filed and 3.5 only rewritten. All of the gain came on the fair tasks (+1.5); on the unfair ones the rewrite lost half a task, as it should if the rule held. A net 1 is the size of the noise between two identical runs, so I cannot tell it from nothing. Where issues already arrive with a reproduction and an expected behaviour, as most of these did, an hour on the ticket is worth about that; expect more on thinner tickets and less under stricter tests, since 20 of the 23 unfair tasks were resolved under no version at all.
The text decided which behaviour the agent kept, not whether it found the code. This is a reading of six trajectories that changed outcome, not a count. Three turn on one thing: an option that must accept a new form of value while the old one keeps working. Where the agent lost, it declared the new form and broke the old; where it won, it kept both. One filed ticket said “accept integer values rather than strings” and both as-filed runs broke the string case; the rewrite asked whether strings should “continue to be accepted” and both rewritten runs kept them. The titles of the other two said nothing about the old form and both title-only runs broke it, where the filed bodies mentioned it and the as-filed runs kept it. Every run found the right code within its first few commands. The clearest loss went the other way: the rewrite halved the longest issue in the set, from 7,470 to 3,258 characters, by turning the reporter’s fixture code into prose, and both rewritten runs hit the cap reading source where the as-filed run had built a reproduction from that code on its sixth command. On your own tickets, expect the words that matter to be the ones that say what must stay the same, and expect a rewrite that compresses evidence to cost you on the hardest task.
Predictions 1 and 2 failed, net −3.5 against a threshold of 5 and net +1 against a threshold of 3; predictions 3, 4 and 5 held: the unfair net at −0.5, the cost per landed change ordered as predicted in every run, and 17 first drafts rejected, though 14 of those were the check being stricter than its rule about quotations and only one was an invented name. The thesis held in one direction and not the other: cutting clarity out of a ticket cost tasks above the noise of the setup, and adding clarity to tickets that already had a reproduction and an expected behaviour bought a gain I cannot tell from noise. So does a better ticket beat a better setup? Taking the ticket away beat the setup’s own noise; adding to it did not.
What I’d tell a fellow technical leader
Get every ticket to the floor: what happens, what should happen, how to see it. That is roughly what the filed tickets here had; below it an agent loses a few tasks in 44 and pays about 20 cents more for each one that lands. It is the cheapest hour a team spends, because the reporter already knows these things.
Above the floor, spend the hour on the tests, not the ticket. Most of the tasks no version resolved were the ones whose tests check a name or a message the ticket could not have given. No wording fixes that; only the tests the fix ships with do. If your bench shows the same ceiling, the budget belongs there.
Say what must stay the same. The one thing a ticket told the agent that it could not work out for itself was which existing behaviour to keep. A line of the form “the old way still works” is worth more than a paragraph of criteria.
If you rewrite tickets by machine, check them by eye and make them quote. A published rule and a token check stop a rewrite naming things the reporter did not know; they do not stop it deciding things the reporter left open. Read five, and ask each criterion to quote the sentence it rests on.
Try it yourself
The kit now has tickets.py with four subcommands, title-only, rewrite, check and freeze, each writing or verifying one checksummed version file, the rule as bench/rewrite_rule.md, and two flags on bench.py: run --tickets <version> and report --paired. It needs the bench from the previous post, Docker or OrbStack, and the gateway key the kit already uses. At this size a round of rewrites cost about $1 and eight minutes, each run $8 to $10 and 33 to 48 minutes, and the whole study $37. The rule doubles as a checklist for writing tickets by hand, with the leak rule as its last line: if the ticket names something the reporter could not have known, it is not a clearer ticket, it is a hint. One repository with one model and one rewriter is a check of the method, not a ranking.
What’s next
The bench now has three versions of every ticket and six runs over them, which is the material for the next question the series has been building towards: how much of what teams argue about between setups is larger than the difference between two runs of the same one.
Appendix: method, data and limits
The study was written down on 7 November 2026, before any rewrite or run, and every change after that was recorded with its reason before the result it affects was read. The main ones: the rewrite rule went through three rounds, each tightened after a spot check found a suggestion made into a requirement, and the third was declared final before it was generated, whatever its spot check found; the earlier rounds are kept in the kit under their rule’s checksum. The leak check is stricter than the written rule for quotations that contain a backticked name; it was left as frozen, since it can only reject too much. The as-filed arm is the bench’s two baseline runs rather than two fresh ones, because the run step’s checks on image and manifest make them the same experiment. One title-only run was interrupted part way by the gateway’s monthly budget; by a rule written before that run was scored, an attempt that ended on a budget error is not an outcome and the task runs again from scratch with the same settings. Those attempts cost $0.06 and are in no total.
Setup: as in the previous post, mini-swe-agent 2.4.6 with its SWE-bench configuration, Claude Sonnet 5.5 through the Vercel AI Gateway at default sampling, no prompt caching, cost from reported token usage at list prices, the agent in the task’s container with the gateway as the only exit. The rewriter was the same model through the same gateway, one chat completion per ticket with the rule and the issue text as the only input, plus one follow-up when the check rejected the draft. Of the final round’s 17 rejected first drafts, 14 were exact quotations containing a backticked name, two inexact quotations, one split by a line break, and one an invented token. The rewrites cost $2.56 over three rounds and the four runs $34.41.
Limits: one repository, one model, one rewriter from the same family as the agent, 44 tasks, of which 24 were resolved under no version and 8 under all six runs, so the versions were really compared on the dozen in between. Resolved means the withheld tests pass, nothing more. The tickets were filed by a well-run project’s own maintainers and contributors, so the as-filed version is already better than most backlogs; the gain measured here is a floor for a team whose tickets are thinner and a ceiling for one whose tests are stricter. The spot-check verdicts are one reader’s.
Data: pytest is MIT-licensed; only public issues, pull requests and the repository’s own code and tests were used, and no contributor is named. I am not affiliated with the makers of pytest, the harness or the model, and none has reviewed or endorsed this post.
This is personal research, done in my own time and on public data only. The views are my own and not my employer’s.
I used Claude to help build the tool and draft this post.
Ask your own repository
How to evaluate your own AI setup against your own codebase, pipeline and history, one delivery step at a time: each post gives a method a team can run on its own repository, and uses public data only to check that the method works and to hint at what to expect.
- How much of triage and code review can you hand to AI? A way to find out for your own team Intake: the three lanes, prologue
- Can a cheap decision model take triage off your team's plate? What happened when Jev finally answered Intake: confidence you can act on, prologue
- Is it the model or your labels? What it takes to hand issue triage to AI Intake: measure against labels a person confirmed, prologue
- How many tickets do you have to label before you can trust an AI lane? Fewer than you think, or no number is enough Trust: measure the room before counting labels
- Which tickets can you hand to an agent? Three numbers to pull from your own attempts before you try to sort them Hand-off: three numbers and one division
- Can your own history be your benchmark? Six steps from fixed issues to a test bench you can trust The bench: six steps and a screen
- Do your review bot's warnings turn into bugs? What your history can and cannot tell you Review: four numbers against a placebo
- Does a better ticket beat a better setup? Pricing ticket wording on your own test bench The ticket: three versions, read in pairs
- Is your context file doing anything? Measure your noise before you compare setups The setup: measure the noise first
The series continues.
Sources
- Thanos Karpouzis: Can your own history be your benchmark?
- Vijayvargiya et al. 2026: Ambig-SWE, Interactive Agents to Overcome Underspecificity in Software Engineering
- pytest on GitHub
- mini-swe-agent on GitHub
- Anthropic: Claude Sonnet 5.5 model page
- Thanos Karpouzis: Is your context file doing anything?
- GitHub: ai-triage-review-eval, the kit behind this post