Skip to content

[fuzz] clean_asr numeric divergence on a flat-channel crop, seed 20261012 #642

Closed

Description

@suraj-ranganath

The #640 validation run on jamming compared EEGPrep with MATLAB R2025b Update 7 at PR #640 head eaad381. A wide 20-example survey with seed 20261012 found a confirmed numeric divergence in clean_asr.

Params: cutoff 3.0, entry clean_asr, ref_maxbadchannels 0.075, window_len 1.0.

Spec: channels 12 through 28, start 4097, length 1278, decimate 1, flat_channel 8.

Max abs 99.09315492805484, max rel 38633.92143735272, at finite index 21475.

Repro:

uv run python -m tests.fuzz reproduce /mnt/v1/arno/suraj3/pr640/fuzz-out-wide/repros/clean_asr-numeric-data.json

The repro JSON is on jamming at that path. The run used PR #640 at eaad381 with MATLAB R2025b. Replaying the saved case on the same machine reproduced the same numbers. Both sides returned data, and the harness did not record the oracle returning its input.

Unverified hypothesis: ASR reconstruction differs on this short crop because of the flat channel and the aggressive cutoff of 3. The difference is far larger than ordinary rounding.

Related closed reports #451 and #528 were earlier clean_asr numeric findings with different parameters and smaller errors.

Activity

  1. added
    fuzz
    on Nov 18, 2026
  2. claude commented on Nov 18, 2026

    @claude
    Contributor

    🤖 Plan:

    • Reconstruct the case locally (no MATLAB here; repro JSON is only on jamming)
    • Locate root cause
    • Human decision on intended behavior (see below), then a small PR

    Investigating; analysis to follow in this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    fuzz

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions