Repository navigation
fix: one stage status vocabulary and a stated 'target met' criterion (#299, #300) - #302
Merged
Merged
Conversation
…tage is made (#300) STAGE_STATUSES lists calculated, requires_review, needs_input, blocked and not_calculated. The developer guide omitted not_calculated, which the workflow emits when the activity model's range is exceeded. WorkflowStage now refuses any other status. A test reads every status the workflow writes and checks a blocked formulation is never outranked in the batch summary.
…#299) The summary carries formulation.match_criterion (relative 1e-05, 1e-06 mg/L for a declared zero) and the explanation and report print it, instead of 'configured tolerances'. The constants are unchanged; contract Q24, finding C1.
Documentation build overview
3 files changed± changelog.html± agronomist/reading-results.html± developer/water-to-delivery.html |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #302 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 140 140
Lines 17180 17186 +6
Branches 3493 3494 +1
=========================================
+ Hits 17180 17186 +6
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.
Closes #299. Closes #300. #301 is closed as not planned (see its comment).
Resolves the three possible gaps found while reviewing the archived branches. Each was checked on current
mainfirst; only the confirmed part is changed.not_calculatedwas missing) and nothing enforced the set. AddsSTAGE_STATUSES, makesWorkflowStagerefuse any other status, documents all five, and adds a test that reads every status the workflow writes and checks a blocked formulation is never outranked in the batch summary. The "rollup outranks a blocked stage" half did not reproduce.formulation.match_criterion, and the explanation and report print it (relative 1e-05, 1e-06 mg/L for a declared zero). The constants are unchanged. The EC half is working as designed: a fixed EC tolerance would be a new unassurable threshold (ADR 0001).statuses.phasetorequires_review.Local checks: ruff clean; the 9 new tests pass; 152 tests across the workflow, report, status, precipitation, EC and pH-input modules pass. The full suite was not run locally (5-minute limit); CI is the verifier. No pH solver or chemistry code changed, so the PHREEQC fixture needs no re-capture.