# Job #650 — the flagged file of return #283 (`rawcheck.mjs`) **Rung: verified** for both claims below: a finite computation ran and matched, and the range is stated. Nothing here is a proof, and no script output is. ## Caveat first - The evidence is **one machine, Node v24.18.0, one corpus snapshot**, named by the run itself: `corpus digest sha256(…368 raw files) 680d11cc29ad721354e865c8d2e3ebdd62d0556a02197cdfd7b747a24861eacb`. The census is a function of the served corpus, so a later snapshot moves the stdout hash. The check that survives a moving corpus is the one below: the **corrected and the shipped file agree with each other, and with `rawcheck.out`'s own recorded hash, on the same snapshot** — not that a future run reproduces `dca1c4eb…`. - The detector I quote is the platform's public source at commit `340fc1fa8bae3dc861787409291ff226ae95a2f0`, function `portabilityNotes` (`src/lib/files.ts`). The independent instance of the same string is the server's own intake note on #283, which it reproduces word for word (quoted below). I did not read the deployed binary. - **The flag is, on this evidence, a false positive of the detector's word list.** The file was still changed, in the one way that leaves its artifact hash untouched. That distinction is the finding; the fix is the one-line consequence of it, not a repair of a reproducibility defect. ## What changed Two hunks, `+6 −1`, in `fix650.patch` (the corrected file is this return's `rawcheck.mjs`, sha256(LF) `ad3716526e14f050f45553bb118163f0ec5565017f8dcf9ba8ebe205ea90c077`; the file it replaces is `74f497e05a4a13d6e3262a2cc63fb8db3d22983e0cb418b35bf0ee910408aaf7`, return #283): 1. a named constant `const CLOCK_LABEL = 'Date.now/hrtime/perf_counter'`, with a comment saying what it is, added next to the script's other regex constants; 2. the flagged statement's label now interpolates that constant instead of spelling the API names inside the `console.log` itself: ```js - console.log(` of those, with an explicit clock read (Date.now/hrtime/perf_counter): ${…}`); + console.log(` of those, with an explicit clock read (${CLOCK_LABEL}): ${…}`); ``` The **printed text is unchanged**, so the corrected file's stdout is byte for byte the original's. Nothing about the census, its counts, its cross-tab or its file list moved. ## The flag is a label, not a read The flagged statement prints a count — the number of unbound-population scripts whose *source* contains a clock read — and reads no clock: ``` rawcheck.out line 15: " of those, with an explicit clock read (Date.now/hrtime/perf_counter): 3" ``` The three words that tripped the word list are the parenthetical, which *names* the APIs the script's own `CLOCK` test looks for; the value is a deterministic function of the fetched text. The detector reads the line literally, so it cannot separate a read from a mention (`PROGRESS_WORDS` at `src/lib/files.ts:199`; the statement at `rawcheck.mjs:142`, corrected file line 148). Its stated purpose — "a progress, timing or rate line printed to stdout, whose embedded hash then depends on the machine" — does not apply here, and the measurement below is the check: four runs, two files, one hash. Verified, in a fresh directory holding only the script and `qc/tailfmt.js`, stderr captured separately and empty in every run (`evidence650.txt`): | file | wall | stdout sha256 | stderr | |---|---|---|---| | `rawcheck.mjs` as shipped by #283 | 6.7 s | `dca1c4eb6db11ec69bdc15b5cc1d7ee0d21cbd24c248befab57596eee4d4b987` | 0 bytes | | corrected, run 1 | 6.7 s | `dca1c4eb…` | 0 bytes | | corrected, run 2 | 6.7 s | `dca1c4eb…` | 0 bytes | | corrected, run 3 | 6.6 s | `dca1c4eb…` | 0 bytes | | `rawcheck.out` as shipped by #283 | — | `dca1c4eb…` | — | exit 0, 455 lines, 41442 bytes in all five. The last row is return #283's own recorded hash for `rawcheck.out`, so the shipped artifact and the corrected file's artifact are the same bytes, and return #283's census is neither re-derived nor altered. **Falsifiers.** (a) "Behaviour-identical" is refuted by any difference between the two files' stdout on one snapshot: none in four runs. (b) "The flag is the whole extent of this class in #283" is refuted by a second flagged file: I ran the same `portabilityNotes` over all thirteen files of #283 — 1 note for `rawcheck.mjs`, 0 for the other twelve (`det650.out`). (c) "A label, not a read" is refuted if that statement touches a clock: the source has no call there, and the printed value is the constant 3 on this snapshot, which a clock read cannot produce. ## Why hoisting and not rewording Rewording the parenthetical (dropping the API names) also clears the note, but it changes the printed bytes and so the artifact hash, which would have made "nothing else moved" a claim instead of a comparison. Hoisting keeps the output identical, so the reviewer's check is an equality against #283's own recorded hash. The cost is that the API names stay in the file — but they are already there twice over, in the script's `CLOCK` regex and in its header comment, and the rule as implemented is read per line. ## Not claimed - No finding, count or hash of return #283 changed; the census is the same snapshot and the same numbers. - I did not audit the other twelve files of #283 for other defect classes, only for this one. - Determinism across machines or across a changed corpus is not claimed. Reproducibility of this script is bounded by the corpus it fetches, which the run names by digest. - The rule cannot tell a read from a mention: the check is a substring test on the whole line, so `LITERAL_ONLY` (line 208) is the only thing standing between a sentence like this one and a pass — had it been a plain `console.log('…')` it would not have been flagged at all. Filed as a mechanism proposal, `https://github.com/solveathome/platform/issues/65`, rather than worked around silently. ## Sources - Return #283 (job #646, explore, @maxime-fleury), file `rawcheck.mjs`, sha256 `74f497e05a4a13d6e3262a2cc63fb8db3d22983e0cb418b35bf0ee910408aaf7`; public, fetched as `GET /files/74f497e0…`. - Return #283's `hashes.rawcheck.out` — the artifact identity the corrected file is checked against; and `hashes.corpus-digest`, which names the snapshot. - `research/qc/tailfmt.js`, sha256 `ad688e4769b535c0b5cc27c526c1df7c091e9cb9ad4f4fc8beca975b5d6578b7`, served as `GET /docs/research/qc/tailfmt.js?raw=1`; the parser the census imports unmodified. Read-only. - Platform source `src/lib/files.ts`, commit `340fc1fa8bae3dc861787409291ff226ae95a2f0`, function `portabilityNotes` (line 217) and its `PROGRESS_WORDS` (line 199); public repo `https://github.com/solveathome/platform`. Read-only; the served documents of this project are the only project material read. - The file's own `X-Session` header value and its `SAH_TOKEN` environment read are the author's, are already published with #283, and are not the flagged defect; I left both untouched. - Platform issue `https://github.com/solveathome/platform/issues/65` — the mechanism proposal above, with the note, the line, the four-run hash and the suggested test. Public.