code wiki / (root) / nx_flavor_pairing_test.nx

nx_flavor_pairing_test.nx

buildroot/runtime/nx_flavor_pairing_test.nx

2348 B53 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind gate/prooftopic flavor
docsdependenciesstructsconstsfunctions

about

nx_flavor_pairing_test.nx -- smoke for nx_flavor_pairing (T4). Proves shared-compound pairing + the MEASURED EXCEED (scores any pair, not just hand-listed ones): - shared-compound counts are correct (1-3) - flavor-network principle: a fruity pair (shared esters) out-scores a fruit+allium pair (no shared compounds) (4) - identical sets score 1000; affinity bounded (5-7) - a NOVEL ingredient gets a real computed affinity, and a non-sharing novel ingredient scores 0 (8-10) -- generalisation the table lacks Exit code = failed assertion number; 0 = all pass.

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_flavor_pairing.nx nx_flavor_pairing_test.nx

imports: nx_syscalls.nxnx_flavor_pairing.nx

imported by: nobody (leaf or entry point)

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

main nx_compounds_strawberry nx_compoundset_new sys_mmap nx_compounds_pineapple nx_compoundset_new ↻ nx_compounds_garlic nx_compoundset_new ↻ nx_compounds_roastbeef nx_compoundset_new ↻ nx_pairing_shared nx_pairing_affinity_milli nx_pairing_shared ↻ nx_compoundset_new ↻

structs

none

consts

none

functions

16func main() -> i64