Skip to content

Stopping short: a function, option or flag the request asked for is never written ​

Tests and verification: one of the ways AI coding agents bloat software, from lessloc's pattern catalog. lessloc catches it as unaddressed: names a request asks to exist ("add a --status flag", "implement export_csv()") are looked for in the final repository; one that appears nowhere holds the turn.

What makes stopping short (a requested function never written) a bad practice? ​

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

What does lessloc do about stopping short (a requested function never written)? ​

lessloc catches it as unaddressed: names a request asks to exist ("add a --status flag", "implement export_csv()") are looked for in the final repository; one that appears nowhere holds the turn. A name the request only mentions, a test or a private helper the agent names itself never counts, and names joined by "or" are alternatives.

  • unaddressed (tier 1): A function, option or flag the request asked for appears nowhere in the repository. A name the request only mentions does not count.

The other patterns in Tests and verification:

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