Skip to content

[GUI] Match the pop_icflag prompt to its recorded layout - #983

Merged
arnodelorme merged 2 commits into
developfrom
agent/issue-957-icflag
Dec 1, 2026
Merged

arnodelorme merged 2 commits into
developfrom
agent/issue-957-icflag

Conversation

@arnodelorme

@arnodelorme arnodelorme commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

The seven class-threshold rows now fit the native window for a classified ICA dataset. The maximum measured vertical control error is 0.52 pixels on jamming. This PR stacks on #979.

pop_icflag.labeled-triptych

distances

All three submitted probability ranges returned exactly the same component rejection masks.

Native captures and verification

The capture guard checked the EEGLAB and EEGPrep revisions and the imported Python package. The MATLAB R2025b measurements ran independently of the Python test runner. Focused tests on jamming reported 149 passed in 0.80s.

Fixes #957. Part of #875.

Full inventory report for the project team. pop_icflag (p. 60). PDF · Editable Word.

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Code review skipped — your organization has no extra usage available to pay for this review.

If your organization's extra usage balance is empty, an organization admin can add extra usage credits at claude.ai/admin-settings/usage. If its monthly spend limit was reached, an admin can raise it on the same page. If neither applies, contact Anthropic support.

Once extra usage is available, someone with write access to this repository can comment @claude review on this pull request to trigger a review.

@claude

claude Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @arnodelorme's task in 56s —— View job


Code review

  • Overall assessment: Looks good. The change only affects the dialog layout. pop_icflag_dialog_spec() now uses the recorded supergui layout in place of the hand-tuned size, content_margins and row_spacing. Threshold parsing and eeg_icflag are unchanged, so no numbers can move.
  • Highest-risk area: None identified.
  • Merge recommendation: Safe to merge once [GUI] Match the pop_selectcomps prompt to its recorded layout #979 (the base branch) lands.

Blocking

None.

Important

None.

Nits

None.

Test gaps

None. The new pop_icflag entry in POP_DIALOGS (tests/test_gui_geometry.py) compares the spec's geometry, uilist and title with the MATLAB-recorded case in tools/gui_geometry/cases/pop_icflag.json.

EEGLAB parity notes

None.

  • title="" matches what record_geometry.m captured from EEGLAB's own inputgui call, and tests/test_gui_geometry.py:218 checks it. No other code, test or doc refers to the old "Flag components using ICLabel -- pop_icflag()" title.
  • The EEGclassified fixture in record_geometry.m uses uniform 1/7 probabilities. Those values only let the dialog open, and the recorded geometry does not depend on them.
  • The screenshot shows the after state matching EEGLAB's 488×326 window to within a few pixels (485×326), with the same row order, defaults (Muscle/Eye 0.9–1) and button placement.

I could not run ruff or pytest here because the sandbox did not allow those commands. CI covers both.

Checked for correctness bugs, EEGLAB parity, data structure compatibility, changed-behavior tests, and CLAUDE.md/AGENTS.md compliance.

@arnodelorme
arnodelorme changed the base branch from agent/issue-956-selectcomps to develop December 1, 2026 04:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[GUI] Match the pop_icflag dialog to EEGLAB

1 participant