Skip to content

[GUI] Match the pop_rejkurt dialog in channel and ICA modes - #920

Merged
arnodelorme merged 2 commits into
developfrom
agent/issue-906-rejkurt
Dec 1, 2026
Merged

arnodelorme merged 2 commits into
developfrom
agent/issue-906-rejkurt

Conversation

@arnodelorme

@arnodelorme arnodelorme commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

The pop_rejkurt channel and ICA dialogs now take their height from the seven recorded rows. The largest vertical control offset changed from 91.17 to 0.47 pixels on jamming. This branch stacks on #896.

Channel mode, EEGLAB, EEGPrep before and after

ICA mode, EEGLAB, EEGPrep before and after

Control placement and six numerical rejection comparisons

Epoch rejection marks must match exactly. 2 of six masks matched. The remaining differences also occur before this GUI change. Their numerical cause is unverified.

  • ICA threshold 2 differed on 2 of 80 epochs.
  • ICA threshold 3 differed on 3 of 80 epochs.
  • ICA threshold 4 differed on 1 of 80 epochs.
  • Channel threshold 2 differed on 1 of 80 epochs.
Inputs and verification

The native public calls used the same epoched sample, with channel or ICA input. Each rejection comparison used the first four channels or components over 80 trials. The recorded control order, labels, defaults, row placement and help controls are checked by the geometry suite. The focused geometry and rejection suites on jamming reported 177 passed, 20 deselected in 23.10s.

Fixes #906. Part of #875.

Full inventory report for the project team. pop_rejkurt (p. 73). 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 39s —— View job


Code review

  • Pre-review gate (open, not draft, no prior review, HEAD a087d83 matches)

  • Read diff and instructions

  • Review passes (compliance, conventions, correctness, EEGLAB parity)

  • Post review

  • Overall assessment: Looks good. The change only affects the dialog layout. pop_rejkurt_dialog_spec now uses layout="supergui", the one-column row is now ((1,),), and both checkboxes use the " " string that EEGLAB passes. I compared these with the recorded uilists in tools/gui_geometry/cases/pop_rejkurt.json and pop_rejkurt.ica.json. Labels, defaults, control order and geometry all match:

    • default limit of 3 for channels and 5 for components
    • visualization popup value 2
    • superpose on, reject off
  • Highest-risk area: None found. No processing code changed, so the differences in the epoch masks listed in the PR body come from code that existed before this PR.

  • Merge recommendation: Safe to merge after [GUI] Match the legacy FIR filter dialog to the recorded EEGLAB rows #896.

Blocking

None.

Important

None.

Nits

None.

Test gaps

None. test_pop_dialog_has_the_geometry_eeglab_passes_to_inputgui now runs the public pop_rejkurt call in channel mode and in ICA mode (icacomp=0). It will catch a layout change in either mode.

EEGLAB parity notes

This change adds no parity issues. The cause of the remaining epoch-mask differences is still unknown:

  • ICA threshold 2 differed on 2 of 80 epochs.
  • ICA threshold 3 differed on 3 of 80 epochs.
  • ICA threshold 4 differed on 1 of 80 epochs.
  • Channel threshold 2 differed on 1 of 80 epochs.

Please track these in a separate issue so they are not lost when #906 closes.

…jkurt

# Conflicts:
#	tests/test_gui_geometry.py
#	tools/gui_geometry/matlab/record_geometry.m
@arnodelorme
arnodelorme merged commit 509d8a9 into develop Dec 1, 2026
5 checks passed
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_rejkurt dialog to EEGLAB

1 participant