# DVD Error Counters: Equal Totals, Different Row Conditions

## Finding

PI Sum8 does not identify the number of PI-uncorrectable rows. Two constructed
eight-block masks below have the same 480 erroneous bytes and PI Sum8 of 160.
One has no rows above five errors; the other has five such rows in every block.
Both meet the selected Sum8 bound. Only the first meets the separate row-count
recommendation. This establishes an information-loss counterexample, not a
claim about the outcome of any drive or outer decoder.

## Evidence Ledger

Sources accessed 2026-10-29. All links are primary documents; no third-party
code, figures, scans or tables are redistributed.

- [ECMA-267, third edition, April 2001](https://ecma-international.org/wp-content/uploads/ECMA-267_3rd_edition_april_2001.pdf): DVD-ROM clauses 13.4.2 and 18, printed pages 19 and 25-26. Defines erroneous rows, the consecutive-eight-block window and ECC geometry.
- [ECMA-337, second edition, December 2003](https://www.ecma-international.org/wp-content/uploads/ECMA-337_2nd_edition_december_2003.pdf): DVD+RW clauses 13.3 and 29.2, printed pages 22 and 74. Defines more-than-five-byte row classification; distinguishes the 280 Sum8 requirement from a four-row-per-block recommendation. The latter is scoped to the specified initial recording/playback procedure, not all DVD formats or consumer scan settings.
- [Slattery et al., J. Res. NIST 109(5), 517-524 (2004)](https://nvlpubs.nist.gov/nistpubs/jres/109/5/j95sla.pdf), DOI [10.6028/jres.109.038](https://doi.org/10.6028/jres.109.038): section 2.1 defines PIE and POE separately; section 3, printed page 522 reports that its small sample did not identify a clear PIE value for POE onset. This is ageing evidence, not proof that every rising counter precedes lost files.
- [ECMA-130, second edition, June 1996](https://ecma-international.org/wp-content/uploads/ECMA-130_2nd_edition_june_1996.pdf): CD-ROM clause 12.5.2, printed page 9, defines a frame-error-rate window of any ten seconds. Do not compare that denominator directly with eight DVD ECC blocks or a software counter with unspecified aggregation.

The observed gap was in the existing Hesela optical-rot summary, table caption
and first finding, which called pre-correction counts correctable-only and made
warning precede loss categorically. The existing DVD corpus already had correct
geometry/window wording; it needed the distinct inner-row condition and the
explicit non-equivalence with final loss. Prior empirical tables and the
CD-ROM sector experiment are preserved.

## Construction and Reproduction

No random sampling or seed. Each mask contains eight blocks, each with 208 rows
of 182 binary byte-error indicators relative to an assumed original. Spread:
20 rows with three erroneous bytes in every block. Concentrated: five rows with
six and fifteen rows with two; other rows contain zero errors. Marked bytes are
the first columns of each row. These are error-position masks, not encoded disc
images or acquired bytes. No physical model or probability distribution is given.

Run with Python 3 and the standard library only:

```sh
python3 optical_pi_stages.py --write
python3 -m unittest -v test_optical_pi_stages.py
python3 -O -m unittest -v test_optical_pi_stages.py
```

Without --write the script prints the deterministic JSON. The tests include a
separate coordinate-set recount, 5/6-byte and 280/281-error boundaries, 4/5-row
boundaries, every sliding eight-block window, invalid geometry and exact result
replay. The original public code and tests are adjacent to summary.json.

The row definition is applied as written; the script is NOT an ECC decoder,
full conformance checker, physical disc scan or emulator. It does not assert
that six byte errors always produce a particular decoder output, that inner
failure implies outer failure, or that either case loses a file. Correctability
also depends on the remaining code and decoder behavior, absent here.

## Use in an Archive

Keep the metric name, decoder stage, aggregation window, maximum/average,
disc format, analyzer/drive, firmware, read speed and scanned area. Retain actual
read results and file fixity separately. If a field was not observed, leave it
unknown. A reassuring pre-correction total cannot replace those observations.
This is Hesela's reporting recommendation, not another numerical standard.

## Scanner Labels and Block Identity (2026-10-29 Continuation)

The added DVD ECC block record uses ECMA-267 clauses 16-19 and ECMA-337
clauses 13.1-13.4 for payload, frame-array and coded-block dimensions.
Interleaving forms the recording frames; it is not a later permutation of
already-formed recording frames. The original masks/results are unchanged.

[Erik Deppe, Opti Drive Control manual 1.10 (27 May 2009)](https://www.cdspeed2000.com/files/OptiDriveControl_110.pdf),
section 9, printed page 21, is software-author documentation, not a standard.
Its PIE definition is narrower than the ECMA definition, and its PIF window
varies by drive. This is a documentary contrast, not testing of that software
or present-day firmware. It supplies the previously missing direct support
for scan-speed dependence. No numerical conversion of undocumented counters
or additional hardware result is inferred.

An independent read-only agent checked the supplied claims against primary
sources and flagged the interleaving wording and unsupported NIST read-speed
citation. Both were addressed. The agent could not access the remote code or
complete diff; this is independent content/source review, not independent
execution or full publication acceptance.
