Skip to main content

Module stability

Module stability 

Source
Expand description

Signal-settling / steady-state detection over a window of samples.

An objective computed from a live metric is volatile: each read follows the current metric window, and after a phase completes that window is empty. A host that needs the level the phase actually produced, and a signal for when that level has settled, keeps the recent samples itself and asks is_stable about them.

The node is a pure function of the window it is given. It keeps no history of its own, so both outputs are memoized like any other pure step, agree on all four engines and in every fiber, and read the same whichever of the two a host pulls first (runtime_model.md §9.1).

Structs§

IsStable
The settled level and the steady-state signal of a window of samples.