Priority: P3 — staged maintainability work after current correctness blockers.
Problem
kg_microbe/transform_utils/bacdive/bacdive.py is approximately 3,448 lines and combines API/input parsing, normalization, ontology resolution, domain-specific edge construction, writing, and orchestration. The size and mixed responsibilities make BacDive correctness fixes hard to isolate.
Proposed change
Split the implementation around stable responsibilities such as record parsing, strain/taxon normalization, ontology and mapping resolution, assay/trait modeling, KG emission, and orchestration.
Acceptance criteria
Priority: P3 — staged maintainability work after current correctness blockers.
Problem
kg_microbe/transform_utils/bacdive/bacdive.pyis approximately 3,448 lines and combines API/input parsing, normalization, ontology resolution, domain-specific edge construction, writing, and orchestration. The size and mixed responsibilities make BacDive correctness fixes hard to isolate.Proposed change
Split the implementation around stable responsibilities such as record parsing, strain/taxon normalization, ontology and mapping resolution, assay/trait modeling, KG emission, and orchestration.
Acceptance criteria