code wiki / _hdl_build / nx_click.nx

nx_click.nx

buildroot/runtime/_hdl_build/nx_click.nx

1319 B25 linesdepth 2pulls 2 transitivereach 1 importersview sourcekind library
docsdependenciesstructsconstsfunctions

about

nx_click.nx -- R-UX-4 of the onsite-search S-class ladder: SOVEREIGN query-analytics / click-loop (LIBRARY). Learning-to-rank "uses click-through data" (cited srch_ltr.raw): record which result users actually click for a query, aggregate into a click-through-rate signal, and feed it as a ranking FEATURE (popular-for-this-query docs rise). CONTENT-NEUTRAL by construction -- counts only, no query text stored, no PII, no profiling [[feedback-content-neutral-no-filter-search]]. Integer milli-CTR (no-float). exports: vr_click_record, vr_click_raw, vr_click_ctr. license_tier: ORIGINAL

dependencies 1 imports · 1 importers

nx_syscalls.nx nx_click.nx nx_click_gate.nx

imports: nx_syscalls.nx

imported by: nx_click_gate.nx

structs

none

consts

none

functions

11func vr_click_record(clk: *i64, imp: *i64, Dn: i64, q: i64, d: i64, clicked: i64) -> i64
called by 1: main
18func vr_click_raw(clk: *i64, Dn: i64, q: i64, d: i64) -> i64 { return clk[q*Dn+d] }
called by 1: main
21func vr_click_ctr(clk: *i64, imp: *i64, Dn: i64, q: i64, d: i64) -> i64
called by 1: main