Skip to content

Conversation

@noajshu
Copy link
Contributor

@noajshu noajshu commented Aug 14, 2025

This commit changed the error format:
33bff52

This broke the visualizer. Here we fix the visualizer for compatibility with the new error printing format.

@noajshu noajshu requested a review from LalehB August 14, 2025 20:21
Copy link
Collaborator

@LalehB LalehB left a comment

Choose a reason for hiding this comment

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

LGTM!
Thanks @noajshu
I wish there was a way we could add a test for this, so each time any other code breaks viz it has to make sure it works!

if not list_part:
return []
return [int(x.strip()) for x in list_part.split(',') if x.strip()]
# Be tolerant: accept "1, 2, 3" or "1 2 3"
Copy link
Collaborator

Choose a reason for hiding this comment

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

haha "be tolerant" :))

@noajshu noajshu merged commit 2a62de2 into main Aug 14, 2025
4 checks passed
@noajshu noajshu deleted the fix-viz branch August 14, 2025 21:03
@noajshu
Copy link
Contributor Author

noajshu commented Aug 14, 2025

Yes! It would be good to refactor so the visualization code is part of the main source tree and tested properly

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.

2 participants