
AI SLOP Detector v3.1: Three Formula Refinements and the Adversarial Tester That Found Them
We shipped v2.9.0 with a scoring engine we trusted. We ran tests. Everything passed. Then we built a tool specifically designed to find cases where the score was less precise than it could be — and it found three. This is the story of v3.1.0. And the patch that followed six hours later. Glossary — internal terminology used throughout this post Term What it means Deficit score The final output of the scorer. 0 = structurally clean, 100 = critical. Derived as 100 × (1 - GQG) . GQG Geometric Quality Gate. A weighted geometric mean of LDR, Inflation quality, DDC, and Purity. The single formula the scorer evaluates. LDR Logic Density Ratio. Ratio of executable logic lines to total lines. Low LDR = file is mostly stubs, blanks, or comments. Inflation Metric that flags jargon-heavy docstrings unsupported by actual code complexity. A 2-line function with a 30-line docstring using 12 buzzwords scores badly. DDC Dead/Duplicate Code ratio. Tracks unreachable paths, copy-pasted blocks, phantom imp
Continue reading on Dev.to
Opens in a new tab
