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

Function accepts_partial_reading

scripts/lint_grounding.py:96–104  ·  view source on GitHub ↗
(note_plan: dict[str, Any])

Source from the content-addressed store, hash-verified

94
95
96def accepts_partial_reading(note_plan: dict[str, Any]) -> bool:
97 coverage = note_plan.get("source_coverage", {})
98 if isinstance(coverage, dict) and coverage.get("partial_reading_accepted") is True:
99 return True
100 return normalize_whitespace(str(note_plan.get("reading_mode", ""))).lower() in {
101 "partial",
102 "accepted_partial",
103 "partial_reading",
104 }
105
106
107def contains_old_reference(value: Any) -> bool:

Callers 1

validate_note_planFunction · 0.85

Calls 1

normalize_whitespaceFunction · 0.90

Tested by

no test coverage detected