INQUIRING LINE

When coding AI agents generate tons of data, how much of it actually survives quality checks and stays usable?

What fraction of coding-agent-generated candidates survive rule-based filtering?

This explores how much of the output that coding agents generate holds up once automatic, rule-based quality checks are applied, and what that survival rate says about using agents as data factories.


This explores how much of what coding agents produce survives automatic quality filters. The short answer: the corpus has no paper that reports a survival rate for coding-agent candidates under rule-based filtering. The closest number comes from a related setup. ScreenCoder's three-agent pipeline started with 50,000 webpages and kept 10,000 image-code pairs as its Screen-10K training set, so roughly one in five made it through Can filtered agent-generated data improve UI code generation models?. Two caveats matter. The 50,000 were source webpages, not code the agent wrote, and the filtering was done by agents, not by fixed rules. So 20% describes one data pipeline. It isn't a general survival rate.

The ScreenCoder result does suggest that a low survival rate isn't a sign of failure. Throwing away most of the output was the point. The small set that survived was clean enough that fine-tuning and reinforcement learning on it gave an open-source model large gains in generating UI code. In this kind of pipeline the agent's job is to produce lots of candidates, and the filter supplies the quality. The question that matters is less "what fraction survives" and more "what does the filter keep, and what does it quietly throw away?"

That second question is where nearby work in the corpus gets interesting. One study found that post-training makes models better at easy cases but cuts off rare, hard-to-reach solutions. Base models with only a simple prompt eventually find more distinct solutions than their polished counterparts when given enough attempts Do base models find more solutions than post-trained ones?. A strict rule-based filter carries a similar risk. If the rules reward what typical good output looks like, they can remove the unusual candidates that would have taught a model the most. A high rejection rate can hide a loss of variety in the kept data.

There's also a limit to what any filter that judges one output at a time can see. A filter checks a single output at a single moment, but an agent's behavior unfolds across tool calls, memory and its environment Can a model-level filter truly contain an agent with environment access?. For code, that means a candidate can pass every static rule and still fail when it runs in context. Filters also go stale. Detectors trained on one generation of LLM output caught over 99% of rewrites before a new model release and only 3.8% after Why do AI detectors suddenly fail when models update?. Fixed rules tuned to one model's habits may pass or reject very different shares of output once the generating model changes.

If you want a hard number for rule-based filtering of agent-written code, this collection doesn't have it yet. What it offers instead is a set of warnings: survival rates depend on the pipeline, can hide lost variety, and may drift when the generating model changes.


Sources 4 notes

Can filtered agent-generated data improve UI code generation models?

ScreenCoder's three-agent pipeline filtered 50,000 webpages into 10,000 high-quality image-code pairs (Screen-10K), then post-trained an open-source MLLM via supervised fine-tuning and reinforcement learning, demonstrating substantial gains in UI generation.

Do base models find more solutions than post-trained ones?

Across 14 model pairs and three agentic benchmarks, base models equipped with only relaxed system prompts eventually surpass post-trained counterparts in pass@K coverage as rollout budget grows. Post-training bimodalizes task outcomes, sharpening performance on easy cases while eliminating rare-but-reachable solutions.

Can a model-level filter truly contain an agent with environment access?

A filter judges a single output at one point in time; an agent's risk spreads across memory, retrieved content, tool calls, and environmental reach. Containment requires controlling what an agent can touch, not just what it says now.

Why do AI detectors suddenly fail when models update?

Detectors trained on past LLM versions catch over 99% of rewrites just before a new release but only 3.8% after, because shifts in word choice patterns between versions render learned classifiers ineffective.

Papers this line draws on 8

The research behind the notes this line reads — ranked by how closely each paper relates.