luulinh90s commited on
Commit
f7e1b55
·
1 Parent(s): ad6a188
templates/attribution.html CHANGED
@@ -149,7 +149,7 @@
149
  <li>Within these rows, the "Opponents" column cells containing "0" or "scoreless" are highlighted in green.</li>
150
  </ul>
151
  <p>
152
- These highlights indicate that the system identified four games where the opposing team did not score, verifying the statement as CORRECT. The yellow highlighting shows the relevant rows, while the green highlighting represents the cells containing fine-grained information needed to verify the statement.
153
  </p>
154
  <p>
155
  By using different colors for highlighting, the system provides a more nuanced explanation:
@@ -159,7 +159,7 @@
159
  <li>Green highlights (cells): Pinpoint the exact information (opposing team's score of 0) that directly answer the question.</li>
160
  </ul>
161
  <p>
162
- During the experiment, you will use explanations to guess model prediction (TRUE or FALSE), regardless of groundtruth.
163
  </p>
164
  <button onclick="location.href='{{ url_for('index') }}'">Proceed to Experiment</button>
165
  </div>
 
149
  <li>Within these rows, the "Opponents" column cells containing "0" or "scoreless" are highlighted in green.</li>
150
  </ul>
151
  <p>
152
+ These highlights indicate that the system identified four games where the opposing team did not score, verifying the statement as TRUE. The yellow highlighting shows the relevant rows, while the green highlighting represents the cells containing fine-grained information needed to verify the statement.
153
  </p>
154
  <p>
155
  By using different colors for highlighting, the system provides a more nuanced explanation:
 
159
  <li>Green highlights (cells): Pinpoint the exact information (opposing team's score of 0) that directly answer the question.</li>
160
  </ul>
161
  <p>
162
+ During the experiment, you will use explanations to choose which response (Statement is TRUE/ Statement is FALSE) model would output, regardless of whether you think that response is correct or not.
163
  </p>
164
  <button onclick="location.href='{{ url_for('index') }}'">Proceed to Experiment</button>
165
  </div>
templates/completed.html CHANGED
@@ -31,8 +31,8 @@
31
  }
32
  .stats-container {
33
  display: flex;
34
- justify-content: space-around;
35
- flex-wrap: wrap;
36
  margin-bottom: 30px;
37
  }
38
  .stat-card {
@@ -41,10 +41,19 @@
41
  padding: 20px;
42
  margin: 10px;
43
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
44
- flex: 1 1 200px;
45
  transition: transform 0.3s ease;
46
  }
47
- .stat-card:hover {
 
 
 
 
 
 
 
 
 
48
  transform: translateY(-5px);
49
  }
50
  .stat-title {
@@ -92,13 +101,15 @@
92
  <div class="stat-title">Your Labeling Accuracy</div>
93
  <div class="stat-value">{{ accuracy }}%</div>
94
  </div>
95
- <div class="stat-card">
96
- <div class="stat-title">You Predicted TRUE</div>
97
- <div class="stat-value">{{ true_percentage }}%</div>
98
- </div>
99
- <div class="stat-card">
100
- <div class="stat-title">You Predicted FALSE</div>
101
- <div class="stat-value">{{ false_percentage }}%</div>
 
 
102
  </div>
103
  </div>
104
  <div class="button-container">
 
31
  }
32
  .stats-container {
33
  display: flex;
34
+ flex-direction: column;
35
+ align-items: center;
36
  margin-bottom: 30px;
37
  }
38
  .stat-card {
 
41
  padding: 20px;
42
  margin: 10px;
43
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
44
+ width: 80%;
45
  transition: transform 0.3s ease;
46
  }
47
+ .prediction-stats {
48
+ display: flex;
49
+ justify-content: space-between;
50
+ width: 80%;
51
+ }
52
+ .prediction-stat-card {
53
+ flex: 1;
54
+ margin: 0 5px;
55
+ }
56
+ .stat-card:hover, .prediction-stat-card:hover {
57
  transform: translateY(-5px);
58
  }
59
  .stat-title {
 
101
  <div class="stat-title">Your Labeling Accuracy</div>
102
  <div class="stat-value">{{ accuracy }}%</div>
103
  </div>
104
+ <div class="prediction-stats">
105
+ <div class="stat-card prediction-stat-card">
106
+ <div class="stat-title">You Predicted TRUE</div>
107
+ <div class="stat-value">{{ true_percentage }}%</div>
108
+ </div>
109
+ <div class="stat-card prediction-stat-card">
110
+ <div class="stat-title">You Predicted FALSE</div>
111
+ <div class="stat-value">{{ false_percentage }}%</div>
112
+ </div>
113
  </div>
114
  </div>
115
  <div class="button-container">
templates/experiment.html CHANGED
@@ -118,7 +118,7 @@
118
  </div>
119
  <div class="task-description">
120
  <p><strong>Task:</strong> {{ statement | safe }}</p>
121
- <p class="highlight">Based on the explanation below, please guess if what the AI model will predict?</p>
122
  </div>
123
  <div class="visualization-container">
124
  <iframe src="{{ visualization }}"></iframe>
@@ -129,11 +129,11 @@
129
  <div class="buttons">
130
  <form action="{{ url_for('feedback') }}" method="post" onsubmit="showLoader()">
131
  <input type="hidden" name="session_id" value="{{ session_id }}">
132
- <button type="submit" name="prediction" value="TRUE"><h1>Model will predict: TRUE</h1></button>
133
  </form>
134
  <form action="{{ url_for('feedback') }}" method="post" onsubmit="showLoader()">
135
  <input type="hidden" name="session_id" value="{{ session_id }}">
136
- <button type="submit" name="prediction" value="FALSE"><h1>Model will predict: FALSE</h1></button>
137
  </form>
138
  </div>
139
  </div>
 
118
  </div>
119
  <div class="task-description">
120
  <p><strong>Task:</strong> {{ statement | safe }}</p>
121
+ <p class="highlight">Based on the explanation below, please guess what the AI model will predict.</p>
122
  </div>
123
  <div class="visualization-container">
124
  <iframe src="{{ visualization }}"></iframe>
 
129
  <div class="buttons">
130
  <form action="{{ url_for('feedback') }}" method="post" onsubmit="showLoader()">
131
  <input type="hidden" name="session_id" value="{{ session_id }}">
132
+ <button type="submit" name="prediction" value="TRUE"><h1>Statement is TRUE</h1></button>
133
  </form>
134
  <form action="{{ url_for('feedback') }}" method="post" onsubmit="showLoader()">
135
  <input type="hidden" name="session_id" value="{{ session_id }}">
136
+ <button type="submit" name="prediction" value="FALSE"><h1>Statement is FALSE</h1></button>
137
  </form>
138
  </div>
139
  </div>
templates/introduction.html CHANGED
@@ -200,8 +200,12 @@
200
  </div>
201
 
202
  <div class="outro">
203
- <h2>Your Task</h2>
204
- <p>Your task in this experiment is to use an explanation to guess what the TableQA model will predict (TRUE or FALSE), regardless of the groundtruth. For example, if the model predicts TRUE but the Statement is FALSE, you should guess TRUE. The task is called Model Simulation.</p>
 
 
 
 
205
  </div>
206
 
207
  <div class="button-container">
 
200
  </div>
201
 
202
  <div class="outro">
203
+ <h2>Your Task: Model Simulation</h2>
204
+ <p>
205
+ Given the statement above, an Artificial Intelligence (AI) will output either TRUE or FALSE.
206
+ Your job in this Simulation task is to use the AI's explanation to guess the machine response.
207
+ Specifically, please choose which response (Statement is TRUE/ Statement is FALSE) model would output regardless of whether you think that response is correct or not.
208
+ </p>
209
  </div>
210
 
211
  <div class="button-container">