BDMS-484-485-486-487-490-SampleInfo-MajorMinorChem-Refactor-Features#414
Merged
chasetmartin merged 11 commits intoJan 23, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds BDD feature files to document the expected behavior for refactoring three legacy chemistry data tables (SampleInfo, MajorChemistry, MinorTraceChemistry) into the Ocotillo schema. The features specify field mappings, linkage requirements, idempotency guarantees, and handling of unmapped legacy fields.
Changes:
- Added feature files defining backfill behavior for chemistry sample metadata and major/minor chemistry observations
- Specified field-to-model mappings including agency, analysis methods, uncertainty, volume/unit, and detection flags
- Included scenarios for orphan prevention, data provenance, notes linkage, and public release controls
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| tests/features/nma_chemistry-sampleinfo-refactor.feature | Defines backfill scenarios for migrating legacy Chemistry_SampleInfo to Sample records with provenance, notes, and quality controls |
| tests/features/nma-chemistry-minortracechemistry-refactor.feature | Specifies migration behavior for minor/trace chemistry results to Observation records with parameter linkage and detection qualifiers |
| tests/features/nma-chemistry-majorchemistry-refactor.feature | Defines migration scenarios for major chemistry results to Observation records with similar patterns to minor/trace chemistry |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
This PR addresses the following problem / context:
How
Implementation summary - the following was changed / added / removed:
Notes
Any special considerations, workarounds, or follow-up work to note?