You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The likely oracle defect has two stages: clean_windows.m uses sort(wz) without a dimension, which sorts across time when there is only one channel, then ASR reaches the known zero-width fit. Applying that MATLAB sort rule to the captured 17 Python z-scores predicts 124 retained samples (129:218, 825:858, 1-based), three calibration windows, and m=0 at X(m,:). EEGPrep sorts across channels, retains 37 samples, and falls back to all 858 samples; its result is bit-identical to its explicit all-data calibration result.
harness.py:1351: current classifier excludes automatic selection.
Proposed Fix
Capture the MATLAB reference mask and full stack before adding a narrow oracle-defect classifier; preserve EEGPrep's channel-axis sorting. Keep this case distinct from #582 because it also exposes the single-channel sorting defect. The 124-sample MATLAB path is a source-based prediction, not a live capture: access to jamming is currently blocked.
MATLAB retains exactly the predicted 124 samples, 129:218 and 825:858 (1-based): sort(wz) sorts the single-channel scores across time. The three calibration windows then raise MATLAB:badsubscript at asr_calibrate>fit_eeg_distribution:395, followed by asr_calibrate:206 and clean_asr:180. MATLAB with reference selection off produces exactly equal sample values to EEGPrep's full-recording fallback after its correct channel-axis selection leaves 37 samples; five zero samples differ only in their sign bit.
Verdict is now confirmed: EEGLAB sorting and calibration defects. Keep EEGPrep's explicit sorting dimension and classify the oracle failure without changing tolerances. Implicit sorting dimension, invalid index.
Activity
suraj-ranganath commentedon Nov 11, 2026
🤖
Research
The likely oracle defect has two stages:
clean_windows.musessort(wz)without a dimension, which sorts across time when there is only one channel, then ASR reaches the known zero-width fit. Applying that MATLAB sort rule to the captured 17 Python z-scores predicts 124 retained samples (129:218,825:858, 1-based), three calibration windows, andm=0atX(m,:). EEGPrep sorts across channels, retains 37 samples, and falls back to all 858 samples; its result is bit-identical to its explicit all-data calibration result.Proposed Fix
Capture the MATLAB reference mask and full stack before adding a narrow oracle-defect classifier; preserve EEGPrep's channel-axis sorting. Keep this case distinct from #582 because it also exposes the single-channel sorting defect. The 124-sample MATLAB path is a source-based prediction, not a live capture: access to
jammingis currently blocked.suraj-ranganath commentedon Nov 11, 2026
🤖 Confirmed on
jamming, MATLAB R2025b Update 7, EEGLABd0963be9, clean_rawdata85eab7d2.MATLAB retains exactly the predicted 124 samples,
129:218and825:858(1-based):sort(wz)sorts the single-channel scores across time. The three calibration windows then raiseMATLAB:badsubscriptatasr_calibrate>fit_eeg_distribution:395, followed byasr_calibrate:206andclean_asr:180. MATLAB with reference selection off produces exactly equal sample values to EEGPrep's full-recording fallback after its correct channel-axis selection leaves 37 samples; five zero samples differ only in their sign bit.Verdict is now confirmed: EEGLAB sorting and calibration defects. Keep EEGPrep's explicit sorting dimension and classify the oracle failure without changing tolerances. Implicit sorting dimension, invalid index.
[fuzz] Read packed double storage as float64 and keep the one-channel…
[fuzz] Preserve float64 oracle input and reject a short ASR reference (…