Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-918.html372 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<h1 class="pos-title">Plan-of-SQLs (Ours)</h1>23<hr>24<h3><span>Statement:</span> september 25th game was against the orioles the final score was 4 - 3 , 28324 fans were in attendance</h3>25<h3>Ground-truth:</span> TRUE</h3>26<h3>Input Table: 1997 toronto blue jays season</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'date' is '9999-09-25'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>date</td>34<td>opponent</td>35<td>score</td>36<td>loss</td>37<td>attendance</td>38<td>record</td>39</tr>40<tr>41<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-09-01</span></td>42<td>mets</td>43<td>3 - 0</td>44<td>hentgen (14 - 9)</td>45<td>19196</td>46<td>65 - 71</td>47</tr>48<tr>49<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-09-02</span></td>50<td>mets</td>51<td>8 - 5</td>52<td>clemens (20 - 5)</td>53<td>17635</td>54<td>65 - 72</td>55</tr>56<tr>57<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-09-03</span></td>58<td>mets</td>59<td>4 - 2</td>60<td>quantrill (6 - 6)</td>61<td>14513</td>62<td>65 - 73</td>63</tr>64<tr>65<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-09-04</span></td>66<td>rangers</td>67<td>6 - 2</td>68<td>carpenter (1 - 7)</td>69<td>26178</td>70<td>65 - 74</td>71</tr>72<tr>73<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-09-05</span></td>74<td>rangers</td>75<td>5 - 1</td>76<td>pavlik (2 - 4)</td>77<td>27121</td>78<td>66 - 74</td>79</tr>80<tr>81<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-09-06</span></td>82<td>rangers</td>83<td>2 - 1</td>84<td>burkett (7 - 12)</td>85<td>31232</td>86<td>67 - 74</td>87</tr>88<tr>89<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-09-07</span></td>90<td>rangers</td>91<td>4 - 0</td>92<td>oliver (11 - 11)</td>93<td>30212</td>94<td>68 - 74</td>95</tr>96<tr>97<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-09-08</span></td>98<td>angels</td>99<td>12 - 10</td>100<td>james (4 - 5)</td>101<td>25775</td>102<td>69 - 74</td>103</tr>104<tr>105<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-09-09</span></td>106<td>angels</td>107<td>2 - 0</td>108<td>hill (7 - 12)</td>109<td>25674</td>110<td>70 - 74</td>111</tr>112<tr>113<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-09-10</span></td>114<td>athletics</td>115<td>3 - 2</td>116<td>plesac (1 - 4)</td>117<td>4764</td>118<td>70 - 75</td>119</tr>120<tr>121<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-09-11</span></td>122<td>athletics</td>123<td>8 - 7</td>124<td>escobar (2 - 1)</td>125<td>6135</td>126<td>70 - 76</td>127</tr>128<tr>129<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-09-12</span></td>130<td>mariners</td>131<td>7 - 3</td>132<td>clemens (21 - 6)</td>133<td>37044</td>134<td>70 - 77</td>135</tr>136<tr>137<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-09-13</span></td>138<td>mariners</td>139<td>6 - 3</td>140<td>ayala (10 - 5)</td>141<td>51631</td>142<td>71 - 77</td>143</tr>144<tr>145<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-09-14</span></td>146<td>mariners</td>147<td>3 - 2</td>148<td>risley (0 - 1)</td>149<td>45477</td>150<td>71 - 78</td>151</tr>152<tr>153<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-09-15</span></td>154<td>mariners</td>155<td>7 - 3</td>156<td>williams (8 - 14)</td>157<td>41684</td>158<td>71 - 79</td>159</tr>160<tr>161<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-09-17</span></td>162<td>red sox</td>163<td>4 - 3</td>164<td>quantrill (6 - 7)</td>165<td>23648</td>166<td>71 - 80</td>167</tr>168<tr>169<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-09-18</span></td>170<td>red sox</td>171<td>3 - 2</td>172<td>escobar (3 - 2)</td>173<td>27990</td>174<td>71 - 81</td>175</tr>176<tr>177<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-09-19</span></td>178<td>yankees</td>179<td>3 - 0</td>180<td>gooden (8 - 5)</td>181<td>31195</td>182<td>72 - 81</td>183</tr>184<tr>185<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-09-20</span></td>186<td>yankees</td>187<td>4 - 3 (11)</td>188<td>janzen (1 - 1)</td>189<td>38332</td>190<td>72 - 82</td>191</tr>192<tr>193<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-09-21</span></td>194<td>yankees</td>195<td>5 - 4 (10)</td>196<td>almanzar (0 - 1)</td>197<td>40038</td>198<td>72 - 83</td>199</tr>200<tr>201<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-09-22</span></td>202<td>yankees</td>203<td>8 - 1</td>204<td>hentgen (15 - 10)</td>205<td>23380</td>206<td>72 - 84</td>207</tr>208<tr>209<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-09-23</span></td>210<td>orioles</td>211<td>3 - 2</td>212<td>clemens (21 - 7)</td>213<td>29276</td>214<td>72 - 85</td>215</tr>216<tr>217<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-09-24</span></td>218<td>orioles</td>219<td>9 - 3</td>220<td>daal (1 - 1)</td>221<td>27443</td>222<td>72 - 86</td>223</tr>224<tr>225<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">9999-09-25</span></td>226<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">orioles</span></td>227<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4 - 3</span></td>228<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mussina (15 - 8)</span></td>229<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">28324</span></td>230<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">73 - 86</span></td>231</tr>232<tr>233<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-09-26</span></td>234<td>red sox</td>235<td>3 - 0</td>236<td>henry (7 - 3)</td>237<td>34155</td>238<td>74 - 86</td>239</tr>240<tr>241<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-09-27</span></td>242<td>red sox</td>243<td>12 - 5</td>244<td>corsi (5 - 3)</td>245<td>37401</td>246<td>75 - 86</td>247</tr>248<tr>249<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-09-28</span></td>250<td>red sox</td>251<td>3 - 2</td>252<td>gordon (6 - 10)</td>253<td>40251</td>254<td>76 - 86</td>255</tr>256</table>257</div>258<hr>259<div class="step">260<div class="step-title">Step 2: Select rows where 'opponent' is 'orioles'.</div>261<div id="step-0" class="content">262<table>263<tr>264<td>date</td>265<td>opponent</td>266<td>score</td>267<td>loss</td>268<td>attendance</td>269<td>record</td>270</tr>271<tr>272<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-09-25</span></td>273<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">orioles</span></td>274<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4 - 3</span></td>275<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mussina (15 - 8)</span></td>276<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">28324</span></td>277<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">73 - 86</span></td>278</tr>279</table>280</div>281</div>282<hr>283<div class="step">284<div class="step-title">Step 3: Select rows where 'score' is '4 - 3'.</div>285<div id="step-1" class="content">286<table>287<tr>288<td>date</td>289<td>opponent</td>290<td>score</td>291<td>loss</td>292<td>attendance</td>293<td>record</td>294</tr>295<tr>296<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-09-25</span></td>297<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">orioles</span></td>298<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">4 - 3</span></td>299<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mussina (15 - 8)</span></td>300<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">28324</span></td>301<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">73 - 86</span></td>302</tr>303</table>304</div>305</div>306<hr>307<div class="step">308<div class="step-title">Step 4: Select rows where 'attendance' is 28324.</div>309<div id="step-2" class="content">310<table>311<tr>312<td>date</td>313<td>opponent</td>314<td>score</td>315<td>loss</td>316<td>attendance</td>317<td>record</td>318</tr>319<tr>320<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-09-25</span></td>321<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">orioles</span></td>322<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4 - 3</span></td>323<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mussina (15 - 8)</span></td>324<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">28324</span></td>325<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">73 - 86</span></td>326</tr>327</table>328</div>329</div>330<hr>331<div class="step">332<div class="step-title">Step 5: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>333<div id="step-3" class="content">334<table>335<tr>336<td>date</td>337<td>opponent</td>338<td>score</td>339<td>loss</td>340<td>attendance</td>341<td>record</td>342</tr>343<tr>344<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">9999-09-25</span></td>345<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">orioles</span></td>346<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">4 - 3</span></td>347<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">mussina (15 - 8)</span></td>348<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">28324</span></td>349<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">73 - 86</span></td>350</tr>351</table>352</div>353</div>354<hr>355<div class="step">356<div class="step-title">Final output table:</div>357<div id="step-4" class="content">358<table>359<tr>360<td>verification_result</td>361</tr>362<tr>363<td>TRUE</td>364</tr>365</table>366</div>367</div>368<hr>369<div class="step"><h3><span class="true">Prediction: TRUE </span></h3>370<h3>Ground-truth:</span> TRUE</h3></div>371</body></html>372