8000 feat: verify volumetric stock doses in batch planning by rafatahmed · Pull Request #263 · rafatahmed/Flahax · GitHub
[go: up one dir, main page]

Skip to content

feat: verify volumetric stock doses in batch planning - #263

Merged
rafatahmed merged 3 commits into
mainfrom
feat/sonneveld-batch-stocks
Nov 17, 2026
Merged

rafatahmed merged 3 commits into
mainfrom
feat/sonneveld-batch-stocks

Conversation

@rafatahmed
Copy link
Copy Markdown
Owner

Summary

  • Integrate the existing volumetric product-stock calculation into batch planning. Check analytical nutrient bounds, modeled pH and EC, and declared dose ceilings after rounding.
  • Show the rounded stock, dry and reagent doses in batch output without listing the stock-supplied product as a second dry dose.
  • Cover the 1,000 L Appendix I recipe without sodium nitrate at pH 5.50 and document the new CLI option.

Validation

  • All 23 focused tests passed. Pinned Ruff, generated CLI reference and whitespace checks passed.
  • The stock and dispenser bounds are illustrative. The calculation uses fixed final solvent mass, source-water displacement and closed carbon. Physical verification remains separate.

Related work: #258 and #262.

@rafatahmed rafatahmed added the enhancement New feature or request label Nov 17, 2026
@rafatahmed rafatahmed self-assigned this Nov 17, 2026
@rafatahmed rafatahmed added the enhancement New feature or request label 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 #35955106 | 📁 Comparing 6c5f7e3 against latest (6290042)

  🔍 Preview build  

5 files changed · ± 5 modified

± Modified

@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 (6290042) to head (6c5f7e3).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##              main      #263    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files          137       138     +1     
  Lines        16247     16365   +118     
  Branches      3304      3325    +21     
==========================================
+ Hits         16247     16365   +118     
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 12:31
@rafatahmed
rafatahmed merged commit 9a60d0b into main Nov 17, 2026
27 checks passed
@rafatahmed
rafatahmed deleted the feat/sonneveld-batch-stocks branch November 17, 2026 12:31
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