Skip to main content

Crate tetration

Crate tetration 

Source
Expand description

tetration โ€” Rust library for the Tetration mmap-oriented chunked tensor format.

Public API: catalog, convert, layout, query, verify, repair, and prelude for common embedder imports. The companion CLI is tet (src/bin/tet.rs, src/bin/tet/).

Embedder walkthrough: cargo run --example session_write (or create_and_query, inspect_catalog; file health: tet verify / verify).

Modulesยง

catalog
Dataset directory and chunk index (layout v1 extension).
convert
Foreign format โ†’ .tet conversion (Phase 5).
layout
On-disk layout v1: fixed superblock at offset 0.
prelude
Common embedder imports: query document types, parse/validate/plan, mmap open.
query
JSON query documents: validated plans, execution, and CLI formatters.
repair
In-place .tet repairs (invoked by tet repair or tet verify --repair).
verify
.tet file health verification (layout, chunk integrity, footer).