From 3521d46627d26082d88b64b6a7c7d64f4c159c4a Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Thu, 19 Nov 2026 22:50:42 +0100 Subject: [PATCH] Use the differences in source code metrics in the regressor model Now that the metrics differences are computed from the files before the commits (#7563), they slightly but consistently improve the model. --- bugbug/models/regressor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bugbug/models/regressor.py b/bugbug/models/regressor.py index 8c406ce83c..bfdf36e20a 100644 --- a/bugbug/models/regressor.py +++ b/bugbug/models/regressor.py @@ -159,6 +159,7 @@ def __init__( commit_features.FunctionsTouchedNum(), commit_features.FunctionsTouchedSize(), commit_features.SourceCodeFileMetrics(), + commit_features.SourceCodeMetricsDiff(), ] cleanup_functions = [