code wiki / (root) / nx_allergen_test.nx

nx_allergen_test.nx

buildroot/runtime/nx_allergen_test.nx

2888 B63 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_allergen_test.nx -- smoke for nx_allergen. Proves big-9 rollup with HIDDEN-allergen detection, personalized safety, cross-contact risk, and substitution that never reintroduces an avoided allergen. Exit code = failed assertion number; 0 = all pass.

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_allergen.nx nx_allergen_test.nx

imports: nx_syscalls.nxnx_allergen.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main nx_ingredient_allergens al_mask_add nx_ingredient_allergens ↻ al_contains al_safe_for al_count al_cross_contact_risk al_substitute nx_ingredient_allergens ↻

structs

none

consts

none

functions

9func main() -> i64