code wiki / _hdl_build / nx_critic.nx
nx_critic.nx
buildroot/runtime/_hdl_build/nx_critic.nx
about
nx_critic.nx -- the NISHI CRITIC: adversarial + scientific evaluation so a finding is never
"accepted as a commandment from God" but held to reproduction, caveats, and counter-theory.
The Critic's job (operator): triangulate feedback, demand scientific evaluation, and decide
whether a claim is a current working-LAW or just a THEORY that should be FLAGGED as provisional
and potentially superseded by a better future option -- exactly how QM superseded/expanded GR in
regimes GR could not reach. The PSNR-as-image-quality belief is the live example: we leaned on
it WITHOUT a red-team, and the rate-distortion-PERCEPTION tradeoff (Blau-Michaeli 2019) is the
counter-theory that demotes it. The Critic exists so that never silently happens again.
Stance (Popper falsifiability + Kuhn paradigm shift + Lakatos): NOTHING is final. Every verdict
is PROVISIONAL; a LAW keeps a successor slot open; a belief leaned on without a refutation hunt
is a BLIND SPOT, flagged. RACI: the CRITIC evaluates/flags; the RESEARCHER hunts counter-evidence;
the BUILDER fixes what is demoted. license_tier: ORIGINAL Refs: Popper, Kuhn, Lakatos.
dependencies 1 imports · 8 importers
imports: nx_syscalls.nx
imported by: nx_critic2_test.nxnx_critic_kernel.nxnx_critic_test.nxnx_critic_visual.nxnx_peer_review.nxnx_research_critic.nxnx_research_pipeline.nxnx_sclass_claim.nx
structs
| none |
consts
| 17 | const CRIT_REFUTED: i64 = 0 // a surviving counter-theory wins -> demote + replace |
| 18 | const CRIT_THEORY: i64 = 1 // provisional: reproduced but caveated / not adequately red-teamed |
| 19 | const CRIT_LAW: i64 = 2 // current best working-law: reproduced + red-teamed + no surviving counter (STILL provisional) |
| 59 | const CRIT_CONTESTED: i64 = 3 // belief and a MODERATE counter coexist -> resolve, don't auto-refute |
functions
| 23 | func crit_status(reproductions: i64, counters: i64, redteamed: i64) -> i64 |
| 30 | func crit_is_provisional(status: i64) -> i64 { return 1 } called by 1: main |
| 34 | func crit_is_blindspot(reproductions: i64, redteamed: i64) -> i64 |
| 40 | func crit_keeps_successor_slot(status: i64) -> i64 { return 1 } called by 1: main |
| 44 | func crit_act_confidence(reproductions: i64, counters: i64, redteamed: i64) -> i64 |
| 63 | func crit_counter_strength(counter_reproductions: i64, counter_sources: i64) -> i64 |
| 73 | func crit_status2(reproductions: i64, counter_strength: i64, redteamed: i64) -> i64 |
| 82 | func crit_settledness(reproductions: i64, counter_strength: i64, redteamed: i64) -> i64 |
| 94 | func crit_refutation_hunt_queue(n: i64, reproductions: *i64, redteamed: *i64, out: *i64) -> i64 |