Commit Graph

255 Commits

Author SHA1 Message Date
4b06d4920b removed tqdm because it was too distracting 2025-03-14 14:02:38 +01:00
c1c2106a86 made the has_only_1_comment function potentially
verbose
2025-03-14 12:06:03 +01:00
9982e2bcc9 added the diff class to dataset entries 2025-03-14 12:05:39 +01:00
6437efaa54 first clean version of storing the entries of the
dataset, still need to check for tests
2025-03-14 12:05:19 +01:00
468f793ded added the possibility of having the lenght of the
dataset
2025-03-14 11:59:37 +01:00
242d7f6a77 made some entries to the dataset default to "" 2025-03-14 11:59:21 +01:00
d845ce9171 removed sorting of the commit dates because it
isn't useful
2025-03-14 10:07:07 +01:00
8f4614f71a removed useless import 2025-03-14 09:55:11 +01:00
c035bfbe77 updated stats_pull_requests to use the new utils
interface
2025-03-14 09:49:50 +01:00
115e275479 forgot to actually check whether the ammount of
comments was 1, now it's fixed
2025-03-14 09:48:57 +01:00
49e8e29e7a updated the type annotations for the utils
functions, much better now
2025-03-14 09:48:38 +01:00
9f8884a1e9 created the dataclasses for the "triplets" 2025-03-14 09:27:51 +01:00
873f712640 forgot an import 2025-03-13 14:25:25 +01:00
536e6e3e3f extracted some functions to a utils file, since
they will be usefull for the new pull_requests.py
2025-03-13 11:31:27 +01:00
3a1b24dcb3 actually the file shouldn't be called
'good_repos.csv' because there aren't only good repos, so calling it 'repos.csv'
2025-03-13 11:25:13 +01:00
f8568fe8ec cleared pull_requests.py to start anew 2025-03-13 11:11:21 +01:00
02d6c035fd renamed the results file, because "results.csv"
was too generic
2025-03-13 11:09:10 +01:00
e69e81e5b3 minor fixes 2025-03-12 11:54:11 +01:00
8c1de40a1f fixed the way to check whether a pr had only one comment 2025-03-11 14:27:18 +01:00
7c7b8801eb switched lines because it made more sense 2025-03-11 14:23:30 +01:00
f76cd6f36f added entry to exclusion list 2025-03-11 10:26:44 +01:00
a22776a96c fixed the stdout and file logging issue 2025-03-10 11:29:09 +01:00
5416b2ba15 saving the stats at each repo, so that we can see
the progress
2025-03-10 10:42:56 +01:00
fc0fdd2e43 added entry to exclusion list 2025-03-10 10:39:13 +01:00
8b5bae858e getting stats for repos that actually have tests 2025-03-10 10:38:56 +01:00
500531c8b0 apparently some dates are now parsed correctly
when the json is parsed, but others are still in string form, so i'm trying to account for that
2025-03-10 10:28:29 +01:00
aa5ed85717 made better post fix 2025-03-10 10:28:13 +01:00
527f9ea1af made logging better to avoid messing up the
progress bar
2025-03-10 10:27:43 +01:00
d34b3dbb20 made stats for PRs better, because i was not
considering all edge cases
2025-03-10 09:54:21 +01:00
3a5cd998fd added the one hour limit to compilation as well 2025-03-07 09:01:39 +01:00
9fa7dd53af now using the PyGithub library, so that it handles
for me the issue of too many requests in too little time
2025-03-06 16:36:53 +01:00
57b0f0c2cd first draft of getting the stats for pull requests 2025-03-06 16:26:33 +01:00
614115123e can now process repo (still needs testing) 2025-03-06 15:39:04 +01:00
3cbb81894d removed useless stuff 2025-03-06 10:10:49 +01:00
a983e2c122 extracting the file before, comment and file after
for the comments in a PR
2025-03-06 10:01:59 +01:00
be1be25131 fixed lazy loading 2025-03-06 09:53:36 +01:00
fd022ae8bb made the lazy loading better 2025-03-05 12:12:15 +01:00
470856c1a7 created a timeout to stop tests from running when
they take ages
2025-03-05 11:57:20 +01:00
6857dbcff9 removed the count with grep since it's useless 2025-03-05 11:53:22 +01:00
d9c100a811 finally get the overlapping commits and comments 2025-03-05 10:22:55 +01:00
9ab2036bc7 idk how to name variables 2025-03-05 09:58:29 +01:00
ab88018f16 renamed variable 2025-03-05 09:56:13 +01:00
b9501f9aac compacted code 2025-03-05 09:55:31 +01:00
cb7c1a94a1 augmenting the comments with the range of the
hunk, useful for later to search for overlap between comment and commit
2025-03-05 09:54:53 +01:00
9122b27140 renamed function 2025-03-05 09:48:23 +01:00
a0ac5b47ad actually using the extracted function 2025-03-05 09:30:04 +01:00
788f8db974 fixed the extraction of the date, because on the
server, datetime.fromisoformat couldn't be parsed for some reason
2025-03-05 09:29:03 +01:00
ceb15674ad first version of the pull_requests.py 2025-03-05 09:22:02 +01:00
65b7a6423f made postfix better 2025-03-05 09:08:16 +01:00
67bbd50387 updated maven test extraction handler 2025-03-02 23:32:31 +01:00