code wiki / _hdl_build / nx_tissuematerial_gate.nx

nx_tissuematerial_gate.nx

buildroot/runtime/_hdl_build/nx_tissuematerial_gate.nx

7531 B135 linesdepth 6pulls 10 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_tissuematerial_gate.nx -- THE LAYER STIFFNESS RATIO IS CITED, AND THE NUMBER IT REPLACED IS PROVEN TO HAVE BEEN OUT OF RANGE. (softbody SB4, first leg, 2026-08-25.) WHAT THIS EXISTS TO STOP. nx_softtissue's per-layer distance compliance used to be two hand-tuned constants carrying the names ST_MAGIC_1229 and ST_MAGIC_12288 -- renamed by nx_magic apply, never sourced. A MAGIC NUMBER GIVEN A NAME IS STILL A MAGIC NUMBER: the grep goes quiet and the arbitrariness is untouched, which is strictly worse than a bare literal because it now LOOKS deliberate. Their implied gland/adipose stiffness ratio was 9.998 against a published within-study band of 1.420..5.698 -- 1.75x above the top of the literature, and nothing in the estate could see it. THE BAND IS READ FROM knowledge/gamefeel_oracle.conf, NEVER COMPILED IN. If the row is missing this gate REFUSES rather than passing on a default: a material gate that cannot find its citation and acquits anyway is the exact defect it was built to catch. WHY A RATIO. Elastography moduli for one tissue span ~50x across studies (the source review's own table carries adipose at 0.33, 3.3 and 17.1 kPa). That spread is METHOD, not biology, so absolute values are not transferable and none is banked. The within-study ratio survives because the method cancels on both sides of the division. license_tier: ORIGINAL No hw writes (Rule 26). expect_exit: 0

dependencies 4 imports · 0 importers

nx_syscalls.nx nx_softtissue.nx nx_oracleband_lib.nx nx_gate_verdict.nx nx_tissuematerial_gate.nx

imports: nx_syscalls.nxnx_softtissue.nxnx_oracleband_lib.nxnx_gate_verdict.nx

imported by: nobody (leaf or entry point)

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

main gv_ctr sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ gv_head gv_puts sys_write ↻ ob_load sys_mmap ↻ sys_read_file sys_openat_rd sys_lseek sys_mmap ↻ sys_read sys_munmap sys_close ob_find ob_eq gv_puts ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap ↻ gv_check gv_puts ↻ ob_lo ob_hi

structs

none

consts

25const TM_CONF: *u8 = "knowledge/gamefeel_oracle.conf"
26const TM_KEY: *u8 = "tissue_gland_adipose_ratio_permil"
29const TM_OLD_ADIPOSE: i64 = 12288
30const TM_OLD_GLAND: i64 = 1229
31const TM_H_MM: i64 = 10

functions

36func tm_ratio_permil(alpha_adipose: i64, alpha_gland: i64) -> i64
called by 1: main
41func main() -> i64