Summary
The feature spec tests/features/nma-chemistry-radionuclides-refactor.feature defines 7 scenarios for refactoring legacy NMA_Radionuclides rows into the Ocotillo Observation schema via a backfill job.
Current State
PR #573 (558-radionuclides-backfill) implements the full backfill job and BDD step definitions. Remaining work is resolving the local test DB setup (#585) and final review.
Completed
Remaining
Linked
Summary
The feature spec
tests/features/nma-chemistry-radionuclides-refactor.featuredefines 7 scenarios for refactoring legacyNMA_Radionuclidesrows into the OcotilloObservationschema via a backfill job.Current State
PR #573 (
558-radionuclides-backfill) implements the full backfill job and BDD step definitions. Remaining work is resolving the local test DB setup (#585) and final review.Completed
lexicon_termwith required terms inbefore_alltests/features/steps/chemistry-backfill.pycovering all 7 scenariostransfers/backfill/chemistry_backfill.pyNMA_Radionuclidesrows →Observationrecords keyed onnma_pk_chemistryresults(GlobalID)Parameterrecords by(parameter_name, matrix="water")detect_flag=falsewhenSymbol = "<"Volume/VolumeUniton the parentSample(first-write-wins with conflict warnings)Notesrecords linked to observationsAnalysisMethodas-is (no lexicon mapping)ORDER BY NMA_Radionuclides.idtransfers/backfill/backfill.py--batch-sizeflagRemaining
uv run pytestpasses locally (Test DB setup should follow standard Python load_dotenv convention #585)Linked
tests/features/nma-chemistry-radionuclides-refactor.feature