MCPcopy Create free account

hub / github.com/917Dhj/DeepPaperNote / functions

Functions686 in github.com/917Dhj/DeepPaperNote

↓ 207 callersFunctionnormalize_whitespace
(text: str)
scripts/common.py:95
↓ 29 callersFunctionissue
(code: str, severity: str = "error", **details: Any)
scripts/lint_grounding.py:55
↓ 20 callersFunctionfigure_structure_issues
(text: str)
scripts/lint_note.py:863
↓ 20 callersFunctiongrounded_note_plan
()
tests/test_lint_grounding.py:108
↓ 20 callersFunctionrun_lint_grounding
( tmp_path: Path, note_plan: dict, source_manifest: dict, bundle: dict | None = None, figu
tests/test_lint_grounding.py:19
↓ 20 callersFunctionsource_manifest
(*, truncated: bool = False)
tests/test_lint_grounding.py:52
↓ 19 callersFunctionemit
(payload: dict[str, Any], output_path: str | None = None)
scripts/common.py:53
↓ 19 callersFunctionslim_bundle
()
tests/test_lint_grounding.py:121
↓ 18 callersFunctionpaper_id_for_record
(record: dict[str, Any])
scripts/common.py:366
↓ 17 callersFunctionmaybe_load_json_record
(value: str | None)
scripts/common.py:79
↓ 16 callersFunction_as_string_list
(value: Any)
scripts/common.py:1314
↓ 15 callersFunction_valid_note_text
()
tests/test_lint_note.py:27
↓ 15 callersFunctionextract_caption_lines
(pdf_text: str, kind: str)
scripts/common.py:2129
↓ 15 callersFunctionfigure_structure_passes
(text: str)
scripts/lint_note.py:875
↓ 15 callersMethodopen
(self, path: Path)
tests/test_common.py:74
↓ 15 callersFunctionresolve_reference
(value: str)
scripts/common.py:760
↓ 14 callersFunction_classify_visual_quality
Classify whether a caption-matched crop is visually usable. This is intentionally conservative. A label/caption match proves identity, but no
scripts/extract_pdf_assets.py:136
↓ 14 callersFunction_normalize_label_for_match
Normalize a figure/table label to a canonical form for matching. 'Figure 3' / 'Fig. 3' / 'fig 3' / 'Figure. 3' all become 'fig 3'. 'Table 2'
scripts/plan_figures.py:293
↓ 14 callersFunctionbundle
( metadata: dict, evidence_wrapper: dict, figures_wrapper: dict, assets_wrapper: dict, sou
scripts/build_synthesis_bundle.py:342
↓ 14 callersMethodclose
(self)
tests/test_common.py:66
↓ 13 callersMethodget_text
(self, mode: str)
tests/test_common.py:50
↓ 11 callersFunctionapply_identity_confidence
(record: dict[str, Any])
scripts/common.py:159
↓ 11 callersFunctionenrich_metadata
(record: dict[str, Any])
scripts/common.py:872
↓ 11 callersFunctionextract_arxiv_id
(paper_ref: str)
scripts/common.py:309
↓ 11 callersFunctionextract_doi
(text: str)
scripts/common.py:325
↓ 11 callersFunctioninspect_substantive_content
(text: str)
scripts/lint_note.py:1371
↓ 11 callersFunctionissue
(section: str, reason: str, severity: str, snippet: str)
scripts/lint_note.py:1300
↓ 11 callersFunctionmatch_section_heading
(line: str)
scripts/common.py:1730
↓ 10 callersFunctioninfer_domain_label
(title: str, abstract: str = "")
scripts/common.py:1439
↓ 10 callersFunctionresolve_reference_links
Attach exact Obsidian wikilink matches to extracted reference candidates.
scripts/citation_links.py:354
↓ 9 callersFunction_append_reason
(reasons: list[str], reason: str)
scripts/common.py:153
↓ 9 callersFunction_count_term_hits
(terms: list[str], text: str)
scripts/common.py:1387
↓ 9 callersFunctionbuild_figure_items
(evidence_pack: dict, *, limit: int = 12)
scripts/plan_figures.py:151
↓ 9 callersFunctionnormalize_title
(text: str)
scripts/common.py:103
↓ 9 callersFunctionrun_step
(cmd: list[str])
scripts/run_pipeline.py:28
↓ 9 callersFunctionsection_body
(text: str, heading: str)
scripts/lint_note.py:1230
↓ 8 callersFunctionattach_candidate_images
( items: list[dict], page_assets: list[dict], image_assets: list[dict], figure_assets: list[di
scripts/plan_figures.py:368
↓ 8 callersFunctionbuild_items
(sentences: list[str], section: str)
scripts/extract_evidence.py:63
↓ 8 callersFunctioninspect_note_plan
(plan_path: Path)
scripts/lint_note.py:227
↓ 8 callersFunctionmixed_language_issues
(text: str)
scripts/lint_note.py:508
↓ 8 callersFunctionpick_sentences_by_keywords
(text: str, keywords: list[str], *, limit: int = 5)
scripts/common.py:2421
↓ 8 callersFunctionresolve_domain_subdir
( config: dict[str, Any], *, title: str, abstract: str = "", subdir: str = "", )
scripts/common.py:1517
↓ 8 callersFunctionsplit_sentences
(text: str)
scripts/common.py:1584
↓ 8 callersFunctiontext_chunks
( text: str, *, section: str, kind_hint: str = "", actual_source_section: str = "", is
scripts/extract_evidence.py:235
↓ 7 callersFunction_classify_caption_kind
Return 'table' if the caption label starts with 'Table', else 'figure'.
scripts/extract_pdf_assets.py:215
↓ 7 callersFunction_rect_area
(bbox: tuple[float, float, float, float])
scripts/extract_pdf_assets.py:114
↓ 7 callersFunctionchoose_best_title_match
(title: str, candidates: list[dict[str, Any]])
scripts/common.py:739
↓ 7 callersFunctionclean_pdf_line
(line: str)
scripts/common.py:1592
↓ 7 callersFunctionenv_config_value
(*names: str, default: str = "")
scripts/common.py:246
↓ 7 callersFunctionmath_render_issues
(text: str)
scripts/lint_note.py:1168
↓ 7 callersFunctionnormalize_caption_label
(label: str)
scripts/common.py:2045
↓ 7 callersFunctionnormalized_section_content
(body: str)
scripts/lint_note.py:1280
↓ 7 callersFunctionresolve_obsidian_note_path
( config: dict[str, Any], *, title: str, subdir: str = "", filename: str = "", )
scripts/common.py:1541
↓ 6 callersFunction_normalized_domain_label
(value: str)
scripts/common.py:1374
↓ 6 callersFunctionload_record
(value: str)
scripts/build_synthesis_bundle.py:36
↓ 6 callersFunctionnormalize_lint_whitespace
(text: str)
scripts/lint_note.py:1284
↓ 6 callersFunctionrun_decisions
(tmp_path: Path, source_manifest: dict, figures: dict)
tests/test_figure_table_decisions.py:17
↓ 6 callersFunctionruntime_config
()
scripts/common.py:933
↓ 5 callersFunction_domain_route_label
(rule: dict[str, Any])
scripts/common.py:1391
↓ 5 callersFunction_intersection_area
( a: tuple[float, float, float, float], b: tuple[float, float, float, float], )
scripts/extract_pdf_assets.py:118
↓ 5 callersFunction_looks_like_data_row
Heuristic: a data row from a tabular layout, not part of a caption.
scripts/extract_pdf_assets.py:80
↓ 5 callersFunction_parse_yaml_scalar
(value: str)
scripts/common.py:1209
↓ 5 callersFunction_restrict_row_to_caption_column
Keep only row cells in the same page column as a narrow caption. In two-column papers, unrelated left/right column tables often share the sam
scripts/extract_pdf_assets.py:762
↓ 5 callersFunction_strip_wrapping_quotes
(value: str)
scripts/citation_links.py:131
↓ 5 callersFunctionappend_candidate
(candidates: list[tuple[str, str]], kind: str, value: str)
scripts/fetch_pdf.py:41
↓ 5 callersFunctioncaption_label_key
(label: str)
scripts/common.py:2106
↓ 5 callersFunctionhttp_get_json
(url: str, *, timeout: int = 30, headers: dict[str, str] | None = None)
scripts/common.py:402
↓ 5 callersFunctionimport_available
(module_name: str)
scripts/check_environment.py:21
↓ 5 callersFunctionis_probable_local_pdf_artifact_title
(title: str)
scripts/common.py:130
↓ 5 callersFunctionpdf_coverage_summary
(pdf_path: Path, max_pages: int | None = None)
scripts/common.py:1758
↓ 5 callersFunctionresolve_note_output_mode
(config: dict[str, Any])
scripts/common.py:965
↓ 5 callersFunctionsafe_fetch_arxiv_entries
(*, search_query: str = "", id_list: str = "", max_results: int = 10)
scripts/common.py:495
↓ 5 callersFunctionstrip_frontmatter
Remove a leading YAML frontmatter block (---...---) if present.
scripts/lint_note.py:1477
↓ 5 callersFunctionwrite_test_pdf
(path: Path, pages: list[str])
tests/test_extract_evidence.py:24
↓ 4 callersFunction_caption_match_is_inline_reference
Reject prose references such as "Table 8 summarizes ...".
scripts/extract_pdf_assets.py:371
↓ 4 callersFunction_estimate_figure_bbox_above_caption
Estimate the bounding box of the figure that lives ABOVE its caption. Strategy: 1. Collect all xref image rects and vector drawing rects on t
scripts/extract_pdf_assets.py:607
↓ 4 callersFunction_grow_table_region
Walk away from the caption in ``direction`` ('up' or 'down') and collect logical rows that look like part of a tabular layout. Returns the li
scripts/extract_pdf_assets.py:839
↓ 4 callersFunction_looks_like_text_table_row
Heuristic: a short textual row from a comparison/categorization table.
scripts/extract_pdf_assets.py:89
↓ 4 callersFunction_match_key
(value: str)
scripts/citation_links.py:270
↓ 4 callersFunction_normalize_arxiv_id
(value: str)
scripts/citation_links.py:209
↓ 4 callersFunction_unique_figure_asset_filename
(page_number: int, label: str, used_filenames: set[str])
scripts/extract_pdf_assets.py:1055
↓ 4 callersFunctioncaption_preference_score
(label: str, caption: str)
scripts/common.py:2114
↓ 4 callersFunctioncore_info_structure_issues
(text: str)
scripts/lint_note.py:879
↓ 4 callersFunctionensure_parent
(path: str | Path)
scripts/common.py:49
↓ 4 callersFunctionextract_appendix_index
( pdf_path: Path, pdf_coverage: dict[str, Any] | None = None, *, max_sections: int = 20, m
scripts/common.py:1853
↓ 4 callersFunctionextract_equation_candidates
(*, full_text: str, method_text: str, experiment_text: str, conclusion_text: str, limit: int = 8)
scripts/extract_evidence.py:430
↓ 4 callersFunctioninspect_figure_callouts
(text: str)
scripts/lint_note.py:559
↓ 4 callersFunctionload_record
(value: str)
scripts/lint_grounding.py:43
↓ 4 callersFunctionmeaningful_units
(body: str, generic_patterns: list[str] | None = None)
scripts/lint_note.py:1324
↓ 4 callersFunctionmechanical_translation_artifact_issues
(text: str)
scripts/lint_note.py:538
↓ 4 callersFunctionpassing_lint_payload
()
tests/test_lint_note.py:1200
↓ 4 callersFunctionslugify_filename
(text: str)
scripts/common.py:216
↓ 4 callersFunctionsuspicious_mid_sentence_linebreaks
(text: str)
scripts/lint_note.py:955
↓ 4 callersFunctionwrite_json
(path: Path, payload: dict)
tests/test_lint_grounding.py:14
↓ 3 callersFunction_asset_candidate
(asset: dict, *, include_label: bool = False)
scripts/plan_figures.py:351
↓ 3 callersFunction_collect_drawing_rects
Gather bounding boxes of vector drawings on the page.
scripts/extract_pdf_assets.py:399
↓ 3 callersFunction_collect_xref_rects
Gather the page-level bounding boxes of all embedded images.
scripts/extract_pdf_assets.py:383
↓ 3 callersFunction_copy_default_domain_rules
()
scripts/common.py:1186
↓ 3 callersFunction_find_caption_blocks
Return caption anchors sorted top-to-bottom by their y0 coordinate. Each anchor contains the full multi-line caption bbox so that the downstr
scripts/extract_pdf_assets.py:299
↓ 3 callersFunction_line_number_from_offset
(text: str, offset: int)
scripts/lint_note.py:1029
next →1–100 of 686, ranked by callers