Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-370.html215 linesDownload Raw Back to TP
1<html><head>2<style>3body { font-family: Arial, sans-serif; margin: 20px; }4h1 { text-align: center; }5.cot-title { color: blue; }6.pos-title { color: green; }7h2 { color: black; text-align: left; }8h3 { color: black; text-align: left; }9h4 { color: darkslategray; }10table { width: 100%; border-collapse: collapse; margin: 20px 0; }11table, th, td { border: 1px solid #ddd; padding: 8px; }12th { background-color: #f2f2f2; }13tr:nth-child(even) { background-color: #f9f9f9; }14.highlight { background-color: #ffffcc; }15.true { color: green; }16.false { color: red; }17.highlighted-cell { background-color: yellow; cursor: pointer; }18.step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; }19.step { display: block; }20</style>21</head><body>22<hr/>23<h3><span>Statement:</span> on september 27th , the black knights lost to villanova dropping their record to 2 - 1</h3>24<h3>Input Table: 1975 army cadets football team</h3>25<div class="step">26<div class="step">27<div class="step-title">Step 1: Select rows where the 'date' is '9999-09-27'.</div>28<div class="content" id="step-1">29<table>30<tr>31<td>game</td>32<td>date</td>33<td>opponent</td>34<td>result</td>35<td>black_knights_points</td>36<td>opponents</td>37<td>record</td>38</tr>39<tr>40<td>1</td>41<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-09-13</span></td>42<td>holy cross</td>43<td>win</td>44<td>44</td>45<td>7</td>46<td>1 - 0</td>47</tr>48<tr>49<td>2</td>50<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-09-20</span></td>51<td>lehigh</td>52<td>win</td>53<td>54</td>54<td>32</td>55<td>2 - 0</td>56</tr>57<tr>58<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3</span></td>59<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9999-09-27</span></td>60<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">villanova</span></td>61<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">loss</span></td>62<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>63<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">10</span></td>64<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2 - 1</span></td>65</tr>66<tr>67<td>4</td>68<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-10-04</span></td>69<td>stanford</td>70<td>loss</td>71<td>14</td>72<td>67</td>73<td>2 - 2</td>74</tr>75<tr>76<td>5</td>77<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-10-11</span></td>78<td>duke</td>79<td>loss</td>80<td>10</td>81<td>21</td>82<td>2 - 3</td>83</tr>84<tr>85<td>6</td>86<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-10-18</span></td>87<td>pittsburgh</td>88<td>loss</td>89<td>20</td>90<td>52</td>91<td>2 - 4</td>92</tr>93<tr>94<td>7</td>95<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-10-25</span></td>96<td>penn state</td>97<td>loss</td>98<td>0</td>99<td>31</td>100<td>2 - 5</td>101</tr>102<tr>103<td>8</td>104<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-11-01</span></td>105<td>air force</td>106<td>loss</td>107<td>3</td>108<td>33</td>109<td>2 - 6</td>110</tr>111<tr>112<td>9</td>113<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-11-08</span></td>114<td>boston college</td>115<td>loss</td>116<td>0</td>117<td>31</td>118<td>2 - 7</td>119</tr>120<tr>121<td>10</td>122<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-11-15</span></td>123<td>vanderbilt</td>124<td>loss</td>125<td>14</td>126<td>23</td>127<td>2 - 8</td>128</tr>129</table>130</div>131<hr/>132<div class="step">133<div class="step-title">Step 2: Select rows where the 'opponent' is 'villanova'.</div>134<div class="content" id="step-0">135<table>136<tr>137<td>game</td>138<td>date</td>139<td>opponent</td>140<td>result</td>141<td>black_knights_points</td>142<td>opponents</td>143<td>record</td>144</tr>145<tr>146<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3</span></td>147<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-09-27</span></td>148<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">villanova</span></td>149<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">loss</span></td>150<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>151<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">10</span></td>152<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2 - 1</span></td>153</tr>154</table>155</div>156</div>157<hr/>158<div class="step">159<div class="step-title">Step 3: Select rows where the 'result' is 'loss'.</div>160<div class="content" id="step-1">161<table>162<tr>163<td>game</td>164<td>date</td>165<td>opponent</td>166<td>result</td>167<td>black_knights_points</td>168<td>opponents</td>169<td>record</td>170</tr>171<tr>172<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">3</span></td>173<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">9999-09-27</span></td>174<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">villanova</span></td>175<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">loss</span></td>176<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">0</span></td>177<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">10</span></td>178<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">2 - 1</span></td>179</tr>180</table>181</div>182</div>183<hr/>184<div class="step">185<div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>186<div class="content" id="step-2">187<table>188<tr>189<td>game</td>190<td>date</td>191<td>opponent</td>192<td>result</td>193<td>black_knights_points</td>194<td>opponents</td>195<td>record</td>196</tr>197<tr>198<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">3</span></td>199<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">9999-09-27</span></td>200<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">villanova</span></td>201<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">loss</span></td>202<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">0</span></td>203<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">10</span></td>204<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">2 - 1</span></td>205</tr>206</table>207</div>208</div>209<hr/>210 211</div>212</div>213<hr/>214</body></html>215