Mayil-AI / bugbug-21dec23

Mozilla Public License 2.0
0 stars 0 forks source link

Figure out why a cut-off in similarity models decreases both recall and precision (hashtag858) #27

Open vikramsubramanian opened 7 months ago

vikramsubramanian commented 7 months ago

In theory it should not decrease precision. )

mayil-ai[bot] commented 7 months ago

Possible Solution

Code snippets to check

bugbug → models → regressor.py This snippet contains logic for calculating regression rates and printing out statistics, which could be directly related to the precision and recall issue described. https://github.com/Mayil-AI/bugbug-21dec23/blob/0acd00da46afbb37bd047c0bce06ce7cfad21568/bugbug/models/regressor.py#L304-L382 This snippet includes logic for classifying commits as causing regressions or not, which could impact the precision and recall of the model. https://github.com/Mayil-AI/bugbug-21dec23/blob/0acd00da46afbb37bd047c0bce06ce7cfad21568/bugbug/models/regressor.py#L157-L382
scripts → regressor_finder.py This snippet is part of the regressor finder script and deals with the evaluation of found regressors, which could influence the precision and recall of the model. https://github.com/Mayil-AI/bugbug-21dec23/blob/0acd00da46afbb37bd047c0bce06ce7cfad21568/scripts/regressor_finder.py#L569-L673
bugbug → models → regression.py This snippet is from the RegressionModel and includes logic for labeling bugs as regressions, which could affect the precision of the model. https://github.com/Mayil-AI/bugbug-21dec23/blob/0acd00da46afbb37bd047c0bce06ce7cfad21568/bugbug/models/regression.py#L1-L50