96 instead of an exact search implement a fuzzy search to find branch names associated with an issue#97
Conversation
abuzarmahmood
commented
Mar 12, 2025
- feat: Implement fuzzy branch matching using fuzz.partial_ratio for improved issue-branch association
- fix: Add missing fuzzywuzzy import in git_utils.py
…proved issue-branch association
Generated edit command:Summary of User's Issues and RequestsThe issue involves implementing a fuzzy search mechanism to find branch names associated with an issue. The current exact matching approach is problematic when branch names are truncated or slightly different from the issue title. The last comment suggests focusing on addressing the use of Overview of Plan to Address the Issues
Specific Details of Changes to be Made
These changes will improve the system's ability to find branches related to an issue by focusing on the best matching substring, even if the branch names are not exact matches to the issue title. TERMINATE This response was automatically generated by blech_bot using model gpt-4o Aider output: View Aider OutputThis response was automatically generated by blech_bot using model gpt-4o |
for more information, see https://pre-commit.ci
|
Instead of fuzzywuzzy, use |
|
And add name of created branch to the PR creation comment on the issue to avoid this issue for blech_bot created branches |
…ranch name comments This commit message captures the key improvements made across the files: 1. Improved fuzzy search for finding issue-related branches 2. Added branch name to PR creation comments 3. Enhanced branch selection algorithm The changes implement more robust branch matching and provide better visibility into the branch used for creating pull requests.
|
Applied changes based on comment: View Aider OutputThis response was automatically generated by blech_bot using model gpt-4o |
for more information, see https://pre-commit.ci