-
Notifications
You must be signed in to change notification settings - Fork 335
Generating Synthetic Code Review Comments from Bug Fix Histories#5037
Generating Synthetic Code Review Comments from Bug Fix Histories #5037leusonmario wants to merge 3 commits into
Conversation
marco-c
commented
Jun 4, 2025
CC @olewicki
3420aa3 to
e9137cc
Compare
suhaibmujahid
commented
Jul 9, 2025
The diff was difficult to review because it included 84 commits from the upstream. I cleaned up the branch and rebased it.
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.
I do not think we need to indent the whole prompt.
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.
Here the same as in https://github.com/mozilla/bugbug/pull/5037/files#r2195000738
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.
Here again, as in https://github.com/mozilla/bugbug/pull/5037/files#r2195000738
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.
We could make it generic instead of specifying Jira here.
Replaces the incorrect use of bugzilla.COMMITS_DB with repository.COMMITS_DB in the documentation example to ensure the correct database is downloaded.
Goal: Automatically generate synthetic code review comments by leveraging historical bug reports and their corresponding fixes.
Input: A list of previously reported bugs along with their associated fix implementations (commits).