code wiki / _hdl_build / nx_meet_signals.nx

nx_meet_signals.nx

buildroot/runtime/_hdl_build/nx_meet_signals.nx

3894 B66 linesdepth 4pulls 4 transitivereach 1 importersview sourcekind librarytopic meet
docsdependenciesstructsconstsfunctions

about

nx_meet_signals.nx -- P5: the anti-fake signal table as EDITABLE DATA (LIBRARY, no main). A data-driven twin of the hardcoded R6 scorer (nx_meet_trust), so an operator can tune detection -- add a buzzword, change a weight -- by editing a `sig|<kind>|<dir>|<weight>|<phrase>` file, no recompile. kind=resume|posting, dir=fake(subtract)| good(add). The numeric digit-bonus stays structural (a char-class, not a phrase). The gate PROVES this reproduces the hardcoded reference on the R6 fixtures (so nothing regresses) AND that editing the table changes detection. license_tier: ORIGINAL

dependencies 3 imports · 1 importers

nx_syscalls.nx nx_meet_lib.nx nx_meet_trust.nx nx_meet_signals.nx nx_meet_signals_gate.nx

imports: nx_syscalls.nxnx_meet_lib.nxnx_meet_trust.nx

imported by: nx_meet_signals_gate.nx

structs

none

consts

10const K_MAGIC_1024: i64 = 1024

functions

12func sig_streq(a: *u8, b: *u8) -> i64
called by 1: sig_score calls 1: mlen
19func sig_atoi(s: *u8) -> i64
called by 1: sig_score
27func sig_default() -> *u8
called by 1: main
32func sig_score(text: *u8, isposting: i64, sig: *u8, sn: i64) -> i64
63func sig_is_fake(text: *u8, isposting: i64, sig: *u8, sn: i64) -> i64
calls 1: sig_score