FAILURE MAP
← Case archive

FA-91359 / Digital signal filters / Member archive

Biquad adds the feedback terms · case 04

A filter specified with a1 = -1/2 (a decaying pole at +1/2) produces an alternating impulse response.

Member previewVariant 4 · 3 implementations · 7 checks per implementation

Case contract

Input [[b0, b1, b2, a0, a1, a2], samples]; coefficients are rational strings, normalized by a0 ("a0-zero" if a0 == 0). y[n] = b0 x[n] + b1 x[n-1] + b2 x[n-2] - a1 y[n-1] - a2 y[n-2] with zero initial state; return outputs as exact fraction strings.

Why this case matters

The biquad is the workhorse IIR section; sign, state or normalization slips produce unstable or wrong-gain filters.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
regression: random biquad 6["1/8", "1/16", "3/2", "37/64", "411/128", "-81/128"]["1/8", "3/16", "21/16", "107/64", "105/128", "-183/128"]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 ↗