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

Function primary_section_for_page

scripts/extract_source_text.py:210–212  ·  view source on GitHub ↗
(sections: list[dict[str, Any]], page_number: int)

Source from the content-addressed store, hash-verified

208
209
210def primary_section_for_page(sections: list[dict[str, Any]], page_number: int) -> str:
211 ids = section_ids_for_page(sections, page_number)
212 return ids[0] if ids else ""
213
214
215def caption_manifest(

Callers 1

caption_manifestFunction · 0.85

Calls 1

section_ids_for_pageFunction · 0.85

Tested by

no test coverage detected