Skip to content

v0.2.0 — actionable differences and regression suites

Pre-release
Pre-release

Choose a tag to compare

@gedouluhui gedouluhui released this 18 Nov 21:59
· 17 commits to main since this release

PlanBench SQLite 0.2.0 — actionable differences and regression suites

Builds on the 0.1 single-case comparison:

  • Difference evidence now points at the first mismatching rows in each arm's original returned order, with bounded per-column details. Reports keep totals exact, mark truncation explicitly, and do not add raw values, lengths or per-row hashes.
  • planbench-sqlite suite suite.json runs an ordered regression suite and accounts for every case. Invalid, blocked, timed-out or unrun cases make the suite inconclusive (exit 2); any difference gives exit 1; only all-equivalent results give exit 0. Empty suites do not pass.
  • The demo now generates clean, different and inconclusive suites with their real exit codes; the example suite report is generated from the real inconclusive run.
  • Each suite case uses an independent snapshot; this is not one shared snapshot across the suite.

Verification

  • 80 tests pass locally.
  • 7 targeted mutations are caught by named assertions; the real source is unchanged after the runs.
  • A fresh venv installed the built wheel and ran the installed test suite, demo and suite outside the source checkout.
  • The source archive was checked for its documents and relative links.

Limits

A smaller instrumented callback count is not a production speedup and PlanBench does not recommend indexes automatically. Byte-identical files are not implied by equivalent query results. The 0.1.0 release assets remain unchanged.

Check downloaded artifacts against SHA256SUMS-0.2.0.