Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1335.html302 linesDownload Raw Back to TN
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<h1 class="pos-title">Plan-of-SQLs (Ours)</h1>23<hr>24<h3><span>Statement:</span> the second lowest attendance figure for a game was 12376</h3>25<h3>Ground-truth:</span> FALSE</h3>26<h3>Input Table: 2009 - 10 charlotte bobcats season</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'attendance' is not equal to 12376.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>game</td>34<td>date</td>35<td>team</td>36<td>score</td>37<td>high_points</td>38<td>high_rebounds</td>39<td>high_assists</td>40<td>location_attendance</td>41<td>record</td>42</tr>43<tr>44<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">47</span></td>45<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">01-02-9999</span></td>46<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">portland</span></td>47<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">l 79 - 98 (ot)</span></td>48<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">raymond felton (23)</span></td>49<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">gerald wallace (10)</span></td>50<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">stephen jackson (4)</span></td>51<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">rose garden 20106</span></td>52<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">24 - 23</span></td>53</tr>54<tr>55<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">48</span></td>56<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-02-03</span></td>57<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">la lakers</span></td>58<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">l 97 - 99 (ot)</span></td>59<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">stephen jackson (30)</span></td>60<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">nazr mohammed (17)</span></td>61<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">boris diaw (5)</span></td>62<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">staples center 18997</span></td>63<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">24 - 24</span></td>64</tr>65<tr>66<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">49</span></td>67<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-02-06</span></td>68<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">new orleans</span></td>69<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">l 99 - 104 (ot)</span></td>70<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">stephen jackson (26)</span></td>71<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">boris diaw (8)</span></td>72<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">raymond felton (7)</span></td>73<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">time warner cable arena 19164</span></td>74<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">24 - 25</span></td>75</tr>76<tr>77<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">50</span></td>78<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-02-09</span></td>79<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">washington</span></td>80<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">w 94 - 92 (ot)</span></td>81<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">stephen jackson (22)</span></td>82<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">nazr mohammed (10)</span></td>83<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">raymond felton (5)</span></td>84<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">time warner cable arena 12376</span></td>85<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">25 - 25</span></td>86</tr>87<tr>88<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">51</span></td>89<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">01-02-10</span></td>90<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">minnesota</span></td>91<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">w 93 - 92 (ot)</span></td>92<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">stephen jackson (33)</span></td>93<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">nazr mohammed (20)</span></td>94<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">dj augustin (7)</span></td>95<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">target center 13352</span></td>96<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">26 - 25</span></td>97</tr>98<tr>99<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">52</span></td>100<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">01-02-16</span></td>101<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">new jersey</span></td>102<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">l 94 - 103 (ot)</span></td>103<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">gerald wallace (21)</span></td>104<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">gerald wallace , boris diaw (10)</span></td>105<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">stephen jackson (5)</span></td>106<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">time warner cable arena 13712</span></td>107<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">26 - 26</span></td>108</tr>109<tr>110<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">53</span></td>111<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-02-19</span></td>112<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">cleveland</span></td>113<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">w 110 - 93 (ot)</span></td>114<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">stephen jackson (29)</span></td>115<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">tyrus thomas (12)</span></td>116<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">boris diaw (9)</span></td>117<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">time warner cable arena 19568</span></td>118<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">27 - 26</span></td>119</tr>120<tr>121<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">54</span></td>122<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-02-20</span></td>123<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">milwaukee</span></td>124<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">l 88 - 93 (ot)</span></td>125<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">stephen jackson (35)</span></td>126<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">tyrus thomas (11)</span></td>127<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">stephen jackson (5)</span></td>128<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">bradley center 17174</span></td>129<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">27 - 27</span></td>130</tr>131<tr>132<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">55</span></td>133<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-02-22</span></td>134<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">la clippers</span></td>135<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">l 94 - 98 (ot)</span></td>136<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">gerald wallace (32)</span></td>137<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">gerald wallace (12)</span></td>138<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">boris diaw , raymond felton (9)</span></td>139<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">staples center 15892</span></td>140<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">27 - 28</span></td>141</tr>142<tr>143<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">56</span></td>144<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-02-24</span></td>145<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">utah</span></td>146<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">l 93 - 102 (ot)</span></td>147<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">gerald wallace (27)</span></td>148<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">gerald wallace (8)</span></td>149<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">raymond felton (5)</span></td>150<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">energysolutions arena 19911</span></td>151<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">27 - 29</span></td>152</tr>153</table>154</div>155<hr>156<div class="step">157<div class="step-title">Step 2: Use a `CASE` statement to return TRUE if the number of rows is equal to 9, otherwise return FALSE.</div>158<div id="step-0" class="content">159<table>160<tr>161<td>game</td>162<td>date</td>163<td>team</td>164<td>score</td>165<td>high_points</td>166<td>high_rebounds</td>167<td>high_assists</td>168<td>location_attendance</td>169<td>record</td>170</tr>171<tr>172<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">47</span></td>173<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">01-02-9999</span></td>174<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">portland</span></td>175<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">l 79 - 98 (ot)</span></td>176<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">raymond felton (23)</span></td>177<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">gerald wallace (10)</span></td>178<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">stephen jackson (4)</span></td>179<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">rose garden 20106</span></td>180<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">24 - 23</span></td>181</tr>182<tr>183<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">48</span></td>184<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">9999-02-03</span></td>185<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">la lakers</span></td>186<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">l 97 - 99 (ot)</span></td>187<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">stephen jackson (30)</span></td>188<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">nazr mohammed (17)</span></td>189<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">boris diaw (5)</span></td>190<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">staples center 18997</span></td>191<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">24 - 24</span></td>192</tr>193<tr>194<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">49</span></td>195<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">9999-02-06</span></td>196<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">new orleans</span></td>197<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">l 99 - 104 (ot)</span></td>198<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">stephen jackson (26)</span></td>199<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">boris diaw (8)</span></td>200<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">raymond felton (7)</span></td>201<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">time warner cable arena 19164</span></td>202<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">24 - 25</span></td>203</tr>204<tr>205<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">50</span></td>206<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">9999-02-09</span></td>207<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">washington</span></td>208<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">w 94 - 92 (ot)</span></td>209<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">stephen jackson (22)</span></td>210<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">nazr mohammed (10)</span></td>211<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">raymond felton (5)</span></td>212<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">time warner cable arena 12376</span></td>213<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">25 - 25</span></td>214</tr>215<tr>216<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">51</span></td>217<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">01-02-10</span></td>218<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">minnesota</span></td>219<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">w 93 - 92 (ot)</span></td>220<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">stephen jackson (33)</span></td>221<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">nazr mohammed (20)</span></td>222<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">dj augustin (7)</span></td>223<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">target center 13352</span></td>224<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">26 - 25</span></td>225</tr>226<tr>227<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">52</span></td>228<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">01-02-16</span></td>229<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">new jersey</span></td>230<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">l 94 - 103 (ot)</span></td>231<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">gerald wallace (21)</span></td>232<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">gerald wallace , boris diaw (10)</span></td>233<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">stephen jackson (5)</span></td>234<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">time warner cable arena 13712</span></td>235<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">26 - 26</span></td>236</tr>237<tr>238<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">53</span></td>239<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">9999-02-19</span></td>240<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">cleveland</span></td>241<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">w 110 - 93 (ot)</span></td>242<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">stephen jackson (29)</span></td>243<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">tyrus thomas (12)</span></td>244<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">boris diaw (9)</span></td>245<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">time warner cable arena 19568</span></td>246<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">27 - 26</span></td>247</tr>248<tr>249<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">54</span></td>250<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">9999-02-20</span></td>251<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">milwaukee</span></td>252<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">l 88 - 93 (ot)</span></td>253<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">stephen jackson (35)</span></td>254<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">tyrus thomas (11)</span></td>255<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">stephen jackson (5)</span></td>256<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">bradley center 17174</span></td>257<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">27 - 27</span></td>258</tr>259<tr>260<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">55</span></td>261<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">9999-02-22</span></td>262<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">la clippers</span></td>263<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">l 94 - 98 (ot)</span></td>264<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">gerald wallace (32)</span></td>265<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">gerald wallace (12)</span></td>266<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">boris diaw , raymond felton (9)</span></td>267<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">staples center 15892</span></td>268<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">27 - 28</span></td>269</tr>270<tr>271<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">56</span></td>272<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">9999-02-24</span></td>273<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">utah</span></td>274<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">l 93 - 102 (ot)</span></td>275<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">gerald wallace (27)</span></td>276<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">gerald wallace (8)</span></td>277<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">raymond felton (5)</span></td>278<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">energysolutions arena 19911</span></td>279<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">27 - 29</span></td>280</tr>281</table>282</div>283</div>284<hr>285<div class="step">286<div class="step-title">Final output table:</div>287<div id="step-1" class="content">288<table>289<tr>290<td>verification_result</td>291</tr>292<tr>293<td>FALSE</td>294</tr>295</table>296</div>297</div>298<hr>299<div class="step"><h3><span class="true">Prediction: FALSE </span></h3>300<h3>Ground-truth:</span> FALSE</h3></div>301</body></html>302