-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathevaluateTAROT.sh
More file actions
59 lines (51 loc) · 2.2 KB
/
evaluateTAROT.sh
File metadata and controls
59 lines (51 loc) · 2.2 KB
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
#!/bin/bash
# Run bash evaluateTAROT.sh > TAROT-evaluation.txt 2>&1
set -e
current_dir=$(pwd)
cd ../results/raw/TAROT
# BigBlueButton
echo "Evaluating BigBlueButton"
for file in $(find threshold_filtered -name "bigbluebutton*.csv"); do
# Get the filename without the extension
filename=$(basename -- "$file")
# Run the evaluator
echo "Running evaluator for $filename"
java -jar ../../../evaluator/evaluator.jar -t "threshold_filtered/$filename" -g ../../../data/SAD-Code-goldstandards/goldstandard-bigbluebutton.csv -c 47600 -w -m
done
# JabRef
echo "Evaluating JabRef"
for file in $(find threshold_filtered -name "jabref*.csv"); do
# Get the filename without the extension
filename=$(basename -- "$file")
# Run the evaluator
echo "Running evaluator for $filename"
java -jar ../../../evaluator/evaluator.jar -t "threshold_filtered/$filename" -g ../../../data/SAD-Code-goldstandards/goldstandard-jabref.csv -c 26000 -w -m
done
# MediaStore
echo "Evaluating MediaStore"
for file in $(find threshold_filtered -name "MediaStore*.csv"); do
# Get the filename without the extension
filename=$(basename -- "$file")
# Run the evaluator
echo "Running evaluator for $filename"
java -jar ../../../evaluator/evaluator.jar -t "threshold_filtered/$filename" -g ../../../data/SAD-Code-goldstandards/goldstandard-mediastore.csv -c 3589 -w -m
done
# TEAMMATES
echo "Evaluating TEAMMATES"
for file in $(find threshold_filtered -name "teammates*.csv"); do
# Get the filename without the extension
filename=$(basename -- "$file")
# Run the evaluator
echo "Running evaluator for $filename"
java -jar ../../../evaluator/evaluator.jar -t "threshold_filtered/$filename" -g ../../../data/SAD-Code-goldstandards/goldstandard-teammates.csv -c 165330 -w -m
done
# TeaStore
echo "Evaluating TeaStore"
for file in $(find threshold_filtered -name "TeaStore*.csv"); do
# Get the filename without the extension
filename=$(basename -- "$file")
# Run the evaluator
echo "Running evaluator for $filename"
java -jar ../../../evaluator/evaluator.jar -t "threshold_filtered/$filename" -g ../../../data/SAD-Code-goldstandards/goldstandard-teastore.csv -c 8815 -w -m
done
cd $current_dir