Skip to content

Phase 7: Docs, help, performance, cross-platform QA, and epic closeout #101

Closed

Description

@suraj-ranganath

🤖 Phase 7 for the EEGBrowser epic. Target branch: feature/eegbrowser-completion.

Dependency

Run last after Phases 1-6 merge.

Goal

Close the epic as a complete product surface: docs, help, menu inventory, performance, visual parity evidence, cross-platform checks, and mixed GUI/console QA.

Implementation scope

  • Update docs and help resources to remove “EEGBrowser excluded” language.
  • Update menu inventory and placeholder tests so no browser actions remain excluded.
  • Add visual parity cases for every browser-reachable GUI path.
  • Add GUI Agent flow QA covering mixed GUI plus eegprep-console: load sample data, scroll, mark, reject, inspect history, run console commands, return to GUI.
  • Add performance checks for large continuous data with decimation and no UI lockups.
  • Run final integration and parity evidence.

Acceptance criteria

  • No remaining excluded_reason="eegbrowser" placeholder exists.
  • Browser docs/help are EEGPrep-owned packaged resources.
  • Final epic 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 conversion helpers and deterministic workflows, visual parity capture/compare suite, and GUI Agent mixed console/GUI QA.
  • Final PR includes side-by-side GUI images as GitHub user attachments, not repo files.

Tests and evidence

  • Full non-slow test suite.
  • MATLAB-enabled browser helper parity tests where available.
  • Visual parity suite and screenshots.
  • GUI Agent mixed console/GUI QA report.
  • Performance smoke on large continuous data.

/goal prompt

/goal Complete EEGBrowser epic closeout from this issue. Remove browser-exclusion docs/placeholders, add final help/docs/menu inventory updates, harden performance and cross-platform GUI behavior, run visual parity captures and GUI Agent mixed console/GUI QA, and verify the full branch with lint/type/tests/MATLAB parity before the epic PR to origin/develop.

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

Activity

  1. added
    phase
    on May 31, 2026
  2. claude commented on May 31, 2026

    @claude
    Contributor

    🤖 Plan:

    • Read AGENTS.md, fix-issue, pull-request skills
    • Actionability check
    • Duplicate-work preflight (open PRs/issues)
    • Hold for Phase 1-6 merges before any Phase 7 implementation

    Research

    Phase 7 is an epic closeout that explicitly depends on Phases 1-6 merging first. All six prerequisite issues are still open (#95, #96, #97, #98, #99, #100). The only open PR in the repo is #93 (STUDY standalone), so no EEGBrowser phase work has landed on `develop` yet. The current tree still treats the browser as out of scope: `pop_eegplot` is marked `excluded_reason="eegbrowser"` and the dev docs say so. Phase 7's acceptance criteria ("No remaining `excluded_reason="eegbrowser"` placeholder exists", visual parity for every browser-reachable path, mixed GUI/console QA, perf on large continuous data) presuppose that Phases 1-6 have delivered the browser, eegplot API, marking/winrej, pop_eegplot menu workflows, rejection/cleaning integration, and advanced display modes.

    Relevant code

    Proposed Approach (design, not a PR)

    This issue is not actionable for a PR yet — it is blocked on six open prerequisite issues and is a multi-module epic closeout (docs + help + menu inventory + visual parity + GUI agent QA + perf), well past the 100-line bug-fix threshold. No code change should land from Phase 7 until Phases 1-6 are merged to `feature/eegbrowser-completion` (the documented target branch in the issue body) and `develop`.

    Sequencing once Phases 1-6 merge:

    1. Rebase `feature/eegbrowser-completion` on `develop` and verify Phases 1-6 are present (browser data model, UI shell, marking/winrej, pop_eegplot menu, rejection/cleaning integration, advanced display modes).
    2. Remove the `pop_eegplot` entry from `PLACEHOLDER_ACTION_METADATA` and drop the `eegbrowser` branch in `placeholder_message`; rewrite `test_eegbrowser_scrolling_actions_are_explicitly_excluded` as a positive assertion that `pop_eegplot` resolves to a real action.
    3. Replace the "EEGBrowser/eegplot-style scrolling workflows" sentence in `docs/source/development.rst` and add user-guide pages under `docs/source/user_guide/` covering the new browser workflows; mirror the structure of `study_workflows.rst`/`interactive_console.rst`.
    4. Add packaged Markdown help under `src/eegprep/resources/help/` for every new pop_/eeg_ surface (e.g. `pop_eegplot.md`, `eegplot.md`, `eeg_rejmacro.md`, `eeg_multieegplot.md`, conversion helpers); make missing files fail clearly, no EEGLAB fallback.
    5. Extend `tools/visual_parity/cases.json` with cases for every browser-reachable dialog/window from Phases 2-6 and run capture/compare; ensure side-by-side PNGs land as PR comment attachments only.
    6. Add a perf smoke for long continuous data (decimation, no UI lockup) under `tests/` with `@pytest.mark.slow`; gate it behind a synthetic dataset to keep CI fast.
    7. Run the `gui-agent-flow-qa` skill for the mixed GUI + `eegprep-console` flow (load sample, scroll, mark, reject, history, console command, refresh) and attach the QA report.
    8. Final gates: `./pre-commit.py --changed-from origin/develop --fix`, `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 browser parity tests, visual parity suite.

    Open questions for a human reviewer before implementation:

    • Does the closeout PR target `feature/eegbrowser-completion` (per issue body) or `develop` directly?
    • Are the GUI Agent QA report and perf smoke expected as committed artifacts (then where) or as PR comments only?
    • Should this single Phase 7 PR also bump any user-facing version/changelog entries?

    No PR will be opened from this run.

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

Metadata

Metadata

Labels

phase

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions