FA-91757 / Digital signal filters / Member archive
DC blocker starts from a zero previous input · case 02
A constant input produces a decaying spike equal to the offset at start-up.
Case contract
Input [R, samples]: y[n] = x[n] - x[n-1] + R y[n-1] with 0 <= R < 1 ("bad-pole"), warm-started so x[-1] = x[0] and y[-1] = 0 (no start-up step). Return exact fraction strings.
Why this case matters
DC blockers remove offsets before further processing; a cold start injects a large transient.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| regression: random dc blocker 1 | ["-2", "5/2"] | ["0", "4"] | 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 ↗