code wiki / _hdl_build / nx_sclass_claim.nx

nx_sclass_claim.nx source

↩ module page · 35 lines · 2077 B

1// nx_sclass_claim.nx -- the BULLSHIT CHECK on an S-class exceed claim (operator: the Critic must 2// absolutely check the bullshit, with the team, when we claim S-class -- make sure we REALLY are, 3// against EVERYTHING). An S-class claim is the easiest place to lie to ourselves, so it must clear 4// THREE independent gates, owned by three organs; any hole = bullshit, demoted to the honest grade: 5// 1. COMPLETE benchmark (Market Researcher / nx_benchmark): bm_is_valid -- we benchmarked against 6// the FULL competitive surface, not a cherry-picked few. A cherry-picked "exceed" is bullshit. 7// 2. GENUINE exceed (Examiner / nx_sclass_grader): the grade is actually S_EXCEED (verified beats 8// the best, triangulated -- not a tie dressed up as a win). 9// 3. CRITIC SOUND (nx_critic): no surviving counter-theory and red-teamed (status not REFUTED/ 10// CONTESTED). A claim a counter-theory wounds is not S. 11// Only a claim that clears all three is a genuine S-class exceed against everything. license_tier: ORIGINAL. 12 13import "nx_benchmark.nx" 14import "nx_sclass_grader.nx" 15import "nx_critic.nx" 16 17const SCC_S_VERIFIED: i64 = 1 // genuine S-class against everything 18const SCC_BS_INCOMPLETE: i64 = 2 // benchmark cherry-picked -> bullshit 19const SCC_BS_NOT_EXCEED: i64 = 3 // doesn't actually beat the best -> bullshit 20const SCC_BS_COUNTER: i64 = 4 // a counter-theory survives -> bullshit 21 22// the integrated bullshit check. 23func scc_check(benchmark_valid: i64, sclass_grade: i64, critic_status: i64) -> i64 { 24 if benchmark_valid == 0 { return SCC_BS_INCOMPLETE } 25 if sclass_grade != SG_S_EXCEED { return SCC_BS_NOT_EXCEED } 26 if critic_status == CRIT_REFUTED { return SCC_BS_COUNTER } 27 if critic_status == CRIT_CONTESTED { return SCC_BS_COUNTER } 28 return SCC_S_VERIFIED 29} 30 31// is the S-class claim GENUINE (clears every gate)? 32func scc_is_genuine(benchmark_valid: i64, sclass_grade: i64, critic_status: i64) -> i64 { 33 if scc_check(benchmark_valid, sclass_grade, critic_status) == SCC_S_VERIFIED { return 1 } 34 return 0 35}