Skip to content

[GUI] Match the pop_rejtrend dialog in channel and ICA modes - #927

Merged
arnodelorme merged 2 commits into
developfrom
agent/issue-910-rejtrend
Dec 1, 2026
Merged

arnodelorme merged 2 commits into
developfrom
agent/issue-910-rejtrend

Conversation

@arnodelorme

@arnodelorme arnodelorme commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

The pop_rejtrend channel and ICA dialogs now take their height from the seven recorded rows. The largest vertical control offset changed from 74.32 to 0.86 pixels on jamming. This branch stacks on #926.

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. All six masks matched.

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 189 passed, 20 deselected in 48.46s.

Fixes #910. Part of #875.

Full inventory report for the project team. pop_rejtrend (p. 74). 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 25s —— View job


Code review

  • Overall assessment: Looks good. The new labels, defaults, checkbox strings, row geometry and supergui layout in pop_rejtrend_dialog_spec match both MATLAB recordings (tools/gui_geometry/cases/pop_rejtrend.json and pop_rejtrend.ica.json). One example: the channel dialog says "Maximum slope to allow (std. dev./epoch)" and the ICA dialog says "(uV/epoch)". The units look swapped, but the ICA recording has "(uV/epoch)", so EEGPrep copies EEGLAB exactly here.
  • Highest-risk area: The dialog height now comes from supergui instead of the fixed size=(600, 304). Both new POP_CALLS entries cover this in tests/test_gui_geometry.py.
  • Merge recommendation: Safe to merge after [GUI] Match the pop_jointprob dialog in channel and ICA modes #926 lands. Only the dialog layout and labels changed. The rejection computation is untouched, so no MATLAB numerical parity run is needed.

Blocking

None.

Important

None.

Nits

None.

Test gaps

None. Both the channel and ICA entry points now go through the public pop_rejtrend call in the geometry suite.

EEGLAB parity notes

None.

Checked for correctness bugs, EEGLAB parity, data structure compatibility, changed-behavior tests, and CLAUDE.md/AGENTS.md compliance. I could not run the geometry tests here because this job is not allowed to run pytest. The pass counts above are the ones reported in the PR description.

…jtrend

# Conflicts:
#	tests/test_gui_geometry.py
#	tools/gui_geometry/matlab/record_geometry.m
@arnodelorme
arnodelorme merged commit 6e2af6c 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_rejtrend dialog to EEGLAB

1 participant