Mayil-AI-Sandbox / bugbug-mar31

Mozilla Public License 2.0
0 stars 0 forks source link

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

Open NobleMathews opened 2 months ago

NobleMathews commented 2 months ago

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:

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".

)

mayil-ai[bot] commented 2 months ago

To address the requirement of updating the RegressionRangeModel to consider the regressed_by field as an indication of a regression range, follow these steps:

elif bug_data.get("regressed_by"):  # Check if 'regressed_by' field has a value
    classes[bug_id] = 1  # Treat presence of 'regressed_by' as an indication of regression range

Code snippets to check