Skip to main content

Module diagnostic

Module diagnostic 

Source
Expand description

Diagnostic and debugging nodes.

These are development aids, not hot-path nodes. They let users inspect types and values flowing through the DAG.

fft_analyze keeps its cross-call eval state (buffer + lazy-open output file) in struct fields derived via #[poly_const] setup functions — one buffer setup keyed on window_size, one output setup keyed on filename. The file is opened lazily so describe/probe/dryrun paths that never feed samples leave nothing behind.

Structs§

DebugRepr
Emit the Rust Debug representation of the input value.
FftAnalyze
Collect values over N cycles and write DFT analysis to a JSONL file.
Inspect
Passthrough that prints the value (with a const label) to stderr. SameAsInput output — runtime port type preserved.
TypeOf
Emit the type name of the input value as a string.