# Restore Acceptance: Bytes, Interpretation and Query Coverage

Cross-study synthesis of retained Hesela observations, not a fresh native
experiment, independent replication, systematic review or production failure rate.

Run here with Python 3, standard library only:

    python3 synthesize.py --check
    PYTHONDONTWRITEBYTECODE=1 python3 -m unittest -v test_synthesize
    PYTHONDONTWRITEBYTECODE=1 python3 -O -m unittest -v test_synthesize

The six original logs in evidence/ are unchanged. manifest.json records hashes,
sizes, public URLs and pinned Git acquisition. evidence-map.json gives exact
JSON pointers to selected observations and controls; sources.json describes six
primary-source contracts. live-receipt.json is a HISTORICAL receipt: the earlier
Python client received six HTTP 403 responses. It is not current availability
evidence. Hashes detect changes against the inventory, not authenticity.

## Boundaries

- LMDB: all 257 records appear in a cursor scan, but default-comparator point
  lookup finds none. Installing the original descending comparator finds all.
  Failing controls deliberately violate the documented comparator contract;
  this is not a newly discovered engine defect.
- BGZF/Tabix: compression checks, exact decompression and a broad query pass
  while a narrow query omits two known records with a stale index. Selected
  cases cover TBI/CSI and equal, older and newer index timestamps.
- HDF5: unchanged transferred chunks decode to unintended coordinates,
  generations or datatype/filter interpretations. The unchanged unit is the
  transferred chunk, NOT the entire destination file.

No shared statistical population exists. Do not pool cases, compiler builds or
repetitions into a failure rate. Tests verify extraction, not the truth of old
native measurements. Selected inputs are two HDF5 logs with both repetitions,
two LMDB compiler builds, and one capture per HTSlib release.

The Tabix comparisons require the stale pair, matched pair and rebuilt-index
control to share the same data identity, full decompressed payload and expected
narrow-query result. Two successful output rows from an unrelated query do not
establish that rebuilding corrected the failing case. These checks establish
internal agreement of the retained evidence, not independent oracle provenance.

Selected operation labels must also match the exact retained command arguments:
executable, options, data/index path, index format, query range and target filename.
Replacing the sequential -T operation with indexed -R must not be accepted under
the old label. The extractor deliberately rejects even alternative valid commands;
it validates this fixed protocol, not the full Tabix command language.
Arguments establish recorded protocol identity, not that a command was executed.
The six logs do not independently retain the contents of targets.bed; verifying
its path is not a content check. Native replay remains in the original package.

## Original Methods and Native Replay

- [LMDB](https://hesela.com/analyses/lmdb-readers-page-reuse-map-full/#comparator-contract)
- [BGZF/Tabix](https://hesela.com/analyses/compressed-archives-dictionary-dependencies/#bgzf-evidence)
- [HDF5](https://hesela.com/analyses/checksums-identity-and-lost-writes/#hdf5-chunk-interpretation)

Original studies link complete native replay packages. This bundle verifies
only the synthesis. No hardware, power-loss or full application recovery test
was performed here.

## Engineering Inference

Establish intended dataset identity and generation independently of the
candidate copy. Bind associated artifacts and reader configuration; compare
actual application queries against separately retained expected identities and
values. A manifest made after assembling the wrong pair records it faithfully.
A second command is not automatically independent: Tabix -T still uses index
parsing metadata. Sampled queries establish only sampled scope. Preserve
originals and work on a disposable restoration.

The human synthesis extends the existing backup-verification analysis; this
package supplies machine-readable evidence rather than a competing article.
