code wiki / (root) / nx_flavor_design_test.nx

nx_flavor_design_test.nx

buildroot/runtime/nx_flavor_design_test.nx

2752 B77 linesdepth 4pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic flavor
docsdependenciesstructsconstsfunctions

about

nx_flavor_design_test.nx -- smoke for nx_flavor_design (T5). Proves generative, target-driven flavor design + the MEASURED EXCEED (a generated BLEND beats every single ingredient on perceived profile): - distance metric basics (1-2) - best single picks the closest palette ingredient (3) - GENERATIVE: best 2-ingredient blend beats best single for a balanced target, and it is the sweet+sour pair (4-6) - generalises: a pure-sweet target picks the pure-sweet ingredient (7) Exit code = failed assertion number; 0 = all pass.

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_taste_psychophysics.nx nx_flavor_design.nx nx_flavor_design_test.nx

imports: nx_syscalls.nxnx_taste_psychophysics.nxnx_flavor_design.nx

imported by: nobody (leaf or entry point)

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

main sys_mmap nx_flavor_distance nx_flavor_design_best sys_mmap ↻ _fd_row nx_flavor_perceived nx_taste_mixture_perceive nx_taste_suppress_one nx_flavor_distance ↻ nx_flavor_design_best_dist sys_mmap ↻ _fd_row ↻ nx_flavor_perceived ↻ nx_flavor_distance ↻ nx_flavor_design_best_blen sys_mmap ↻ _fd_row ↻ nx_flavor_blend nx_flavor_perceived ↻ nx_flavor_distance ↻

structs

none

consts

none

functions

16func main() -> i64