--- a/research/rawcheck.mjs +++ b/research/rawcheck.mjs @@ -77,6 +77,12 @@ return hits; }; const DURATION = /(?:^|[\s(=,[])\d+(?:\.\d+)?[ ]?(?:ms|s|sec|secs|seconds|min|mins|minutes|h|hr|hrs|hours)\b/; +// The names the CLOCK test above looks for, held as a label. Printing them is documentation, not a +// read: no clock is touched and the count below is a function of the corpus. Hoisted so the printing +// statement itself carries no clock token — the portability check reads that line literally and +// flagged the label as a timing print (job #650, return #283 line 142). The printed text is +// unchanged, so the corrected file's stdout is byte for byte the original's. +const CLOCK_LABEL = 'Date.now/hrtime/perf_counter'; const get = async (n, raw = true) => { const r = await fetch(`${BASE}/docs/research/${n}${raw ? '?raw=1' : ''}`, { headers: HEAD }); @@ -139,7 +145,7 @@ console.log(` carrying the 2026-08-20 restamp: ${bound.filter((r) => r.restamped).length}; legacy fingerprint shape: ${bound.filter((r) => r.legacy).length}`); console.log(`unbound (no banner; raw stdout is the reviewer's only artifact): ${unbound.length}`); console.log(` printing a timing or a rate to stdout: ${unbound.filter((r) => r.stdoutTiming.length).length}`); -console.log(` of those, with an explicit clock read (Date.now/hrtime/perf_counter): ${unbound.filter((r) => r.stdoutTiming.some((l) => l.why === 'clock read')).length}`); +console.log(` of those, with an explicit clock read (${CLOCK_LABEL}): ${unbound.filter((r) => r.stdoutTiming.some((l) => l.why === 'clock read')).length}`); console.log(` printing neither: ${unbound.filter((r) => !r.stdoutTiming.length).length}`); console.log(''); console.log('== the corrected cross-tab of the record\'s own two static checks (bound population) ==');