What it is
Every certified conversion writes one certificate. It records what was compared, how, and with what result: the source file's SHA-256 and size, the trace-header specification used, every array in the output store, the status of each plane and gate, the declared transforms, the codecs, the exact environment and the commit SDIP ran from.
Comparisons are byte equality or array_equal. There is no tolerance anywhere in the engine, because a
tolerance is how a lossy path gets a passing grade.
The five planes
A SEG-Y file is a 3,200-byte textual header, a 400-byte binary header, then traces, each a 240-byte header followed by its samples. The certificate settles one claim for each part, and one for how the parts are counted and ordered.
| Plane | The claim it settles | Gate |
|---|---|---|
| 1. Textual header | The 3,200 bytes are preserved verbatim. | G2a |
| 2. Binary header | The 400 bytes are preserved, and the raw bytes are authoritative. | G2b |
| 3. Trace headers | All 240 bytes of every trace header are recoverable, bit-exact. | G2c |
| 4. Samples | Every live sample is bit-exact after the declared decode. | G2d |
| 5. Cardinality | Trace count, ordering, live mask and duplicates all reconcile. | G2e |
All five must hold simultaneously. There is no partial credit and no "mostly equivalent": a store that satisfies four planes is NON-EQUIVALENT, and the certificate says which plane failed and where.
The seven gates
The planes are one gate of seven. A certificate records all of them.
G1 Gap-free specification | A trace-header spec covers bytes 1 to 240 with no gaps and no overlaps, checked before a single trace is read. |
|---|---|
G2 Ingest identity | The five planes, G2a to G2e. One differing byte on any plane fails it. |
G3 Round trip | The store is exported back to SEG-Y and the whole file is compared by SHA-256. |
G4 Portability | The store opens with stock zarr and xarray in a process where mdio is never imported. |
G5 Scale | The run stays inside the memory and wall-clock ceilings declared before it started. |
G6 Determinism | Two independent ingests produce identical chunk bytes and values. |
G7 Non-vacuity | Every negative control must fail exactly the gates it declares and no others. |
Why the proof is worth anything: 16 negative controls
A gate a corrupted store passes is not a gate. The engine ships 16 permanent negative controls: deliberate corruptions that must fail, each required to fail exactly the check it targets and no others. If a corruption passes, or fails the wrong check, the whole engine is treated as unvalidated.
| Control | The corruption | G2a | G2b | G2c | G2d | G2e |
|---|---|---|---|---|---|---|
flipped_textual_byte | One bit flipped in the stored 3,200-byte textual header | must fail G2a | must pass G2b | must pass G2c | must pass G2d | must pass G2e |
truncated_textual_header | Textual header cut from 3,200 to 3,100 bytes | must fail G2a | must pass G2b | must pass G2c | must pass G2d | must pass G2e |
flipped_binary_byte | One bit flipped in the 400-byte binary header | must pass G2a | must fail G2b | must pass G2c | must pass G2d | must pass G2e |
flipped_header_byte | One trace-header byte changed | must pass G2a | must pass G2b | must fail G2c | must pass G2d | must pass G2e |
flipped_sample_bit | One sample's low mantissa bit flipped | must pass G2a | must pass G2b | must pass G2c | must fail G2d | must pass G2e |
inverted_live_mask | Live mask flipped on one trace | must pass G2a | must pass G2b | must pass G2c | must pass G2d | must fail G2e |
dropped_trace | One live trace zeroed and removed from the mask | must pass G2a | must pass G2b | must fail G2c | must fail G2d | must fail G2e |
flipped_raw_header_byte | One bit flipped in the raw uint8 header plane | must pass G2a | must pass G2b | must fail G2c | must pass G2d | must pass G2e |
flipped_raw_ibm32_word | One bit flipped in an undecoded uint32 sample word | must pass G2a | must pass G2b | must pass G2c | must fail G2d | must pass G2e |
transposed_traces | Two adjacent traces swapped, headers and samples together | must pass G2a | must pass G2b | must fail G2c | must fail G2d | must pass G2e |
corrupted_cdp_coordinate | A derived cdp_x coordinate shifted by one unit | must pass G2a | must pass G2b | must fail G2c | must pass G2d | must pass G2e |
corrupted_sample_axis | First entry of the sample axis shifted by one unit | must pass G2a | must pass G2b | must pass G2c | must fail G2d | must pass G2e |
deleted_raw_ibm32_array | The whole raw sample view removed | must pass G2a | must pass G2b | must pass G2c | must fail G2d | must pass G2e |
deleted_raw_header_plane | The whole raw header plane removed | must pass G2a | must pass G2b | must fail G2c | must pass G2d | must pass G2e |
fabricated_value_in_padding | A real-looking sample written into grid padding | must pass G2a | must pass G2b | must pass G2c | must pass G2d | must fail G2e |
deleted_derived_coordinate | The whole cdp_x array removed | must pass G2a | must pass G2b | must fail G2c | must pass G2d | must pass G2e |
A filled mark is a gate the control must fail. An empty one is a gate it must leave passing. The list is the one
recorded on the reference certificate; on a full grid one control, fabricated_value_in_padding, is not
applicable, because there is no padding cell to write into.
Verdicts
A certificate carries one of three verdicts: EQUIVALENT, NON-EQUIVALENT or PROVISIONAL. Six SEG-Y sample formats, ibm32 among them, can alter a value when decoded to float32. For those, SDIP declares the transform on the certificate and grants EQUIVALENT only when the whole-file round trip is byte-identical. No round trip, no verdict.
sdip certify refuses to issue a certificate from a working tree that is dirty or absent, so a
certificate always names the exact code that produced it.
Check one yourself
That is the point of publishing a schema. Any JSON Schema validator will do, and SDIP is not involved. You can also drop a certificate into the verifier on the home page, which runs the same check in your browser.
pip install jsonschema
python -c "
import json, jsonschema
cert = json.load(open('certificates/465297171ccb-20260917T010711+0000.json'))
schema = json.load(open('src/sdip/schema/sdip-certificate-v0.schema.json'))
jsonschema.validate(cert, schema)
print(cert['verdict'], cert['release_readiness']['release_ready'])
" The schema is at src/sdip/schema/sdip-certificate-v0.schema.json in the repository, and ships inside the package.
The reference certificate
One certificate is committed to the repository so a reader can check it before deciding whether any of this is worth their time. Its source is a synthetic survey generated by committed code with a fixed seed, so the digest is reproducible by anyone.
| Verdict | EQUIVALENT, release ready, all seven gates PASS |
|---|---|
| Source | Synthetic poststack 3-D, 86,928 bytes, 168 traces, 12 × 14 × 64 |
| SHA-256 | 465297171ccbf63f1f7f71ef0ccdec9f9a72dccc254673b7250706a624086b85 |
| G7 | 15 corruptions, each failing exactly its declared gates; 1 not applicable on a full grid |
| Issued | 2026-09-17T01:07:11+00:00 by sdip 1.2.0, from a clean working tree |
Open the reference certificate, or read the ledger of every certificate issued.