You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 094b4e0
Browse filesBrowse the repository at this point in the historyBrowse files
fix: remove extension-based presets and agronomic advice
Remove unqualified crop presets and embedded pH and bicarbonate guidance. Preserve explicit targets, chemical calculations, and archived evidence; use synthetic solver witnesses and update migration documentation. Refs #202.
The plan should provide the initial calculated dose, the elemental additions, valid operating range, and a mandatory post-mix measurement request. Automatic closed-loop correction should be bounded by maximum dose per event, minimum mix time, sensor freshness, and an operator alarm threshold.
180
180
181
-
For many hydroponic systems, nutrient-solution pH is commonly managed around 5.0–6.0, but this is a starting range, not a universal setpoint; the crop and root-zone system own the target. Oklahoma State notes both the importance of pH/EC monitoring and the common 5.0–6.0 range for hydroponics [Hydroponics](https://extension.okstate.edu/fact-sheets/hydroponics) and [EC and pH guide](https://extension.okstate.edu/fact-sheets/electrical-conductivity-and-ph-guide-for-hydroponics).
182
181
183
182
## 4. Dosing-hardware model
184
183
@@ -289,10 +288,5 @@ These rules keep the current lightweight package intact: FlahaX can remain depen
289
288
- Parkhurst, D. L. and Appelo, C. A. J. (2013). *Description of Input and Examples for PHREEQC Version 3*. U.S. Geological Survey Techniques and Methods 6-A43. DOI: [10.3133/tm6A43](https://doi.org/10.3133/tm6A43). Reference for activity-based aqueous speciation, saturation indices, mixing, and equilibrium validation.
290
289
- “The Formation of Calcium Phosphate Precipitation in Nutrient Solution for Hydroponic Cultivation” (1993). DOI: [10.1080/00380768.1993.10419799](https://doi.org/10.1080/00380768.1993.10419799). Direct evidence for treating calcium/phosphate compatibility as a hard design concern.
291
290
292
-
- Oklahoma State University Extension, [Electrical Conductivity and pH Guide for Hydroponics](https://extension.okstate.edu/fact-sheets/electrical-conductivity-and-ph-guide-for-hydroponics). Describes water analysis, EC, pH, and nutrient-solution management.
293
-
- Oklahoma State University Extension, [Hydroponics](https://extension.okstate.edu/fact-sheets/hydroponics). Discusses hydroponic pH/EC management and the need to check adjustments.
294
-
- Penn State Extension, [Interpreting Irrigation Water Tests](https://extension.psu.edu/interpreting-irrigation-water-tests). Explains alkalinity, its reporting as CaCO3, and why pH must be interpreted with alkalinity.
295
-
- University of Minnesota Extension, [Should you acidify your high tunnel irrigation water?](https://blog-fruit-vegetable-ipm.extension.umn.edu/2022/04/should-you-acidify-your-high-tunnel.html). Covers acid injection, injector ratios, and nutrient additions from nitric, phosphoric, and sulfuric acids.
296
-
- Penn State Extension, [Irrigation Water Quality Guidelines for Turfgrass Sites](https://extension.psu.edu/irrigation-water-quality-guidelines-for-turfgrass-sites). Gives the equivalent-based residual sodium carbonate equation and illustrates use of meq/L in irrigation-water chemistry.
297
291
298
292
These references establish operational principles. Product-specific compatibility, solubility, and dosing limits must be sourced from the actual manufacturer documentation and verified under the intended operating conditions before automation is enabled.
Copy file name to clipboardExpand all lines: docs/releases/0.5.0.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,11 @@
1
1
# FlahaX 0.5.0: detailed notes
2
2
3
+
> Historical record: the five Florida formula presets and embedded agronomic
4
+
> pH/bicarbonate advice have been retired under #202. Recorded benchmark
5
+
> results describe the old inputs, not current catalogue coverage or scientific
6
+
> validation of those recommendations. The captures below are preserved unchanged.
7
+
8
+
3
9
Released 2026-10-20. The full text of every change in 0.5.0, as recorded in the changelog when it was released. The [changelog](https://github.com/rafatahmed/Flahax/blob/main/CHANGELOG.md) groups them into a short summary.
4
10
5
11
- Publish Benchmark v1 snapshot 2026-10-20-linux-df0d30b (hosted run 39515183621 on `main`, after #62, #65 and #69), the first with every correctness gate passing: 7/7 controlled NNLS cases, 21/21 stored chemistry comparisons, 17/17 timing workloads; complete recipes 34/52 (was 29/52). The results page no longer calls a fully passing scorecard 'not fully passing' (#66).
(chapters 12-13, pp. 257-312; not consulted directly).
215
-
- Dickson, R. W. and Fisher, P. R. (2019). Quantifying the acidic and basic
216
-
effects of vegetable and herb species in peat-based substrate and
217
-
hydroponics. *HortScience* 54(6): 1093-1100.
218
-
<https://doi.org/10.21273/HORTSCI13959-19>
219
-
220
-
## Feed pH and residual bicarbonate
221
-
222
-
`plan_fertilizer_workflow` adds a note when the target pH lies outside 5.3-5.8,
223
-
the feed range of Dutch soilless practice (root zone about 5.5-6.0; Van der Lugt
224
-
et al.; Savvas). A stronger note appears outside 5.0-7.0. FlahaX doses acid to the
225
-
target pH, so the bicarbonate left afterwards is an outcome. The equilibrium acid
226
-
plan reports it in `audit["residualBicarbonateMmolPerKg"]` and warns when it is
227
-
below the 0.5 mmol/L that Dutch practice leaves as a pH buffer (0.5-0.75 mmol/L).
194
+
## Caller-defined agronomic requirements
195
+
196
+
FlahaX does not prescribe feed-pH bands, a residual-bicarbonate minimum,
197
+
or an ammonium fraction. Supply the target pH and any nutrient limits explicitly.
198
+
The equilibrium acid plan reports residual bicarbonate in
199
+
`audit["residualBicarbonateMmolPerKg"]` without a crop-suitability warning.
200
+
Numerical feasibility establishes agreement with supplied inputs only.
228
201
229
202
## Additional planning commands (since 0.3.1)
230
203
@@ -278,7 +251,7 @@ From the repository root, after the package is installed:
278
251
python -m unittest discover -s tests -t .
279
252
```
280
253
281
-
`test_pepper.py` checks water subtraction, the edited pepper fit, and the forced double-phosphate miss. `test_library.py` checks that the example export has 28 salts, 3 waters, and 26 formulas, then calls `recommend` once per formula. `test_measured_water.py` checks measured-pH water balancing on a published Qatar well. Set `FLAHAX_REQUIRE_PHREEQC=1` to make the live PHREEQC replay fail rather than skip when the pinned executable is missing.
254
+
`test_pepper.py` checks water subtraction, the edited pepper fit, and the forced double-phosphate miss. `test_library.py` checks that the curated catalogue has 32 salts, 3 waters, and 21 formulas, then calls `recommend` once per formula. `test_measured_water.py` checks measured-pH water balancing on a published Qatar well. Set `FLAHAX_REQUIRE_PHREEQC=1` to make the live PHREEQC replay fail rather than skip when the pinned executable is missing.
|`salts`| 28 | Example fertilizers used by the tests. A live recommendation receives the saved rows instead. |
73
73
|`waters`| 3 |`Default Water Profile` (no ions), `WC1` (Ca 20), `WC2` (N, Mg, Ca, Fe) |
74
-
|`formulas`|26| Name, targets, linked water, salt names stored on the formula |
74
+
|`formulas`|21| Name, targets, linked water, salt names stored on the formula |
75
75
76
76
The file is an example for the tests. `python -m flahax` does not read it. The caller passes the fertilizer rows. A name that starts with `test` or a formula of `Input Formula Here` is still rejected if one is passed. Nothing in the solver prefers a salt because its name is MAP, MKP, or SOP.
0 commit comments