Measurement & Reproducibility

Isobar: Testing Lossless Compression

An independent, pre-alpha framework for testing lossless compression benchmarks and the tools behind them.

Checks whether compression benchmarks measure what they claim, and records reproducible findings at pinned commits.

pre-alpha · License: MIT OR Apache-2.0 ·Repository ↗ · Zachary Shallbetter (ORCID)
Program Overview

Theoretical Substrate

Isobar counts a timing only when the compressed output reconstructs the original input, and keeps raw evidence that verify_evidence.py can check.

At pinned commits it reproduced flaws in existing tools: lzbench reports a median that mixes call-level and batch-level samples and validates only the last decode, and TurboBench’s comparator returns −1 when comparing an input with itself.

In weissman-score a 7-byte input compressed to one non-gzip byte scored a ratio of 7, and a time of 1 divides by zero (a reading of the source, not a reproduction).

A gzip finalization pilot found that the omitted share of invocation time is 96.0% on a 31-byte input and about 1–3% on larger inputs. The tiny input is timer-sensitive, and timer overhead was not subtracted.

Primary Research Questions

  • Does a compression benchmark validate every decode it times?
  • Which part of a measured time belongs to the codec, and which to the process around it?
  • Can a published benchmark result be replayed from its recorded artifacts?
Formal Contributions

Primary Claims & Invariants

01

Reproduced flaws in lzbench and TurboBench at pinned commits, and a source reading of weissman-score.

02

A gzip finalization pilot measuring the share of time a benchmark leaves out.

03

Raw evidence with a verifier script.