Skip to content

List-enumeration capability: count entries on a WHO DON/PHEIC list (q11/q24/q25) #54

Description

@smodee

Summary

Three BFG summer-2026 questions ask the pipeline to count entries on an
authoritative list within a window
, and all three get 0 usable insight
records
even though the right list page is injected and survives filtering:

  • q11 — How many PHEICs will be in effect on 31 Dec 2026?
  • q24 — Will WHO issue a DON item for an outbreak attributed to a newly
    identified pathogen in the window? (needs to scan the DON list)
  • q25 — How many new WHO Disease Outbreak News items will be published
    1 Jul–31 Dec 2026?

The insight stage extracts atomic facts from prose/tables; it has no notion of
"enumerate the entries on this list and count the ones matching a predicate
(date window / attribute)." So the injected WHO DON list and IHR/PHEIC pages
survive but yield nothing countable.

Evidence (evidence-coverage audit, live 2026-07-05)

From data/investigations/bfg_evidence_audit_2026-07-05.csv:

Q dashboards survived insight records classification
q11 15 0 under_supported (cause: extraction)
q24 15 0 under_supported (cause: extraction)
q25 15 (+1 off-scope organic) ~0 usable under_supported (cause: extraction)

These route to general_sources (the WHO DON list, IHR emergency-committee /
PHEIC page, etc.) — index/list pages, not fact pages.

What's needed

A way to enumerate list entries and count those matching a predicate, e.g.:

  • q25: count DON items on who.int/emergencies/disease-outbreak-news with a
    publication date in [2026-07-01, 2026-12-31].
  • q11: count active PHEIC determinations on the IHR emergency-committee page.
  • q24: scan DON titles/bodies in the window for "novel pathogen" attribution.

Two plausible shapes (decide in the issue):

  1. Targeted list scrapers (custom_scrapers/who_don_list.py, …) that parse
    the list, filter by date/attribute, and render a compact "N items in window"
    HTML the insight stage reads — mirrors the cdc_measles JSON-feed approach in
    BFG evidence-coverage audit + targeted extraction fixes (q16, refiner-URL, WHO H5 HAI) #53. Deterministic, no new stage.
  2. An insight-stage "enumerate/count" mode — more general but larger surface.

Notes / caveats

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions