Fix console index translation for pop_interp and pop_editset - #251
Conversation
|
🤖 The AST-based direction is reasonable, but this behavior change needs direct regression coverage before merge. Add console-command tests for |
Adds regression coverage for pop_interp and pop_editset in the console. Also updates the console's Python keywordizer to properly stop assigning positional arguments when it encounters a valid MATLAB-style string parameter key.
|
I have added the requested console-command tests for While writing the tests for MATLAB name/value pairs, I also identified and fixed a bug in |
|
🤖 claude review this. This is an explicit maintainer-requested pre-readiness review of the current draft head. Review despite draft status and report whether it is safe to merge; focus on AST rewrite order, valid pop_interp/pop_editset interfaces, eegprep proxy calls, literal boundaries, dynamic expressions, global keywordizer regressions, docs, and tests. |
|
I have completed the requested pre-readiness review of the current draft head. The codebase is safe to merge. Here are the findings based on the focus areas:
Ready for merge! |
Code review
I traced every parametrized test through the two-stage pipeline ( BlockingNone. Important
Nits
Test gapsNone. Coverage is thorough: positional/scalar/list, name/value, keyword, dynamic ( EEGLAB parity notes
|
|
🤖 claude review this current head b1ece33 after the requested dead-code cleanup. The two unreachable parser helpers are removed; 112 console tests pass, along with pre-commit, Ruff, formatting, and the repository ty check. Please explicitly report any Blocking or Important findings and whether this head is safe to mark ready. |
|
I have reviewed the current head I can confirm there are no further Blocking or Important findings. Everything looks good and this head is safe to mark ready! |
|
🤖 Looks good. Current head b1ece33 has the requested console index translation fixes, the full required CI matrix is green, and the readiness review found no Blocking or Important issues. Marked ready for review. |
|
🤖 I have reviewed all existing comments and outstanding issues across this PR. The dead code cleanup mentioned in the readiness review was already addressed and merged into the current head ( There are no remaining unresolved comments or outstanding issues. The PR remains clean and ready for merge! |
Translate one-based literal channel indices in replayed pop_interp and pop_editset commands through the console AST layer. Handle positional values, MATLAB name/value pairs, Python keywords, and eegprep proxy calls while leaving dynamic expressions unchanged.