code wiki / _hdl_build / nx_meet_signals.nx
nx_meet_signals.nx
buildroot/runtime/_hdl_build/nx_meet_signals.nx
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
imports: nx_syscalls.nxnx_meet_lib.nxnx_meet_trust.nx
imported by: nx_meet_signals_gate.nx
structs
| none |
consts
| 10 | const K_MAGIC_1024: i64 = 1024 |
functions
| 12 | func sig_streq(a: *u8, b: *u8) -> i64 |
| 19 | func sig_atoi(s: *u8) -> i64 called by 1: sig_score |
| 27 | func sig_default() -> *u8 called by 1: main |
| 32 | func sig_score(text: *u8, isposting: i64, sig: *u8, sn: i64) -> i64 |
| 63 | func sig_is_fake(text: *u8, isposting: i64, sig: *u8, sn: i64) -> i64 calls 1: sig_score |