Repository navigation
Closed
Labels
phaseEpic implementation phase
Description
🤖 Phase issue for the STUDY and standalone integration epic #78.
Goal
Implement EEGPrep-owned admin/help menu, packaged help-resource, docs, and menu-inventory parity surfaces for the workflows completed by #60 and the STUDY epic.
Target branch and PR flow
- Create the phase branch from
feature/study-standalone-completion. - Open the phase PR back into
feature/study-standalone-completion. - The phase PR should close this issue.
Dependencies
- Can start after Epic: Complete EEGPrep core EEGLAB parity except browser and external plugins #60 menu inventory stabilizes.
- Coordinate with Phase 5a/5b so STUDY help/docs are not stale.
In scope
- Admin and Help menu actions.
- EEGPrep-owned packaged Markdown help resources.
- Documentation pages for GUI, API, console, completed
pop_*/eeg_*workflows, and implemented plugin surfaces. - Menu inventory parity and placeholder/exclusion audit for completed phases.
- Removal of runtime help fallbacks to the vendored EEGLAB checkout.
Out of scope
- Public API/package-data/plugin-management hardening; see Phase 6b.
- Final release/integration evidence; see Phase 6c.
- External plugin repositories not vendored in this repo.
Acceptance criteria
- Help resources are EEGPrep-owned and packaged; runtime code does not read from
src/eegprep/eeglab. - Menu inventory marks completed and excluded actions accurately.
- Help/admin GUI actions work from both GUI and
eegprep-consolewithout breaking session state. - Tests cover help lookup, missing-resource errors, menu inventory metadata, package-data inclusion, and docs links where practical.
- GUI help/admin surfaces have visual parity captures where applicable.
- Required lint/type/test commands pass.
/goal prompt
/goal Complete EEGPrep admin/help/docs/menu-inventory parity for the completed core and STUDY workflows. Use EEGLAB only as a reference, ensure packaged EEGPrep-owned help resources, remove runtime dependencies on the vendored EEGLAB tree, add tests for help/menu/package-data behavior, verify GUI/console behavior, run ruff/format/ty and focused plus non-slow pytest, and iterate until review finds no actionable issues.
Metadata
Metadata
Assignees
Labels
phaseEpic implementation phase
Activity
claude commentedon May 27, 2026
🤖 Plan:
Research
Scope is an epic-level final integration phase, not a self-contained fix. It is gated: the issue itself says it "should run late for final integration", and the epic (#60) defines Phase 6 as the closing phase that consolidates phases 1-5.
Current standalone-integration baseline on
develop:origin/feature/eeglab-completionexists at 0 commits ahead oforigin/develop. Phases 1-5 (Phase 1a: EEG/session/data contract foundation #61-Phase 5a: STUDY metadata, design, file I/O, and session synchronization #65) are all open with no PRs.stream.write(\"eegprep.eeglab();\\n\")insrc/eegprep/functions/popfunc/pop_saveh.py#L21, which is the GUI launcher, not the vendored module.clean_artifacts,pop_clean_rawdata,pop_epoch,pop_iclabel,pop_interp,pop_reref,pop_resample,pop_runica,pop_select,reref(src/eegprep/resources/help/). Every other GUI-reachablepop_*needs a Markdown help file before Phase 6 can close.src/eegprep/__init__.py#L17-L120. Phases 1-5 each add new public names that must be appended here.tools/ordocs/source/.Relevant code
src/eegprep/__init__.py-_LAZY_EXPORTSpublic API registrysrc/eegprep/functions/adminfunc/-eeglab.py(main GUI),console.py,eeg_options.py,eeg_checkset.pysrc/eegprep/resources/help/- EEGPrep-owned GUI help (10 files; needs full audit)src/eegprep/functions/popfunc/pop_saveh.py#L21- onlyeeglabstring in runtime paths; intentional GUI launcher callProposed Approach (design)
Phase 6 is not a single PR. It is a coordination phase whose acceptance criteria can only be evaluated after Phases 1-5 have merged into
feature/eeglab-completion. Opening any code PR now would either duplicate work that belongs in earlier phases or land scaffolding that goes stale before it can be verified.Recommended decomposition (each a separate PR into
feature/eeglab-completionwhen phases 1-5 are far enough along):tools/menu_inventory/script that parses EEGLABeeglab.mmenu construction undersrc/eegprep/eeglab/functions/adminfunc/eeglab.mand EEGPrep'sfunctions/adminfunc/eeglab.py, then emits a parity table (implemented / excluded / missing / placeholder) todocs/source/development.rstor a newdocs/source/menu_inventory.rst. Done = every non-excluded EEGLAB action maps to an EEGPrep menu entry whose callback is not a placeholder.pop_*/eeg_*in_LAZY_EXPORTSand Qt dialogs; for each, ensuresrc/eegprep/resources/help/<name>.mdexists. Phase 6 PR adds the missing files (one short Markdown per function) and changes the Help-button loader to fail clearly on missing resource rather than fall back to docstring or vendored EEGLAB text._LAZY_EXPORTSanddocs/source/api/to ensure every newpop_*,eeg_*, STUDY, plugin, GUI, and console helper is exported and documented. No__all__churn beyond what these new exports require.clean_rawdata,ICLabel,firfilt,EEG_BIDS, DIPFIT). Out of scope: any path that readssrc/eegprep/eeglab/or fetches external plugin repos at runtime.src/eegprep/eeglab/temporarily renamed, proving no runtime path depends on it. The grep above suggests this should already pass; the test pins the invariant.ruff check,ruff format --check,ty check,EEGPREP_SKIP_MATLAB=1 uv run pytest -m \"not slow\", MATLAB parity suite where available, visual parity, GUI Agent flow QA) and attach evidence/screenshots as GitHub user attachments on the epic-closing PR intodevelop.Open questions for a human before any sub-PR opens:
feature/eeglab-completioneven while phases 1-5 are unmerged, or wait for at least one earlier phase to land? Current state of the epic branch (0 ahead of develop) suggests waiting.tools/menu_inventory/the right home for the audit script, or should it live undersrc/eegprep/functions/adminfunc/as runtime introspection?No PR opened. Awaiting confirmation on decomposition and ordering before implementation begins.
[-]Phase 6: Admin, help, public API, plugin management, and standalone integration[/-][+]Phase 6a: Admin, help, docs, and menu inventory parity[/+]