Files
stack/tests/pfs/test_guidance.py
kert 6bff63b499
Some checks failed
CI / lint (push) Successful in 45s
CI / notebooks-smoke (push) Has been cancelled
Deploy / notebooks (push) Has been cancelled
Deploy / zotero (push) Has been cancelled
Deploy / docs (push) Has been cancelled
Deploy / api (push) Has been cancelled
Deploy / llm (push) Has been cancelled
Deploy / mc (push) Has been cancelled
Deploy / report (push) Has been cancelled
CI / test (push) Has been cancelled
Infra CI / docs (push) Has been cancelled
Infra CI / api (push) Has been cancelled
Infra CI / llm (push) Has been cancelled
Infra CI / mc (push) Has been cancelled
Infra CI / notebooks (push) Has been cancelled
Infra CI / zotero (push) Has been cancelled
feat(pfs,llm): resolve MLN products/articles to bib items; locate IOM section pages in chapter PDFs (refs #705)
- pfs.guidance: MLN_RE accepts ICN/MLN product numbers ("ICN MLN909188",
  "ICN 909289"), MLN_MATTERS_RE captures MM/SE article numbers; mln_refs
  normalises both to "MLN <n>" / "MLN Matters MM<n>"; resolve_mln finds
  the bib item whose URL or title carries the identifier (word-bounded).
- pfs.guidance.iom_section_page: locates an IOM section heading inside the
  chapter PDF attached to the resolved item (llm.pages.locate_section —
  the body heading is the one followed by its "(Rev." line, which the
  table of contents lacks); cached per item/section and per PDF.
- pfs.codetables.GuidanceRow.page (+ column, added in place by
  ensure_tables; legacy NULL reads 0).
- llm.lineage: resolved IOM/MLN guidance rows link to the bib item's URL,
  with #page=N when the section was located.
2026-09-11 17:51:20 -04:00

29 KiB