Skip to main content

Module functions

Module functions 

Source
Expand description

Built-in functions for multi-table analysis.

Per ADR-006 §2.7.5 (cross-crate ABI policy), align_tables migrates to the &[KindedSlot] signature. The shape-jit consumer at crates/shape-jit/src/ffi_symbols/data_access/mod.rs:95 was passing the legacy (ctx, &[ValueWord]) shape and breaks in the next-session shape-jit cleanup workstream — Phase 1.B does not preserve the legacy signature on the runtime side just to keep shape-jit compiling through this session. The shape-vm cluster picks up the consumer migration alongside its own KindedSlot-threading work.

Phase 1.B body shim: per ADR-006 §2.7.4 audit-accuracy ruling, the pre-bulldozer body decoded &ValueWord arrays via tag-bit dispatch (as_any_array(), as_str(), as_f64(), etc.) that no longer exist. The kind-threaded rebuild (per-position NativeKind from the registered schema) lands in Phase 2c. Until then the body returns a deferred error — same shape as the intrinsic stubs.

Functions§

align_tables
Align multiple datasets.
correlation
Correlation between two series (placeholder; returns 0.0).