Skip to content
Novus Examples

Explore the test library

Search files, editable visual templates, and live browser targets from one registry-backed directory. Filtered query views stay crawlable for links but are deliberately noindex; the stable taxonomy pages below remain the canonical search surfaces.

128 results

Page 5 of 6; 24 results per page.

Show the canonical directory
Preview of NumPy .npy — float16 at Its Limits (.npy)
npy
146 B
Actual file preview for NumPy .npy — float16 at Its Limits (.npy)

NumPy .npy — float16 at Its Limits (.npy)

Every structurally interesting float16 value in one array: one plus epsilon, the largest finite value, the smallest normal and subnormal, negative zero, infinity and a NaN. It is the compact half-precision counterpart to the float32 and float64 boundary fixtures.

File
NPY · Arrays
Use case
Scientific dataSerialization testing+1· Conversion set
Preview of NumPy .npy — float32 3-D Cube (.npy)
npy
608 B
Actual file preview for NumPy .npy — float32 3-D Cube (.npy)

NumPy .npy — float32 3-D Cube (.npy)

The identical temperature field carried by the CF NetCDF and HDF5 fixtures, stored as a bare float32 .npy. Comparing the three shows exactly what a plain array container loses: the numbers survive, the units and axes do not.

File
NPY · Arrays
Use case
Scientific dataSerialization testing· Conversion set
Preview of NumPy .npy — float64 2-D Grid (.npy)
npy
896 B
Actual file preview for NumPy .npy — float64 2-D Grid (.npy)

NumPy .npy — float64 2-D Grid (.npy)

The baseline .npy fixture: a 12x8 float64 array in version 1.0 format with a little-endian descriptor and the header padded to the mandatory 64-byte alignment. Every other array in this family varies exactly one property away from it.

File
NPY · Arrays
Use case
Scientific dataSerialization testing· Paired fixture
Preview of NumPy .npy — float64 Big-Endian (.npy)
npy
184 B
Actual file preview for NumPy .npy — float64 Big-Endian (.npy)

NumPy .npy — float64 Big-Endian (.npy)

Seven doubles written big-endian, including negative zero and values at both ends of the exponent range. Byte-swapping a double is unrecoverable by inspection — swap pi and you get 3.2e-192, which looks like a plausible tiny number rather than an error.

File
NPY · Arrays
Use case
Scientific dataSerialization testing· Conversion set
Preview of NumPy .npy — Fortran Order (Column-Major) (.npy)
npy
320 B
Actual file preview for NumPy .npy — Fortran Order (Column-Major) (.npy)

NumPy .npy — Fortran Order (Column-Major) (.npy)

The same 4x6 matrix stored column-major with fortran_order set to True in the header. Ignoring that one boolean does not produce an error, it produces a transposed matrix — the quietest failure in the whole .npy format.

File
NPY · Arrays
Use case
Scientific dataSerialization testing· Paired fixture
Preview of NumPy .npy — int16 Big-Endian (.npy)
npy
146 B
Actual file preview for NumPy .npy — int16 Big-Endian (.npy)

NumPy .npy — int16 Big-Endian (.npy)

The same nine int16 values written big-endian, so the header descriptor reads '>i2'. A loader that ignores the descriptor and assumes native little-endian order returns 13330 where the file says 4660, without any error.

File
NPY · Arrays
Use case
Scientific dataSerialization testing· Paired fixture
Preview of NumPy .npy — int16 Little-Endian (.npy)
npy
146 B
Actual file preview for NumPy .npy — int16 Little-Endian (.npy)

NumPy .npy — int16 Little-Endian (.npy)

Nine int16 values including both type extremes, stored little-endian so the descriptor in the header reads '<i2'. It is one half of an endian pair whose values are identical and whose bytes are not.

File
NPY · Arrays
Use case
Scientific dataSerialization testing· Paired fixture
Preview of NumPy .npy — Structured Record Array with Units in Field Names (.npy)
npy
528 B
Actual file preview for NumPy .npy — Structured Record Array with Units in Field Names (.npy)

NumPy .npy — Structured Record Array with Units in Field Names (.npy)

A 16-record structured array carrying a value, its uncertainty and a quality flag, with the physical unit encoded in the field-name suffix because .npy has nowhere else to put it. The header descriptor is a list of field tuples rather than a single type string, which is the parsing branch this file exercises.

File
NPY · Arrays · 16 records
Use case
Scientific dataSerialization testing+1· Conversion set
Preview of NumPy .npy — Zero-Dimensional Scalar (.npy)
npy
136 B
Actual file preview for NumPy .npy — Zero-Dimensional Scalar (.npy)

NumPy .npy — Zero-Dimensional Scalar (.npy)

A rank-0 .npy holding a single double, whose header shape is the empty tuple rather than (1,). Indexing it with [0] raises rather than returning the value, so it separates parsers that model rank properly from parsers that assume at least one axis.

File
NPY · Arrays
Use case
Scientific dataSerialization testing+1· Conversion set
Preview of NumPy .npy — Zero-Length Array With Real Shape (.npy)
npy
128 B
Actual file preview for NumPy .npy — Zero-Length Array With Real Shape (.npy)

NumPy .npy — Zero-Length Array With Real Shape (.npy)

A valid .npy file with a full header, a declared (0, 4) shape and a data section of zero bytes. It preserves the column count across an empty result, and it separates readers that model emptiness from readers that treat it as failure.

File
NPY · Arrays
Use case
Scientific dataSerialization testing+1· Conversion set
Preview of NumPy .npy Format Version 2.0 — Header Beyond 64 KiB (.npy)
npy
12.7 KB
Actual file preview for NumPy .npy Format Version 2.0 — Header Beyond 64 KiB (.npy)

NumPy .npy Format Version 2.0 — Header Beyond 64 KiB (.npy)

A 300-field structured array whose descriptor is too long for a version 1.0 header, forcing format version 2.0 and its four-byte header-length field. A hand-rolled parser that assumes the two-byte 1.0 field mis-locates the data section entirely.

File
NPY · Arrays · 4 records
Use case
Scientific dataSerialization testing+1· Conversion set
Preview of NumPy .npy Format Version 3.0 — UTF-8 Field Names (.npy)
npy
312 B
Actual file preview for NumPy .npy Format Version 3.0 — UTF-8 Field Names (.npy)

NumPy .npy Format Version 3.0 — UTF-8 Field Names (.npy)

A structured array whose field names use Greek and CJK characters, which is the only reason format version 3.0 exists: its header is UTF-8 where 1.0 and 2.0 are latin-1. A parser that decodes the header as latin-1 mangles all three names.

File
NPY · Arrays · 5 records
Use case
Scientific dataSerialization testing+1· Conversion set
Preview of NumPy .npz-style Bundle — Five Arrays, Deflated (.zip)
zip
1.1 KB
Actual file preview for NumPy .npz-style Bundle — Five Arrays, Deflated (.zip)

NumPy .npz-style Bundle — Five Arrays, Deflated (.zip)

The identical five arrays bundled with deflate instead of stored, which is the only difference between NumPy's savez and savez_compressed. Loading both and comparing proves a reader ran the decompressor rather than trusting stored-size shortcuts.

File
ZIP · Arrays · 5 members
Use case
Scientific dataSerialization testing+1· Conversion set
Preview of NumPy .npz-style Bundle — Five Arrays, Stored (.zip)
zip
2.2 KB
Actual file preview for NumPy .npz-style Bundle — Five Arrays, Stored (.zip)

NumPy .npz-style Bundle — Five Arrays, Stored (.zip)

An npz-style bundle: a ZIP whose members are .npy files, which is exactly what NumPy's savez produces. np.load opens it by ZIP magic rather than by extension, so the arrays load straight from this .zip; rename it to .npz for tooling that checks the suffix.

File
ZIP · Arrays · 5 members
Use case
Scientific dataSerialization testing+1· Conversion set
Preview of Packed NetCDF — Unpacked Ground Truth (.csv)
csv
5.3 KB
Actual file preview for Packed NetCDF — Unpacked Ground Truth (.csv)

Packed NetCDF — Unpacked Ground Truth (.csv)

The stored integer, the unpacked value, the original float and the quantisation error for all 120 cells of the packed NetCDF grid. It makes the cost of int16 packing explicit and gives an unpacking implementation an exact per-cell target.

File
CSV · Gridded · 120 rows
Use case
Scientific dataConversion testing+1· Paired fixture
Preview of Protein FASTA — Ambiguity Codes X, B and Z (.fasta)
fasta
450 B
Actual file preview for Protein FASTA — Ambiguity Codes X, B and Z (.fasta)

Protein FASTA — Ambiguity Codes X, B and Z (.fasta)

Three synthetic protein sequences that begin with methionine and include the X, B and Z ambiguity codes, which are legal IUPAC residues rather than errors. A validator restricted to the twenty standard amino acids rejects all three files.

File
FASTA · Bioinformatics · 3 records
Use case
Scientific dataEditor testing+1· Conversion set
Preview of Raw float64 Block — Big-Endian, No Header (.bin)
bin
128 B
Actual file preview for Raw float64 Block — Big-Endian, No Header (.bin)

Raw float64 Block — Big-Endian, No Header (.bin)

The same sixteen doubles written in network byte order, so every eight-byte group is the mirror of the little-endian twin. Decoding it with the wrong assumption produces small plausible-looking numbers rather than an error, which is why this pair exists.

File
BIN · Numeric Edges
Use case
Scientific dataError handling+1· Paired fixture
Preview of Raw float64 Block — Little-Endian, No Header (.bin)
bin
128 B
Actual file preview for Raw float64 Block — Little-Endian, No Header (.bin)

Raw float64 Block — Little-Endian, No Header (.bin)

Sixteen doubles as a bare 128-byte block with no header, so byte order is knowledge the reader has to bring rather than something the file declares. It is one half of an endian pair that only a correct assumption tells apart.

File
BIN · Numeric Edges
Use case
Scientific dataError handling+1· Paired fixture
Preview of Raw float64 Endian Pair — Byte-Level Reference (.csv)
csv
1.1 KB
Actual file preview for Raw float64 Endian Pair — Byte-Level Reference (.csv)

Raw float64 Endian Pair — Byte-Level Reference (.csv)

Every value in the raw endian pair with its exact byte sequence in both orders, so a decoder can be checked offset by offset instead of value by value. Negative zero and the subnormal entries are the rows where a byte-order mistake stops looking like a mistake.

File
CSV · Numeric Edges · 16 rows
Use case
Scientific dataEditor testing+1· Conversion set
Preview of SAM Alignments — Header, Flags and CIGAR Operations (.sam)
sam
1.2 KB
Actual file preview for SAM Alignments — Header, Flags and CIGAR Operations (.sam)

SAM Alignments — Header, Flags and CIGAR Operations (.sam)

Six alignments against a synthetic contig with a full @HD/@SQ/@RG/@PG header, both strands via the reverse flag, and CIGAR strings covering match, soft clip, insertion and deletion. Reference span and query length come apart in three of the records, which is where CIGAR arithmetic gets tested.

File
SAM · Bioinformatics
Use case
Scientific dataEditor testing· Paired fixture
Preview of SAM CIGAR Span Reference — Query versus Reference Length (.csv)
csv
425 B
Actual file preview for SAM CIGAR Span Reference — Query versus Reference Length (.csv)

SAM CIGAR Span Reference — Query versus Reference Length (.csv)

Each alignment's CIGAR decomposed into how many query bases and how many reference bases it consumes, with the resulting 1-based reference end. The three records where those numbers differ are the whole reason CIGAR arithmetic is worth testing.

File
CSV · Bioinformatics · 6 rows
Use case
Scientific dataEditor testing+1· Paired fixture
Preview of Shortest Round-Trip Float Representation — 15 vs 16 vs 17 Digits (.csv)
csv
976 B
Actual file preview for Shortest Round-Trip Float Representation — 15 vs 16 vs 17 Digits (.csv)

Shortest Round-Trip Float Representation — 15 vs 16 vs 17 Digits (.csv)

Twelve doubles printed at 15, 16 and 17 significant digits alongside their shortest round-tripping form, with a column recording which precisions actually recover the original bits. Fifteen digits is the default in a lot of formatting code and it loses values, which this table demonstrates rather than asserts.

File
CSV · Numeric Edges · 12 rows
Use case
Scientific dataCSV parsing+1· Conversion set
Preview of SI Unit Symbols in UTF-8 — Look-Alike Codepoints (.csv)
csv
556 B
Actual file preview for SI Unit Symbols in UTF-8 — Look-Alike Codepoints (.csv)

SI Unit Symbols in UTF-8 — Look-Alike Codepoints (.csv)

Eight measurements whose unit symbols use the codepoints that have Unicode look-alikes: MICRO SIGN against GREEK MU, OHM SIGN against GREEK OMEGA, ANGSTROM SIGN against A-with-ring. Each row also carries an ASCII fallback, so a normalisation bug shows up as a column mismatch rather than as an invisible change.

File
CSV · Measurements · 8 rows
Use case
Scientific dataEncoding detection+1· Conversion set
Preview of Signed Zero Round-Trip Through Text (.csv)
csv
588 B
Actual file preview for Signed Zero Round-Trip Through Text (.csv)

Signed Zero Round-Trip Through Text (.csv)

Nine ways of writing zero, what each parses to, and what dividing one by the result gives. Negative zero compares equal to positive zero yet behaves differently in division and in sign propagation, so a formatter that drops the sign changes results without changing any comparison.

File
CSV · Numeric Edges · 9 rows
Use case
Scientific dataCSV parsing+1· Conversion set