Copy this into the PR description and fill every box.
Guide: docs/python/ADD_PATHWAY.md
| Field | Value |
|---|---|
Pathway name (snake_case) |
________________ |
| Module path | src/biology_as_code/pathways/________.py |
| New module or extend existing? | new / extend |
| Clinical or teaching hook (one line) | |
| Links to existing graphs (if any) | e.g. urea_cycle |
- Graph built (
nodes+edges); endpoints valid -
descriptionwritten (FLOW teaching, not medical advice claim) -
referenceslisted or explicitly “topology-only / textbook standard” -
get_*_registry()factory +list_allor.pathways - Wired in
pathways/registry.py→pathway_loaders()only - No directory that shadows a
.pyname
- N/A — no
mechanism_idon edges - New ids registered in
metabolic_mechanisms.py - Every edge
mechanism_idresolves
- Ran
PYTHONPATH=src python3 scripts/export_pathway_packs.py -
packs/<name>/pathway.mermaidpresent (flowchart+ edges) -
packs/<name>/tests.md+README.mdpresent - Did not hand-edit auto mermaid
-
packs/COVERAGE.mdrow added / textbook gap updated -
CHANGELOG.mdentry (if release-facing) - README “what's inside” (optional)
- Discoverable:
get_pathway("<name>")works - Dedicated test file or invariants covered by existing suite
-
PYTHONPATH=src python3 tests/test_pathway_packs.pypasses -
PYTHONPATH=src python3 scripts/check_pathway_integration.py --pathway <name>exits 0
- No product meal score / vendor-variable / proprietary engine
- No invented citations or fabricated magnitudes
- Zero new runtime dependencies
What should a reviewer look at first? Teaching point? Clinical enzyme? Link to urea?
…