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
Copy file name to clipboardExpand all lines: scripts/comment_generation_bug_reports.py
+38-22Lines changed: 38 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,8 @@
1
1
importcsv
2
-
importdatetime
3
2
importjson
4
3
importos
5
4
importsubprocess
6
-
fromdatetimeimporttimedelta
5
+
fromdatetimeimportdatetime, timedelta
7
6
8
7
importtiktoken
9
8
fromdateutilimportparser, tz
@@ -19,7 +18,13 @@
19
18
csv.field_size_limit(10**8)
20
19
21
20
### VARIABLES
21
+
22
+
# For the input file, we consider the list of reported bugs available here: https://github.com/mozilla/regressors-regressions-dataset
23
+
# Clone the repository locally and inform the path to the file dataset.csv
22
24
INPUT_FILE=""
25
+
26
+
# As we need to access some additional information associated with the commits reported in the INPUT_FILE, we need to have locally the central repository.
27
+
# For that, you might clone the repo locally and inform its path below: https://hg-edge.mozilla.org/mozilla-central
0 commit comments