Truthound · Schema and type contracts · 3/6
Preserve field names, types and key semantics across versions.
119 articles
Check whether another parent’s element moves into an empty list
Equal total element counts can conceal changed parent ownership. Retain an empty parent in the small fixture.
Polars mixed-key full join: two rows still require key and payload reconciliation
Equal row counts do not establish preservation of keys or payloads after a full join.
Retain intermediate meaning when a Boolean cast chain produces -24
Check the nonzero-is-true policy beside the final 1/0 codes. An Int8 dtype alone cannot admit the status code.
Polars decimal-comma CSV: reconcile each scientific token from the actual file
Reconcile the complete numeric token for every output row so previous-row buffer contents are not approved as valid formatting.
Inspect execution when aggregation CSE changes a scalar into a list
Expression reuse can change an aggregate’s role and dtype. Admit the plan and the executed result separately.
Reconcile the Arrow boundary before attributing identifier corruption to Delta
An error discovered after storage need not originate there. Check the original long identifier after a short inline string.
NumPy Unicode strip: character order must not change the stored code
Define chars as a set of codepoints rather than an ordered sequence, then compare with a source-based cleaning reference.
A NaT position from NumPy nanargmin: inspect the original mask before handing off the minimum
Check the selected position together with its original validity so a NaT index is not handed off as the minimum observation.
If the first NaN slice determines NumPy nanquantile dtype: test a reordered handoff
Check final dtype and per-slice quantile references so ordering and missingness do not change approved precision.
N/A after NumPy masked find: hand off result dtype with valid fill metadata
After a dtype change, check whether fill_value is representable under the result contract.
NumPy fixed-width replace: input width must not redefine the search and replacement
Preserve the original search and replacement arguments so input storage width cannot redefine cleaning policy.
An empty weighted bincount: zero sums and a float64 handoff are separate conditions
Even a no-data batch must retain the approved weighted-aggregate dtype and input-length contract.
NumPy einsum optimize: was casting=safe enforced on the final out write?
Verify rejection of a forbidden final cast so optimization cannot change permission for data loss.
Dask array conversion after Parquet projection: align partition and length-vector units
Projection can combine partitions in the execution graph, so align declared partition metadata with the length vector’s actual ownership unit.
True in a Dask object column: identical text is not an identical Boolean state
Use original value types and missingness semantics as the handoff contract rather than display text.
Passing a uint8 mask through Dask: separate creation from completed deserialization
Check dtype and fill semantics through a real serialization roundtrip.
Dask masked scalar arithmetic: hand off graph dtype and computed dtype together
Reconcile actual masked-array scalar promotion with graph inference.
171 versus 13 in Dask loc: do not force an index mask into positional alignment
Check partition correspondence of the data and index mask at the execution boundary.
Dask map_overlap chunks=None: verify that the next team receives known chunk sizes
Check actual chunk knowledge rather than treating omitted and explicit None options as equivalent.
Keep a target type for all-NULL Parquet struct children in DuckDB
Establish cast completion before checking the returned type and NULL positions of a NULL-only struct child. An invalidated connection is not a successfully typed missing-value result.
