Repository navigation
feat: show a status matrix per recipe and make ready reachable - #370
Merged
Merged
Conversation
8000
Documentation build overview
13 files changed ·
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #370 +/- ##
==========================================
Coverage 100.00% 100.00%
==========================================
Files 151 152 +1
Lines 17816 17968 +152
Branches 3599 3632 +33
==========================================
+ Hits 17816 17968 +152
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
rafatahmed
marked this pull request as ready for review
November 29, 2026 04:23
This was referenced Nov 29, 2026
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.
Closes #369
What changes
summary['matrix']reports a verdict per cell (target fit, chemical stability, model basis: ready, review or blocked) with findings that name their code, and a separate preparation verdict (fits, not verified, does not fit).summary['status']is the worst of the three cells and can now beready("calculation complete, not physically validated"). Words are inGLOSSARY.md; the decision is ADR 0004.Preparation: does not fit - <need>).blockedreads "not usable as planned"; "do not mix" is retired. A declared maximum that is exceeded still blocks. A rounded delivery that misses its declared requirements still holds the recipe.Behaviour changes to check
flahax batchandflahax mixexit 3 only for a blocked recipe. A preparation that does not fit, or a recipe with no pH plan, exits 0. Scripts that relied on exit 3 for those cases change.readyis uncommon on the shipped catalogue: it needs every target met (or inside a declared range), every incidental nutrient given a declared maximum, a planned pH and no precipitation risk. Ion balance stays information only (G10).Verification
test_mix_clifailures were disk-full errors and passed on rerun; the slow ratio tests pass one at a time.test_grower_journeysegments 03 and 04,test_mix_clisegment 03,test_independent_reagent_capacity,test_precipitation_report. Also not run locally: the coverage-gap comparison, the wheel and sdist check, the strict docs build (Sphinx is not installed). CI covers them.