Files
gstack/test/helpers/plan-format-kind-note.ts
T
garrytan 0420a06e91 test: plan-format accepts any statement that kind-differentiated options are not comparable on coverage (W7d 'options differ in kind' phrase)
The outcome, no fabricated Completeness: N/10, stays asserted. The required
note now matches any brief wording of the same fact (KIND_NOTE_RE in
helpers/plan-format-kind-note.ts). The format-compliance suite that pins the
declared kind-note string is unchanged. Stored lines: four known-good pass,
three known-bad (a completeness score, a recommendation, 'kind to the user')
fail.
2026-10-03 00:44:12 +00:00

7 lines
422 B
TypeScript

/**
* A kind-differentiated AskUserQuestion says its options are not comparable on
* coverage. The preamble's "options differ in kind" note is one wording; any
* brief statement of the same fact counts.
*/
export const KIND_NOTE_RE = /\b(?:options? (?:differ|are different) in kind|differ in kind|different kinds? of (?:choice|option|decision)s?|not comparable on (?:coverage|completeness)|no completeness score)\b/i;