nx_water_awg_test.nx
buildroot/runtime/nx_water_awg_test.nx
about
nx_water_awg_test.nx -- the atmospheric-water-generation GATE for nx_water_awg: the psychrometric
condensation yield and energy model, the technology-class envelopes, and the harvester recommender
(humid -> condensation, desert -> sorbent, moderate -> passive capillary, too dry -> none).
MIGRATED OFF A HAND-ROLLED VERDICT 2026-08-14 -- see the note in nx_water_quality_test for the full
reasoning. Short version: the exit code used to be the failed assertion NUMBER, so nothing outside
could read the outcome (no verdict line, no harness.jrnl frame) and the run stopped at the first
failure, hiding every later one. It now inherits nx_gate_verdict, so every tooth runs and the exit
code carries the verdict. Migrated per-tooth by hand: the automated D001 candidate collapses N teeth
into one boolean and reports passed 1/1, which cannot see a dropped conjunct.
THE ENVELOPE TEETH ARE THE POINT. A recommender that always answered CONDENSATION would satisfy the
humid case; the desert, moderate and too-dry teeth are what force it to actually discriminate, and
the WA_NONE tooth is the one that proves it will REFUSE rather than invent a harvester for a climate
that cannot feed one.
license_tier: ORIGINAL expect_exit: 0
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_gate_verdict.nxnx_water_awg.nx
imported by: nobody (leaf or entry point)
structs
| none |
consts
| none |
functions
| 22 | func main() -> i64 |