code wiki / (root) / nx_diora_dedup_demo.nx

nx_diora_dedup_demo.nx

buildroot/runtime/nx_diora_dedup_demo.nx

3353 B76 linesdepth 5pulls 9 transitivereach 0 importersview sourcekind sketch/demotopic diora
docsdependenciesstructsconstsfunctions

about

nx_diora_dedup_demo.nx -- SimHash near-dup clustering on the real Diora corpus: proves the EARNED, content-measured demotion (collapse copies, keep the canonical original) on actual data, not a title-keyword prejudice. module: nishi-core.search.bench.diora_dedup_demo depends: fx.nx, nx_str.nx, nx_simhash.nx, nx_diora_data.nx capability: APP_RUNNABLE

dependencies 4 imports · 0 importers

fx.nx nx_str.nx nx_simhash.nx nx_diora_data.nx nx_diora_dedup_demo.nx

imports: fx.nxnx_str.nxnx_simhash.nxnx_diora_data.nx

imported by: nobody (leaf or entry point)

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

main nx_diora_qn nx_diora_fill_qrels nx_simhash_fingerprint nx_inv_is_token_char nx_inv_hash_bytes_lower nx_str_len nx_simhash_cluster nx_simhash_hamming nx_bits_popcount64_soft nx_puts nx_str_len ↻ nx_put_i64 nx_putc nx_putc ↻

structs

none

consts

none

functions

14func nx_putc(c: i64) -> i64 { let b: *u8 = sys_mmap(1); b[0] = c; sys_write(1, b, 1); return 0 }
called by 2: nx_put_i64main
15func nx_puts(s: *u8) -> i64 { sys_write(1, s, nx_str_len(s)); return 0 }
called by 1: main calls 1: nx_str_len
16func nx_put_i64(n: i64) -> i64
called by 1: main calls 1: nx_putc
27func main() -> i64