Skip to content

Epic: Complete EEGPrep EEGBrowser and eegplot parity #94

Closed
7 of 7 issues completed
Closed

Description

@suraj-ranganath

🤖 Epic tracker for completing EEGPrep EEGBrowser/eegplot-style scrolling workflow parity.

Goal

Implement the previously excluded EEGBrowser/eegplot workflows so EEGPrep supports visual scrolling, inspection, marking, rejection, component browsing, event overlays, linked windows, and all menu paths that currently depend on pop_eegplot.

When this epic is complete, browser-related workflows should work from the GUI, Python API, and eegprep-console with EEGLAB-familiar behavior and EEGPrep-owned standalone runtime code.

Relationship to prior epics

Branching model

  • Epic integration branch: feature/eegbrowser-completion
  • Phase PR target: feature/eegbrowser-completion
  • Final epic PR target: origin/develop
  • Final epic PR must include integration evidence and GUI side-by-side user attachments for GUI changes.

Scope

In scope:

  • EEGLAB-style eegplot, pop_eegplot, eeg_multieegplot, trial2eegplot, eegplot2event, and eegplot2trial behavior.
  • Main-window menu paths for visual scrolling and visual rejection.
  • Browser integration in rejection, selection, cleaning, component, and property workflows already present in EEGPrep.
  • Visual parity with EEGLAB for browser windows and browser-dependent dialogs.

Out of scope:

  • External plugin repositories not vendored or packageable in EEGPrep.
  • Runtime imports, reads, or shell-outs to src/eegprep/eeglab.
  • Exact MATLAB figure-edit internals when an EEGPrep-native equivalent is simpler and user-equivalent.

Phase issues

  1. Browser data model, rendering foundation, and eegplot API.
  2. Core browser UI, navigation, menus, and visual shell parity.
  3. Interactive marking, winrej, and rejection conversion parity.
  4. pop_eegplot menu workflows and session/console integration.
  5. Browser integration for rejection and cleaning workflows.
  6. Advanced display modes, linked windows, component views, and property flows.
  7. Docs, help, performance, cross-platform QA, and epic closeout.
  8. Full ICLabel pop_prop_extended dashboard parity (Phase 8: Full ICLabel pop_prop_extended dashboard parity #108).

Parallelization plan

Phase 1 must merge first because it defines shared browser state, rendering, option parsing, and test contracts. After Phase 1, Phases 2 and 3 can run in parallel. Phase 4 starts after Phases 2 and 3 merge. After Phase 4, Phases 5 and 6 can run in parallel because they integrate separate call sites. Phase 8 starts after Phase 6 because it extends the component/property dashboard surface. Phase 7 runs last as the closeout phase.

Recommended merge order: 1 -> 2 + 3 -> 4 -> 5 + 6 -> 8 -> 7 -> final epic PR.

Project-wide acceptance criteria

  • EEGPrep implements EEGLAB-style eegplot / EEGBrowser workflows without runtime EEGLAB dependency.
  • All browser-related main-window menu actions are implemented and no longer marked as excluded.
  • Visual inspection, scrolling, marking, updating marks, rejection, component browsing, event overlays, linked windows, and advanced display modes work from GUI and eegprep-console.
  • Existing non-browser rejection, plotting, STUDY, and console workflows do not regress.
  • Every GUI feature has EEGLAB side-by-side visual evidence attached to the relevant PR as GitHub user attachments, not repo files.
  • New feature code has targeted tests aiming for >90% coverage, with MATLAB parity tests for deterministic conversion and rejection semantics.
  • Final branch passes uv run --no-sync ruff check ., uv run --no-sync ruff format --check ., uv run --no-sync ty check, EEGPREP_SKIP_MATLAB=1 uv run pytest -m "not slow", MATLAB-enabled parity tests for browser helpers/workflows, visual parity captures, and GUI Agent mixed console/GUI QA.

Required references for every phase

  • AGENTS.md
  • .agents/skills/eegprep-feature-development/SKILL.md
  • .agents/skills/eeglab-gui-visual-parity/SKILL.md for GUI features
  • .agents/skills/gui-agent-flow-qa/SKILL.md for end-user flow QA
  • EEGLAB reference under src/eegprep/eeglab, used only as development/parity input.

Core EEGLAB references

  • src/eegprep/eeglab/functions/sigprocfunc/eegplot.m
  • src/eegprep/eeglab/functions/sigprocfunc/eegplotlegacy.m
  • src/eegprep/eeglab/functions/sigprocfunc/eegplot2event.m
  • src/eegprep/eeglab/functions/sigprocfunc/eegplot2trial.m
  • src/eegprep/eeglab/functions/sigprocfunc/trial2eegplot.m
  • src/eegprep/eeglab/functions/popfunc/pop_eegplot.m
  • src/eegprep/eeglab/functions/popfunc/eeg_rejmacro.m
  • src/eegprep/eeglab/functions/popfunc/eeg_multieegplot.m

Notes for agents

Each phase issue includes a /goal prompt. Use it for long-running implementation work. Keep .notes/implementation-notes.html current during implementation, including design decisions, parity interpretations, deviations, tradeoffs, and open questions.

Sub-issues

Sub-issues

7 of 7 Issues completed
Loading 7 sub-issues

Activity

  1. added
    epic
    P1
    on May 31, 2026
  2. claude commented on May 31, 2026

    @claude
    Contributor

    🤖 Plan:

    • Read AGENTS.md, fix-issue, and pull-request skills
    • Actionability check
    • Duplicate-work preflight
    • Audit current EEGBrowser/eegplot exclusions in runtime code
    • Post analysis (epic scope > PR threshold; no PR opened)

    Research

    Actionable as an epic but well above the >100-line / multi-module bar for a single PR — phases #95–#101 already split the work, and feature/eegbrowser-completion already exists (currently equal to feature/study-standalone-completion, no eegplot work yet). Current state: every browser-dependent surface is wired as an explicit exclusion, not a TODO, so removing those exclusions is the integration contract for the epic.

    Current EEGBrowser/eegplot exclusion surface (runtime, non-vendored):

    No existing eegplot* / pop_eegplot* / EEGBrowser source modules under src/eegprep/functions/ or src/eegprep/plugins/ outside the vendored eeglab/ reference — Phase 1 is a green field.

    Duplicate-work preflight:

    Proposed Approach

    Treat #94 as a coordination/tracker issue and do not open a PR against it. Implementation should land via the seven phase issues into feature/eegbrowser-completion, in the order #95 → (#96 ∥ #97) → #98 → (#99 ∥ #100) → #101, then a final epic PR to develop. Phase 1 (#95) is the only one ready to start now because it owns the shared data model, render foundation, option parsing, and test contracts that #96/#97 depend on; the others should wait until #95 merges into the epic branch.

    Recommended next human action: assign or /goal Phase 1 (#95). When that lands, unblock #96 and #97 in parallel. No code changes proposed against #94 itself — its only runtime artifact would be flipping the pop_eegplot exclusion in menu_placeholders.py, which belongs to Phase 4 (#98).

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

Metadata

Metadata

Labels

P1epic

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions