-
Notifications
You must be signed in to change notification settings - Fork 21
fix overlappings args in codeflash wrap #737
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
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Co-authored-by: codeflash-ai[bot] <148906541+codeflash-ai[bot]@users.noreply.github.com>
This PR is now faster! 🚀 Kevin Turcios accepted my code suggestion above. |
PR Type
Bug fix, Tests
Description
Prefix wrapper args to avoid overlaps
Update AST and f-strings variable names
Adjust DB insert fields to prefixed args
Update tests to new wrapper signature
Diagram Walkthrough
File Walkthrough
instrument_existing_tests.py
AST wrapper refactor to prefixed argument names
codeflash/code_utils/instrument_existing_tests.py
codeflash_
.codeflash_wrapped
instead ofwrapped
.test_results
.test_instrument_all_and_run.py
Align test wrapper string to prefixed args
tests/test_instrument_all_and_run.py
codeflash_wrap
string signature.codeflash_wrapped
in wrapped call.test_instrument_tests.py
Update instrumentation tests for new wrapper API
tests/test_instrument_tests.py
codeflash_wrapped
for function invocation.