-
Notifications
You must be signed in to change notification settings - Fork 0
Fix tests after merge #18
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
This report details each significant file and directory in the codebase, covering: - Purpose - Completion Status/Key Observations - Key Relations - Potential Enhancements/Improvements The report is based on a thorough examination of top-level files, the 'src' directory (including analyzer, converter, rules, and main entry point), 'examples', 'tests', existing 'docs', and the 'generated' C++ output.
…de_analyzer.py Deprecate old code analyzer
…yzer/code_analyzer.py Deprecate old code analyzer
* Add SetComp support and tests * Update src/converter/code_generator_fixed.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Map math functions to std equivalents * Update src/converter/code_generator_fixed.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/converter/code_generator_fixed.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/converter/code_generator_fixed.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update documentation for math functions --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: openhands <openhands@all-hands.dev>
…ersal-function, resolving conflicts
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.
Pull Request Overview
This PR fixes tests after a merge by updating import paths and test logic to use the correct analyzer and code generator modules. The changes reflect a shift from using buggy original implementations to their fixed counterparts.
- Updates imports from
code_analyzer_fixed.py
tocode_analyzer.py
in test files - Adds math function conversion tests and set comprehension translation tests
- Corrects import paths for code generators to use the current implementation
Reviewed Changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
tests/test_math_function_conversion.py | New test file for math function translations |
tests/test_conversion_fixed.py | Added set comprehension test and fixed imports |
tests/test_conversion.py | Updated imports to use fixed analyzer and generator |
tests/test_code_analyzer_fixed.py | Fixed import path to use current analyzer |
src/converter/code_generator_fixed.py | Removed entire file (1580 lines deleted) |
src/converter/code_generator.py | Updated implementation with fixed functionality |
src/analyzer/code_analyzer_fixed.py | Optimized AST traversal logic |
src/analyzer/code_analyzer.py | Enhanced with class info and comprehensive type inference |
docs/core_bug_and_testing_report.md | Updated to reflect bug fix status |
docs/conversion_patterns.md | Added math function conversion examples |
docs/ComprehensiveCodeAnalysisReport.md | New comprehensive analysis report |
README.md | Updated project structure and added math function feature |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
No description provided.