8000 feat: design batch targets with Sonneveld A-D by rafatahmed · Pull Request #264 · rafatahmed/Flahax · GitHub
[go: up one dir, main page]

Skip to content

feat: design batch targets with Sonneveld A-D - #264

Merged
rafatahmed merged 1 commit into
mainfrom
feat/sonneveld-target-design
Nov 17, 2026
Merged

rafatahmed merged 1 commit into
mainfrom
feat/sonneveld-target-design

Conversation

@rafatahmed
Copy link
Copy Markdown
Owner

Summary

  • Add an optional Sonneveld A-D target source and a preview command for batch planning. Preserve the calculation, charge totals, declared minima and full-precision target in the batch result.
  • Feed the calculated Column D targets into the existing formulation workflow and verify the 1,000 L Appendix I example at pH 5.50 without sodium nitrate.
  • Document the new options and regenerate the CLI reference.

Validation

  • 29 local tests passed across Appendix I, Steiner, target design, CLI handoff and preview, docs and error catalogue. The new design module reached complete local statement and branch coverage. Pinned Ruff and whitespace checks passed.
  • The paper's EC shortcut sets the target charge. The batch example uses modeled chemistry and an illustrative sodium ceiling.

Related work: #259, #260, #261, #262 and #263.

@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
Copy link
Copy Markdown

Documentation build overview

📚 Flahax | 🛠️ Build #35956213 | 📁 Comparing 2f38dfa against latest (9a60d0b)

  🔍 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 (9a60d0b) to head (2f38dfa).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #264   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          138       139    +1     
  Lines        16365     16439   +74     
  Branches      3325      3340   +15     
=========================================
+ Hits         16365     16439   +74     
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 13:27
@rafatahmed
rafatahmed merged commit ed4a448 into main Nov 17, 2026
27 checks passed
@rafatahmed
rafatahmed deleted the feat/sonneveld-target-design branch November 17, 2026 13:27
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