Skip to content

Conversation

behnazh-w
Copy link
Member

Summary

This PR addresses a bug in the SimilarProjectAnalyzer where exceptions were not properly handled. Additionally, it improves efficiency by ensuring that the SIMILAR_PROJECTS heuristic only runs when most other heuristics have failed.

Description of changes

The main changes in this PR are:

  1. Exception handling: The bug where exceptions were not properly handled in the SimilarProjectAnalyzer has been fixed. See a this CI error.

  2. Efficiency improvement: To address performance concerns, the SIMILAR_PROJECTS heuristic now only runs when the majority of other heuristics have failed. This is achieved by adding those heuristics to the depends_on list.

  3. Additionally, a TODO has been added to for this known inefficiency.

@behnazh-w behnazh-w requested a review from tromai as a code owner August 12, 2025 09:07
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Aug 12, 2025
@behnazh-w behnazh-w requested a review from art1f1c3R August 14, 2025 00:47
@behnazh-w behnazh-w merged commit 067eb6d into main Aug 14, 2025
9 checks passed
@behnazh-w behnazh-w deleted the behnazh/disable-similarity-project branch August 15, 2025 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants