-
Notifications
You must be signed in to change notification settings - Fork 36
Fix tracer parsing function to properly handle variables #2330
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
Fix tracer parsing function to properly handle variables #2330
Conversation
…are substrings of other variables
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2330 +/- ##
==========================================
+ Coverage 77.16% 77.20% +0.04%
==========================================
Files 88 88
Lines 3377 3383 +6
Branches 366 366
==========================================
+ Hits 2606 2612 +6
Misses 703 703
Partials 68 68 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
anth-volk
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.
Hi @SonaliBedge,
Thanks for your contributions on this issue. I have a minor edit, but otherwise, I think this is good to merge! Thank you very much.
changelog_entry.yaml
Outdated
| - bump: patch | ||
| changes: | ||
| changed: | ||
| - Fixed tracer parsing function. It was not properly handle variable whose names are substrings of other variables. |
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.
nit: Typo
| - Fixed tracer parsing function. It was not properly handle variable whose names are substrings of other variables. | |
| - Fixed tracer parsing function. It was not properly handling variables whose names are substrings of other variables. |
Thank you! I appreciate the feedback. I made changes. Glad to hear it's ready to merge! |
anth-volk
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.
Thanks for your work on this @SonaliBedge! This looks great. It'll be great having a fix to this issue.
| assert result == expected_output | ||
|
|
||
|
|
||
| def test_tracer_output_for_variable_that_is_substring_of_another(): |
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.
accolade: I really appreciate how quickly you were able to get oriented on our code base. Great to have a test for this issue!
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.
Thank you so much @anth-volk !
fixes #2304
Fix tracer parsing function to properly handle variables whose names are substrings of other variables