Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the value of regresed_by in crafting the training classes for the RegressionRange model #3759

Closed
suhaibmujahid opened this issue Oct 26, 2023 · 0 comments · Fixed by #3764
Labels
good-first-bug Good for newcomers

Comments

@suhaibmujahid
Copy link
Member

Currently, we use the regressionwindow-wanted keyword and the value of the cf_has_regression_range field to determine whether there is a regression range:

if "regressionwindow-wanted" in bug_data["keywords"]:
classes[bug_id] = 0
elif "cf_has_regression_range" in bug_data:
if bug_data["cf_has_regression_range"] == "yes":
classes[bug_id] = 1
elif bug_data["cf_has_regression_range"] == "no":
classes[bug_id] = 0

We should also use the value of the regresed_by field. If there is a value in the field, we should consider it as "has regression range".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good-first-bug Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant