Skip to content

Releases

Table Contract Check 0.4.0

Choose a tag to compare

@vxxqv vxxqv released this 29 Nov 21:42
09f4180

Workflows can now require a minimum number of distinct result keys shared by both tables. Set min_matched_rows = 1 in a TOML contract to reject two header-only exports when results are required. The report still shows the observed and required counts with --limit 0. Older contracts keep their existing behavior.

The published wheel installed offline and passed the comparison tests on Ubuntu, Windows, and macOS. Verify the wheel or source distribution against SHA256SUMS.txt. Check conda-forge availability before using the new option from that channel.

Settings and examples · Tagged staging run

Table Contract Check v0.3.0

Choose a tag to compare

@vxxqv vxxqv released this 29 Nov 15:13
96cd16d

Generate a starter TOML contract from a CSV or TSV header with --init. Choose the key, numeric, and ignored columns explicitly. Numeric tolerances start at zero.

Use --output PATH to create a new contract file, or omit --output for UTF-8 stdout. An existing output file is left intact.

table-contract-check --init results.csv --key sample --numeric estimate --output results.toml

All 18 tests passed in the Linux and Windows CI matrix on Python 3.11 and 3.14. The wheel and source distribution passed metadata checks. The installed wheel generated a contract and caught the expected differences.

Setup and examples · Merged change

Table Contract Check 0.2.1

Choose a tag to compare

@vxxqv vxxqv released this 29 Nov 13:09
9802b6b

Zero-tolerance comparisons now compare finite decimal values exactly. Very small nonzero differences are reported, and equivalent values with large exponents match.

All 12 tests passed in the Windows and Ubuntu CI matrix with Python 3.11 and 3.14. The attached Python wheel was built from the tested source and passed an installation and CLI smoke check.

Fix and regression tests

Table Contract Check 0.2.0

Choose a tag to compare

@vxxqv vxxqv released this 29 Nov 06:39
0a80b21

Table Contract Check now reads TSV as well as CSV. Add delimiter = "\t" to a TOML contract for tab-separated input. The default delimiter is a comma.

The bundled example checks quoted tabs, reordered rows, and a numeric result at the tolerance boundary. See the TSV guide.

Closes #1.

Table Contract Check 0.1.0

Choose a tag to compare

@vxxqv vxxqv released this 28 Nov 19:33

Changelog

0.1.0

  • Compare UTF-8 result tables by one or more identifying columns.
  • Report schema and row changes, exact text changes, and numerical deviations outside the declared tolerance.
  • Print readable or JSON reports with separate exit codes for differences and input errors.
  • Include a worked comparison and CI setup guide.