-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathworksheet_many_runs.py
87 lines (82 loc) · 3.53 KB
/
worksheet_many_runs.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
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
from many_runs import run_n_runs_with_same_agent_positions, run_n_sim_with_different_agent_positions
import agent as ag
######################
# Same positions
######################
# # Condition I
# ag.initial_trust_human_to_AI = 0.5
# ag.update_up_alfa_human_to_AI = 0.01
# ag.update_down_beta_human_to_AI = 0.01
#
# result_cond_A = run_n_runs_with_same_agent_positions(n_sim=30,
# grid_state=5,
# state=5,
# no_periods=300,
# no_agents=100,
# is_bidirectional=False,
# condition="I")
#
# # Setup II
# ag.initial_trust_human_to_AI = 0.2
# ag.update_up_alfa_human_to_AI = 0.01
# ag.update_down_beta_human_to_AI = 0.1
#
# result_cond_B = run_n_runs_with_same_agent_positions(n_sim=100,
# grid_state=5,
# state=5,
# no_periods=300,
# no_agents=100,
# is_bidirectional=False,
# condition="II")
# Setup III
ag.initial_trust_human_to_AI = 0.8
ag.update_up_alfa_human_to_AI = 0.005
ag.update_down_beta_human_to_AI = 0.1
result_cond_C = run_n_runs_with_same_agent_positions(n_sim=30,
grid_state=5,
state=5,
no_periods=300,
no_agents=100,
is_bidirectional=False,
condition="III")
######################
# Different positions
######################
# # Setup I
# ag.initial_trust_human_to_AI = 0.5
# ag.update_up_alfa_human_to_AI = 0.01
# ag.update_down_beta_human_to_AI = 0.01
#
# run_n_sim_with_different_agent_positions(n_sim=30,
# no_periods=300,
# no_agents=100,
# is_bidirectional=False,
# condition="I",
# grid_state=5,
# random_state=5)
#
# # Setup II
# ag.initial_trust_human_to_AI = 0.2
# ag.update_up_alfa_human_to_AI = 0.01
# ag.update_down_beta_human_to_AI = 0.1
#
# run_n_sim_with_different_agent_positions(n_sim=30,
# no_periods=300,
# no_agents=100,
# is_bidirectional=False,
# condition="II",
# grid_state=5,
# random_state=5)
#
# # Setup III
# ag.initial_trust_human_to_AI = 0.8
# ag.update_up_alfa_human_to_AI = 0.005
# ag.update_down_beta_human_to_AI = 0.1
#
# run_n_sim_with_different_agent_positions(n_sim=30,
# no_periods=300,
# no_agents=100,
# is_bidirectional=False,
# condition="III",
# grid_state = 5,
# random_state=5)