nx_swebench_status.nx
buildroot/runtime/nx_swebench_status.nx
about
nx_swebench_status.nx -- MCP tools/call surface for the autonomous-fix capability (2026-07-17).
Returns the LIVE SWE-bench-contract resolve rate as compact machine JSON, read from the NAS-published
autograde dashboard (sites/nishifamily/compare/autograde/api.json -- the same measurement the public
page shows, so the tool can never drift from what's published). This is a CURATED capability surface:
a named, discoverable tools/call that emits STRUCTURED fields (resolve_pct as an integer + honest
scope), not a raw url proxy. Read-only, no args, exit 0; fail-closed JSON if the source is absent.
The measurement itself is produced laptop-side by nx_swebench_local_gate over the fix-loop ledger and
published here by the autograde pulse -- this tool is the NAS-side read of that published truth.
license_tier: ORIGINAL expect_exit: 0
dependencies 1 imports · 0 importers
imports: nx_syscalls.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| 12 | const APIJSON: *u8 = "sites/nishifamily/compare/autograde/api.json" as *u8 |
functions
| 14 | func slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } |
| 15 | func w(s: *u8) -> i64 { let n: i64 = slen(s); sys_write(1, s, n); return 0 } |
| 16 | func wn(v: i64) -> i64 |
| 30 | func find_first(hay: *u8, n: i64, needle: *u8, from: i64) -> i64 |
| 44 | func parse_uint_at(buf: *u8, p: i64, n: i64) -> i64 called by 1: main |
| 60 | func main(argc: i64, argv: *i64) -> i64 |