Repository navigation
Closed
Labels
phaseEpic implementation phase
Description
🤖 Phase issue for the STUDY and standalone integration epic #78.
Goal
Implement STUDY preclustering, component clustering, cluster editing, and cluster plotting parity on top of Phase 5a STUDY contracts and Phase 5b measure outputs.
Target branch and PR flow
- Create the phase branch from
feature/study-standalone-completionafter Phase 5b lands, unless an early branch is explicitly coordinated with the Phase 5b agent. - Open the phase PR back into
feature/study-standalone-completion. - The phase PR should close this issue.
Dependencies
- Depends on Phase 5a STUDY design/session/file contracts.
- Depends on Phase 5b precomputed measure structures.
- Depends on Epic: Complete EEGPrep core EEGLAB parity except browser and external plugins #60 Phase 4 plotting primitives for final cluster plotting behavior.
In scope
- Build preclustering arrays.
- Component clustering workflows.
- Cluster editing workflows.
- Cluster plotting workflows.
std_*helpers required by preclustering, clustering, and cluster editing/plotting.- GUI dialogs, help Markdown, history strings, and valid Python console echoes for clustering workflows.
Out of scope
- STUDY measure precompute and measure plotting; see Phase 5b.
- Final cross-phase integration evidence and broad GUI Agent QA; see Phase 5d.
- External-only LIMO behavior unless explicitly represented by a clear user-facing message.
Acceptance criteria
- Precluster, cluster, cluster-edit, and cluster-plot workflows are usable from GUI, Python API, and
eegprep-console. - Cluster data structures match EEGLAB expectations where deterministic.
- Tests cover representative multi-dataset fixtures, missing component measures, missing ICA, cancel/error paths, history replay, and MATLAB parity where feasible.
- GUI dialogs and plotting flows have visual parity captures and PR user-attachment side-by-side images.
- Required lint/type/test commands pass.
/goal prompt
/goal Complete EEGPrep parity for STUDY preclustering, component clustering, cluster editing, and cluster plotting workflows. Build on Phase 5a and 5b outputs, inspect EEGLAB source first, implement GUI/API/eegprep-console paths, add multi-dataset and MATLAB parity tests where deterministic, add visual parity screenshots, run ruff/format/ty and focused plus non-slow pytest, and iterate until review finds no actionable parity or correctness issues.
Metadata
Metadata
Assignees
Labels
phaseEpic implementation phase
Activity
claude commentedon May 28, 2026
🤖 Plan:
Research
Issue is actionable as scope (clear in-scope/out-of-scope, acceptance criteria) but not implementable now:
Relevant code
Proposed Approach
This is a design-doc-class change (>>100 LOC, multi-module, multiple GUI dialogs, MATLAB parity). Not opening a PR per the >100-line policy.
Recommended sequencing once 5a and 5b are in:
Estimated size: ~2-4 KLOC + tests across studyfunc, guifunc, resources/help, tests, docs. Plan to split into sub-PRs by step (preclust, clust, clustedit) targeting `feature/study-standalone-completion` to keep review tractable.
Open questions for the assignee/reviewer before implementation:
Cannot proceed to implementation; this is blocked on #65 and #79 and on the integration branch existing.