-
Notifications
You must be signed in to change notification settings - Fork 0
Add visualizeMatchFailure function for debugging expression language parse failures #50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: justinmchase <[email protected]>
Co-authored-by: justinmchase <[email protected]>
justinmchase
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot Can you address the feedback?
Co-authored-by: justinmchase <[email protected]>
All feedback addressed in commit 877cfeb:
|
|
@copilot Your start of the output for the new EXPR_LANG_INVALID_00 test looks like this: The Can you please change the code to not drill into matches that are Ok but to only drill into fail matches? |
Co-authored-by: justinmchase <[email protected]>
... Done in 99ff0d1. The visualization now only drills into failed matches, not successful ones. Successful matches show their value but don't expand their children, significantly reducing output and focusing on the actual failure. |
|
@copilot I've changed the visualizer function to emit output from the Here are the changes from what you first created:
RemainingThe last remaining tasks for you:
|
Co-authored-by: justinmchase <[email protected]>
... Done in 3fd21cf. Changes made:
Example output now shows: And in the tree: |
Changes:
--- Input Context ---section(found: <value>)inline to indicate what was actually encounteredOriginal prompt
Fixes #49
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.