Skip to main content

Module bake_pipeline

Module bake_pipeline 

Source
Expand description

Cold-path NQuin → Tensor10D baking (ingest / encode tier).

Hot-path queries read baked SOA volumes; this module runs at ingest only.

Enums§

ScaleTier
Scale tier for multi-scale spatial coordinate packing (§2.3)

Constants§

PRED_GEO_PACKED_BBOX_MAX
PRED_GEO_PACKED_BBOX_MIN
PRED_GEO_PACKED_CENTROID
PRED_GEO_VERTEX
PRED_HAS_SPECTRAL_SHEET
Link to a registered acoustic resource. Registry indices are not file digests.

Functions§

audio_sidecar_relpath
Zero-heap canonical path from the complete final-byte BLAKE3 digest. Returns0 without mutation when caller capacity is insufficient.
bake_quin_to_tensor
Bake a single NQuin into a ground-truth Tensor10D node.
bake_quins_into
Write baked tensors into caller buffer; returns count written.
decode_packed_coord
Decode spatial_encode_wasm packed coordinates from an object field.
decode_scaled_coord
Decode a 64-bit packed object into coordinates in meters along with its scale tier.
encode_scaled_coord
Encode metric coordinates in meters into a 64-bit packed object with scale tier.
is_geo_vertex_quin
True when the Quin carries a baked geo coordinate payload (not a hash-proxy xyz).
migrate_unscaled_mm_quin
Migrate a legacy unscaled millimeter Quin to a target scale tier.
semantic_xyz_from_nquin
Semantic xyz: packed geo coords when present, else legacy hash spread.
sigma_sheet_index_from_nquin
σ sheet index from baked NQuin object when q42:hasSpectralSheet is present.