8000 fix: current documentation figures and three terminal output defects by rafatahmed · Pull Request #475 · rafatahmed/Flahax · GitHub
[go: up one dir, main page]

Skip to content

fix: current documentation figures and three terminal output defects - #475

Merged
rafatahmed merged 2 commits into
mainfrom
fix/audit-docs-and-output-468
Dec 3, 2026
Merged

rafatahmed merged 2 commits into
mainfrom
fix/audit-docs-and-output-468

Conversation

@rafatahmed
Copy link
Copy Markdown
Owner

Closes #468
Closes #469
Closes #470
Closes #471
Closes #472
Closes #473
Closes #474

Part of #437 (science and documentation accuracy audit).

Summary

 flahax batch tank list
-  ..., Sodium Molybdate (Dihydrate), Ammonium Nitrate
+  ..., Sodium Molybdate (Dihydrate), Ammonium Nitrate (numerical residue)

 saved mix session
-  next time: flahax mix sessions/Tomato (RO) grower's
+  next time: flahax mix sessions/tomato-ro-grower-s

 joined recipe and preparation lines
-  A: one.; B: two.
+  A: one; B: two.
Page Was Now Pinned by
band example output (#468) pH 6.5 / 8.5 / 8.8 7.0 at all three ends, with the reason (decision G5) every Output: block under docs/site is compared with what its example prints
Appendix I EC range (#469) to 2.200912 to 2.149525 the Appendix I replay test
conductivity width figures (#470) I to 0.0349; narrowed 41–46 %; share 77–87 %; other species 0.02–0.08 mS/cm 0.0324; 40–46 %; 77–88 %; 0.01–0.05 test_conductivity_page, from recorded totals of the 13 formulas
equilibrium kernel (#471) "versioned phreeqc.dat" table of the constants against PHREEQC 3.8.6 and upstream 5c2475ca, and the differing results test_equilibrium_page (solver and main-chemistry columns)

No calculation or constant changes. The #471 constants stay as they were; changing them is a separate decision. The captured TUI screens (revision 69b9a84) are unchanged; the caption states the current upper bound. The Unreleased changelog's "41 to 46 %" is corrected to 40 to 46 %.

Evidence

  • Before: the new tests on unchanged code and pages: 11 failures (residue label, replay command, .;, quoted pH 0.68928… against 0.68920…, five conductivity sentences, missing current bound).
  • After: 60 test modules that touch the changed surfaces and the repository checks (headers, docstrings, CI weights, reference integrity, package data) pass on Python 3.14 in batches; ruff 0.17.6 check and format pass; tools/verify_distribution.py passes.
  • Real run: flahax batch --formula "Tomato (Howard Resh)" --water ro --ph 5.8 --acid HNO3:0.60:1.37 prints the residue label.

Remaining limit

  • The conductivity test recomputes EC from totals recorded by tests/capture_conductivity_totals.py. A change to a formula's doses or to the formulation is only reflected after rerunning it; the test catches added or removed formulas and any change in the EC calculation.
  • The documentation build and the full coverage gate were not run locally; CI runs them.

Checked against earlier work

Merge Danger

Door: two-way

Blast Radius: wording

Terminal and sheet text changes only where a residue product, a typed session name or a multi-sentence line appears.

@rafatahmed rafatahmed added bug Something isn't working documentation Improvements or additions to documentation labels Dec 3, 2026
@rafatahmed rafatahmed self-assigned this Dec 3, 2026
@read-the-docs-community
read-the-docs-community Bot commented Dec 3, 2026 •
Copy link
Copy Markdown

@codecov
codecov Bot commented Dec 3, 2026
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (11a9f83) to head (e6a5731).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #475   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          155       155           
  Lines        18327     18334    +7     
  Branches      3708      3708           
=========================================
+ Hits         18327     18334    +7     
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 December 3, 2026 15:19
@rafatahmed
rafatahmed merged commit 751d6d5 into main Dec 3, 2026
28 checks passed
@rafatahmed
rafatahmed deleted the fix/audit-docs-and-output-468 branch December 3, 2026 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
0