Repository navigation
feat: accept small ammonium and sodium amounts without a declared maximum - #396
Merged
Merged
Conversation
…out a declared maximum (#395) Ammonium up to the documented allowance (10 % of the nitrogen target, at most 1.5 mmol/L) and sodium up to 5 mg/L need no declared maximum. They are listed as assumptions on every output, never change a recipe, and can be declined with --ammonium-allowance 0 and --trace-sodium 0.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #396 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 152 152
Lines 18074 18111 +37
Branches 3650 3657 +7
=========================================
+ Hits 18074 18111 +37
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.
NOT READY until CI is green.
Closes #395
Ammonium the products add, up to the documented allowance (10 % of the nitrogen target, at most 1.5 mmol/L), and sodium up to 5 mg/L need no declared maximum. A default recipe whose only review reason was these two is now
ready.summary['assumed_limits'].--ammonium-allowance 0and--trace-sodium 0(ammonium_allowance_percent=0,trace_sodium_mg_per_l=0inBatchOptions). Libraryrecommend()is unchanged.requires review).Verified on this branch:
tests/test_acceptable_incidental.py).readywith two "Assumed:" lines on its sheet; Strawberry Drip Irrigation isrequires review.outputs/test-runs/2026-11-30-feat-acceptable-incidental-amounts/seq/.ready, or pin the no-maximum path with both options set to 0.Not yet verified: the full CI gate (exact coverage, Python 3.11) has not run.