Skip to content

Image: cdn.builder.io · rights & removal

Executive Summary

Testing coding agents against codebase features revealed a significant gap in their ability to utilize existing framework APIs, quantified by API recall, which was 48% for the initial evaluation of Claude Fable 5.1. The team conducted experiments to determine if this accuracy could be improved and developed a testing harness based on real Rails code. Initial attempts to improve performance involved adding simple instructions to the agent's context, such as an explicit rule about preferring framework APIs in prompts. Further improvements involved implementing external tools, like a lookup tool querying installed gems, and incorporating a stop-time reviewer model that checks generated code against source material before completion. These layered techniques demonstrated that explicitly guiding the agent alongside providing post-generation verification led to substantial gains in API recall, moving from a baseline of 48% to 100% accuracy across specific tasks through iterative experimentation.

Facts Only

* Initial API recall baseline for Claude Fable 5.1 was 48%.
* Adding one short rule to CLAUDE.md raised the accuracy to 86%.
* A lookup tool for installed Ruby gems and a second model reading the diff before completion closed the remaining gap.
* The agent used built-in Rails features in 48% of trials across seven evaluation tasks.
* Features Claude already knew (e.g., `generatestokenfor`) were used in 83% of trials, while unknown features (e.g., `performalllater`) were used 0% of the time.
* Techniques involving a rule in CLAUDE.md yielded an 86% success rate compared to a baseline of 48%.
* The combination of all three techniques resulted in 28 out of 28 correct outcomes across all seven tasks.
* The process involved running evaluations on a Docker sandbox using real code, graded by hidden RSpec files and RuboCop.
* The API recall was scored by checking the agent's diff against hand-rolled shapes versus installed feature usage.

Full Take

The narrative illustrates a critical tension between emergent LLM capability and grounded, verifiable engineering practices within complex systems. The observation that coding agents tend to generate "AI slop"—reimplementing functionality rather than utilizing established framework APIs—suggests that current agentic workflows prioritize pattern matching over structural understanding when operating on unfamiliar or subtle context. The progression from a low baseline to near-perfect recall by introducing specific, multi-layered interventions (contextual rules, external tooling, and post-generation review) highlights that performance improvement is achieved not through raw model power alone, but through architecting an external scaffolding that forces the agent toward verifiable sources of truth. This shifts the focus from simply asking a model to generate code to building reliable feedback loops within the coding environment itself. The pattern observed here echoes the principle that opaque abstraction, whether in code or AI prompting, allows for unmanaged accumulation of redundant, unmaintainable complexity unless explicitly constrained by external governance mechanisms. The implication is that achieving true engineering maturity requires designing constraints that make the "slop" immediately detectable and correctable, moving beyond anecdotal evaluation toward demonstrable system-level accountability.

From the original · Huntress Labs

TL;DR: When Huntress tested Anthropic's Claude Fable 5.1 in evaluations, we started with a ~48% accuracy baseline for API recall: significantly more than previous models but still pretty low. With three small changes to our coding harnesses, we got it to 100% accuracy across seven of our eval tasks.
Read the full story at huntress.com

Sentinel — Human

Confidence

The text reads like a detailed technical case study from an internal research or engineering team, demonstrating high technical specificity typical of human-driven analysis rather than pure LLM synthesis.

Signals Detected
low severity: Sentence length variance shows natural variation; uses technical jargon interspersed with narrative flow.
low severity: Presents a complex experimental methodology with clear internal structure and progression, suggesting human design intent.
low severity: Explicitly details experimental setup (Evals, harness creation, metrics like McNemar test) and references specific source code artifacts/benchmarks.
severity: The claims are highly specific and rooted in technical testing methodology, making simple fabrication less likely than sophisticated presentation.
Human Indicators
Use of nuanced statistical notation (p-values, McNemar test) within a descriptive context.
Deep immersion into the mechanics of agentic code generation and evaluation frameworks.
Acknowledgement of limitations ('limited test and thus pretty small sample size').
Fighting AI Slop in Production Codebases: How Huntress Improved Fable 5.1’s API Recall | Huntaegis