luulinh90s commited on
Commit
787f657
Β·
1 Parent(s): 86a95d5
templates/cot_intro.html CHANGED
@@ -109,7 +109,8 @@
109
  <h2>Chain-of-Table Example</h2>
110
  <iframe src="htmls_COT/TP/test-0.html"></iframe>
111
  <h2>Final Prediction: TRUE</h2>
112
- <button onclick="location.href='{{ url_for('experiment') }}'">Proceed to Experiment</button>
 
113
  </div>
114
  </body>
115
  </html>
 
109
  <h2>Chain-of-Table Example</h2>
110
  <iframe src="htmls_COT/TP/test-0.html"></iframe>
111
  <h2>Final Prediction: TRUE</h2>
112
+ <!-- <button onclick="location.href='{{ url_for('experiment') }}'">Proceed to Experiment</button>-->
113
+ <button onclick="location.href='{{ url_for('experiment', session_id=session_id) }}'">Proceed to Experiment</button>
114
  </div>
115
  </body>
116
  </html>
templates/dater_intro.html CHANGED
@@ -101,7 +101,8 @@
101
  <h2>Dater Example</h2>
102
  <iframe src="htmls_DATER/TP/test-0.html"></iframe>
103
  <h2>Final Prediction: TRUE</h2>
104
- <button onclick="location.href='{{ url_for('experiment') }}'">Proceed to Experiment</button>
 
105
  </div>
106
  </body>
107
  </html>
 
101
  <h2>Dater Example</h2>
102
  <iframe src="htmls_DATER/TP/test-0.html"></iframe>
103
  <h2>Final Prediction: TRUE</h2>
104
+ <!-- <button onclick="location.href='{{ url_for('experiment') }}'">Proceed to Experiment</button>-->
105
+ <button onclick="location.href='{{ url_for('experiment', session_id=session_id) }}'">Proceed to Experiment</button>
106
  </div>
107
  </body>
108
  </html>
templates/index.html CHANGED
@@ -74,6 +74,34 @@
74
  background-color: #fff3e0;
75
  color: #ff9800;
76
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
77
  .method-button:hover {
78
  opacity: 0.8;
79
  }
@@ -139,7 +167,26 @@
139
  </head>
140
  <body>
141
  <div class="container">
142
- <h1>Let's get started! Please input your name, a random number, and select one of the below explanation methods for your experiment. You will be assigned 10 samples to work on.</h1>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
143
  <form id="method-form" action="{{ url_for('index') }}" method="post" onsubmit="return validateForm();">
144
  <label for="username">Hi there πŸ‘‹πŸ‘‹πŸ‘‹ ! What is your name?</label>
145
  <input type="text" id="username" name="username" required>
 
74
  background-color: #fff3e0;
75
  color: #ff9800;
76
  }
77
+
78
+ .task-instruction {
79
+ background-color: #f0f8ff;
80
+ border-left: 5px solid #4CAF50;
81
+ padding: 20px;
82
+ margin-bottom: 30px;
83
+ border-radius: 5px;
84
+ text-align: left;
85
+ }
86
+ .task-instruction h2 {
87
+ color: #4CAF50;
88
+ margin-top: 0;
89
+ }
90
+ .task-step {
91
+ display: flex;
92
+ align-items: center;
93
+ margin-bottom: 15px;
94
+ }
95
+ .task-icon {
96
+ font-size: 24px;
97
+ margin-right: 15px;
98
+ color: #4CAF50;
99
+ }
100
+ .task-text {
101
+ font-size: 18px;
102
+ color: #333;
103
+ }
104
+
105
  .method-button:hover {
106
  opacity: 0.8;
107
  }
 
167
  </head>
168
  <body>
169
  <div class="container">
170
+ <div class="task-instruction">
171
+ <h2>Let's Get Started! πŸš€</h2>
172
+ <div class="task-step">
173
+ <span class="task-icon">πŸ‘€</span>
174
+ <span class="task-text">Enter your name</span>
175
+ </div>
176
+ <div class="task-step">
177
+ <span class="task-icon">πŸ”’</span>
178
+ <span class="task-text">Choose a lucky number</span>
179
+ </div>
180
+ <div class="task-step">
181
+ <span class="task-icon">πŸ“Š</span>
182
+ <span class="task-text">Select an explanation method</span>
183
+ </div>
184
+ <div class="task-step">
185
+ <span class="task-icon">🎯</span>
186
+ <span class="task-text">Complete 10 samples in the experiment</span>
187
+ </div>
188
+ </div>
189
+
190
  <form id="method-form" action="{{ url_for('index') }}" method="post" onsubmit="return validateForm();">
191
  <label for="username">Hi there πŸ‘‹πŸ‘‹πŸ‘‹ ! What is your name?</label>
192
  <input type="text" id="username" name="username" required>
templates/pos_intro.html CHANGED
@@ -109,10 +109,11 @@
109
  <p>This step checks if there are exactly 4 games where the opposing team was scoreless, as stated in the verification statement.</p>
110
  <p>In the final intermediate, only count the rows with actual data. The top row, which contains the column headers (like titles or labels for the columns), is not part of the count. So, if you see only the header row with no data beneath it, the table has 0 rows. If you see one row beneath the header, the table has 1 row." </p>
111
  </div>
112
- <h2>Program-of-Sequence Example</h2>
113
- <iframe src="htmls_PoS/TP/test-0.html"></iframe>
114
  <h2>Final Prediction: TRUE</h2>
115
- <button onclick="location.href='{{ url_for('experiment') }}'">Proceed to Experiment</button>
 
116
  </div>
117
  </body>
118
  </html>
 
109
  <p>This step checks if there are exactly 4 games where the opposing team was scoreless, as stated in the verification statement.</p>
110
  <p>In the final intermediate, only count the rows with actual data. The top row, which contains the column headers (like titles or labels for the columns), is not part of the count. So, if you see only the header row with no data beneath it, the table has 0 rows. If you see one row beneath the header, the table has 1 row." </p>
111
  </div>
112
+ <h2>Plan-of-SQLs Example</h2>
113
+ <iframe src="htmls_POS/TP/test-0.html"></iframe>
114
  <h2>Final Prediction: TRUE</h2>
115
+ <!-- <button onclick="location.href='{{ url_for('experiment') }}'">Proceed to Experiment</button>-->
116
+ <button onclick="location.href='{{ url_for('experiment', session_id=session_id) }}'">Proceed to Experiment</button>
117
  </div>
118
  </body>
119
  </html>