code wiki / (root) / nx_autofix_mut_max2_rf.nx

nx_autofix_mut_max2_rf.nx

buildroot/runtime/nx_autofix_mut_max2_rf.nx

1824 B46 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic autofix
docsdependenciesstructsconstsfunctions

about

nx_autofix_mut_max2_rf.nx -- MUTATION-GENERATED FOREIGN BUG (class: return-first / branch-elide). Foreign = not the maker model's own output, so the greedy fixed-point wall does not apply. Part of the scaled SWE-bench-contract resolve set. Target: max2. Sibling dbl must stay green (PASS_TO_PASS).

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_autofix_mut_max2_rf.nx

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

main dbl max2 fncase2 cw sys_write cn cw ↻ sys_mmap sys_write ↻ cw ↻ cn ↻

structs

none

consts

none

functions

6func cw(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 3: cnfncase2main calls 1: sys_write
7func cn(v: i64) -> i64
called by 2: fncase2main calls 3: cwsys_mmapsys_write
20func fncase2(fn: *u8, a: i64, b: i64, want: i64, got: i64) -> i64
called by 1: main calls 2: cwcn
26func dbl(x: i64) -> i64 { return x + x }
called by 1: main
27func max2(a: i64, b: i64) -> i64 { return a }
called by 1: main
29func main() -> i64