--- slug: why-damaged-qr-codes-still-scan passed: 2026-10-18 by: the assay line (research/assay-line/claude-1018b/), Claude fixer (claude-opus-5-5) directed by claude-assaying-boyle-1014; source record by a Claude agent (claude-sonnet-5-5), checked by a Claude agent (claude-opus-5-5) checked: 96 # source-record entries plus the checker's additions confirmed: 66 wrong: 21 # 9 WRONG + 12 MINOR unverifiable: 1 observed: 8 stale: 0 --- This pass was the assay line's source-first re-read of this layer (batch claude-1018b, tier B). A Claude agent (claude-sonnet-5-5) wrote a source record for every outside claim on the page; a second Claude agent (claude-opus-5-5) read each entry against its source, read the ISO/IEC 18004:2006 text (pdftotext, and tesseract on the scanned Table 9 pages), probed the page's own codes with a real reader (zbarimg), ran the published check from the two served files (35/35), and added claims of its own. It found 9 WRONG and 12 MINOR lines. The fixer re-read every WRONG at its source (the ISO 6.5.1 text and Table 9, Wikipedia "QR code", the page's code, and zbar on the page's codes) and fixed two false statements in all their copies: that nicking a finder square kills the code (destroying one does; real readers survive a nick, and the instrument's DEAD verdicts now say their fatality is the instrument's model), and that floor(EC/2)/total is the standard's exact error fraction (the standard holds back p misdecode-protection codewords, so Version 1 is t = 8 / 6 / 4 / 2, not 8 / 6 / 5 / 3). Two dated Corrected lines on the page and in the markdown record them, and the verifier now checks the standard's figures (39/39). The twelve MINOR lines are listed, not edited (tier B), with the reasons below. The one UNVERIFIABLE line ("the fifty thin explainers") is left as found. ## Claims - CONFIRMED | A QR code's data is wrapped in Reed-Solomon error correction, so up to about 30 percent of its codewords can be destroyed and the payload still rebuilds. | https://en.wikipedia.org/wiki/QR_code | "While a Level H QR code can theoretically lose up to 30% of its total codewords and still scan," (section Damage tolerance and limitations) - CONFIRMED | (same headline, second source) | https://law.resource.org/pub/us/cfr/ibr/inc/iec/iec.18004.2006.pdf | 5.1: "allowing recovery of: L 7% M 15% Q 25% H 30% of the symbol codewords"; Table 8 "Recovery Capacity % (approx.)" H 30. Excerpt present (pdftotext). - CONFIRMED | that budget only covers the data region, it is spent per block, and the famous 30 percent is the pessimistic figure. | https://en.wikipedia.org/wiki/QR_code | "Reed-Solomon error correction only protects the data and error-correction region." Other two parts confirmed by the entries below. - CONFIRMED | it is spent per block | https://en.wikipedia.org/wiki/QR_code | "larger QR codes break the message into several smaller Reed-Solomon blocks ... any single block's recovery limit"; ISO 6.6 step 1 "Divide the data codeword sequence into n blocks as defined in Table 9" - CONFIRMED | the famous 30 percent is the pessimistic figure. | https://law.resource.org/pub/us/cfr/ibr/inc/iec/iec.18004.2006.pdf | 6.5.1 worked example: 6-H corrects "56/172 or 32.6% of the symbol capacity"; Table 9 (OCR) gives H error fractions 30.8, 31.8, 31.4, 32.0% for V1 to V4, all above 30 - WRONG | [corner-squares-nick] The three corner squares ... are sacred, outside error correction entirely, and nicking one kills the code at zero percent damage. | https://en.wikipedia.org/wiki/QR_code | Excerpt says "if damage obliterates one of the corner finder patterns, standard scanners will fail": obliterates, not nicks. recreated: zbarimg decodes the page's own V2-H and V1-L codes after every one of 147 single-module finder flips, and after the page's "Nick a finder pattern" preset; inverting the whole 7x7 finder does fail (positive control). The "outside error correction" part is true. - WRONG | [corner-squares-nick] (same dek sentence, second source) | https://law.resource.org/pub/us/cfr/ibr/inc/iec/iec.18004.2006.pdf | 5.3.2.1 supports that finders locate and orient the symbol, but Annex G Table G.1 grades a finder segment with 1, 2 or 3 module errors as grade 3, 2, 1 (only 4 or more is grade 0): the standard expects nicked finders in readable symbols - MINOR | [every-number-decoder] Every number on screen is the decoder's own output on the code you personally damaged. | public/strata/why-damaged-qr-codes-still-scan/index.html | The verdict, meters and dump are decoder output, but the level card and table print typed constants (NOMINAL, SPEC, totalCW, lines 601-611) and floor(EC/2) arithmetic, not decoder output - CONFIRMED | up to about a third of the data is spare on purpose. | https://law.resource.org/pub/us/cfr/ibr/inc/iec/iec.18004.2006.pdf | H recovers 30% of the symbol codewords; "a third" rounds the recoverable share (the EC share itself is larger, 17 of 26 at 1-H) - CONFIRMED | Scribble on a real, live QR code here and watch a real decoder either rebuild it or give up. | public/strata/why-damaged-qr-codes-still-scan/index.html | decodeQR (lines 740-771) runs rsDecode per block on the damaged matrix - CONFIRMED | The spare capacity is Reed-Solomon error correction over GF(256), exactly as ISO/IEC 18004 lays it out. | https://en.wikipedia.org/wiki/QR_code | "QR codes use Reed-Solomon error correction over the finite field ... GF(2^8)"; ISO 6.5.2 "byte-wise modulo 100011101 arithmetic" - OBSERVED | The code below is drawn by a genuine encoder in this page; the verdict is a genuine decoder running on the modules you damage. | recreated: node scripts/page_encode.mjs (the page's own encoder, index.html lines 506-772) then zbarimg on each matrix | 6 of 6 symbols (V1 to V4, all four levels) decode in zbar to the encoded text - CONFIRMED | Nothing here is a picture of a QR code or a faked scan. | public/strata/why-damaged-qr-codes-still-scan/index.html | the canvas is drawn from encodeQR output (render(), line 794 onward) - OBSERVED | This is a real, standard QR code: a phone camera can scan it off the screen. | recreated: zbarimg 0.23.93 on PNGs of the page encoder's matrices (exp/page-enc-*.png) | standard-conformant: zbar reads all 6; a phone scanning the screen was not tested and no record of it is kept - CONFIRMED | Reed-Solomon ... appends d-1 spare bytes ... giving it a minimum distance of d. | https://en.wikipedia.org/wiki/Reed%E2%80%93Solomon_error_correction | "[n, k, n - k + 1] code ... minimum Hamming distance d_min = n - k + 1" - CONFIRMED | A decoder then obeys one inequality, the errata bound: 2 x (errors) + (erasures) <= d - 1 | https://en.wikipedia.org/wiki/Reed%E2%80%93Solomon_error_correction | "2E + S <= n - k" (true of RS decoding in general) - MINOR | [errata-bound-iso] (same errata bound, against the QR standard) | https://law.resource.org/pub/us/cfr/ibr/inc/iec/iec.18004.2006.pdf | 6.5.1: "e + 2t <= d - p" with p misdecode-protection codewords; p = 3 for 1-L, p = 2 for 1-M and 2-L, p = 1 for 1-Q, 1-H, 3-L (OCR, PDF p. 46), and p = 3 whenever erasures exceed half the EC codewords. The page presents the p = 0 case as the rule. - CONFIRMED | An error is a corrupted byte whose position the decoder must first find; that costs two spare bytes. | https://en.wikipedia.org/wiki/QR_code | "two error correction bytes are required to correct one corrupted byte at an unknown location"; ISO 6.5.1 "requires two error correction codewords to correct it" - CONFIRMED | An erasure is a byte the decoder already knows is missing (a cell the scanner sees as blank or occluded); that costs only one. | https://en.wikipedia.org/wiki/QR_code | "erasures ... require only one byte"; ISO 6.5.1 "An erasure is an unscanned or undecodable symbol character" - CONFIRMED | So the same block tolerates twice as many erasures as errors. | https://en.wikipedia.org/wiki/Reed%E2%80%93Solomon_error_correction | "able to correct twice as many erasures as errors" - MINOR | [twice-erasures-iso] (same, against the QR standard) | https://law.resource.org/pub/us/cfr/ibr/inc/iec/iec.18004.2006.pdf | "Whenever the number of erasures is more than half the number of error correction codewords, p = 3": a 1-H block takes at most 14 erasures against 8 errors, not twice; "For small symbols with less than 8 error correction codewords, erasure correction should not be used" - CONFIRMED | The quotable 30% is the error ceiling, the unknown-damage case. | https://www.qrcode.com/en/about/error_correction.html | "as Reed-Solomon Code requires twice the amount of codewords to be corrected ... the error correction rate for the total codewords is 25%. This corresponds to QR Code error correction Level Q." - CONFIRMED | That is where the famous 30% comes from. | https://law.resource.org/pub/us/cfr/ibr/inc/iec/iec.18004.2006.pdf | the record's Wikipedia excerpt does not derive it; ISO 6.5.1 does ("56 misdecodes or substitution errors, i.e. 56/172 or 32.6%"), as does DENSO's worked example - CONFIRMED | Flip the damage mode above from Errors to Erasures and the exact same smear that just failed will suddenly hold | public/strata/why-damaged-qr-codes-still-scan/index.html | line 760: ceiling is epb in erasure mode, floor(epb/2) in error mode - CONFIRMED | Bigger codes are split into blocks, and the bytes are interleaved across the whole square precisely so a coffee-ring or a scratch is spread thin over many blocks. | https://en.wikipedia.org/wiki/QR_code | "break the message into several smaller Reed-Solomon blocks and interleave (shuffle) their bytes together across the symbol" - CONFIRMED | (same, second excerpt) | https://en.wikipedia.org/wiki/QR_code | "localized damage only corrupts a small fraction of each block" - MINOR | [v34-blocks] Versions 3 and 4 split the data into two or four blocks. | https://www.thonky.com/qr-code-tutorial/error-correction-table | 3-L and 3-M are one block, 4-L is one block (also ISO Table 9, OCR: 3-L (70,55,7), 4-L (100,80,10)); only 3-Q, 3-H, 4-M, 4-Q (2) and 4-H (4) split - CONFIRMED | On a small code the whole payload is one block | https://en.wikipedia.org/wiki/QR_code | "single error correction block" for 1-L; ISO Table 9 (OCR): every V1 and V2 level is 1 block - CONFIRMED | a tight scribble that reddens one block's bar can kill the code while the total damage sits well under 30% | public/strata/why-damaged-qr-codes-still-scan/index.html | per-block loop lines 756-765; at 4-H one block of (25,9,8) fails at 9 corrupted codewords, 9 of 100 - CONFIRMED | They are function patterns: they are how a camera finds, orients and samples the grid before any decoding starts. | https://en.wikipedia.org/wiki/QR_code | "This allows the scanner to orient and determine the perspective of the grid before decoding begins." - CONFIRMED | (same, second source) | https://law.resource.org/pub/us/cfr/ibr/inc/iec/iec.18004.2006.pdf | 4.1 "function pattern: overhead component of the symbol (finder, separator, timing patterns, and alignment patterns) required for location of the symbol"; clause 11 step h samples Version 1 from the timing patterns - CONFIRMED | The three big squares in the corners (the finder patterns) | https://en.wikipedia.org/wiki/QR_code | "three finder patterns ... at the upper left, upper right and lower left corners" - CONFIRMED | carry no data. | https://law.resource.org/pub/us/cfr/ibr/inc/iec/iec.18004.2006.pdf | 4.1 function patterns are overhead - CONFIRMED | They live outside Reed-Solomon altogether. | https://en.wikipedia.org/wiki/QR_code | "Reed-Solomon error correction only protects the data and error-correction region." - MINOR | [nick-demo] Hit Nick a finder pattern or Snip the timing line above, with the brush shrunk to a single module, and watch the code die at essentially zero percent damage. It does not degrade gracefully | public/strata/why-damaged-qr-codes-still-scan/index.html | the instrument does show DEAD (lines 744-745, presets 893-894, which add 2 fixed modules and ignore the brush); but the same code, which the page says a phone can scan, still decodes in zbar with both presets applied - CONFIRMED | Even the 15-bit format information ... gets its own separate armor, a BCH(15,5) code stored twice | https://law.resource.org/pub/us/cfr/ibr/inc/iec/iec.18004.2006.pdf | 6.9.1 "the format information appears twice in the symbol in order to provide redundancy" - CONFIRMED | (same, second source) | https://en.wikipedia.org/wiki/QR_code | "protected from errors with a BCH code, and two complete copies are included in each QR symbol" - CONFIRMED | a BCH(15,5) code stored twice | https://law.resource.org/pub/us/cfr/ibr/inc/iec/iec.18004.2006.pdf | Annex C.1 "(15,5) BCH code string ... XORing the bit string with 101010000010010" - CONFIRMED | These 15 bits (for the current code) encode the error correction level and the mask. | https://en.wikipedia.org/wiki/QR_code | "The format information records two things: the error correction level and the mask pattern" - CONFIRMED | They are protected by a BCH(15,5) code with minimum distance 7, so it corrects up to 3 flipped bits. | https://en.wikipedia.org/wiki/QR_code | "A (15,5) triple error-correcting BCH code ... It can correct at most 3 bit errors" - OBSERVED | (same, minimum distance 7) | recreated: node research/why-damaged-qr-codes-still-scan/verify-why-damaged-qr-codes-still-scan.mjs (scratch copy at fbe74aba11) | "PASS BCH(15,5) format code: brute-forced minimum distance = 7" - OBSERVED | Flip a fourth and the armor can finally be beaten. | recreated: node research/why-damaged-qr-codes-still-scan/verify-why-damaged-qr-codes-still-scan.mjs | "recoverAll<=3=true misreadAt4=true" - CONFIRMED | The same 15 bits are stored a second time on the far side of the code, so a reader that loses one copy uses the other. | https://law.resource.org/pub/us/cfr/ibr/inc/iec/iec.18004.2006.pdf | 6.9.1 "appears twice ... to provide redundancy"; the second copy is split beside the upper-right and lower-left finders (Figure 25), "far side" is loose but not false; the page's decoder reads copy 1 then copy 2 (lines 748-749) - MINOR | [fmt-live-code] On the live code above, this is why damaging the strips beside a finder does not, by itself, change which budget the decoder applies. | public/strata/why-damaged-qr-codes-still-scan/index.html | the live decoder never takes the budget from the format bits (spec comes from enc.spec, line 755; recoveredLevel is only reported); the second copy only decides DEAD versus readable and which mask is used - CONFIRMED | The nominal column is DENSO Wave's and the standard's rounded characterization | https://law.resource.org/pub/us/cfr/ibr/inc/iec/iec.18004.2006.pdf | Table 8 "Recovery Capacity % (approx.)" 7, 15, 25, 30 - CONFIRMED | (same, DENSO) | https://www.qrcode.com/en/about/error_correction.html | table image errorCorrectionTable.png (read): "Level L Approx 7%, Level M Approx 15%, Level Q Approx 25%, Level H Approx 30%" - CONFIRMED | Total codewords on a Version 1 symbol: 26. | https://law.resource.org/pub/us/cfr/ibr/inc/iec/iec.18004.2006.pdf | Table 1 row "1 21 202 31 208 26 0" (column C is format and version information modules) - CONFIRMED | (same, Wikipedia) | https://en.wikipedia.org/wiki/QR_code | "a total of 26 code bytes (made of 19 message bytes and 7 error correction bytes)" - WRONG | [floor-ec2-capacity] the exact correctable fraction is floor(EC/2)/total for errors, and it drifts a little by version. | https://law.resource.org/pub/us/cfr/ibr/inc/iec/iec.18004.2006.pdf | Table 9 (OCR, PDF p. 46): 1-L (26,19,2), 1-M (26,16,4), 2-L (44,34,4); floor(EC/2) gives 3, 5, 5. Exact fraction is r/total per Table 9 - WRONG | [floor-ec2-capacity] (same, Wikipedia) | https://en.wikipedia.org/wiki/QR_code | "in Version 1-L ... 3 of the 7 error correction bytes are reserved for error detection, leaving 4 bytes to correct up to 2 byte errors (7.7% of the 26 total bytes)" - CONFIRMED | On a Version 1 H code the real error ceiling is 8/26 = 30.8%, | https://law.resource.org/pub/us/cfr/ibr/inc/iec/iec.18004.2006.pdf | Table 9 (OCR) 1-H "(26,9,8)" with p = 1; 8/26 = 30.77% - MINOR | [v1h-erasure-654] and the erasure ceiling is 17/26 = 65.4%. | https://law.resource.org/pub/us/cfr/ibr/inc/iec/iec.18004.2006.pdf | true of the [26,9] RS code, but the standard sets p = 3 once erasures exceed half the EC codewords, so a conforming 1-H decode stops at 14 erasures (53.8%) - CONFIRMED | (same, RS algebra) | https://en.wikipedia.org/wiki/Reed%E2%80%93Solomon_error_correction | "it can correct up to t erasures" with t = n - k = 17 - MINOR | [every-number-decoder] Every number on this page is the output of a real Reed-Solomon codec over GF(256) ... running in your browser. | public/strata/why-damaged-qr-codes-still-scan/index.html | same as the dek line: the tables and level card are typed constants and arithmetic - CONFIRMED | primitive polynomial 0x11d, the QR field | https://law.resource.org/pub/us/cfr/ibr/inc/iec/iec.18004.2006.pdf | 6.5.2 "100011101 representing the field's prime modulus polynomial" (= 0x11d) - CONFIRMED | (same, Wikipedia) | https://en.wikipedia.org/wiki/QR_code | "decimal polynomial number 285" (= 0x11d) - OBSERVED | The offline gate recomputes all of it from first principles and exits 0 only if every check passes | recreated: curl the 2 files from https://artwaste.land/checks/ recipe into an empty dir, node research/why-damaged-qr-codes-still-scan/verify-why-damaged-qr-codes-still-scan.mjs | 35/35 PASS, exit 0; with one prose figure changed, exit 1 - CONFIRMED | The nominal 7 / 15 / 25 / 30% are DENSO's rounded figures, not exact | https://www.qrcode.com/en/about/error_correction.html | "Approx 7% ... Approx 30%" (image), "*Data restoration rate for total codewords" - CONFIRMED | The "scan" verdict models the algebraic decode ... it does not model a camera's optics, lighting or binarization. | public/strata/why-damaged-qr-codes-still-scan/index.html | decodeQR works on the module matrix only - CONFIRMED | how much finder damage a specific reader tolerates in practice varies, but the principle (it is outside error correction) is exact. | https://law.resource.org/pub/us/cfr/ibr/inc/iec/iec.18004.2006.pdf | record had no source: Annex G Table G.1 grades 1 to 3 finder module errors as passing grades; zbar tolerates every single-module finder flip on the page's code (scripts/nick_sweep.py) - CONFIRMED | A QR data region is Reed-Solomon coded over GF(256) per ISO/IEC 18004. | https://en.wikipedia.org/wiki/QR_code | as above; ISO 6.5.2 - MINOR | [exact-d1-ec] Each block appends d-1 EC codewords and the decoder obeys 2*errors + erasures <= d-1 (under "Exactly true (the standard)") | https://en.wikipedia.org/wiki/Reed%E2%80%93Solomon_error_correction | RS relation confirmed, but the standard's own formula is e + 2t <= d - p (ISO 6.5.1), so "the standard" is not exactly this - CONFIRMED | On a Version 1 symbol (26 codewords) the levels are H = 9 data + 17 EC, Q = 13 + 13, M = 16 + 10, L = 19 + 7, | https://www.thonky.com/qr-code-tutorial/error-correction-table | rows 1-L to 1-H; ISO Table 9 (OCR) agrees - WRONG | [v1-t-figures] so t = 8 / 6 / 5 / 3 and the error fractions are 30.8 / 23.1 / 19.2 / 11.5%. (under "Exactly true (the standard)") | https://law.resource.org/pub/us/cfr/ibr/inc/iec/iec.18004.2006.pdf | Table 9 (OCR): 1-H r=8, 1-Q r=6, 1-M r=4, 1-L r=2, so 30.8 / 23.1 / 15.4 / 7.7%; the page's M and L are plain floor(EC/2) - WRONG | [v1-t-figures] (same, Wikipedia) | https://en.wikipedia.org/wiki/QR_code | 1-L corrects "up to 2 byte errors (7.7% of the 26 total bytes)"; standard designates it "(26,19,2)" - CONFIRMED | Finder and timing patterns are function patterns outside the code. | https://law.resource.org/pub/us/cfr/ibr/inc/iec/iec.18004.2006.pdf | 4.1 definition - CONFIRMED | Format information is a BCH(15,5) code, minimum distance 7, XOR-masked with 0x5412 and stored twice. | https://law.resource.org/pub/us/cfr/ibr/inc/iec/iec.18004.2006.pdf | Annex C.1 BCH (15,5), mask 101010000010010 (Annex C table prints "5412"); 6.9.1 twice; distance 7 from the verifier's brute force - CONFIRMED | (same, Wikipedia) | https://en.wikipedia.org/wiki/QR_code | "X-ORed with a fixed 15-bit mask pattern (101010000010010)" - OBSERVED | The encoder here is bit-for-bit identical to a reference implementation, and its output is read back by an independent decoder (jsQR) during verification. | recreated: python3 qrcode 8-bit byte mode at the page's mask vs scripts/page_encode.mjs; zbarimg read-back | 0 differing modules on 6 of 6 symbols; zbar reads all 6. jsQR not kept: git grep -i jsqr at fbe74aba11 finds only the page itself (index.html lines 7, 406), and the committed verifier does not call it - CONFIRMED | The instrument decides "scans" by whether the real Reed-Solomon decoder recovers each block within the errata bound. | public/strata/why-damaged-qr-codes-still-scan/index.html | allOK over rsDecode results, lines 756-770 - CONFIRMED | A centered "logo hole" still eats into one region's per-block budget, so the folklore "always use H for logos" buys room but is not a free pass | https://en.wikipedia.org/wiki/QR_code | "covering the center with a logo consumes a large portion of the code's error-correction budget upfront" - CONFIRMED | the folklore "always use H for logos" buys room | https://en.wikipedia.org/wiki/QR_code | "(typically using Level H)" - CONFIRMED | Byte mode only (not numeric, alphanumeric or kanji, which pack tighter). | https://law.resource.org/pub/us/cfr/ibr/inc/iec/iec.18004.2006.pdf | 40-L: numeric 7089, alphanumeric 4296, byte 2953 characters; kanji "compacted into 13 bits" against 16 in byte mode (the character counts alone do not show the kanji case) - CONFIRMED | Versions 1 to 4. | public/strata/why-damaged-qr-codes-still-scan/index.html | SPEC covers versions 1-4 - CONFIRMED | ISO/IEC 18004:2015 ... "QR Code bar code symbology specification", which defines the four error correction levels, | https://www.sis.se/en/produkter/standardization/graphical-symbols/information-technology-and-telecommunication/isoiec180042015 | title and "Replaced by: ISO/IEC 18004:2024"; the page's link https://www.iso.org/standard/62021.html is 18004:2015 (Wayback 2025-01-05 title; live iso.org returns a 403 challenge) - CONFIRMED | (revised to ISO/IEC 18004:2024, published August 2024) | https://www.dinmedia.de/en/standard/iso-iec-18004/383564599 | "Publication date 2024-08" - CONFIRMED | (same, Wikipedia) | https://en.wikipedia.org/wiki/QR_code | "withdrawn and updated to 18004:2024 in August 2024" - CONFIRMED | the Version 1 to 40 block and codeword tables, Reed-Solomon over GF(256), the function patterns, and the BCH-coded format information. | https://law.resource.org/pub/us/cfr/ibr/inc/iec/iec.18004.2006.pdf | 2006 edition: Table 9, 6.5.2, 5.3, 6.9 and Annex C (2015 text not readable) - CONFIRMED | (the inventor's own figures) | https://en.wikipedia.org/wiki/QR_code | "invented in 1994 by Masahiro Hara of the Japanese company Denso Wave" - CONFIRMED | DENSO Wave, "Error correction feature" | https://www.qrcode.com/en/about/error_correction.html | title "Error correction feature / QRcode.com / DENSO WAVE" - CONFIRMED | The restorable percentages L 7% / M 15% / Q 25% / H 30% | https://www.qrcode.com/en/about/error_correction.html | the cited DENSO page's table image reads Approx 7/15/25/30% - MINOR | [src-thonky-title] Thonky QR Code Tutorial, "Error Correction Table" | https://www.thonky.com/qr-code-tutorial/error-correction-table | the page's title and headline are "Error Correction Code Words and Block Information"; "error-correction-table" is only the URL - CONFIRMED | Per-version, per-level data-codeword and EC-codeword counts | https://www.thonky.com/qr-code-tutorial/error-correction-table | table rows present - OBSERVED | verified against the standard. | recreated: tesseract on PDF pp. 46-47 of https://law.resource.org/pub/us/cfr/ibr/inc/iec/iec.18004.2006.pdf (Table 9) compared with SPEC in public/strata/why-damaged-qr-codes-still-scan/index.html | all 16 V1-V4 cells (blocks, data, EC) match - MINOR | [src-rs-bound] The decoder bound "up to t errors or up to d-1 erasures" | https://en.wikipedia.org/wiki/Reed%E2%80%93Solomon_error_correction | not those words, now or in revision 1360527569 (2026-06-22, live when the page was written): "locate and correct up to floor(t/2) erroneous symbols ... correct up to t erasures" with t = n - k. Substance right, quotation marks wrong - CONFIRMED | the errata relation 2e + s <= d-1 | https://en.wikipedia.org/wiki/Reed%E2%80%93Solomon_error_correction | "2E + S <= n - k" - CONFIRMED | the BCH(15,5) format code (generator 0x537, mask 0x5412) | https://en.wikipedia.org/wiki/QR_code | mask "101010000010010" = 0x5412 - CONFIRMED | (same, generator) | https://en.wikipedia.org/wiki/QR_code | "g(x)=x^{10}+x^8+x^5+x^4+x^2+x+1" (wikitext) = 10100110111 = 0x537 - UNVERIFIABLE | The catch the fifty thin explainers skip | git show fbe74aba11:oversight/ideas/wave3-specs/why-damaged-qr-codes-still-scan.json | the spec's serpNote names about seven explainers (qrlynx, qrmake, qrwink, generate-qr, DENSO, perthirtysix, Amod Malviya) and calls two of them "genuinely good"; no count of fifty anywhere - CONFIRMED | some readers recover from more finder damage than we allow. | https://law.resource.org/pub/us/cfr/ibr/inc/iec/iec.18004.2006.pdf | record had no source: Annex G Table G.1; recreated with zbar, 147/147 finder, 45/45 separator, 18/18 timing single-module flips still decode on the page's V2-H code - WRONG | [floor-ec2-capacity] (added) the true per-symbol error fraction is floor(EC/2)/total (Free choices and scope) | https://law.resource.org/pub/us/cfr/ibr/inc/iec/iec.18004.2006.pdf | same as floor-ec2: Table 9 gives r = 2 for 1-L, 4 for 1-M and 2-L - WRONG | [floor-ec2-capacity] (added) Table "The four levels, on a Version 1 code" and the level card: t = 3 and 11.5% for L, t = 5 and 19.2% for M (and t = 5 for 2-L) | https://law.resource.org/pub/us/cfr/ibr/inc/iec/iec.18004.2006.pdf | rendered from floor(EC/2) at index.html lines 913-920 and 933-936; Table 9 gives 2 (7.7%), 4 (15.4%), 4 - WRONG | [function-pattern-nick-fatal] (added) DEAD verdicts: "Finder pattern destroyed. The scanner can no longer locate the grid, so error correction never even runs." and "Timing line cut. The scanner loses the coordinate ruler for the module grid, so decoding never begins." shown for one or two flipped modules | public/strata/why-damaged-qr-codes-still-scan/index.html | lines 744-745 and 827-829; recreated with zbar: every single-module finder, separator and timing flip, and both presets together, still decode on the page's own codes (V1-L and V2-H) - CONFIRMED | (added) because if the reader cannot learn which forgiveness budget applies, the budget is useless. | https://law.resource.org/pub/us/cfr/ibr/inc/iec/iec.18004.2006.pdf | Annex G.2: format information "requires to be reliably detected at an early stage of the decoding procedure, and if it cannot be decoded, the remainder of the symbol cannot be decoded" - MINOR | [sources-primary] (added) Sources (primary, verified 2026-07-17). | public/strata/why-damaged-qr-codes-still-scan/index.html | lines 419-435 list Wikipedia (two articles) and Thonky, which are not primary sources - OBSERVED | (added) placard: it runs from 2 files this site serves | recreated: the /checks/ recipe (two curl lines, then node) in an empty directory | both files 200, 35/35, exit 0 ## Findings - [fixed] corner-squares-nick (K1): the dek's "nicking one kills the code at zero percent damage" now reads "they sit outside error correction entirely, so destroying one kills the code at zero percent damage" in src/content/strata/why-damaged-qr-codes-still-scan.md (dek) and the index.html meta description; the JSON-LD description's "so damaging one kills the code at zero percent" now "so destroying a finder pattern kills the code at zero percent". Source: Wikipedia "QR code", "if damage obliterates one of the corner finder patterns, standard scanners will fail"; zbar re-run by the fixer reads the page's V1-L and V2-H codes with the preset nicks, fails on a fully inverted finder. Corrected 2026-10-18 line added. - [fixed] corner-squares-nick (K2, second source for the same sentence): ISO/IEC 18004:2006 Annex G Table G.1 grades 1 to 3 finder module errors as grades 3 to 1 on its 0 to 4 scale (0 only for 4 or more); fixed with K1, same Corrected line. - [declined] [every-number-decoder] Every number on screen is the decoder's own output on the code you personally damaged.: MINOR, listed under tier B, not edited. Tier B MINOR per the checker: verdict, meters and dump are decoder output, but the level card and table print typed constants (NOMINAL, SPEC, totalCW) and arithmetic. Overstatement of the page's own checking; the dek sentence is separate from the corner-squares sentence being fixed. - [declined] [errata-bound-iso] (same errata bound, against the QR standard): MINOR, listed under tier B, not edited. Tier B MINOR per the checker: 2x(errors)+(erasures)<=d-1 is the Reed-Solomon bound (Wikipedia "2E + S <= n - k"); ISO 6.5.1 writes "e + 2t <= d - p" (re-read). Not in a sentence being fixed. - [declined] [twice-erasures-iso] (same, against the QR standard): MINOR, listed under tier B, not edited. Tier B MINOR per the checker: true of RS; ISO 6.5.1 sets "p = 3" "Whenever the number of erasures is more than half the number of error correction codewords" (re-read), so a conforming decode stops short of twice. Not in a sentence being fixed. - [declined] [v34-blocks] Versions 3 and 4 split the data into two or four blocks.: MINOR, listed under tier B, not edited. Tier B MINOR per the checker: 3-L, 3-M and 4-L are one block (page SPEC and ISO Table 9 agree); the hint is loose about which levels split. Not in a sentence being fixed. - [declined] [nick-demo] Hit Nick a finder pattern or Snip the timing line above, with the brush shrunk to a single module, a: MINOR, listed under tier B, not edited. Tier B MINOR per the checker: the instrument does show DEAD as described; "It does not degrade gracefully" speaks of the code, which zbar still reads. Separate sentence from those fixed for K1 and K20; the dek and verdict text now say the instrument treats a hit as fatal. - [declined] [fmt-live-code] On the live code above, this is why damaging the strips beside a finder does not, by itself, change : MINOR, listed under tier B, not edited. Tier B MINOR per the checker: the live decoder takes the budget from enc.spec, not the format bits; the second copy decides only readable versus DEAD and the mask. Loose wording about the instrument, not in a sentence being fixed. - [fixed] floor-ec2-capacity (K9): index.html "the exact correctable fraction is floor(EC/2)/total for errors" now says the Reed-Solomon algebra corrects floor(EC/2) per block (what the live decoder runs) and the standard holds back p misdecode-protection codewords (p = 3 at 1-L, 2 at 1-M and 2-L, 1 at 1-Q, 1-H and 3-L, ISO 6.5.1), so its capacity is floor((EC-p)/2). Corrected 2026-10-18 line added. - [fixed] floor-ec2-capacity (K10, Wikipedia for the same sentence): "3 of the 7 error correction bytes are reserved for error detection, leaving 4 bytes to correct up to 2 byte errors"; fixed with K9. - [declined] [v1h-erasure-654] and the erasure ceiling is 17/26 = 65.4%.: MINOR, listed under tier B, not edited. Tier B MINOR per the checker: 17/26 is the [26,9] RS erasure limit; ISO 6.5.1 p = 3 above half the EC codewords caps a conforming 1-H decode lower. Separate sentence from the K9 fix ("On a Version 1 H code ..."), so listed. - [declined] [every-number-decoder] Every number on this page is the output of a real Reed-Solomon codec over GF(256) ... running in you: MINOR, listed under tier B, not edited. Tier B MINOR, same overstatement as K3 at the check section: tables and level card are typed constants and arithmetic. Not in a sentence being fixed. - [declined] [exact-d1-ec] Each block appends d-1 EC codewords and the decoder obeys 2*errors + erasures <= d-1 (under "Exactly: MINOR, listed under tier B, not edited. Tier B MINOR per the checker: the RS relation is right but the standard's formula carries p (ISO 6.5.1 "e + 2t <= d - p", re-read). A separate sentence from the t-figures sentence fixed for K14. - [fixed] v1-t-figures (K14): under "Exactly true (the standard)" the sentence now gives the RS algebra's t = 8 / 6 / 5 / 3 as such and the standard's t = 8 / 6 / 4 / 2, 30.8 / 23.1 / 15.4 / 7.7% (ISO Table 9: (26,9,8), (26,13,6), (26,16,4), (26,19,2)). The verifier's prose assertion of "30.8 / 23.1 / 19.2 / 11.5%" is replaced by checks that floor((EC-p)/2) reproduces Table 9 r, that the page's MISDECODE_P matches 6.5.1, and that the prose states the standard's figures (red on purpose in a scratch copy). Covered by the second Corrected 2026-10-18 line. - [fixed] v1-t-figures (K15, Wikipedia for the same sentence: 1-L corrects "up to 2 byte errors (7.7% of the 26 total bytes)"); fixed with K14. - [declined] [src-thonky-title] Thonky QR Code Tutorial, "Error Correction Table": MINOR, listed under tier B, not edited. Tier B MINOR per the checker: citation title slip (the Thonky page is headed "Error Correction Code Words and Block Information"). Metadata, not in a sentence being fixed. - [declined] [src-rs-bound] The decoder bound "up to t errors or up to d-1 erasures": MINOR, listed under tier B, not edited. Tier B MINOR per the checker: quotation marks around a paraphrase of Wikipedia (substance right: "correct up to t erasures" with t = n - k). Not a quotation of the source's words, so not an altered quotation; listed. - [fixed] floor-ec2-capacity (K18): the Free choices paragraph's "the true per-symbol error fraction is floor(EC/2)/total" now gives the standard's floor((EC-p)/2) x blocks / total and says the live decoder forgives up to floor(EC/2), one error more than the standard on 1-L, 1-M and 2-L. Covered by the second Corrected line. - [fixed] floor-ec2-capacity (K19): the Version 1 table and the level card no longer print floor(EC/2) as the error capacity. index.html gains MISDECODE_P (ISO 6.5.1) and isoT(); the table shows "t, RS algebra" and "t, ISO (after p)" with the error ceiling from the ISO t (L 2, 7.7%; M 4, 15.4%); the level card shows the RS limit as "this decoder" and the ISO t and ceiling (2-L now 4); the decoder dump adds the ISO p line. Rendered headless to confirm. Covered by the second Corrected line. - [fixed] function-pattern-nick-fatal (K20): the DEAD verdicts for finder, timing and alignment hits now say the instrument treats any hit as fatal and that real readers can survive a nick, instead of saying the scanner can no longer locate the grid. The alignment message was the same false statement (the fixer's zbar run decodes 25/25 single alignment-module flips on the page's V2 and V4 codes) and was fixed with it. The verifier's check label "nicking one is fatal at 0% data damage" is reworded to what its geometry test shows. The repair stage re-ran zbar on all six of the page encoder's codes (V1-L, V1-H, V2-H, V2-M, V4-Q, V4-L): every single finder, separator, timing and alignment module flip still decodes; the backing README's copies of this claim and of floor-ec2-capacity were fixed too. Corrected 2026-10-18 line added (the first). - [declined] [sources-primary] (added) Sources (primary, verified 2026-07-17).: MINOR, listed under tier B, not edited. Tier B MINOR per the checker: the footer heads Wikipedia and Thonky as "primary". Metadata wording, not in a sentence being fixed.