Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1247.html292 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> 66189 people attended the new orleans saints game with a record of 6 - 1</h3>25<h3>Ground-truth:</span> TRUE</h3>26<h3>Input Table: 2001 st. louis rams season</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'attendance' is 66189.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>week</td>34<td>date</td>35<td>opponent</td>36<td>result</td>37<td>record</td>38<td>tv_time</td>39<td>attendance</td>40</tr>41<tr>42<td>1</td>43<td>2001-09-09</td>44<td>philadelphia eagles</td>45<td>w 20 - 17 (ot)</td>46<td>1 - 0</td>47<td>fox 3:15 pm</td>48<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">66243.0</span></td>49</tr>50<tr>51<td>2</td>52<td>2001-09-23</td>53<td>san francisco 49ers</td>54<td>w 30 - 26</td>55<td>2 - 0</td>56<td>fox 3:15 pm</td>57<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">67536.0</span></td>58</tr>59<tr>60<td>3</td>61<td>2001-09-30</td>62<td>miami dolphins</td>63<td>w 42 - 10</td>64<td>3 - 0</td>65<td>cbs 12:00 pm</td>66<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">66046.0</span></td>67</tr>68<tr>69<td>4</td>70<td>2001-10-08</td>71<td>detroit lions</td>72<td>w 35 - 0</td>73<td>4 - 0</td>74<td>abc 8:00 pm</td>75<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">77765.0</span></td>76</tr>77<tr>78<td>5</td>79<td>2001-10-14</td>80<td>new york giants</td>81<td>w 15 - 14</td>82<td>5 - 0</td>83<td>fox 12:00 pm</td>84<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">65992.0</span></td>85</tr>86<tr>87<td>6</td>88<td>2001-10-21</td>89<td>new york jets</td>90<td>w 34 - 14</td>91<td>6 - 0</td>92<td>fox 12:00 pm</td>93<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">78766.0</span></td>94</tr>95<tr>96<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">7</span></td>97<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2001-10-28</span></td>98<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">new orleans saints</span></td>99<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">l 34 - 31</span></td>100<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">6 - 1</span></td>101<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">fox 12:00 pm</span></td>102<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">66189.0</span></td>103</tr>104<tr>105<td>8</td>106<td>9999-01-01</td>107<td>-</td>108<td>-</td>109<td>-</td>110<td>-</td>111<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">nan</span></td>112</tr>113<tr>114<td>9</td>115<td>2001-11-11</td>116<td>carolina panthers</td>117<td>w 48 - 14</td>118<td>7 - 1</td>119<td>fox 12:00 pm</td>120<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">66069.0</span></td>121</tr>122<tr>123<td>10</td>124<td>2001-11-18</td>125<td>new england patriots</td>126<td>w 24 - 17</td>127<td>8 - 1</td>128<td>espn 7:30 pm</td>129<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">60292.0</span></td>130</tr>131<tr>132<td>11</td>133<td>2001-11-26</td>134<td>tampa bay buccaneers</td>135<td>l 24 - 17</td>136<td>8 - 2</td>137<td>abc 8:00 pm</td>138<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">66198.0</span></td>139</tr>140<tr>141<td>12</td>142<td>2001-12-02</td>143<td>atlanta falcons</td>144<td>w 35 - 6</td>145<td>9 - 2</td>146<td>fox 3:15 pm</td>147<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">60787.0</span></td>148</tr>149<tr>150<td>13</td>151<td>2001-12-09</td>152<td>san francisco 49ers</td>153<td>w 27 - 14</td>154<td>10 - 2</td>155<td>fox 12:00 pm</td>156<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">66218.0</span></td>157</tr>158<tr>159<td>14</td>160<td>2001-12-17</td>161<td>new orleans saints</td>162<td>w 34 - 21</td>163<td>11 - 2</td>164<td>abc 8:00 pm</td>165<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">70332.0</span></td>166</tr>167<tr>168<td>15</td>169<td>2001-12-23</td>170<td>carolina panthers</td>171<td>w 38 - 32</td>172<td>12 - 2</td>173<td>fox 12:00 pm</td>174<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">72438.0</span></td>175</tr>176<tr>177<td>16</td>178<td>2001-12-30</td>179<td>indianapolis colts</td>180<td>w 42 - 17</td>181<td>13 - 2</td>182<td>cbs 12:00 pm</td>183<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">66084.0</span></td>184</tr>185<tr>186<td>17</td>187<td>2002-01-06</td>188<td>atlanta falcons</td>189<td>w 31 - 13</td>190<td>14 - 2</td>191<td>fox 3:15 pm</td>192<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">66033.0</span></td>193</tr>194</table>195</div>196<hr>197<div class="step">198<div class="step-title">Step 2: Select rows where 'opponent' is 'new orleans saints'.</div>199<div id="step-0" class="content">200<table>201<tr>202<td>week</td>203<td>date</td>204<td>opponent</td>205<td>result</td>206<td>record</td>207<td>tv_time</td>208<td>attendance</td>209</tr>210<tr>211<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">7</span></td>212<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2001-10-28</span></td>213<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">new orleans saints</span></td>214<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">l 34 - 31</span></td>215<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">6 - 1</span></td>216<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">fox 12:00 pm</span></td>217<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">66189.0</span></td>218</tr>219</table>220</div>221</div>222<hr>223<div class="step">224<div class="step-title">Step 3: Select rows where 'record' is '6 - 1'.</div>225<div id="step-1" class="content">226<table>227<tr>228<td>week</td>229<td>date</td>230<td>opponent</td>231<td>result</td>232<td>record</td>233<td>tv_time</td>234<td>attendance</td>235</tr>236<tr>237<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">7</span></td>238<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2001-10-28</span></td>239<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">new orleans saints</span></td>240<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">l 34 - 31</span></td>241<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">6 - 1</span></td>242<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">fox 12:00 pm</span></td>243<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">66189.0</span></td>244</tr>245</table>246</div>247</div>248<hr>249<div class="step">250<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>251<div id="step-2" class="content">252<table>253<tr>254<td>week</td>255<td>date</td>256<td>opponent</td>257<td>result</td>258<td>record</td>259<td>tv_time</td>260<td>attendance</td>261</tr>262<tr>263<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">7</span></td>264<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2001-10-28</span></td>265<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">new orleans saints</span></td>266<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">l 34 - 31</span></td>267<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">6 - 1</span></td>268<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">fox 12:00 pm</span></td>269<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">66189.0</span></td>270</tr>271</table>272</div>273</div>274<hr>275<div class="step">276<div class="step-title">Final output table:</div>277<div id="step-3" class="content">278<table>279<tr>280<td>verification_result</td>281</tr>282<tr>283<td>TRUE</td>284</tr>285</table>286</div>287</div>288<hr>289<div class="step"><h3><span class="true">Prediction: TRUE </span></h3>290<h3>Ground-truth:</span> TRUE</h3></div>291</body></html>292