-
Notifications
You must be signed in to change notification settings - Fork 8
/
compute_scores.sh
101 lines (85 loc) · 3.78 KB
/
compute_scores.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[ ! -d combined_fl_results ] && mkdir combined_fl_results
# Defects4J (AUTOFL-GPT-3.5)
python compute_score.py \
results/d4j_autofl_1/gpt-3.5-turbo-0613 \
-l java -a -v -o combined_fl_results/d4j_gpt3_results_R1_full.json
python compute_score.py \
results/d4j_autofl_1/gpt-3.5-turbo-0613 \
results/d4j_autofl_2/gpt-3.5-turbo-0613 \
-l java -a -v -o combined_fl_results/d4j_gpt3_results_R2_full.json
python compute_score.py \
results/d4j_autofl_1/gpt-3.5-turbo-0613 \
results/d4j_autofl_2/gpt-3.5-turbo-0613 \
results/d4j_autofl_3/gpt-3.5-turbo-0613 \
-l java -a -v -o combined_fl_results/d4j_gpt3_results_R3_full.json
python compute_score.py \
results/d4j_autofl_1/gpt-3.5-turbo-0613 \
results/d4j_autofl_2/gpt-3.5-turbo-0613 \
results/d4j_autofl_3/gpt-3.5-turbo-0613 \
results/d4j_autofl_4/gpt-3.5-turbo-0613 \
-l java -a -v -o combined_fl_results/d4j_gpt3_results_R4_full.json
python compute_score.py \
results/d4j_autofl_1/gpt-3.5-turbo-0613 \
results/d4j_autofl_2/gpt-3.5-turbo-0613 \
results/d4j_autofl_3/gpt-3.5-turbo-0613 \
results/d4j_autofl_4/gpt-3.5-turbo-0613 \
results/d4j_autofl_5/gpt-3.5-turbo-0613 \
-l java -a -v -o combined_fl_results/d4j_gpt3_results_R5_full.json
# Defects4J (AUTOFL-GPT-4)
python compute_score.py \
results/d4j_autofl_1/gpt-4-0613 \
-l java -a -v -o combined_fl_results/d4j_gpt4_results_R1_full.json
python compute_score.py \
results/d4j_autofl_1/gpt-4-0613 \
results/d4j_autofl_2/gpt-4-0613 \
-l java -a -v -o combined_fl_results/d4j_gpt4_results_R2_full.json
# Defects4J (LLM-Test)
python compute_score.py \
results/d4j_llmtest_1/gpt-3.5-turbo-0613 \
results/d4j_llmtest_2/gpt-3.5-turbo-0613 \
results/d4j_llmtest_3/gpt-3.5-turbo-0613 \
results/d4j_llmtest_4/gpt-3.5-turbo-0613 \
results/d4j_llmtest_5/gpt-3.5-turbo-0613 \
-l java -a -v -o combined_fl_results/d4j_llmtest_results_full.json
# BugsInPy (AUTOFL-GPT-3.5)
python compute_score.py \
results/bip_autofl_1/gpt-3.5-turbo-0613 \
-l python -a -v -o combined_fl_results/bip_gpt3_results_R1_full.json
python compute_score.py \
results/bip_autofl_1/gpt-3.5-turbo-0613 \
results/bip_autofl_2/gpt-3.5-turbo-0613 \
-l python -a -v -o combined_fl_results/bip_gpt3_results_R2_full.json
python compute_score.py \
results/bip_autofl_1/gpt-3.5-turbo-0613 \
results/bip_autofl_2/gpt-3.5-turbo-0613 \
results/bip_autofl_3/gpt-3.5-turbo-0613 \
-l python -a -v -o combined_fl_results/bip_gpt3_results_R3_full.json
python compute_score.py \
results/bip_autofl_1/gpt-3.5-turbo-0613 \
results/bip_autofl_2/gpt-3.5-turbo-0613 \
results/bip_autofl_3/gpt-3.5-turbo-0613 \
results/bip_autofl_4/gpt-3.5-turbo-0613 \
-l python -a -v -o combined_fl_results/bip_gpt3_results_R4_full.json
python compute_score.py \
results/bip_autofl_1/gpt-3.5-turbo-0613 \
results/bip_autofl_2/gpt-3.5-turbo-0613 \
results/bip_autofl_3/gpt-3.5-turbo-0613 \
results/bip_autofl_4/gpt-3.5-turbo-0613 \
results/bip_autofl_5/gpt-3.5-turbo-0613 \
-l python -a -v -o combined_fl_results/bip_gpt3_results_R5_full.json
# BugsInPy (AUTOFL-GPT-4)
python compute_score.py \
results/bip_autofl_1/gpt-4-0613 \
-l python -a -v -o combined_fl_results/bip_gpt4_results_R1_full.json
python compute_score.py \
results/bip_autofl_1/gpt-4-0613 \
results/bip_autofl_2/gpt-4-0613 \
-l python -a -v -o combined_fl_results/bip_gpt4_results_R2_full.json
# BugsInPy (LLM-Test)
python compute_score.py \
results/bip_llmtest_1/gpt-3.5-turbo-0613 \
results/bip_llmtest_2/gpt-3.5-turbo-0613 \
results/bip_llmtest_3/gpt-3.5-turbo-0613 \
results/bip_llmtest_4/gpt-3.5-turbo-0613 \
results/bip_llmtest_5/gpt-3.5-turbo-0613 \
-l python -a -v -o combined_fl_results/bip_llmtest_results_full.json