code wiki / (root) / nx_perceptual_judge.nx

nx_perceptual_judge.nx

buildroot/runtime/nx_perceptual_judge.nx

4582 B101 linesdepth 3pulls 3 transitivereach 2 importersview sourcekind librarytopic perceptual
docsdependenciesstructsconstsfunctions

about

nx_perceptual_judge.nx -- signal-vs-profile honesty judge. module: nishi-core.perception.judge depends: nishi-core.perception.profile + nishi-core.io.syscalls disk_kb: 4 capability: PERCEPTION wired_status: PARTIAL_WIRED MISSING_CAPABILITIES: - JUDGE_BEHAVIORAL_VALIDATION_DATASET (needs nx_perceptual_dataset entries from Customer Zero behavioral A/B per [[NISHI_DOG_PERCEPTUAL_TEST_HARDWARE]]) - JUDGE_PER_AXIS_BREAKDOWN (current stub returns coarse score only; per-axis frequency/spatial/dynamic/periodicity/reverb decomposition queued) license_tier: PUBLIC_NISHI_SUBSTRATE genealogy_id: feedback-multi-species-perceptual-substrate-not-anthropocentric_2026 + feedback-honest-perf-verdict-no-aspirational-claims + feedback-no-false-ok-substrate-honesty-audit Per cardinal [[feedback-multi-species-perceptual-substrate-not-anthropocentric]]: Produces a MEASURABLE verdict score (0..100) of how likely a target species' perceptual system would classify a given signal as "real prey / real conspecific / real environmental" vs "artificial rendered media." Substrate uses this to gate honest claims of "this codec is dog-real" without anecdote. THIS IS A PARTIAL_WIRED STUB. Implementation requires behavioral validation dataset; signatures + per-axis decomposition shape + honesty gate are wired so downstream callers can compose against the stable interface while the model trains.

dependencies 2 imports · 2 importers

nx_syscalls.nx nx_perceptual_profile.nx nx_perceptual_judge.nx nx_codec_perceptual_grader.nx nx_realism_score.nx

imports: nx_syscalls.nxnx_perceptual_profile.nx

imported by: nx_codec_perceptual_grader.nxnx_realism_score.nx

structs

none

consts

44const NX_JUDGE_AXIS_FREQ_PRESERVATION: i64 = 1
45const NX_JUDGE_AXIS_SPATIAL_REALISM: i64 = 2
46const NX_JUDGE_AXIS_DYNAMIC_RANGE: i64 = 3
47const NX_JUDGE_AXIS_PERIODICITY_NOVELTY: i64 = 4
48const NX_JUDGE_AXIS_REVERB_MATCH: i64 = 5

functions

50func nx_judge_axis_name(a: i64) -> *u8
65func nx_perceptual_judge_can_claim_real(signal_ptr: *u8, signal_len: i64,
82func nx_perceptual_judge_score(signal_ptr: *u8, signal_len: i64,
94func nx_perceptual_judge_axis_score(signal_ptr: *u8, signal_len: i64,