Repository navigation
[pop_chansel] Use the shared selection tokenizer - #587
Conversation
The private copy raised StopIteration on an empty quoted token. Brace-wrapped lists now resolve to the labels inside the braces. Co-authored-by: Suraj Ranganath <[email protected]>
There was a problem hiding this comment.
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 finished @suraj-ranganath's task in 44s —— View job Code review
BlockingNone. ImportantNone. NitsNone. Test gapsNone. The two new tests cover the empty quoted token and the brace-wrapped list from #508. EEGLAB parity notesNone. This only changes how the text field is parsed. Selection still uses 1-based indices and case-insensitive label matching, as before. Not done: I could not run |
Empty quotes stay empty labels here, and one layer of braces is removed. parsetxt drops empty pieces and keeps the brace characters. Co-authored-by: Suraj Ranganath <[email protected]>
|
🤖 After the first review I compared the shared tokenizer with parsetxt.m. Empty quotes stay empty labels here, and one layer of braces is removed. parsetxt drops empty pieces and keeps the brace characters. That difference is now in Known Differences. |
|
Claude finished @suraj-ranganath's task in 39s —— View job Code review
BlockingNone. ImportantNone. Nits
Test gapsNone.
EEGLAB parity notesNone blocking.
Checked for correctness bugs, EEGLAB parity, data structure compatibility, changed-behavior tests, and CLAUDE.md/AGENTS.md compliance. Not done:
|
parse_text_tokens removes every brace at either end of the selection text. Co-authored-by: Suraj Ranganath <[email protected]>
|
🤖 The Known Differences row now says leading and trailing braces are removed, which is what strip("{}") does. |
|
Claude finished @suraj-ranganath's task in 24s —— View job Code review — skipped
Why I stopped: A full review was posted at 06:23 against What changed since that review: For a full new review, comment Not done: I didn't run the tests; CI needs to show they pass. |
…nsel-token-parser-0367 Co-authored-by: Suraj Ranganath <[email protected]> # Conflicts: # docs/source/changelog.rst
…nsel-token-parser-0367 Co-authored-by: Suraj Ranganath <[email protected]> # Conflicts: # docs/source/changelog.rst
…nsel-token-parser-0367 Co-authored-by: Suraj Ranganath <[email protected]> # Conflicts: # docs/source/changelog.rst
Parse pop_chansel selection text with parse_text_tokens. An empty quoted token is an empty label, and leading and trailing braces are removed. EEGLAB parsetxt drops empty pieces and keeps brace characters. That difference is documented and locked by regressions.
Fixes #508