Skip to content

[Release readiness] Stream 11: Main window, menus, preferences, help #556

Closed

Description

@suraj-ranganath

[Release readiness] Stream 11: Main window, menus, preferences, help

Context

This issue is one of 11 release-readiness streams for sccn/eegprep. The release goal is EEGLAB parity in the GUI and the numbers for everything except STUDY and third-party plugins (default / bundled plugins only: EEG-BIDS, ICLabel, clean_rawdata, dipfit, firfilt).

The audit (report eegprep_GUI_audit_2026-11-05.pdf, findings F1–F126 in findings.md) was run as a simulated user: hands-on GUI use of eegprep and EEGLAB side by side, with real datasets, plus numerical parity checks against MATLAB EEGLAB. EEGLAB was the pinned tree eeglab-8ac485f6 on the lab MATLAB machine (jamming, path ~/gui-parity/eeglab-8ac485f6), never modified. eegprep was develop at 0bda20da. Where the pinned tree lacked a plugin (Biosig, Fileio, neuroscanio, bva-io, Fieldtrip-lite, viewprops), comparisons against a bench copy are labelled non-pinned.

Of 144 in-scope menu items, 141 were tested hands-on in both GUIs. Not counted in that 141: Quit (not run, ends the session) and the two eegprep-only Plot items "View extended channel/component properties" (pinned EEGLAB has no viewprops; tested in eegprep only as F122).

This stream: Main window, menus, datasets, preferences, help (size L). Findings assigned: F1, F2, F3, F4, F5, F27, F29, F30, F38, F42, F47, F49, F54, F64, F81, F89, F90, F93, F94, F95, F96, F97, F121.

Files / functions owned (do not edit outside these without coordinating; see fix_streams.md):

guifunc/main_window.py; eeglab_menu.py; menu_spec.py; session.py (except S1's delete_current); select_multiple_datasets.py; pophelp.py; menu_actions.py: dispatch (290-457, except S1's pop_delset branch), _edit_options (828-874), _save_history/_run_script (875-936), _run_pop_function preconditions and error handling (1086-1321), _select_multiple_datasets/_copy/_merge (1412-1461), _commit/_add_history/_retrieve/_show_help/_warn (1636-1749); adminfunc/pop_editoptions.py; popfunc/pop_newset.py, pop_copyset.py, pop_mergeset.py

Dependencies / merge order: Merge after S1 (dispatch delete branch, session.py). Largest owner of menu_actions.py: other streams edit only their named methods. If F54/F121 needs a menubar rebuild redesign, land it as the first commit so the other menu fixes rebase onto it.

Suggested tests from the stream plan: Qt offscreen tests: menus survive every dialog and failed import, warning dialogs, preferences persistence; function tests for history strings (run them in MATLAB on jamming once to confirm they're runnable).

Common datasets used in the audit (copies only; never the originals):

  • eeglab_data.set — continuous tutorial (32 ch, 128 Hz, 30504 pnts)
  • eeglab_data_epochs_ica.set — epoched + ICA (80 epochs)
  • eeglab_data_numerical_events.set — numerical event types
  • BrainVision set (testbva.vhdr / related) — 32 ch, 2112 pnts, 17 events
  • test.bdf / test.edf — Biosemi / EDF samples
  • BIDS oddball sample for import/export
  • Neuroscan .EEG, BVA .mat, MFF folder, HDF5 eeglab_data_hdf5.set where noted
  • Channel location files: eeglab_chan32.locs, standard_1005.elc, standard-10-5-cap385.elp

Companion stream issues (together they cover F1–F126):

Stream Issue
1 Data safety #546
2 Dialogs and Edit selection #548
3 Scroll window #547
4 Signal processing #549
5 Channel locations and re-reference #550
6 Rejection numbers #551
7 Plots and plot history #552
8 ICLabel, component properties, DIPFIT #553
9 Importers #554
10 Export and BIDS #555
11 Main window, menus, preferences, help #556

Screenshots: image files for this stream are staged under /workspace/gui-parity/issues/stream-11/ and ready for gh issue edit --attach. Embedding via --attach failed with the current fine-grained GH_TOKEN (HTTP 403 on uploads.github.com). Run attach_screenshots.sh with a classic PAT that can upload user-attachments (or grant the fine-grained token Contents + attachments). Until then, screenshot filenames are listed under each finding.

Findings

Use the checkboxes to track progress. Full audit detail is carried over (not summarised away).

- [ ] F1 — medium — Datasets menu

Finding (full audit text): With 1 dataset loaded, eegprep's Datasets menu has no "Select multiple datasets"; EEGLAB shows it

Evidence / screenshots: eeglab_menus_default_continuous.tsv vs eegprep_menus_default_continuous.tsv

What needs fixing: Resolve the behaviour so eegprep matches EEGLAB for this item (GUI and numbers), unless EEGLAB is the buggy side — then keep the correct behaviour, document the difference, and lock it with a test. Add a regression test. Keep existing tolerances.

- [ ] F2 — low — Main window

Finding (full audit text): Reference reads "common" (eegprep) vs "unknown" (EEGLAB). EEGLAB uses the majority chanlocs.ref, else 'unknown' (eeglab.m ~1978-1989); eegprep falls back to EEG.ref (main_window.py:748)

Evidence / screenshots: both_guis_20261104_225803.png

What needs fixing: Resolve the behaviour so eegprep matches EEGLAB for this item (GUI and numbers), unless EEGLAB is the buggy side — then keep the correct behaviour, document the difference, and lock it with a test. Add a regression test. Keep existing tolerances.

Screenshots (filenames; attach pending):

  • both_guis_20261104_225803.png — 2: both_guis_20261104_225803

- [ ] F3 — low — Main window

Finding (full audit text): Epoch start "0" vs "0.000". EEGLAB formats xmin/xmax together with %6.3f; eegprep _format_time formats each on its own (main_window.py:405)

Evidence / screenshots: both_guis_20261104_225803.png

What needs fixing: Resolve the behaviour so eegprep matches EEGLAB for this item (GUI and numbers), unless EEGLAB is the buggy side — then keep the correct behaviour, document the difference, and lock it with a test. Add a regression test. Keep existing tolerances.

- [ ] F4 — low — Main window

Finding (full audit text): Dataset size 3.9 vs 4.4 Mb: EEGLAB counts whos('EEG') for the whole struct, eegprep counts data.nbytes only (main_window.py:889)

Evidence / screenshots: both_guis_20261104_225803.png

What needs fixing: Resolve the behaviour so eegprep matches EEGLAB for this item (GUI and numbers), unless EEGLAB is the buggy side — then keep the correct behaviour, document the difference, and lock it with a test. Add a regression test. Keep existing tolerances.

- [ ] F5 — low — Menu enable state

Finding (full audit text): Without ICA, eegprep disables the ICLabel submenu and Plot > Component activations (scroll); EEGLAB leaves them enabled

Evidence / screenshots: menu TSV diff

What needs fixing: Resolve the behaviour so eegprep matches EEGLAB for this item (GUI and numbers), unless EEGLAB is the buggy side — then keep the correct behaviour, document the difference, and lock it with a test. Add a regression test. Keep existing tolerances.

- [ ] F27 — low — History scripts

Finding (full audit text): eegprep pop_saveset commands use one full path; EEGLAB uses 'filename','filepath'. pop_newset recorded as (..., CURRENTSET, 'setname', ..., 'overwrite','off') vs EEGLAB (..., 1,'gui','off'). eegprep session history ends with 'eegprep.eeglab();' and has no eeglab redraw / eeg_store lines

Evidence / screenshots: out/ep_hist_session.m vs mlout/ml_session_hist.m

What needs fixing: Resolve the behaviour so eegprep matches EEGLAB for this item (GUI and numbers), unless EEGLAB is the buggy side — then keep the correct behaviour, document the difference, and lock it with a test. Add a regression test. Keep existing tolerances.

- [ ] F29 — medium — File > Clear / Preferences

Finding (full audit text): Clear removes the current dataset at once, with no dialog (#3 became current); EEGLAB pop_delset asks 'Dataset(s) to delete:' (default current index). Preferences has only 2 options (Show advanced legacy menu items, Use Native OS Dialogs); EEGLAB pop_editoptions has option file, save two files (off), parallel (off), precompute ICA (on), remember folder (on), advanced (off), -99 boundary (off), old menus (off), check updates (on), cache 500 MB

Evidence / screenshots: ep_clear_dialog_20261104_232047.png, ep_preferences_20261104_232117.png, ml_prefs*.png, ml_clear*.png

What needs fixing: Resolve the behaviour so eegprep matches EEGLAB for this item (GUI and numbers), unless EEGLAB is the buggy side — then keep the correct behaviour, document the difference, and lock it with a test. Add a regression test. Keep existing tolerances.

Screenshots (filenames; attach pending):

  • ep_clear_dialog_20261104_232047.png — 29: ep_clear_dialog_20261104_232047
  • ep_preferences_20261104_232117.png — 29: ep_preferences_20261104_232117

- [ ] F30 — low — Menus

Finding (full audit text): The File menu vanished from the eegprep menubar once (after Validate BIDS -> OK) and came back on the next refresh; couldn't reproduce

Evidence / screenshots: ep_file_menu_missing*.png

What needs fixing: Resolve the behaviour so eegprep matches EEGLAB for this item (GUI and numbers), unless EEGLAB is the buggy side — then keep the correct behaviour, document the difference, and lock it with a test. Add a regression test. Keep existing tolerances.

- [ ] F38 — medium — Edit > Select data (out of range)

Finding (full audit text): Time [50 100] on 10 s data creates a 0-point dataset. The main window then shows "No current dataset" and Edit/Tools/Plot/Datasets are disabled while 6 sets are still in memory, so the user can only get out via File > Load. EEGLAB (300 400 on 238 s) prints "Upper time limits exceed data, corrected", adds a boundary, opens pop_newset, then errors and keeps the old set; poor, but not stuck

Evidence / screenshots: F38_eegprep.png, F38_eegprep_dialog.png, F38_eeglab.png

What needs fixing: Resolve the behaviour so eegprep matches EEGLAB for this item (GUI and numbers), unless EEGLAB is the buggy side — then keep the correct behaviour, document the difference, and lock it with a test. Add a regression test. Keep existing tolerances.

Screenshots (filenames; attach pending):

  • F38_eeglab.png — F38: EEGLAB
  • F38_eegprep.png — F38: eegprep
  • F38_eegprep_dialog.png — F38: eegprep

- [ ] F42 — medium — Edit > Append datasets

Finding (full audit text): eegprep creates "Merged datasets" directly, with no pop_newset dialog (name/save/overwrite) and no newset history. EEGLAB opens "Dataset info -- pop_newset()" after merging. Merged numbers are identical (61008 pnts, 309 events, data maxdiff 0); error messages for mismatched sets match EEGLAB

Evidence / screenshots: F42_eegprep.png, F42_eeglab.png

What needs fixing: Resolve the behaviour so eegprep matches EEGLAB for this item (GUI and numbers), unless EEGLAB is the buggy side — then keep the correct behaviour, document the difference, and lock it with a test. Add a regression test. Keep existing tolerances.

Screenshots (filenames; attach pending):

  • F42_eeglab.png — F42: EEGLAB
  • F42_eegprep.png — F42: eegprep

- [ ] F47 — low — Error messages

Finding (full audit text): Errors name neither the field nor the fix: srate 'abc' -> "could not convert string to float: 'abc'" (EEGLAB: "Matrix dimensions must agree", also poor); bad channels -> "Channels not found: ['Cz', 'XYZ']" (Python repr; EEGLAB silently returns 0 channels); "Wrong trial range" (same as EEGLAB); HDF5 load -> "no default reduce due to non-trivial cinit" (F15). None say which function failed

Evidence / screenshots: F47_eegprep.png, F15_eegprep.png

What needs fixing: Resolve the behaviour so eegprep matches EEGLAB for this item (GUI and numbers), unless EEGLAB is the buggy side — then keep the correct behaviour, document the difference, and lock it with a test. Add a regression test. Keep existing tolerances.

Screenshots (filenames; attach pending):

  • F47_eegprep.png — F47: eegprep

- [ ] F49 — low — History strings

Finding (full audit text): copyset command differs from EEGLAB's [ALLEEG EEG CURRENTSET] = pop_copyset( ALLEEG, 1, 2); (adds LASTCOM output, different spacing); writeeeg records "LASTCOM = pop_writeeeg(...)"; chanedit history [5 'labels' 'C3x';...] doesn't run in EEGLAB (cellRefFromNonCell)

Evidence / screenshots: logs/eegprep_gui.log, progress.log

What needs fixing: Resolve the behaviour so eegprep matches EEGLAB for this item (GUI and numbers), unless EEGLAB is the buggy side — then keep the correct behaviour, document the difference, and lock it with a test. Add a regression test. Keep existing tolerances.

- [ ] F54 — blocker — Main window menus

Finding (full audit text): After some dialogs (Edit > Channel locations Ok, others), Tools menu items or the whole Tools menu disappear (underlying QMenu deleted); only re-running _build_menus() brings them back. User cannot continue the pipeline without restarting.

Evidence / screenshots: F54_eegprep_20261105_012609.png, F54_eegprep_tools_menu_gone_20261105_013538.png

What needs fixing: Resolve the behaviour so eegprep matches EEGLAB for this item (GUI and numbers), unless EEGLAB is the buggy side — then keep the correct behaviour, document the difference, and lock it with a test. Add a regression test. Keep existing tolerances.

Screenshots (filenames; attach pending):

  • F54_eegprep_20261105_012609.png — F54: eegprep
  • F54_eegprep_tools_menu_gone_20261105_013538.png — F54: eegprep

- [ ] F64 — low — Remove components / Inspect components with no ICA

Finding (full audit text): eegprep opens the dialog and only after Ok says "No ICA decomposition found. Run pop_runica first."; EEGLAB errors before any dialog ("no ICA decomposition. use menu Tools > Run ICA first.").

Evidence / screenshots: F64_eegprep_subcomp_noica_20261105_021501.png, F64_eegprep_subcomp_noica_ok_20261105_021514.png, F64_eeglab_subcomp_noica_error.png, F64_eeglab_selcomp_noica_error.png

What needs fixing: Resolve the behaviour so eegprep matches EEGLAB for this item (GUI and numbers), unless EEGLAB is the buggy side — then keep the correct behaviour, document the difference, and lock it with a test. Add a regression test. Keep existing tolerances.

Screenshots (filenames; attach pending):

  • F64_eeglab_selcomp_noica_error.png — F64: EEGLAB
  • F64_eeglab_subcomp_noica_error.png — F64: EEGLAB
  • F64_eegprep_subcomp_noica_20261105_021501.png — F64: eegprep
  • F64_eegprep_subcomp_noica_ok_20261105_021514.png — F64: eegprep

- [ ] F81 — low — Component items on a no-ICA dataset (BDF)

Finding (full audit text): eegprep opens the full dialog, then after Ok says "no ICA activations or weights for this dataset". EEGLAB's menu callback runs eeg_checkset(EEG,'ica') first, before any dialog.

Evidence / screenshots: F81_eegprep_noica_after_dialog.png, P_noica_eegprep

What needs fixing: Resolve the behaviour so eegprep matches EEGLAB for this item (GUI and numbers), unless EEGLAB is the buggy side — then keep the correct behaviour, document the difference, and lock it with a test. Add a regression test. Keep existing tolerances.

Screenshots (filenames; attach pending):

  • F81_eegprep_noica_after_dialog.png — F81: eegprep

- [ ] F89 — medium (extends F29) — File > Preferences (pop_editoptions)

Finding (full audit text): New: the all-menus option is not persisted across restart, so the preference does nothing in the GUI. Known (F29): eegprep has 2 options; menus only rebuild after a restart. EEGLAB's "Memory options - pop_editoptions()" has 10 checkboxes (e.g. precision, multiple datasets in memory, ICA activations, save .fdt, file-based history), a cache size field and Help, and saves to ~/eeg_options.m. The memory-related behaviours behind those options can't be set in eegprep.

Evidence / screenshots: F89_prefs_sbs.png, F99_prefs_info_eegprep.png

What needs fixing: Resolve the behaviour so eegprep matches EEGLAB for this item (GUI and numbers), unless EEGLAB is the buggy side — then keep the correct behaviour, document the difference, and lock it with a test. Add a regression test. Keep existing tolerances.

Screenshots (filenames; attach pending):

  • F89_prefs_sbs.png — F89: EEGLAB vs eegprep side-by-side

- [ ] F90 — medium — Datasets > select multiple, then a processing item (e.g. Tools > Change sampling rate)

Finding (full audit text): eegprep runs on all selected sets with no prompt. EEGLAB first shows "Multiple dataset warning" (new names can't be given; old datasets are overwritten) with Cancel/Proceed.

Evidence / screenshots: F90_multi_warning_sbs.png, D_multi_resample_dlg_eegprep_20261105_041013.png, P_D_multi_resample_dlg_eeglab_20261105_043429.png

What needs fixing: Resolve the behaviour so eegprep matches EEGLAB for this item (GUI and numbers), unless EEGLAB is the buggy side — then keep the correct behaviour, document the difference, and lock it with a test. Add a regression test. Keep existing tolerances.

Screenshots (filenames; attach pending):

  • F90_multi_warning_sbs.png — F90: EEGLAB vs eegprep side-by-side
  • P_D_multi_resample_dlg_eeglab_20261105_043429.png — F90: EEGLAB
  • D_multi_resample_dlg_eegprep_20261105_041013.png — F90: eegprep

- [ ] F93 — low — Main window, multiple sets selected

Finding (full audit text): With a mixed selection (one set with ICA, one without), ICA weights shows "No"; EEGLAB shows "mixed, yes and no" (main_window.py:390 uses all()).

Evidence / screenshots: F93_multi_panel_sbs.png, D_selmulti_dlg_sbs.png

What needs fixing: Resolve the behaviour so eegprep matches EEGLAB for this item (GUI and numbers), unless EEGLAB is the buggy side — then keep the correct behaviour, document the difference, and lock it with a test. Add a regression test. Keep existing tolerances.

Screenshots (filenames; attach pending):

  • D_selmulti_dlg_sbs.png — F93: EEGLAB vs eegprep side-by-side
  • F93_multi_panel_sbs.png — F93: EEGLAB vs eegprep side-by-side

- [ ] F94 — low — History for select multiple / multi-set processing

Finding (full audit text): EEGLAB records [ALLEEG EEG CURRENTSET] = pop_newset(ALLEEG, EEG, 2,'retrieve',[1 2] ,'study',0); and, after resampling, EEG = pop_resample( EEG,64); plus pop_newset(ALLEEG, EEG, [1 2] ,'study',0);. eegprep records a pop_newset overwrite form that EEGLAB can't run.

Evidence / screenshots: F94_multi_history_sbs.png

What needs fixing: Resolve the behaviour so eegprep matches EEGLAB for this item (GUI and numbers), unless EEGLAB is the buggy side — then keep the correct behaviour, document the difference, and lock it with a test. Add a regression test. Keep existing tolerances.

Screenshots (filenames; attach pending):

  • F94_multi_history_sbs.png — F94: EEGLAB vs eegprep side-by-side

- [ ] F95 — low (re-confirms F1) — Datasets menu with one dataset

Finding (full audit text): "Select multiple datasets" is hidden when only 1 set is loaded; EEGLAB always shows it (eeglab.m:1590).

Evidence / screenshots: F95_onedataset_menu_pair.png

What needs fixing: Resolve the behaviour so eegprep matches EEGLAB for this item (GUI and numbers), unless EEGLAB is the buggy side — then keep the correct behaviour, document the difference, and lock it with a test. Add a regression test. Keep existing tolerances.

Screenshots (filenames; attach pending):

  • F95_onedataset_menu_pair.png — F95: F95_onedataset_menu_pair

- [ ] F96 — low — Help > EEGPrep menus / function help windows

Finding (full audit text): The help viewer renders the page heading but then shows the raw markdown source (e.g. "# EEG_HELPMENU" in monospace) in the body. EEGLAB shows the eeglab.m help text. Help content is eegprep's own summary, not the function help.

Evidence / screenshots: F96_help_menus_sbs.png, F96_help_rawmarkdown_eegprep.png, H_eegprep/H_eeglab

What needs fixing: Resolve the behaviour so eegprep matches EEGLAB for this item (GUI and numbers), unless EEGLAB is the buggy side — then keep the correct behaviour, document the difference, and lock it with a test. Add a regression test. Keep existing tolerances.

Screenshots (filenames; attach pending):

  • F96_help_menus_sbs.png — F96: EEGLAB vs eegprep side-by-side
  • F96_help_rawmarkdown_eegprep.png — F96: eegprep

- [ ] F97 — low — Help > Check for updates

Finding (full audit text): eegprep opens a web URL. EEGLAB checks in-app and shows a modal ("You are using the latest version of EEGLAB.").

Evidence / screenshots: F97_check_updates_sbs.png

What needs fixing: Resolve the behaviour so eegprep matches EEGLAB for this item (GUI and numbers), unless EEGLAB is the buggy side — then keep the correct behaviour, document the difference, and lock it with a test. Add a regression test. Keep existing tolerances.

Screenshots (filenames; attach pending):

  • F97_check_updates_sbs.png — F97: EEGLAB vs eegprep side-by-side

- [ ] F121 — high — Main window menubar after a failed import

Finding (full audit text): After the F119 import failure, the File top-level menu disappears from the menubar until restart (reproduced twice; an earlier session lost every menu except Tools).

Evidence / screenshots: F121menubar_eegprep_20261105_051116.png, F121menubar_afterfail_eegprep_20261105_051228.png

What needs fixing: Resolve the behaviour so eegprep matches EEGLAB for this item (GUI and numbers), unless EEGLAB is the buggy side — then keep the correct behaviour, document the difference, and lock it with a test. Add a regression test. Keep existing tolerances.

Screenshots (filenames; attach pending):

  • F121menubar_afterfail_eegprep_20261105_051228.png — F121: eegprep
  • F121menubar_eegprep_20261105_051116.png — F121: eegprep

- [ ] F7 — low — Help menu (no eegprep code fix expected)

Audit note: Label "Check for EEGPrep updates" differs from EEGLAB; "Report an EEGPrep issue" is an intended extra

Disposition: Intentional branding (EEGPrep labels, extra 'Report an issue' item)

What counts as done: Confirm the disposition still holds on current develop. If this was an intentional difference or EEGLAB-only bug, add or keep a short documented note / test so it cannot regress into a silent mismatch. If it was a pass, re-verify once related findings in this stream are fixed. Screenshots named in the audit evidence: menu TSV diff

- [ ] F9 — info (resolved) — Setup (no eegprep code fix expected)

Audit note: RESOLVED Nov 4 23:40 PST: pinned EEGLAB 8ac485f6 set up at ~/gui-parity/eeglab-8ac485f6 with only EEG-BIDS, ICLabel, clean_rawdata, dipfit, firfilt; gui.sh uses it. Reader comparisons that need Biosig/bva-io/Fileio use the bench plugins and are labelled non-pinned. Original note: jamming's EEGLAB is d0963be9 (Oct 17 2026), not eegprep's pin 8ac485f6, and it has non-default plugins (bva-io, Biosig, Fileio, PICARD, fieldtrip). For strict parity, use a worktree at the pin

Disposition: Resolved (test setup)

What counts as done: Confirm the disposition still holds on current develop. If this was an intentional difference or EEGLAB-only bug, add or keep a short documented note / test so it cannot regress into a silent mismatch. If it was a pass, re-verify once related findings in this stream are fixed. Screenshots named in the audit evidence: git -C ~/eegprep-bench/eeglab log

- [ ] F28 — info (pass) — File > History scripts > Run script (no eegprep code fix expected)

Audit note: Run script ran a script that loaded ep_reref_gui.set and renamed it 'scripted'; the main window updated (#2: scripted). EEGLAB runs .m scripts; whether eegprep can run an EEGLAB-generated .m was not tested

Disposition: Info: Run script passes

What counts as done: Confirm the disposition still holds on current develop. If this was an intentional difference or EEGLAB-only bug, add or keep a short documented note / test so it cannot regress into a silent mismatch. If it was a pass, re-verify once related findings in this stream are fixed. Screenshots named in the audit evidence: ep_after_runscript_20261104_232030.png

- [ ] File > Quit — NOT RUN in audit (verify)

Of 144 in-scope menu items, Quit was not run (it ends the session). The other two items not counted in the 141 both-GUI tests are the eegprep-only View extended channel/component properties (covered by F122).

What counts as done: Hands-on verify Quit in eegprep vs EEGLAB; document any intentional differences; ensure no silent data loss.

Definition of done

  • Every finding checkbox in this issue is fixed (or explicitly documented as intentional / EEGLAB-only with a locked test).
  • A regression test exists for each finding (Qt offscreen and/or function test as appropriate for the stream).
  • Where numbers are involved: a numerical parity test against pinned EEGLAB eeglab-8ac485f6 on jamming. Do not loosen any existing tolerance — only Suraj or Arno may change tolerances; fix root causes instead.
  • Where EEGLAB itself is buggy: eegprep does the right thing; the difference is documented and locked with a test (documented-difference style).
  • Error messages state what is wrong, which function hit it, and the exact fix (e.g. the pip install eegprep[...] command).
  • No code comments that restate code or justify workarounds.
  • Changelog entry for the stream.
  • One PR against develop, CI green (ignore the known-broken Claude review check).
  • Before merge, retest the same way as the audit: each finding's GUI flow is re-run hands-on in both eegprep and EEGLAB side by side, with before/after screenshots, plus the MATLAB parity / reference checks where this stream requires them; post the results on the PR.
  • Merging requires Suraj's explicit approval (squash merge).

Dependencies and overlaps

Merge after S1 (dispatch delete branch, session.py). Largest owner of menu_actions.py: other streams edit only their named methods. If F54/F121 needs a menubar rebuild redesign, land it as the first commit so the other menu fixes rebase onto it.

Shared hotspots (from fix_streams.md):

  • menu_actions.py is split by method — only edit this stream's named methods.
  • tests/eeglab_python_backend_xfails.py and tests/parity_expected/: each stream adds/removes only its own entries.
  • Suggested merge order overall: S1 → S2/S9/S11 → S5; S7 → S8; S3/S4/S6/S10 independent.

References

  • Audit PDF: eegprep_GUI_audit_2026-11-05.pdf (Suraj / Arno)

  • Findings log: findings.md (F1–F126)

  • Stream plan: fix_streams.md

  • Pinned EEGLAB: eeglab-8ac485f6

Activity

  1. added
    bug
    epic
    on Nov 5, 2026
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

    bugepic

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions