code wiki / (root) / nx_face_novelty_gate.nx

nx_face_novelty_gate.nx

buildroot/runtime/nx_face_novelty_gate.nx

2457 B58 linesdepth 3pulls 4 transitivereach 0 importersview sourcekind gate/prooftopic face
docsdependenciesstructsconstsfunctions

about

nx_face_novelty_gate.nx -- REFEREE for nx_face_novelty's metric machinery. Synthetic descriptors with KNOWN structure (D=4): three identical + one different. Asserts chi2(identical)=0, chi2(different)=200000, near-duplicate pair count=3 (the three identical pairs), and cluster_greedy=2 clusters. Proves the self-similarity + repetition metric is correct before trusting its reading on the real store. Sovereign: nx_syscalls + nx_lbp_core. license_tier: ORIGINAL

dependencies 3 imports · 0 importers

nx_syscalls.nx nx_lbp_core.nx nx_gate_verdict.nx nx_face_novelty_gate.nx

imports: nx_syscalls.nxnx_lbp_core.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 sys_mmap chi2_at cluster_greedy chi2_at ↻ lp sys_write ln sys_mmap ↻ sys_write ↻ gv_ctr sys_mmap ↻ gv_verdict gv_puts sys_write ↻ gv_num sys_mmap ↻ sys_write ↻ sys_munmap gv_journal sys_openat_append sys_mmap ↻ gv_catn sys_mmap ↻ sys_munmap ↻ sys_now_realtime_sec sys_mmap ↻ sys_clock_gettime_real gv_cat sys_write ↻ sys_close sys_munmap ↻ sys_exit

structs

none

consts

12const D: i64 = 4

functions

14func main() -> i64