nx_sclass_grader.nx
buildroot/runtime/nx_sclass_grader.nx
about
nx_sclass_grader.nx -- HONEST grading of whether a capability is truly S-class EXCEED (operator).
This is the Critic applied to the "exceed" claim, and it is deliberately SKEPTICAL because the
team has overclaimed before (254 boolean wins -> honest 71; x*45 "exceed" -> a TIE once
triangulated vs clang). The bar for S is high and triangulated:
S_EXCEED : a VERIFIED head-to-head BEATS the BEST external alternative, AND was TRIANGULATED
(raced vs the actual best, not a strawman). beats-but-not-triangulated is DEMOTED to
parity (that is exactly how the x*45 overclaim died).
A_PARITY : verified, matches the best external.
B_BEHIND : verified, falls short of the best external.
P_PROCESS : no external head-to-head exists (internal/process/meta capability) -> cannot be S.
U_UNVERIFIED: claimed, not measured.
license_tier: ORIGINAL Refs: triangulation doctrine; the Critic.
dependencies 1 imports · 7 importers
imports: nx_syscalls.nx
imported by: nx_examiner.nxnx_market.nxnx_market_hb.nxnx_peer_review.nxnx_scientist.nxnx_sclass_claim.nxnx_sclass_grade_report.nx
structs
| none |
consts
| 16 | const SG_U_UNVERIFIED: i64 = 0 |
| 17 | const SG_P_PROCESS: i64 = 1 |
| 18 | const SG_B_BEHIND: i64 = 2 |
| 19 | const SG_A_PARITY: i64 = 3 |
| 20 | const SG_S_EXCEED: i64 = 4 |
functions
| 25 | func sg_grade(has_ext: i64, verified: i64, beats: i64, triangulated: i64, matches: i64) -> i64 |
| 36 | func sg_count(n: i64, grades: *i64, target: i64) -> i64 { var c: i64 = 0; var i: i64 = 0; while i < n { if grades[i] == target { c = c + 1 } i = i + 1 } return c } |