Skip to content

Releases

v0.2.2

v0.2.2 Pre-release
Pre-release

Choose a tag to compare

@gedouluhui gedouluhui released this 29 Nov 17:54
e35afed

What's Changed

  • Harden publication guard ownership and ACLs by @gedouluhui in #2

Full Changelog: v0.2.1...v0.2.2

planbench-sqlite 0.2.1

Pre-release

Choose a tag to compare

@gedouluhui gedouluhui released this 28 Nov 22:22
952cbfe

Hard SQLite watchdog, strict framed evidence, guarded transactional reports and native timeout integrations. Local verification is documented in the repository; no external real-world certification is claimed.

v0.2.0 — actionable differences and regression suites

Choose a tag to compare

@gedouluhui gedouluhui released this 18 Nov 21:59

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.

v0.1.0 — reproducible SQLite query experiments

Choose a tag to compare

@gedouluhui gedouluhui released this 17 Nov 21:13

PlanBench SQLite 0.1.0

A small, offline tool for a specific question: after changing a query or adding an index, did the returned data stay the same, and what execution plan did SQLite choose?

  • Two disposable clones of one consistent SQLite backup snapshot.
  • Exact typed sequence or multiset comparison; duplicate rows matter.
  • Separate equivalent, different and inconclusive outcomes.
  • Strict SQL allowlist, independent resource budgets and input/output protection.
  • Script-free standalone HTML and JSON reports; deterministic self-generated examples.

Install

Requires Python 3.11+ with SQLite. Download the wheel below and run:

python -m pip install planbench_sqlite-0.1.0-py3-none-any.whl
planbench-sqlite demo --out demo-output

The source archive includes English/Chinese usage, the evidence contract, contribution guidance and real example reports. SHA256SUMS accompanies both distributions.

Scope

Early alpha for trusted local ordinary SQLite databases. This is not a production speedup benchmark, SQL-equivalence proof or malicious-file sandbox. Progress callbacks are not exact VM instruction counts; time limits are cooperative. Reports exclude row/parameter values but include SQL literals and identifiers. Review the evidence contract before sharing reports or using your own database.

Validation includes real SQLite/CLI tests, clean offline wheel installation, independent review, bounded-result counterexamples and browser inspection of generated reports. CI results are linked on the repository; untested environments are not inferred from a local pass.