Skip to main content

Module validation

Module validation 

Source
Expand description

The first-batch probe shared by the analysis and the GUI’s pre-check (D40, D85).

inspect reads only the first batch (at least min(1,000, N) records, at most 10,000 records or 64 MiB) and reports what a user needs to configure a run — alphabet, alignment length, default k, header fields with sample values, compression, size and an estimated record count — in well under a second. It validates nothing beyond what it reads; the run itself is the validator (fail-fast, with the exact location of the first problem).

Structs§

HeaderField
One |-separated header field seen in the probe.
Inspection
What the pre-check found.

Functions§

inspect
Reads the first batch of source and describes it (D85).
probe_facts
What the first batch shows (D108): the same facts for the pre-check and the run, from this one function, so that a difference can only mean the input changed in between.
probe_letters
Letter counts of the sequences in a batch (the alphabet probe).