code wiki / (root) / nx_flavor_chem_test.nx

nx_flavor_chem_test.nx

buildroot/runtime/nx_flavor_chem_test.nx

1999 B39 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic flavor
docsdependenciesstructsconstsfunctions

about

nx_flavor_chem_test.nx -- smoke for nx_flavor_chem (T3). Proves structure -> taste prediction + the MEASURED EXCEED (generalises to molecules outside any ingredient table): - 6 grounded reference molecules classify correctly (1-6) - sweetness POTENCY is read from structure (7-8) - a NOVEL molecule (in no table) is classified from structure (9-10) - a structurally inert molecule -> NONE (11) Exit code = failed assertion number; 0 = all pass.

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_taste_transduce.nx nx_flavor_chem.nx nx_flavor_chem_test.nx

imports: nx_syscalls.nxnx_taste_transduce.nxnx_flavor_chem.nx

imported by: nobody (leaf or entry point)

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

main nx_flavor_predict_taste nx_flavor_is_salty nx_flavor_is_umami nx_flavor_is_sour nx_flavor_is_sweet nx_flavor_is_bitter nx_molsensory_sucrose nx_molsensory_new sys_mmap nx_molsensory_sucralose nx_molsensory_new ↻ nx_molsensory_citric nx_molsensory_new ↻ nx_molsensory_nacl nx_molsensory_new ↻ nx_molsensory_quinine nx_molsensory_new ↻ nx_molsensory_msg nx_molsensory_new ↻ nx_flavor_sweet_potency nx_flavor_is_sweet ↻ nx_molsensory_new ↻

structs

none

consts

none

functions

15func main() -> i64