Repository navigation
fix: mix stop messages and leftovers, and irrigation EC comparison and input checks - #496
Merged
Merged
Conversation
|
📖 3 files modified Preview · build overview · Flahax · built Dec. 3, 2026, 8:07 p.m. UTC |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #496 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 155 155
Lines 18380 18403 +23
Branches 3714 3719 +5
=========================================
+ Hits 18380 18403 +23
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:
|
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.
Summary
Fixes the six findings of the
flahax mixand irrigation EC audit (#437).Closes #490
Closes #491
Closes #492
Closes #493
Closes #494
Closes #495
Irrigation EC input checks (#493), each now a named
DeliveryError:audit_inputs,reagent_additions_molalnot a mappinginvalid_audit_inputs,invalid_valuephases=[[...]]invalid_phase_policyphases=[1]unknown_phaseinvalid_phase_policycompare_measured_ec(None, ...)invalid_valueinvalid_valueionic_molal_conductivityresult negative or not finiteinvalid_value#494 adds tests only: the sign of reagent additions and the refusals for supplied pH,
phasesand doses.Evidence
f4732d2d.After: they pass.
.tmp; saved answers are named beforeStopped.; the probed bad inputs are refused.python -m flahax mix --plainprints the calculating line, then the results.Remaining limit
ionic_molal_conductivity, so none is invented: a positive finite result at an extreme temperature is still returned..tmpcopies already left in a store are not removed; they are harmless.Checked against earlier work
within_rangefor a bounded prediction, to be reported without a verdict. EC: report a range, never refuse or block (G6–G9) #224 / fix: withhold disputed Magsul manufacturer screening totals #244 later made that result arangewithout a midpoint, which the comparison then refused. This restores membership and reports no difference.Merge Danger
Door: two-way
Blast Radius: library-and-mix
compare_measured_ecthat relied on a range being refused now get a result withdifference_ms_cmofNone.ionic_molal_conductivitynow refuses some strengths it used to answer with a negative number (for example nitrate at 6 mol/kg).flahax mix --plainoutput see one more line, and a second one after--review-reagents.