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

Function appendix_evidence_counts

scripts/build_synthesis_bundle.py:163–171  ·  view source on GitHub ↗
(evidence_pack: dict)

Source from the content-addressed store, hash-verified

161
162
163def appendix_evidence_counts(evidence_pack: dict) -> dict[str, int]:
164 appendix_evidence = evidence_pack.get("appendix_evidence", {}) or {}
165 if not isinstance(appendix_evidence, dict):
166 return {}
167 return {
168 normalize_whitespace(str(category)): len(items)
169 for category, items in appendix_evidence.items()
170 if isinstance(items, list)
171 }
172
173
174def sanitize_page_assets(assets_wrapper: dict, *, limit: int = 24) -> list[dict]:

Callers 1

coverage_summaryFunction · 0.85

Calls 1

normalize_whitespaceFunction · 0.90

Tested by

no test coverage detected