-
Notifications
You must be signed in to change notification settings - Fork 1
/
test_runner.py
40 lines (30 loc) · 940 Bytes
/
test_runner.py
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
import os
repetitions = 1
counter = 0
print("\nRunning autonomous agent\n")
# run autonomous agent
while counter < repetitions:
os.system('python3 autonomous_agent.py')
counter += 1
print("autonomous: scenario " + str(counter))
counter = 0
print("\nRunning cautious human agent\n")
# run cautious human agent
while counter < repetitions:
os.system('python3 cautious_agent.py')
counter += 1
print("cautious human: scenario " + str(counter))
counter = 0
print("\nRunning aggressive human agent\n")
# run aggressive human agent
while counter < repetitions:
os.system('python3 aggressive_agent.py')
counter += 1
print("aggressive human: scenario " + str(counter))
counter = 0
print("\nRunning reconfiguration agent\n")
# run reconfiguration agent
while counter < repetitions:
os.system('python3 reconfiguration_agent.py')
counter += 1
print("reconfiguration: scenario " + str(counter))