Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1591.html240 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> the game played against the slough jets on the 2nd , was attended by 320 fans</h3>24<h3>Input Table: 2008 - 09 guildford flames season</h3>25<div class="step">26<div class="step">27<div class="step-title">Step 1: Select rows where 'opponent' is 'slough jets'.</div>28<div id="step-1" class="content">29<table>30<tr>31<td>date</td>32<td>opponent</td>33<td>venue</td>34<td>result</td>35<td>attendance</td>36<td>competition</td>37<td>man_of_the_match</td>38</tr>39<tr>40<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-01-01</span></td>41<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">slough jets</span></td>42<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">home</span></td>43<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">lost 2 - 3</span></td>44<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1308</span></td>45<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">league / cup</span></td>46<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">lukas smital</span></td>47</tr>48<tr>49<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-01-02</span></td>50<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">slough jets</span></td>51<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">away</span></td>52<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">lost 5 - 6 (ot)</span></td>53<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">320</span></td>54<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">league</span></td>55<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">paul dixon</span></td>56</tr>57<tr>58<td>9999-01-08</td>59<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">swindon wildcats</span></td>60<td>away</td>61<td>won 6 - 3</td>62<td>754</td>63<td>league / cup</td>64<td>lukas smital</td>65</tr>66<tr>67<td>9999-01-09</td>68<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">swindon wildcats</span></td>69<td>home</td>70<td>won 4 - 2</td>71<td>1568</td>72<td>league / cup</td>73<td>neil liddiard</td>74</tr>75<tr>76<td>9999-01-15</td>77<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">sheffield scimitars</span></td>78<td>away</td>79<td>won 7 - 4</td>80<td>364</td>81<td>league / cup</td>82<td>rick plant</td>83</tr>84<tr>85<td>9999-01-16</td>86<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">milton keynes lightning</span></td>87<td>home</td>88<td>lost 2 - 4</td>89<td>1161</td>90<td>league / cup</td>91<td>david savage</td>92</tr>93<tr>94<td>9999-01-19</td>95<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">romford raiders</span></td>96<td>home</td>97<td>won 6 - 2</td>98<td>1016</td>99<td>league / cup</td>100<td>alex mettam</td>101</tr>102<tr>103<td>9999-01-22</td>104<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">wightlink raiders</span></td>105<td>away</td>106<td>lost 5 - 4</td>107<td>509</td>108<td>league / cup</td>109<td>stuart potts</td>110</tr>111<tr>112<td>9999-01-23</td>113<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">telford tigers</span></td>114<td>home</td>115<td>won 4 - 2</td>116<td>1368</td>117<td>league</td>118<td>alex mettam / mark williams</td>119</tr>120<tr>121<td>9999-01-29</td>122<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">romford raiders</span></td>123<td>home</td>124<td>won 7 - 2</td>125<td>1238</td>126<td>league</td>127<td>martin bouz</td>128</tr>129<tr>130<td>9999-01-30</td>131<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">bracknell bees</span></td>132<td>away</td>133<td>won 4 - 0</td>134<td>not reported</td>135<td>league / cup</td>136<td>joe watkins</td>137</tr>138</table>139</div>140<hr>141<div class="step">142<div class="step-title">Step 2: Select rows where 'date' is '9999-01-02'.</div>143<div id="step-0" class="content">144<table>145<tr>146<td>date</td>147<td>opponent</td>148<td>venue</td>149<td>result</td>150<td>attendance</td>151<td>competition</td>152<td>man_of_the_match</td>153</tr>154<tr>155<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-01-01</span></td>156<td>slough jets</td>157<td>home</td>158<td>lost 2 - 3</td>159<td>1308</td>160<td>league / cup</td>161<td>lukas smital</td>162</tr>163<tr>164<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">9999-01-02</span></td>165<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">slough jets</span></td>166<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">away</span></td>167<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">lost 5 - 6 (ot)</span></td>168<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">320</span></td>169<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">league</span></td>170<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">paul dixon</span></td>171</tr>172</table>173</div>174</div>175<hr>176<div class="step">177<div class="step-title">Step 3: Select rows where 'attendance' is 320.</div>178<div id="step-1" class="content">179<table>180<tr>181<td>date</td>182<td>opponent</td>183<td>venue</td>184<td>result</td>185<td>attendance</td>186<td>competition</td>187<td>man_of_the_match</td>188</tr>189<tr>190<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-01-02</span></td>191<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">slough jets</span></td>192<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">away</span></td>193<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">lost 5 - 6 (ot)</span></td>194<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">320</span></td>195<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">league</span></td>196<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">paul dixon</span></td>197</tr>198</table>199</div>200</div>201<hr>202<div class="step">203<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>204<div id="step-2" class="content">205<table>206<tr>207<td>date</td>208<td>opponent</td>209<td>venue</td>210<td>result</td>211<td>attendance</td>212<td>competition</td>213<td>man_of_the_match</td>214</tr>215<tr>216<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">9999-01-02</span></td>217<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">slough jets</span></td>218<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">away</span></td>219<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">lost 5 - 6 (ot)</span></td>220<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">320</span></td>221<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">league</span></td>222<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">paul dixon</span></td>223</tr>224</table>225</div>226</div>227<hr>228<table>229<tr>230<td>verification_result</td>231</tr>232<tr>233<td>TRUE</td>234</tr>235</table>236</div>237</div>238<hr>239</body></html>240