Skip to main content

Module evidence

Module evidence 

Source
Expand description

Neutral profiling evidence: observations and confidence only.

These types record what was observed in a dump — counts, bounded summaries, and sketched estimates — with no opinion about how to regenerate it. Nothing here names a generator kind (no “email”, no “faker”); mapping evidence to generation strategies is a separate concern. Inference heuristics consume these structs without depending on the accumulator internals that produced them.

Every summary is bounded: a column that scans a billion rows produces the same size evidence as one that scans a thousand. Raw values are never retained beyond a small, budget-capped sample.

Structs§

BooleanEvidence
True/false tallies for a boolean-valued column.
CharClasses
Which character classes appeared anywhere in the observed strings.
ColumnEvidence
Evidence gathered for a single column. Only the sub-summaries relevant to the observed value shapes are populated; the rest stay None.
DumpProfile
Top-level profile of a whole dump.
NumericEvidence
Bounded numeric summary: extent, mean, and interpolated quantiles from a streaming histogram.
RelationshipEvidence
Evidence about an observed relationship between two columns.
StringShapeEvidence
Shape of a text column: lengths, empty rate, alphabet, and the longest common prefix/suffix shared by every observed value.
TableEvidence
Evidence gathered for a single table.
TimestampRangeEvidence
Lexical min/max of observed timestamp strings (ISO-8601 sorts lexically).
TopKEntry
One approximate heavy hitter: a value, its (over)estimated count, and the maximum possible overestimate.