AIFeed

How Much AI Slop Does It Take to Unslop the AI Slop?

Original text(via HN AI)

Anthropic published a fascinating engineering article about using Claude to make Claude about three times faster, and I cannot stop thinking about the recursion happening underneath the story. Claude was running slowly, so Anthropic put Claude into the development process to find the slow parts of Claude, generate changes to Claude, build benchmarks for those changes, watch the deployment of those changes, and then keep looking for more parts of Claude that Claude could improve. During the two-week sprint, the team says more than three thousand changes were merged. Individual threads sometimes produced fifty or one hundred pull requests, while more than 150 optimization threads could be running at the same time. On the busiest days, more than two hundred changes landed. This is objectively impressive engineering, but there is also something wonderfully ridiculous about using enormous amounts of AI-generated code to unslop a system that increasingly contains enormous amounts of AI-generated code.

I should be careful about the word slop because code is not bad merely because an AI wrote it. Humans have been producing terrible software quite successfully without artificial assistance for decades. Claude found real problems in Anthropic's application, including thousands of React hooks firing through an important typing path, unnecessary IndexedDB work, expensive CSS behavior, and even a bizarre performance problem where characters like curly quotes caused syntax highlighting to take a slower V8 string path. The team measured the results and reported substantial improvements in actual user-facing performance. This was not somebody vibe coding until the page looked faster and announcing victory. There was serious measurement behind the work.

But that makes the question more interesting rather than less interesting.

AI makes creating code almost too easy

Software engineering has always had a natural brake built into it: writing software takes time. Adding another abstraction, helper, instrumentation layer, test harness, build plugin, feature flag, or optimization requires somebody to sit down and actually build it. That cost does not prevent unnecessary complexity, as twenty years of enterprise software have demonstrated enthusiastically, but it does provide some friction. A developer has to believe an idea is useful enough to spend an afternoon implementing it. When an agent can produce the implementation in a few minutes, that particular form of friction begins disappearing.

Anthropic's performance sprint gives us a glimpse of what happens when the cost becomes dramatically lower. Claude did not just optimize existing code. It created benchmarks, telemetry, integration tests, feature flags, monitoring, guardrails, and additional infrastructure that then allowed it to identify more things to optimize. About a third of the pull requests reportedly added telemetry or guardrails, and the team introduced nearly two hundred feature flags during the sprint. More than half of those flags had already been removed by the end, which is encouraging, but the numbers give some sense of how much software can suddenly materialize when implementation is no longer the bottleneck.

This is where I start wondering about AI slop.

Not because those particular changes were necessarily slop.

Because we can now manufacture potential slop at industrial speed.

Then we need AI to clean up the AI

There is a funny feedback loop emerging in software development. AI helps us generate more code, which creates more code to review. AI then helps review the AI-generated code. The additional code creates more tests, telemetry, dependencies, flags, abstractions, documentation, and maintenance work, so we give another AI agent the job of identifying the unnecessary parts. That agent generates another pile of changes intended to simplify the previous pile of changes.

Eventually someone asks an AI to explain what all the AI-generated code does.

Then another AI summarizes the explanation because it was too long.

I am joking, but only a little.

A recent large-scale preprint examining more than 304,000 commits identified as AI-authored across thousands of GitHub repositories found that more than 15 percent of commits from each coding assistant studied introduced at least one issue detectable by its static-analysis methodology. The researchers found code smells much more commonly than bugs or security problems, and roughly a quarter of the AI-introduced issues they tracked were still present at the latest revision they examined. That study has methodological limitations and should not be interpreted as proof that AI code is inherently worse than human code. It does provide evidence for something fairly unsurprising: generating code faster does not make maintenance disappear.

It may actually make maintenance the scarce resource.

The Anthropic article accidentally demonstrates the solution

The thing I like most about Anthropic's article is that their answer was not to trust Claude more.

It was to measure more.

Every optimization needed something concrete the model could improve. Claude built benchmarks, but the humans required those benchmarks to demonstrate that moving the metric actually improved real wall-clock performance. If a synthetic benchmark did not correlate with something users experienced, they threw it away rather than letting Claude optimize a meaningless number. Once an optimization worked, they added CI guardrails so future changes could not casually throw the improvement away.

That is a much healthier model for AI-assisted engineering than asking a model whether its own code looks good.

The model proposes.

The system measures.

Tests verify.

Humans decide whether the tradeoff is worth keeping.

The most revealing example in the whole article may be the change Anthropic did not make. Claude produced a roughly 900-line pull request that would have saved about two milliseconds when sending a message. A human looked at the improvement and rejected it because two milliseconds was not worth maintaining another 900 lines and a build plugin. That one decision says more about the future role of experienced software engineers than a thousand demonstrations of an agent writing code by itself.

Claude could produce the implementation.

The human had to decide whether the implementation should exist.

Code volume is becoming a terrible productivity metric

For most of my career, writing code has been enough work that producing a lot of working software could at least loosely indicate that something was getting accomplished. Lines of code were never a particularly good productivity measurement, but producing working functionality required enough effort that output still meant something. AI breaks that relationship almost completely. I can generate thousands of lines of plausible software before lunch now. That does not mean I accomplished several weeks of engineering before lunch.

The scarce thing is becoming judgment.

Do we need this abstraction? Is this benchmark actually measuring what users experience? Is this optimization worth the additional complexity? Did the model solve the underlying problem or simply move it somewhere less visible? Is this code understandable enough that somebody will be able to change it six months from now? Should any of this code exist at all?

Those are much harder questions for an agent because they are not purely implementation problems.

Anthropic describes human responsibility during the sprint using three words: ambition, taste, and direction. I think taste is the most interesting one. Claude could keep finding ways to shave milliseconds, but humans decided whether the resulting behavior felt right and whether the engineering tradeoff was justified. The model could generate more options than the team could have explored manually. That made deciding which options deserved to survive more important, not less important.

AI makes execution cheaper.

That makes taste more expensive.

We may need a new definition of slop

I have been using AI slop to describe the obvious stuff we all recognize now. It is the giant wall of text that says very little, the unnecessary abstraction generated because somebody asked an agent to "make this more enterprise ready," the forty files created to solve a problem that needed four, the tests that technically execute the code without testing anything meaningful, and the comments that restate exactly what the next line does. You can usually feel it before you can precisely define it. There is a lot of material and surprisingly little thought.

But AI origin probably should not be part of the definition.

Slop is software nobody really owns.

It is code that exists because generating it was easier than deciding whether it belonged there.

A human can write that.

An AI can write excellent code.

The danger of AI is simply that it can create the questionable stuff several orders of magnitude faster than a person who has to type every character.

That changes the economics of technical debt.

Guardrails can become slop too

There is another uncomfortable recursion hiding inside this approach. If the solution to AI-generated complexity is more tests, more benchmarks, more telemetry, more feature flags, more evaluation harnesses, more review agents, and more monitoring, all of that infrastructure becomes software too. It has bugs. It has maintenance costs. Someone needs to understand it. Eventually somebody has to decide whether an old benchmark is still measuring anything important or whether a feature flag from eighteen months ago can finally disappear.

Anthropic seems very aware of that danger. They removed more than half of the nearly two hundred flags before the sprint was even finished. They rejected benchmarks that could not demonstrate correlation with actual performance. They rejected an optimization whose complexity outweighed its tiny performance gain. Those decisions are exactly what prevent a high-output engineering process from becoming an archaeological site filled with artifacts from every idea an agent ever had.

The problem is that not every organization will do that.

It is incredibly easy to imagine a company celebrating that its AI agents opened five hundred pull requests this month without asking what those five hundred pull requests added to the long-term cognitive load of the codebase. The dashboard will look amazing. The productivity presentation will have an arrow pointing aggressively upward. Six months later, another group of agents will be hired to figure out why nobody understands the system anymore.

Then we can measure how productive those agents are.

Maybe the answer is aggressively deleting things

I increasingly think one of the most important jobs for coding agents will not be writing code.

It will be proving that code can disappear.

An agent can search an entire repository more patiently than I can. It can identify unreachable paths, duplicate abstractions, dead feature flags, unnecessary compatibility layers, redundant tests, unused dependencies, obsolete configuration, and functions that exist only because another function exists only because somebody once generated an abstraction around a problem that disappeared two years ago. It can run the tests, remove something, run them again, and build evidence that the deletion is safe. That is exactly the sort of tedious investigation that humans tend to postpone until the codebase becomes painful.

The danger, of course, is that we ask an AI to remove AI slop and it responds by creating an elegant new eleven-file framework for automated slop removal.

There should probably be a benchmark for that.

Then Claude can hill climb it.

The funny part is that this actually worked

I do not want my amusement about the recursion to obscure what Anthropic accomplished. Claude.ai apparently became dramatically faster in two weeks. The fresh-load experience dropped from about 3.1 seconds to 0.55 seconds at the 75th percentile, starting a Claude Code session dropped from 0.8 seconds to 0.3 seconds, and loading a cloud Cowork session dropped from 2.6 seconds to 0.73 seconds. Anthropic says the team merged more than three thousand changes without a customer-facing incident or rollback. Those are meaningful outcomes.

What I find notable is the machinery required to make that level of AI output trustworthy.

Claude generated changes.

Claude generated measurements for the changes.

Claude watched the measurements.

Claude generated more changes.

Automated systems reviewed the changes.

Tests constrained the changes.

Feature flags contained the changes.

Humans reviewed the changes.

Humans occasionally told Claude that the clever thing it had just built was not worth keeping.

That last part may remain the most important one.

We have spent the last few years teaching AI how to make more software.

I suspect the next important skill is teaching ourselves, and the agents working with us, when to stop.

Because if AI can produce code faster than we can develop the judgment to reject unnecessary code, we are going to become unbelievably efficient at manufacturing our own cleanup work.

And then, naturally, we will ask AI to fix it.

Also on Bluesky.

  • Loading network…
  • Looking for mentions…

The text above was extracted automatically from the source page and may miss images, tables or code blocks. The original is authoritative.

Published by HN AI
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗