8000 feat: retry missed batch targets with available fertilizers by rafatahmed · Pull Request #261 · rafatahmed/Flahax · GitHub
[go: up one dir, main page]

Skip to content

feat: retry missed batch targets with available fertilizers - #261

Merged
rafatahmed merged 2 commits into
mainfrom
feat/sonneveld-alternative-products
Nov 17, 2026
Merged

rafatahmed merged 2 commits into
mainfrom
feat/sonneveld-alternative-products

Conversation

@rafatahmed
Copy link
Copy Markdown
Owner

Summary

  • Add an opt-in batch retry that fits available alternative fertilizers together with the original inventory after a nutrient miss. Preserve water, pH, nutrient targets and ceilings.
  • Export the evaluated recipe in the existing remedy snapshot. Document the batch option.
  • Cover the Appendix I 1,000 L retry at pH 5.50 without sodium nitrate. Verify sodium sulfate selection, the calculated acid dose and reconstructed nutrient totals.

Validation

  • 27 focused tests passed across Appendix I, Steiner reference cases and workflow and CLI remedies.
  • Pinned Ruff and diff whitespace checks passed.
  • The search evaluates one expanded pool of declared products. The Appendix I result uses modeled chemistry and an illustrative sodium ceiling.

Related work: #259 and #260.

@rafatahmed rafatahmed added the enhancement New feature or request label Nov 17, 2026
@rafatahmed rafatahmed self-assigned this Nov 17, 2026
@read-the-docs-community
read-the-docs-community Bot commented Nov 17, 2026 •
Copy link
Copy Markdown

Documentation build overview

📚 Flahax | 🛠️ Build #35949489 | 📁 Comparing f6b14fe against latest (175a652)

  🔍 Preview build  

2 files changed
± agronomist/batch-command.html
± reference/cli.html

@codecov
codecov Bot commented Nov 17, 2026 •
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (175a652) to head (f6b14fe).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #261   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          137       137           
  Lines        16235     16247   +12     
  Branches      3302      3304    +2     
=========================================
+ Hits         16235     16247   +12     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@rafatahmed
rafatahmed marked this pull request as ready for review November 17, 2026 07:48
@rafatahmed
rafatahmed merged commit b5edbc0 into main Nov 17, 2026
27 checks passed
@rafatahmed
rafatahmed deleted the feat/sonneveld-alternative-products branch November 17, 2026 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0