nx_flavor_pairing_test.nx
buildroot/runtime/nx_flavor_pairing_test.nx
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
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
structs
| none |
consts
| none |
functions
| 16 | func main() -> i64 |