nx_rank_refresh_integration_gate_v2.nx
buildroot/runtime/nx_rank_refresh_integration_gate_v2.nx
about
Local unbuilt integration harness. Native ranker/scorer, isolated fixture state.
argv: runner self existing-parent real-scorer captured-plan captured-matrix timeout-ms capture-bytes rank-budget case-selector
dependencies 4 imports · 0 importers
imports: nx_gate_verdict.nxnx_tool_run.nxnx_build_canon_input_lib.nxnx_rank_refresh_lib.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
| 7 | const RIG_PATH: i64 = 4096 |
| 8 | const RIG_PTR: i64 = 8 |
| 9 | const RIG_ARG_SLOTS: i64 = 5 |
| 10 | const RIG_FILE_MODE: i64 = 384 |
| 11 | const RIG_DIR_MODE: i64 = 448 |
| 12 | const RIG_EINVAL: i64 = 0 - 22 |
| 13 | const RIG_SETUP: i64 = 90 |
| 14 | const RIG_SCORER_FAIL: i64 = 42 |
| 15 | const RIG_OK: i64 = 0 |
| 16 | const RIG_DEST_DIR: i64 = 1 |
| 17 | const RIG_LOCK: i64 = 2 |
| 18 | const RIG_BAD_SCORER: i64 = 3 |
| 19 | const RIG_DISPATCH: i64 = 4 |
| 20 | const RIG_GUARD: *u8 = "NISHI-RANK-REFRESH-FIXTURE\n" |
| 21 | const RIG_OLD: *u8 = "# retained old rank fixture\n" |
| 22 | const RIG_PLAN: *u8 = "rung|R1|Fixture open rung|rig_missing|Fixture only|Organ|1|-\nver|0.1|M1\nms|M1|Fixture milestone|1|R1\n" |
| 23 | const RIG_MATRIX: *u8 = "@cols Reference\nFixture|runtime/rig_missing.nx|_ABSENT_:rig_missing|0|2|Fixture only\n" |
| 24 | const RIG_ZERO_MATRIX: *u8 = "@cols Reference\nFixture|runtime/rig_missing.nx|rig_missing|0|2|Fixture all-present spelling exercises zero-open branch\n" |
functions
| 26 | func rig_len(p: *u8) -> i64 { var n: i64 = 0; while p[n] != (0 as u8) { n = n + 1 } return n } |
| 27 | func rig_eq(a: *u8, b: *u8) -> i64 |
| 33 | func rig_num(p: *u8) -> i64 |
| 47 | func rig_join(root: *u8, rel: *u8) -> *u8 |
| 54 | func rig_exists(path: *u8) -> i64 |
| 61 | func rig_parent(path: *u8) -> i64 |
| 82 | func rig_write(path: *u8, buf: *u8, n: i64) -> i64 |
| 97 | func rig_file(root: *u8, rel: *u8, val: *u8) -> i64 { return rig_write(rig_join(root,rel),val,rig_len(val)) } |
| 98 | func rig_dir(root: *u8, rel: *u8) -> i64 |
| 104 | func rig_link(root: *u8, rel: *u8, target: *u8) -> i64 |
| 110 | func rig_guard() -> i64 { return rrf_file_equal("fixture-root.guard" as *u8,RIG_GUARD,rig_len(RIG_GUARD)) } |
| 111 | func rig_witness(argc: i64, argv: *i64) -> i64 |
| 130 | func rig_setup(root: *u8, self: *u8, scorer: *u8, plan: *u8, pn: i64, matrix: *u8, mn: i64, mode: i64) -> i64 |
| 161 | func rig_case(runroot: *u8, name: *u8, runner: *u8, self: *u8, scorer: *u8, plan: *u8, pn: i64, matrix: *u8, mn: i64, mode: i64, expected: i64, timeout: i64, cap: i64, budget: *u8, ctr: *i64) -> i64 |
| 231 | func rig_selected(selector: *u8, name: *u8) -> i64 |
| 235 | func rig_selector_valid(selector: *u8) -> i64 |
| 246 | func main(argc: i64, argv: *i64) -> i64 |