FAILURE MAP
← Case archive

FA-91347 / Digital signal filters / Member archive

Streaming FIR shifts the old history instead of the new sample · case 02

Every output equals taps[0] times the current sample; past samples never enter the delay line.

Member previewVariant 2 · 3 implementations · 7 checks per implementation

Case contract

Input [taps, blocks] of integers. Filter the concatenated stream with y[n] = sum_k taps[k] x[n-k] (zero initial history) while processing block by block; return the outputs grouped per input block.

Why this case matters

Block-based FIR processing must carry history across buffer boundaries or every block edge glitches.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
regression: random stream 0[[9, 12, -6], [9], [15, 12, -9], []][[9, 15, 7], [28], [24, 20, 19], []]Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗