[fuzz][exception-mismatch] exception-mismatch:ValueError/MatlabExecutionError in pop_clean_rawdata

Aperta
#664 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@suraj-ranganath ci sta già lavorando.

Dal 23/11/2026.

  • #667 di @suraj-ranganath — aperta

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
28/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
matlab, python
Ambito
testing-qa

Direzione di ricerca

Start by running the listed repro command to confirm the ValueError from the Python port of fit_eeg_distribution, then read that function around the window-count check and the caller clean_windows. Compare against the MATLAB oracle stack, where fit_eeg_distribution line 126 hits bsxfun dimension mismatch instead, so the parity target is the same failure class on the same inputs. Done means the Python path raises a matching error (or handles the 5-window case identically) for the recorded artifact params.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

fuzz fuzz-unconfirmed

Confirmed differential fuzz divergence. EEGLAB output is the oracle.

  • Cause: exception-mismatch:ValueError/MatlabExecutionError
  • Function: pop_clean_rawdata
  • Seed: 20261121
  • Input sha256: bc5eb2875e6f6eedd0081d33bb47fc00a38c8e182f83fd4e8e4aa023cc816666
  • Params: {"BurstCriterion": 20.0, "BurstRejection": "on", "ChannelCriterion": 0.8, "ChannelCriterionMaxBadTime": 0.5, "Distance": "euclidian", "FlatlineCriterion": 5.0, "Highpass": "off", "LineNoiseCriterion": 4.0, "WindowCriterion": 0.25, "WindowCriterionTolerances": ["-inf", 7.0], "entry": "clean_rawdata"}
  • Max abs error: 0.0
  • Max rel error: 0.0
  • Error class: exception-mismatch:ValueError/MatlabExecutionError
  • Repro: uv run python -m tests.fuzz reproduce fuzz-out/repros/pop_clean_rawdata-exception-mismatch-ValueError-MatlabExecutionError.json
  • Artifact: https://github.com/sccn/eegprep/actions/runs/44931189297#artifacts

python ValueError: Too few windows (5) to fit the EEG distribution: round(n * width) must be greater than 1.; oracle MatlabExecutionError: Non-singleton dimensions of the two input arrays must match each other.

Oracle identifier: MATLAB:bsxfun:arrayDimensionsMustMatch

  fit_eeg_distribution>fit_eeg_distribution (line 126)
  clean_windows>clean_windows (line 106)
  clean_artifacts>clean_artifacts (line 320)
  pop_clean_rawdata>pop_clean_rawdata (line 212)
  eegprep_batch_engine_serve>invoke_call (line 108)
  eegprep_batch_engine_serve>serve_one (line 54)
  eegprep_batch_engine_serve>eegprep_batch_engine_serve (line 25)

Lingua principale
Python
Stelle
38
Fork
7
Merge medio
1g 11h
PR unite (30g)
77

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di sccn/eegprep

Tutte le issue di sccn/eegprep

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.