MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / testsNote

Function testsNote

graph-ui/src/twin/render-model.ts:1252–1260  ·  view source on GitHub ↗

* One honest sentence about whether anything tests this, in plain words. * * Never "not tested". The engine records no test relation for TypeScript, so * this is a search through callers that found none, and the sentence says which * of the two it is.

(ir: SemanticIR)

Source from the content-addressed store, hash-verified

1250 * of the two it is.
1251 */
1252function testsNote(ir: SemanticIR): string {
1253 if (ir.tests.value.length > 0) {
1254 return proseTestsSome(ir.tests.value.length);
1255 }
1256 const absence = plainAbsence(ir.tests.state, PLAIN_SUBJECT_TESTS);
1257 return ir.tests.state === 'known' || ir.tests.state === 'inferred'
1258 ? PROSE_TESTS_NONE
1259 : absence;
1260}
1261
1262/** The same, for failure: an empty list is only a finding once someone looked. */
1263function errorsNote(ir: SemanticIR): string {

Callers 1

narrativeFunction · 0.85

Calls 2

proseTestsSomeFunction · 0.90
plainAbsenceFunction · 0.90

Tested by

no test coverage detected