Skip to content

Stopping short: leaving part of the reported problem failing, and saying so ​

Tests and verification: one of the ways AI coding agents bloat software, from lessloc's pattern catalog. lessloc catches it as unfinished: in a turn that changed code, the agent's last reply is read sentence by sentence, with headings and lead-ins speaking for what is under them.

What makes stopping short (part of the problem left failing) a bad practice? ​

The standard that calls it a bad practice: ISO/IEC 25010 functional completeness.

What does lessloc do about stopping short (part of the problem left failing)? ​

lessloc catches it as unfinished: in a turn that changed code, the agent's last reply is read sentence by sentence, with headings and lead-ins speaking for what is under them. An explicit marker that something is left broken ("Not fixed:", "Known limitation:") with a failure stated now, a neutral scope note ("Not changed:", "I left it alone") with a present-tense defect tied to the request (a name from its code, or the report's own example), the report's own example still failing, or the same problem suspected elsewhere and unchecked, holds the turn once, quoting the sentence. A fixed state, a cause, a condition, an offer, a tool's report or housekeeping never counts.

  • unfinished (tier 1): In a turn that changed code, the agent's last reply says part of the reported problem still fails, or that the same problem may be elsewhere, unchecked.

The other patterns in Tests and verification:

Released under the Apache-2.0 license. · llms.txt