Repository navigation
Phase 6c standalone STUDY integration hardening - #92
suraj-ranganath merged 1 commit into
Conversation
|
Claude finished @suraj-ranganath's task in 3m 36s —— View job PR Review: Phase 6c standalone STUDY integration hardening
SummaryOverall the PR is tightly scoped, well-tested, and delivers what the description claims: a real end-to-end STUDY workflow test plus three small targeted fixes for the bugs it surfaced, plus the eeglabcompat decoupling required by AGENTS.md. I think this is in good shape to merge after the small nits below. What I verified
FindingsPosted as inline comments — all non-blocking:
Observations (no action required)
|
|
🤖 GUI Agent QA report for Phase 6c Scope
Automated/CLI Checks
GUI Flow Results
Visual Evidence Generated Locally
Issues Found
Warnings/Residual Risk
Cleanup
|
f28378c to
0a8a7bd
Compare
|
🤖 Phase 6c visual parity user attachments Attached visual evidence generated during the Phase 6c refresh. Side-by-side images are included where EEGLAB capture succeeded; EEGPrep-only images are included for STUDY dialogs where the EEGLAB capture path timed out and the QA report documents the blocker. |
0a8a7bd to
559ab29
Compare









Motivation
Phase 6c is the final integration and release-hardening pass for the STUDY/standalone epic #78. It also folds in the still-open Phase 5d end-to-end hardening scope so this PR closes both Phase 6c and Phase 5d.
Closes #82
Closes #80
Final integration scope
eeg_checksetnow normalizes non-dictEEG["etc"]before storing ICA RMS-scaling backups from loaded MATLAB files.trialinfo_from_eeghandles NumPyepocharrays without ambiguous truth-value checks.pop_chanplotnow records replayableSTUDY = pop_chanplot(...)history when it updatesSTUDY["etc"]["last_chanplot"].get_eeglab()now resolves EEGLAB fromEEGPREP_EEGLAB_ROOTor a sibling development checkout and fails clearly otherwise..notes/implementation-notes.htmlwith final integration decisions, QA evidence, parity findings, and open risks.End-to-end STUDY workflow evidence
New coverage in
tests/test_study_end_to_end.pyvalidates:.setfixtures are loaded throughpop_loadstudy(..., load_datasets=True)after STUDY save/load;pop_studydesignselects a condition design;pop_precompcomputes channel and component measures andpop_chanplotrecords a replayable STUDY history command;pop_preclust,pop_clust, andpop_clustedit(action="plot")run on the integrated STUDY;EEGPrepConsoleWorkspacecallspop_chanplotandpop_clustedit, then assertsSTUDY,CURRENTSTUDY,LASTCOM, andALLCOMare synchronized.Runtime dependency and menu inventory audit
src/eegprep/eeglab.eeglabcompatno longer assumes packaged/vendored EEGLAB files exist at runtime.pop_study:edit,pop_studydesign,pop_precomp:channels,pop_chanplot,pop_precomp:components,pop_preclust,pop_clust,pop_clustedit,select_study_set, andclear_study.studystate; EEGPrep study-state inventory was exported separately and shows all Study menu entries enabled.Visual parity and GUI Agent QA
Generated local visual parity artifacts under
.visual-parity/and did not commit them. GitHub user-attachment evidence is posted in PR comment #92 (comment).main_window_study: EEGLAB and EEGPrep captures succeeded; compare reportmean_abs_delta=0.035897,different_pixel_ratio=0.091817.study_menu,pop_study_dialog,pop_studydesign_dialog: both EEGLAB and EEGPrep captures succeeded; compare metrics are dominated by macOS crop/window-size mismatch and known dialog-scope differences.pop_precomp_dialog: EEGPrep capture succeeded; EEGLAB capture timed out after 180 seconds.pop_chanplot_dialog,pop_preclust_dialog,pop_clust_dialog,pop_clustedit_dialog: EEGPrep-only captures succeeded after the EEGLAB timeout.GUI Agent QA used Computer Use against the Qt
pop_precompdialog:pop_precomp;'winsize', 32, enabled ERSPs, pressed OK, and verified the returned dialog result.Verification
uv run --no-sync ruff check .passed.uv run --no-sync ruff format --check .passed.uv run --no-sync ty checkpassed after syncing optionalguiandtorchextras.uv run --no-sync pytest tests/test_study_end_to_end.py tests/test_study_metadata.py tests/test_study_measures.py tests/test_study_clustering.py tests/test_console_workspace.py tests/test_menu_placeholder_inventory.py -q: 119 passed, 1 skipped.uv run --no-sync pytest tests/test_study_end_to_end.py -m matlab -q: 1 skipped, 3 deselected. Exact blocker:matlab.engineis not installed in the uv environment.EEGPREP_SKIP_MATLAB=1 uv run --no-sync pytest -m "not slow": 1618 passed, 229 skipped, 11 deselected, 163 warnings.uv run --no-sync pytest tests/test_visual_parity.py -q: 24 passed, 30 subtests passed../pre-commit.py: passed on staged files.Remaining risks