code wiki / _hdl_build / nx_evalsota_census.nx

nx_evalsota_census.nx source

↩ module page · 99 lines · 7719 B

1// nx_evalsota_census.nx -- THE INSTRUMENT vs 2025-2026 EVALUATION-METHODOLOGY SOTA (operator 2026-07-10: 2// "make sure we truly are 2025/2026 state of the art at truly evaluating a program or product or app or 3// capability or ecosystem or suite from their git or schematics or documentation or white papers or research 4// papers"). Bars banked 2026-07-10 via the sovereign researcher (knowledge/library/ev_*.txt): OpenSSF 5// Scorecard (git security/quality posture, 18 automated checks) + CHAOSS (community health) + criticality 6// score + Lighthouse (automated product audits perf/a11y) + SWE-bench (repo-level harness) + G-Eval/LLM-as- 7// judge survey 2411.15594 (subjective-axis judging) + SPDX (SBOM composition) + OpenAlex 2025+ sweep. 8// Verdict COMPUTED per axis (us/bar), liar-kill inherent (0-scored axes classify BEHIND). expect_exit: 0 9// census-subject: instrument (no end-user surface -- the U1-U4 block applies to PRODUCT censuses; this 10// census evaluates the EVALUATOR. Typed declaration read by nx_ws_coach C1; heuristic fallback otherwise.) 11// license_tier: ORIGINAL 12import "nx_syscalls.nx" 13 14func ec_w(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 } 15func ec_n(v: i64) -> i64 { 16 let bb: *u8 = sys_mmap(28) 17 var m: i64 = v 18 if m < 0 { ec_w("-" as *u8); m = 0 - m } 19 let t: *u8 = sys_mmap(28) 20 var k: i64 = 0 21 if m == 0 { t[0] = 48 as u8; k = 1 } 22 while m > 0 { t[k] = (48 + (m % 10)) as u8; m = m / 10; k = k + 1 } 23 var i: i64 = 0 24 while i < k { bb[i] = t[k - 1 - i]; i = i + 1 } 25 sys_write(1, bb, k) 26 return 0 27} 28// row: prints verdict; accumulates tot[0]=us tot[1]=max 29func ec_row(id: *u8, desc: *u8, us: i64, bar: i64, ev: *u8, tot: *i64) -> i64 { 30 ec_w(" [" as *u8) 31 ec_w(id) 32 ec_w("] " as *u8) 33 ec_w(desc) 34 ec_w(" -> " as *u8) 35 if us >= bar { ec_w("PARITY " as *u8) } else { ec_w("BEHIND " as *u8) } 36 ec_w(" (us " as *u8) 37 ec_n(us) 38 ec_w("/" as *u8) 39 ec_n(bar) 40 ec_w(") " as *u8) 41 ec_w(ev) 42 ec_w("\n" as *u8) 43 tot[0] = tot[0] + us 44 tot[1] = tot[1] + bar 45 return 0 46} 47 48func main() -> i64 { 49 ec_w("=== nx_evalsota_census -- OUR EVALUATION INSTRUMENT vs 2025-2026 evaluation-methodology SOTA ===\n" as *u8) 50 ec_w("(bars banked 2026-07-10: ev_openssf_scorecard ev_chaoss_metrics ev_criticality ev_lighthouse\n" as *u8) 51 ec_w(" ev_swebench(+paper 2310.06770) ev_llm_judge_survey(2411.15594) ev_geval(2303.16634) ev_spdx_sbom\n" as *u8) 52 ec_w(" ev_openalex_evalsota 2025+; all sovereign TLS, keyless, dated)\n\n" as *u8) 53 let tot: *i64 = sys_mmap(16) as *i64 54 tot[0] = 0 55 tot[1] = 0 56 57 ec_row("E1 " as *u8, "repo STRUCTURE/layer analysis from git" as *u8, 1, 2, 58 "{HAVE: layer fingerprint from /contents (R1 gate 6/6, godot/luanti/veloren 2026-07-09); BAR: Scorecard/CHAOSS also read CI, releases cadence, maintained-ness, branch protection}" as *u8, tot) 59 ec_row("E2 " as *u8, "code-quality + SECURITY POSTURE checks (Scorecard-class)" as *u8, 1, 2, 60 "{nx_repo_health_gate GREEN 7/7 2026-07-10: CI-presence + maintained-ness (godot 29/30 recent commits, luanti 30/30, veloren 26/30) computed from banked evidence, liar-killed (unbanked=NO-EVIDENCE); HONEST residual: 2 of 18 Scorecard checks (no pinned-deps/fuzzing/SAST/token-perms)}" as *u8, tot) 61 ec_row("E3 " as *u8, "community/ECOSYSTEM health metrics (CHAOSS-class)" as *u8, 1, 2, 62 "{nx_repo_health_gate GREEN 2026-07-10: contributor base (30+ visible all 3) + community health_percentage (godot 100/luanti 87/veloren 50) from banked profiles; HONEST residual: no velocity trends/issue-responsiveness/bus-factor-over-time}" as *u8, tot) 63 ec_row("E4 " as *u8, "doc/feature EXTRACTION -> census axes" as *u8, 1, 2, 64 "{HAVE: cross-product corroborated term discovery (R2 gate 5/5: 782 terms, common-core 5/6, private-vocab excluded) + stemming; BAR: LLM semantic extraction (G-Eval-class) -- SYNONYM GAP (audio~sound) open, v2 = embeddings grouping}" as *u8, tot) 65 ec_row("E5 " as *u8, "papers/FRONTIER banking (white papers, research)" as *u8, 2, 2, 66 "{PARITY: keyless sovereign OpenAlex/arXiv/Crossref pipeline, dated banks, proven across cadtwin(18)+games+legal+physical+evalsota(10) 2026-07-08..10; 0-token cost floor (ledger: 0 vs 107 agents)}" as *u8, tot) 67 ec_row("E6 " as *u8, "automated PRODUCT audits (perf/a11y/UX, Lighthouse-class)" as *u8, 1, 2, 68 "{HAVE: nx_ui_judge/contrast/exceed graders (site-factory GREEN) + U1-U4 census standard (2026-07-09); BAR: Lighthouse breadth (perf traces, a11y tree, SEO, PWA) + wired-to-every-census; ev_lighthouse 2026-07-10}" as *u8, tot) 69 ec_row("E7 " as *u8, "MODEL-AS-JUDGE for subjective axes (G-Eval/LLM-judge-class)" as *u8, 1, 2, 70 "{HAVE: domain judges (photoreal reverse-AI-judge, ui_judge) gated; BAR: general rubric-driven judging (ev_llm_judge_survey 2411.15594); NAMED RUNG: our no-float LLM now GENERATES (2026-07-09 faithful 4-for-4) -> sovereign LLM-judge is buildable}" as *u8, tot) 71 ec_row("E8 " as *u8, "benchmark HARNESS discipline (SWE-bench-class gates)" as *u8, 2, 2, 72 "{PARITY: 160-census machinery + per-rung gates + liar-kills + neg-controls + determinism floors; ev_swebench banked -- their harness rigor matched on OUR domains (evidence: this session's 20+ GREEN gates)}" as *u8, tot) 73 ec_row("E9 " as *u8, "META-EVALUATION (evaluating the evaluator)" as *u8, 2, 2, 74 "{PARITY (not claimed ahead per no-wave): nx_census_uiaudit (160 scanned, 83 flagged) + nx_ws_coach (claim/proof + freshness liar-kills) + ledger instrument-integrity row 3/86 -- surveyed tools rarely self-audit; 2026-07-09}" as *u8, tot) 75 ec_row("E10" as *u8, "LIVING refresh / staleness control (Arena-leaderboard-class)" as *u8, 1, 2, 76 "{HAVE: dated banks + coach C4 current-quarter check (2026-07-09); BAR: automated cadence re-runs + live leaderboards; bg census infra exists (nx_census_run/to_bg) NOT yet scheduled}" as *u8, tot) 77 ec_row("E11" as *u8, "COMPOSITION/SBOM analysis (SPDX-class suite evaluation)" as *u8, 1, 2, 78 "{HAVE: stackaudit/depstack censuses on OUR stack (sovereignty = trivially complete SBOM of 0 third-party deps); BAR: SPDX-interop composition analysis of EVALUATED suites; ev_spdx_sbom 2026-07-10}" as *u8, tot) 79 ec_row("E12" as *u8, "HARDWARE/schematic evaluation (ERC/DRC/formal-class)" as *u8, 1, 2, 80 "{HAVE: FPGA census + gate-emit ALU/decoder verification (silicon rung); BAR: ERC/DRC + formal-property breadth for evaluated schematics; thin}" as *u8, tot) 81 82 ec_w("\nINSTRUMENT SCORE = " as *u8) 83 let sc: i64 = (tot[0] * 1000) / tot[1] 84 ec_n(sc) 85 ec_w(" permille [" as *u8) 86 ec_n(tot[0]) 87 ec_w("/" as *u8) 88 ec_n(tot[1]) 89 ec_w("]\n" as *u8) 90 ec_w("TRUTH: STRONG at harness discipline (E8), papers banking (E5), meta-evaluation (E9). BEHIND the 2025-26\n" as *u8) 91 ec_w("field at security posture (E2=0), community health (E3=0), general model-as-judge (E7), audit breadth\n" as *u8) 92 ec_w("(E6), living cadence (E10). THE CLIMB: E2/E3 = Scorecard/CHAOSS-class checks INTO the product-bar\n" as *u8) 93 ec_w("researcher (git API already reachable) -> E7 sovereign LLM-judge on the no-float model -> E10 schedule\n" as *u8) 94 ec_w("census re-runs on the bg infra -> E6 wire graders census-wide.\n" as *u8) 95 // liar-kill self-check: 0-scored axes MUST have printed BEHIND (structural: us>=bar is the only PARITY path) 96 if sc >= 1000 { ec_w("LIAR-KILL: score claims full parity with 0-rows present -> RED\n" as *u8); return 1 } 97 ec_w("\nGREEN -- instrument-vs-eval-SOTA census computed (honest, dated bars, liar-kill armed)\n" as *u8) 98 return 0 99}