MCPcopy Create free account
hub / github.com/917Dhj/DeepPaperNote / is_honest_missing_declaration

Function is_honest_missing_declaration

scripts/lint_note.py:1343–1351  ·  view source on GitHub ↗
(text: str)

Source from the content-addressed store, hash-verified

1341
1342
1343def is_honest_missing_declaration(text: str) -> bool:
1344 normalized = normalize_lint_whitespace(text)
1345 if not any(token in normalized for token in HONEST_MISSING_TOKENS):
1346 return False
1347 if not any(token in normalized for token in HONEST_MISSING_BASIS_TOKENS):
1348 return False
1349 if not any(token in normalized for token in HONEST_MISSING_IMPACT_TOKENS):
1350 return False
1351 return len(normalized) >= 30
1352
1353
1354def has_reference_entry(text: str) -> bool:

Callers 1

Calls 1

Tested by

no test coverage detected