Skip to content

function optimizer refactor, updated#5

Closed
alvin-r wants to merge 1 commit into
mainfrom
function-optimizer-refactor
Closed

function optimizer refactor, updated#5
alvin-r wants to merge 1 commit into
mainfrom
function-optimizer-refactor

Conversation

@alvin-r

@alvin-r alvin-r commented Feb 14, 2025

Copy link
Copy Markdown
Contributor

No description provided.

@alvin-r alvin-r closed this Feb 14, 2025
mohammedahmed18 pushed a commit that referenced this pull request Apr 2, 2026
Bug #5 fix: The coverage exclusion error messages used
self.function_to_optimize.source_file_path but FunctionToOptimize
only has file_path attribute, not source_file_path. This caused
AttributeError when files were excluded from coverage.

Trace ID: 5c4a75fb-d8eb-4f75-9e57-893f0c44b9c7

Changes:
- Fixed lines 2797, 2803: source_file_path -> file_path
- Added regression test to verify correct attribute used

Testing:
- New test passes
- Linting passes

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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.

1 participant