Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-714.html404 linesDownload Raw Back to FN
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> carlos cuéllar had the highest transfer fee of any player at 7.8 m</h3>25<h3>Ground-truth:</span> TRUE</h3>26<h3>Input Table: 2008 - 09 rangers f.c. season</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'type' is 'transfer'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>nat</td>34<td>name</td>35<td>moving_to</td>36<td>type</td>37<td>transfer_window</td>38<td>transfer_fee</td>39</tr>40<tr>41<td>sco</td>42<td>nicholas gallacher</td>43<td>motherwell</td>44<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">end of contract</span></td>45<td>summer</td>46<td>n / a</td>47</tr>48<tr>49<td>ivory coast</td>50<td>lacine cherif</td>51<td>kilmarnock</td>52<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">end of contract</span></td>53<td>summer</td>54<td>n / a</td>55</tr>56<tr>57<td>sco</td>58<td>alistair park</td>59<td>hibernian</td>60<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">end of contract</span></td>61<td>summer</td>62<td>n / a</td>63</tr>64<tr>65<td>eng</td>66<td>michael donald</td>67<td>free agent</td>68<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">end of contract</span></td>69<td>summer</td>70<td>n / a</td>71</tr>72<tr>73<td>sco</td>74<td>calum reidford</td>75<td>dunfermline athletic</td>76<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">end of contract</span></td>77<td>summer</td>78<td>n / a</td>79</tr>80<tr>81<td>sco</td>82<td>chris smith</td>83<td>greenock morton</td>84<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">end of contract</span></td>85<td>summer</td>86<td>n / a</td>87</tr>88<tr>89<td>bel</td>90<td>jeroen van den broeck</td>91<td>agovv</td>92<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">end of contract</span></td>93<td>summer</td>94<td>n / a</td>95</tr>96<tr>97<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">slovakia</span></td>98<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">filip šebo</span></td>99<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">valenciennes</span></td>100<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">transfer</span></td>101<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">summer</span></td>102<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1 m</span></td>103</tr>104<tr>105<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">bel</span></td>106<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">thomas buffel</span></td>107<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">cerclebrugge</span></td>108<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">transfer</span></td>109<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">summer</span></td>110<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">n / a</span></td>111</tr>112<tr>113<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">esp</span></td>114<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">carlos cuéllar</span></td>115<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">aston villa</span></td>116<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">transfer</span></td>117<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">summer</span></td>118<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">7.8 m</span></td>119</tr>120<tr>121<td>sco</td>122<td>steven lennon</td>123<td>partick thistle</td>124<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">loan</span></td>125<td>summer</td>126<td>n / a</td>127</tr>128<tr>129<td>sco</td>130<td>mark weir</td>131<td>kilmarnock</td>132<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">loan</span></td>133<td>summer</td>134<td>n / a</td>135</tr>136<tr>137<td>sco</td>138<td>andy webster</td>139<td>bristol city</td>140<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">loan</span></td>141<td>summer</td>142<td>n / a</td>143</tr>144<tr>145<td>rsa</td>146<td>dean furman</td>147<td>bradford city</td>148<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">loan</span></td>149<td>summer</td>150<td>n / a</td>151</tr>152<tr>153<td>sco</td>154<td>alan lowing</td>155<td>clyde</td>156<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">loan</span></td>157<td>summer</td>158<td>n / a</td>159</tr>160<tr>161<td>sco</td>162<td>paul emslie</td>163<td>clyde</td>164<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">loan</span></td>165<td>summer</td>166<td>n / a</td>167</tr>168<tr>169<td>sco</td>170<td>scott gallacher</td>171<td>cowdenbeath</td>172<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">loan</span></td>173<td>summer</td>174<td>n / a</td>175</tr>176<tr>177<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">gabon</span></td>178<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">daniel cousin</span></td>179<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">hull city</span></td>180<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">transfer</span></td>181<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">summer</span></td>182<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3.5 m</span></td>183</tr>184<tr>185<td>sco</td>186<td>alan gow</td>187<td>blackpool</td>188<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">loan</span></td>189<td>summer</td>190<td>n / a</td>191</tr>192<tr>193<td>eng</td>194<td>lee robinson</td>195<td>st johnstone</td>196<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">loan</span></td>197<td>n / a</td>198<td>n / a</td>199</tr>200<tr>201<td>sco</td>202<td>andrew shinnie</td>203<td>dundee</td>204<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">loan</span></td>205<td>n / a</td>206<td>n / a</td>207</tr>208<tr>209<td>sco</td>210<td>steven kinniburgh</td>211<td>queen of the south</td>212<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">loan</span></td>213<td>n / a</td>214<td>n / a</td>215</tr>216<tr>217<td>sco</td>218<td>rory loy</td>219<td>dunfermline athletic</td>220<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">loan</span></td>221<td>n / a</td>222<td>n / a</td>223</tr>224<tr>225<td>sco</td>226<td>william mclachlan</td>227<td>airdrie united</td>228<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">loan</span></td>229<td>n / a</td>230<td>n / a</td>231</tr>232<tr>233<td>sco</td>234<td>lee robinson</td>235<td>queen of the south</td>236<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">loan</span></td>237<td>n / a</td>238<td>n / a</td>239</tr>240<tr>241<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">fra</span></td>242<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jean - claude darcheville</span></td>243<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">valenciennes</span></td>244<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">transfer</span></td>245<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">winter</span></td>246<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">free</span></td>247</tr>248<tr>249<td>sco</td>250<td>jordan mcmillan</td>251<td>hamilton academical</td>252<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">loan</span></td>253<td>winter</td>254<td>n / a</td>255</tr>256<tr>257<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">sco</span></td>258<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">chris burke</span></td>259<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">cardiff city</span></td>260<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">transfer</span></td>261<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">winter</span></td>262<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">free</span></td>263</tr>264<tr>265<td>cyp</td>266<td>georgios efrem</td>267<td>dundee</td>268<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">loan</span></td>269<td>winter</td>270<td>n / a</td>271</tr>272<tr>273<td>sco</td>274<td>alan gow</td>275<td>norwich city</td>276<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">loan</span></td>277<td>winter</td>278<td>n / a</td>279</tr>280<tr>281<td>sco</td>282<td>charlie adam</td>283<td>blackpool</td>284<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">loan</span></td>285<td>winter</td>286<td>n / a</td>287</tr>288<tr>289<td>sco</td>290<td>ross harvey</td>291<td>brechin city</td>292<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">loan</span></td>293<td>n / a</td>294<td>n / a</td>295</tr>296<tr>297<td>sco</td>298<td>steven kinniburgh</td>299<td>st johnstone</td>300<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">loan</span></td>301<td>n / a</td>302<td>n / a</td>303</tr>304</table>305</div>306<hr>307<div class="step">308<div class="step-title">Step 2: Select rows where 'transfer_fee' is greater than 7.8.</div>309<div id="step-0" class="content">310<table>311<tr>312<td>nat</td>313<td>name</td>314<td>moving_to</td>315<td>type</td>316<td>transfer_window</td>317<td>transfer_fee</td>318</tr>319<tr>320<td>slovakia</td>321<td>filip šebo</td>322<td>valenciennes</td>323<td>transfer</td>324<td>summer</td>325<td>1 m</td>326</tr>327<tr>328<td>bel</td>329<td>thomas buffel</td>330<td>cerclebrugge</td>331<td>transfer</td>332<td>summer</td>333<td>n / a</td>334</tr>335<tr>336<td>esp</td>337<td>carlos cuéllar</td>338<td>aston villa</td>339<td>transfer</td>340<td>summer</td>341<td>7.8 m</td>342</tr>343<tr>344<td>gabon</td>345<td>daniel cousin</td>346<td>hull city</td>347<td>transfer</td>348<td>summer</td>349<td>3.5 m</td>350</tr>351<tr>352<td>fra</td>353<td>jean - claude darcheville</td>354<td>valenciennes</td>355<td>transfer</td>356<td>winter</td>357<td>free</td>358</tr>359<tr>360<td>sco</td>361<td>chris burke</td>362<td>cardiff city</td>363<td>transfer</td>364<td>winter</td>365<td>free</td>366</tr>367</table>368</div>369</div>370<hr>371<div class="step">372<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>373<div id="step-1" class="content">374<table>375<tr>376<td>nat</td>377<td>name</td>378<td>moving_to</td>379<td>type</td>380<td>transfer_window</td>381<td>transfer_fee</td>382</tr>383</table>384</div>385</div>386<hr>387<div class="step">388<div class="step-title">Final output table:</div>389<div id="step-2" class="content">390<table>391<tr>392<td>verification_result</td>393</tr>394<tr>395<td>FALSE</td>396</tr>397</table>398</div>399</div>400<hr>401<div class="step"><h3><span class="false">Prediction: FALSE </span></h3>402<h3>Ground-truth:</span> TRUE</h3></div>403</body></html>404