You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During the data validation I noticed that the detection of bug fixes based on the commit messages is sometimes incorrect. I will add some examples here:
During the data validation I noticed that the detection of bug fixes based on the commit messages is sometimes incorrect. I will add some examples here:
Examples:
1.
File History: https://github.com/krishagni/openspecimen/commits/beef30d32378581db842fd19fd5437070722fb9b/WEB-INF/src/com/krishagni/catissueplus/core/common/events/AbstractListCriteria.java
Relevant Commit: krishagni/openspecimen@db4753c#diff-5ecfe971bf7c3345eb4e476482033cec
Wrong Keyword: error
2.
File History: https://github.com/xm-online/xm-ms-entity/commits/1fd7985604c9f1aeff7ff77e00860032b69ff41d/src/test/java/com/icthh/xm/ms/entity/web/rest/XmEntityResourceIntTest.java
Relevant Commit: xm-online/xm-ms-entity@a2ec1b3#diff-167880e1fbe9e0c65144887bf5b3e052
Wrong Keyword: Fix
3.
File History: https://github.com/altsoft/PlatypusJS/commits/78b6e616be877a283612362f3f08b7c41471acc1/application/src/components/Forms/src/com/eas/client/forms/FormRunner.java
Relevant Commit: altsoft/PlatypusJS@0e6f5b4#diff-523abf9169c354dd326f98cf85c58e35
Wrong Keyword: Debbuger was detected as bug
Potential Causes:
We check if a commit message contains one of the keywords. This can lead to false positives: e.g. see Example 3.
https://github.com/refactoring-ai/predicting-refactoring-ml/blob/fdf3753fb35b4d4e699d1f6fbb2329441d11988a/data-collection/src/main/java/refactoringml/ProcessMetricTracker.java#L22-L27