Repository navigation
Ship the grower report, batch sheet and tank grouping in the package (#79) - #83
Merged
Merged
Conversation
…79) An installed FlahaX gave growers JSON: the report, the batch sheet and the concentrate-tank grouping existed only as example code (#73). - flahax batch: one formula (packaged, or your targets) and one water (ro, or a measured analysis closed at its pH) to report.html, batch-sheet.html and summary.json, with the coupled pH plan (acids from certificate values, plus the packaged bases). Exit 0 ready/review, 3 blocked, 1 input error. - summarize_batch, render_report, render_batch_sheet: the same from any plan_fertilizer_workflow result. With a selected reagent the sheet weighs the refitted recipe that counts its nutrients; a blocked plan shows the acid-free recipe and the phases that block it. Offline HTML, no script. - group_tanks: the Yara p. 65 compatibility table (read with p. 63) as three composition rules (Ca-phosphate, Ca-sulfate, Mg-phosphate), which reproduce its twelve incompatible pairs exactly. Owner rule: micronutrients and chelates go to tank A with calcium and stay out of phosphate concentrates; tank A is never acidified; pH reagents get their own channel. User compatibilityRule records apply on top. default_compatibility_rules gives plan_stocks the same rules. - Tomato examples use the packaged grouping (micronutrients no longer 'Not in table') and their acid text reflects #78. Stock solubility is still not checked, and the outputs say so.
Documentation build overview
4 files changed+ guide/grower-outputs.html± changelog.html± api/reference.html± guide/usage.html |
rafatahmed
added a commit
that referenced
this pull request
Nov 7, 2026
Ship the grower report, batch sheet and tank grouping in the package (#79)
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.
Closes #79.
What ships
flahax batch: one formula (packaged, or--targets) and one water (roor a measured analysis JSON, closed at its measured pH) producereport.html,batch-sheet.htmlandsummary.json. The pH plan is coupled to the recipe: acids come from your certificate values via--acid HNO3:0.60:1.37, and the packaged bases are always evaluated. Exit codes: 0 ready or review, 3 blocked, 1 input error.summarize_batch,render_reportandrender_batch_sheetdo the same from anyplan_fertilizer_workflowresult. When a reagent is selected, the sheet weighs the refitted recipe that counts the reagent's nutrients. A blocked plan shows the acid-free recipe and the phases that block it.group_tanksapplies Yara p. 65 (read with p. 63) as three composition rules: Ca with phosphate, Ca with sulfate, Mg with phosphate. A test shows these reproduce the table's 12 incompatible pairs exactly.compatibilityRulerecords apply on top.default_compatibility_rulesgivesplan_stocksthe same rules as records.Not covered
Concentrate solubility is still not checked, and the outputs say so.
Validation
FLAHAX_REQUIRE_PHREEQC=1unittest: 405 tests OK (1 skip, the built-docs test, which passes after the build)verify_distribution: PASSsphinx -W: clean--check: ok