Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1988.html418 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 match with the highest attendance was against birmingham city</h3>25<h3>Ground-truth:</span> FALSE</h3>26<h3>Input Table: 2000 - 01 sheffield wednesday f.c. season</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'attendance' is the maximum value.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>date</td>34<td>opponent</td>35<td>venue</td>36<td>result</td>37<td>attendance</td>38</tr>39<tr>40<td>2000-08-13</td>41<td>wolverhampton wanderers</td>42<td>a</td>43<td>1 - 1</td>44<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">19086</span></td>45</tr>46<tr>47<td>2000-08-19</td>48<td>huddersfield town</td>49<td>h</td>50<td>2 - 3</td>51<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">22704</span></td>52</tr>53<tr>54<td>2000-08-26</td>55<td>grimsby town</td>56<td>a</td>57<td>1 - 0</td>58<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">7755</span></td>59</tr>60<tr>61<td>2000-08-28</td>62<td>blackburn rovers</td>63<td>h</td>64<td>1 - 1</td>65<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">15646</span></td>66</tr>67<tr>68<td>2000-09-09</td>69<td>wimbledon</td>70<td>h</td>71<td>0 - 5</td>72<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">15856</span></td>73</tr>74<tr>75<td>2000-09-13</td>76<td>nottingham forest</td>77<td>h</td>78<td>0 - 1</td>79<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">15700</span></td>80</tr>81<tr>82<td>2000-09-16</td>83<td>tranmere rovers</td>84<td>a</td>85<td>0 - 2</td>86<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9352</span></td>87</tr>88<tr>89<td>2000-09-23</td>90<td>preston north end</td>91<td>h</td>92<td>1 - 3</td>93<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">17379</span></td>94</tr>95<tr>96<td>2000-09-30</td>97<td>gillingham</td>98<td>a</td>99<td>0 - 2</td>100<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9099</span></td>101</tr>102<tr>103<td>2000-10-08</td>104<td>west bromwich albion</td>105<td>h</td>106<td>1 - 2</td>107<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">15338</span></td>108</tr>109<tr>110<td>2000-10-14</td>111<td>portsmouth</td>112<td>a</td>113<td>1 - 2</td>114<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">13376</span></td>115</tr>116<tr>117<td>2000-10-17</td>118<td>burnley</td>119<td>a</td>120<td>0 - 1</td>121<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">16372</span></td>122</tr>123<tr>124<td>2000-10-22</td>125<td>birmingham city</td>126<td>h</td>127<td>1 - 0</td>128<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">14695</span></td>129</tr>130<tr>131<td>2000-10-25</td>132<td>queens park rangers</td>133<td>a</td>134<td>2 - 1</td>135<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">10353</span></td>136</tr>137<tr>138<td>2000-10-28</td>139<td>fulham</td>140<td>h</td>141<td>3 - 3</td>142<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">17559</span></td>143</tr>144<tr>145<td>2000-11-04</td>146<td>crystal palace</td>147<td>a</td>148<td>1 - 4</td>149<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">15333</span></td>150</tr>151<tr>152<td>2000-11-07</td>153<td>watford</td>154<td>a</td>155<td>3 - 1</td>156<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">11166</span></td>157</tr>158<tr>159<td>2000-11-01</td>160<td>norwich city</td>161<td>h</td>162<td>3 - 2</td>163<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">16956</span></td>164</tr>165<tr>166<td>2000-11-18</td>167<td>barnsley</td>168<td>a</td>169<td>0 - 1</td>170<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">19989</span></td>171</tr>172<tr>173<td>2000-11-25</td>174<td>crewe alexandra</td>175<td>a</td>176<td>0 - 1</td>177<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">7103</span></td>178</tr>179<tr>180<td>2000-12-02</td>181<td>queens park rangers</td>182<td>h</td>183<td>5 - 2</td>184<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">21782</span></td>185</tr>186<tr>187<td>2000-12-09</td>188<td>stockport county</td>189<td>h</td>190<td>2 - 4</td>191<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">16337</span></td>192</tr>193<tr>194<td>2000-12-16</td>195<td>sheffield united</td>196<td>a</td>197<td>1 - 1</td>198<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">25156</span></td>199</tr>200<tr>201<td>2000-12-23</td>202<td>wolverhampton wanderers</td>203<td>h</td>204<td>0 - 1</td>205<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">17787</span></td>206</tr>207<tr>208<td>2000-12-26</td>209<td>bolton wanderers</td>210<td>a</td>211<td>0 - 2</td>212<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">21316</span></td>213</tr>214<tr>215<td>2000-12-30</td>216<td>huddersfield town</td>217<td>a</td>218<td>0 - 0</td>219<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">18931</span></td>220</tr>221<tr>222<td>2001-01-01</td>223<td>grimsby town</td>224<td>h</td>225<td>1 - 0</td>226<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">17004</span></td>227</tr>228<tr>229<td>2001-01-13</td>230<td>blackburn rovers</td>231<td>a</td>232<td>0 - 2</td>233<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">19308</span></td>234</tr>235<tr>236<td>2001-01-20</td>237<td>bolton wanderers</td>238<td>h</td>239<td>0 - 3</td>240<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">17638</span></td>241</tr>242<tr>243<td>2001-02-03</td>244<td>watford</td>245<td>h</td>246<td>2 - 3</td>247<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">16134</span></td>248</tr>249<tr>250<td>2001-02-10</td>251<td>wimbledon</td>252<td>a</td>253<td>1 - 4</td>254<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">6741</span></td>255</tr>256<tr>257<td>2001-02-13</td>258<td>tranmere rovers</td>259<td>h</td>260<td>1 - 0</td>261<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">15444</span></td>262</tr>263<tr>264<td>2001-02-21</td>265<td>nottingham forest</td>266<td>a</td>267<td>1 - 0</td>268<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">23266</span></td>269</tr>270<tr>271<td>2001-02-24</td>272<td>preston north end</td>273<td>a</td>274<td>0 - 2</td>275<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">14379</span></td>276</tr>277<tr>278<td>2001-03-03</td>279<td>gillingham</td>280<td>h</td>281<td>2 - 1</td>282<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">18702</span></td>283</tr>284<tr>285<td>2001-03-07</td>286<td>portsmouth</td>287<td>h</td>288<td>0 - 0</td>289<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">20503</span></td>290</tr>291<tr>292<td>2001-03-10</td>293<td>west bromwich albion</td>294<td>a</td>295<td>2 - 1</td>296<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">18662</span></td>297</tr>298<tr>299<td>2001-03-17</td>300<td>burnley</td>301<td>h</td>302<td>2 - 0</td>303<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">20184</span></td>304</tr>305<tr>306<td>2001-03-24</td>307<td>birmingham city</td>308<td>a</td>309<td>2 - 1</td>310<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">19733</span></td>311</tr>312<tr>313<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2001-04-01</span></td>314<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">sheffield united</span></td>315<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">h</span></td>316<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1 - 2</span></td>317<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">38433</span></td>318</tr>319<tr>320<td>2001-04-07</td>321<td>stockport county</td>322<td>a</td>323<td>1 - 2</td>324<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9666</span></td>325</tr>326<tr>327<td>2001-04-14</td>328<td>crystal palace</td>329<td>h</td>330<td>4 - 1</td>331<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">19877</span></td>332</tr>333<tr>334<td>2001-04-16</td>335<td>fulham</td>336<td>a</td>337<td>1 - 1</td>338<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">17500</span></td>339</tr>340<tr>341<td>2001-04-21</td>342<td>barnsley</td>343<td>h</td>344<td>2 - 1</td>345<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">23498</span></td>346</tr>347<tr>348<td>2001-04-28</td>349<td>norwich city</td>350<td>a</td>351<td>0 - 1</td>352<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">21241</span></td>353</tr>354<tr>355<td>2001-05-06</td>356<td>crewe alexandra</td>357<td>h</td>358<td>0 - 0</td>359<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">28007</span></td>360</tr>361</table>362</div>363<hr>364<div class="step">365<div class="step-title">Step 2: Select rows where 'opponent' is 'birmingham city'.</div>366<div id="step-0" class="content">367<table>368<tr>369<td>date</td>370<td>opponent</td>371<td>venue</td>372<td>result</td>373<td>attendance</td>374</tr>375<tr>376<td>2001-04-01</td>377<td>sheffield united</td>378<td>h</td>379<td>1 - 2</td>380<td>38433</td>381</tr>382</table>383</div>384</div>385<hr>386<div class="step">387<div class="step-title">Step 3: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>388<div id="step-1" class="content">389<table>390<tr>391<td>date</td>392<td>opponent</td>393<td>venue</td>394<td>result</td>395<td>attendance</td>396</tr>397</table>398</div>399</div>400<hr>401<div class="step">402<div class="step-title">Final output table:</div>403<div id="step-2" class="content">404<table>405<tr>406<td>verification_result</td>407</tr>408<tr>409<td>FALSE</td>410</tr>411</table>412</div>413</div>414<hr>415<div class="step"><h3><span class="true">Prediction: FALSE </span></h3>416<h3>Ground-truth:</span> FALSE</h3></div>417</body></html>418