Skip to main content

RENDER_EPOCH

Constant RENDER_EPOCH 

Source
pub const RENDER_EPOCH: u32 = 1;
Expand description

Generation of the featurizer itself.

Bump this whenever a stored CachedFeatures computed by the previous build would differ from what this build computes for the same (term, spec). render_key cannot detect that: it hashes the inputs, and this is a change in the function.

Concretely, bump on any change to: a φ coordinate’s formula or its set, loudness normalization (including loudness::PEAK_CEILING and pipeline::TARGET_LUFS), the vetting thresholds, or the compiler’s mapping from a term to quiver modules. When in doubt, bump — the cost is one cold boot, and the cost of not bumping is a posterior fitted on rows from two different featurizers with no way to tell which is which.

epochwhat changed
1first persistent cache; peak-capped loudness normalization