DEV Community

Discussion on: Zero Repeat Regressions: The Golden Metric & The Future of Agentic Trust

 
aiapikey profile image
HAOHAOnovai •

Yes, cite it, and thank you for asking - that is more courtesy than most.

One refinement if you are going to put the inequality in print, because it is the part I got slightly wrong the first time. C is not constant. A trial at a low cap costs a fraction of a trial at your production context length, and it costs a retry when it fails plus your own attention to read the result. So the inequality should use the marginal cost of the trial you would actually add, at the cap you would actually run it. Done that way it stays computable, which was the whole point, but it stops being a number you can quote without knowing the workload.

The corollary I find useful: D and C are both falling, but D falls when someone writes the check and C falls when inference gets cheaper. Historically that made sampling more attractive over time, and right now it is doing the opposite for agent work, because trial cost at long context is going up faster than check-writing is getting cheaper.

Your framing of the result - common traps cheap to catch, rare traps an hour of compute - is the version I will use from here. It is more legible than the algebra.

Thread Thread
 
randalschwartz profile image
Randal L. Schwartz Google Developer Experts •

That refinement is spot-on—and honestly makes the inequality even sharper. Treating C as the marginal cost at production context length (plus failure retries and human attention to triage the result) explains why you can't quote a universal crossover number without knowing the workload.

And that corollary about D vs. C is the real punchline: when agent context windows stretch, marginal trial cost climbs faster than per-token inference drops, while D (writing a deterministic check—especially with an agent helping draft it) keeps getting cheaper. That shifts the crossover in favor of deterministic locks even sooner than the naive constant-C math suggests.

Thank you for the permission and the refinement—I'll fold the marginal-cost qualifier into our theory notes!