Repository navigation
feat: one clean page for the grower, chemistry notes at the agronomist depth - #386
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #386 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 152 152
Lines 18022 18046 +24
Branches 3642 3648 +6
=========================================
+ Hits 18022 18046 +24
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 #385
What changes
The grower depth of the batch sheet and of the
flahax mixterminal result is one clean page, in the layout agreed in review:Only what changes what the grower does stays on the first page: a blocked stage, a declared maximum that is exceeded, a stock that does not dissolve (
key_reasons, which no longer fills spare slots with other warnings), and the matrix reasons. Ion balance, assay differences, saturation, EC model limits and the concentration basis are not shown at depth 1 and are still listed at the agronomist depth and in the full evidence. The agronomist depth keeps its full nutrient table.Checked before this commit
tests/test_grower_layout.py(12 tests on real batches: ready, review and blocked): it failed before the change. It covers the sheet at depth 1 and 2, the terminal result, the note count and the blocking reason.flahax mix --plainon the Cucumber recipe: the terminal result and the rendered sheet show the status, the nutrient table, the tanks, the reagent, the checks and "10 notes for your agronomist".outputs/test-runs/2026-11-30-feat-one-page-grower-sheet/): grower layout, grower sheet, mix results, mix TUI, status consistency (95 tests); grower outputs, Sonneveld, report consistency and boundaries, mix Sonneveld (51 tests);test_mix_cli(34 tests, one assertion updated: the blocking reason is now checked to come before the nutrient table instead of being in the last 25 lines). Lint, format, API and CLI references clean.Not covered
The full suite, coverage gate and strict docs build run in CI. The full-screen results view keeps its own Tanks, Nutrients and Notes views. The "Scientific qualifications" block under the sheet and the full report are unchanged.