
0:00
14:43
Why Coding Agents Lose Count After Fifty Items
Sources covered:
- A minimal probe of task modeling in language models: https://arxiv.org/abs/2605.02028
- ANCHOR: Assessing Naturalistic Constraint Hierarchies and Ordering in Repository-Grounded Agentic Coding: https://arxiv.org/abs/2610.16859
- Thinking Is Not Telling: Information Disclosure in User-Service LLM Agents: https://arxiv.org/abs/2602.07796
- Post-Reasoning: Improving the Performance of Non-Thinking Models at Negligible Cost: https://arxiv.org/abs/2605.06165
This episode was AI-generated on November 22, 2026. The script was written by an AI language model and the host voices were synthesized by Eleven Labs. The producer is not affiliated with Anthropic or Eleven Labs.
A model that can read a hundred-thousand-token document will still lose a simple running tally after about fifty identical items — and across 205 models tested, every one of them eventually broke. The same fragility shows up everywhere an agent holds something only in its head: the best coding agent measured violated at least one stated rule on 81 percent of tasks. Four papers, one five-minute test you can run today, and two one-line prompt changes worth trying this week.
Key Takeaways:
- Why 205 models all eventually lose a silent running count, with the median failing at about fifty identical items — and why tokenization is not the explanation
- Why turning on reasoning mode did nothing for counting at the median, but improved object-tracking severalfold — the difference is whether there's a written record to re-read
- How the ANCHOR benchmark grades an agent's whole run instead of the final patch, and why Claude Opus 4.8 in Cline still broke a stated rule on 81 percent of tasks
- Why forcing an agent to 'think' before every step made things worse — GPT-4.1's strict consistency score fell about eleven points — and the one-sentence disclosure fix
- The prompt line 'State the final answer immediately, then justify it,' which improved accuracy in about 85 percent of model-benchmark combinations on non-thinking models
- Where each result is thin: LLM-labelled failure analysis, a lenient judge on ordering rules, small recovery gains, and single runs with no confidence intervals
00:00 - The consultant with total amnesia: Bella and Finn explain what a coding harness actually does using an analogy of a brilliant consultant who forgets everything between meetings and works only from a folder.
03:13 - Counting marbles in a dark room: A Stanford preprint tests 205 models on counting identical items and finds every measurable model eventually loses count, with the median failing around fifty.
04:52 - Why reasoning mode didn't help here: Reasoning mode raised no counting limit at the median but improved swap-tracking severalfold, pointing to the written record as the real variable — plus a five-minute test and a prompt fix listeners can run.
06:26 - The inspector who follows the contractor: The ANCHOR benchmark grades an agent's entire run against developer-stated rules rather than just the final patch, exposing failures that patch-only benchmarks never see.
08:02 - Rules the agent never registered: An LLM-labelled breakdown suggests about thirty-eight percent of violations were rules the agent never registered, with caveats about descriptive labels and a lenient judge on ordering.
09:24 - Thinking hard, telling nothing: A TMLR paper shows forced private 'thinking' often hurt customer-service agents, because the limit the agent reasoned about never made it into the reply to the user.
11:31 - Answer first, justify after: A one-sentence prompt that demands the answer before the justification improved accuracy in about 85 percent of model-benchmark combinations on non-thinking models, with gains concentrated on hard problems.
13:36 - Two prompt lines to test this week: Bella recaps the through-line and names the concrete changes: write every tally down, use numbered checklists with evidence, require disclosure before confirmation, and try answer-first prompting.
Recommended Reading:
- Lost in the Middle: How Language Models Use Long Contexts: The canonical evidence that a huge advertised context window doesn't mean reliable use of what's in it — the same gap the episode's counting test exposes from the other direction. (https://arxiv.org/abs/2307.03172)
- SWE-bench: Can Language Models Resolve Real-World GitHub Issues?: The final-patch-only coding benchmark whose grading philosophy ANCHOR is built to critique, so it's worth seeing exactly what gets measured and what gets ignored. (https://arxiv.org/abs/2310.06770)
- Language Models Don't Always Say What They Think: Unfaithful Explanations in Chain-of-Thought Prompting: A direct companion to 'Thinking Is Not Telling': private reasoning and the text the user actually sees can come apart, and here the gap is measured rather than anecdotal. (https://arxiv.org/abs/2305.04388)
- Large Language Models are Zero-Shot Reasoners: The 'Let's think step by step' paper that the fourth paper's answer-first-then-justify trick inverts — useful context for why a one-line prompt change can move accuracy without any written reasoning preceding the answer. (https://arxiv.org/abs/2205.11916)
Otros episodios de "AI Papers: A Deep Dive"



No te pierdas ningún episodio de “AI Papers: A Deep Dive”. Síguelo en la aplicación gratuita de GetPodcast.








