Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-694.html283 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> paul brown stadium had 65677 in attendance on december 19 , 2004</h3>25<h3>Ground-truth:</span> FALSE</h3>26<h3>Input Table: 2004 cleveland browns season</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'stadium' is 'paul brown stadium'.</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>stadium</td>38<td>record</td>39<td>attendance</td>40</tr>41<tr>42<td>1</td>43<td>2004-09-12</td>44<td>baltimore ravens</td>45<td>w 20 - 3</td>46<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">cleveland browns stadium</span></td>47<td>1 - 0</td>48<td>73068.0</td>49</tr>50<tr>51<td>2</td>52<td>2004-09-19</td>53<td>dallas cowboys</td>54<td>l 12 - 19</td>55<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">texas stadium</span></td>56<td>1 - 1</td>57<td>63119.0</td>58</tr>59<tr>60<td>3</td>61<td>2004-09-26</td>62<td>new york giants</td>63<td>l 10 - 27</td>64<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">giants stadium</span></td>65<td>1 - 2</td>66<td>78521.0</td>67</tr>68<tr>69<td>4</td>70<td>2004-10-03</td>71<td>washington redskins</td>72<td>w 17 - 13</td>73<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">cleveland browns stadium</span></td>74<td>2 - 2</td>75<td>73348.0</td>76</tr>77<tr>78<td>5</td>79<td>2004-10-10</td>80<td>pittsburgh steelers</td>81<td>l 23 - 34</td>82<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">heinz field</span></td>83<td>2 - 3</td>84<td>63609.0</td>85</tr>86<tr>87<td>6</td>88<td>2004-10-17</td>89<td>cincinnati bengals</td>90<td>w 34 - 17</td>91<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">cleveland browns stadium</span></td>92<td>3 - 3</td>93<td>73263.0</td>94</tr>95<tr>96<td>7</td>97<td>2004-10-24</td>98<td>philadelphia eagles</td>99<td>l 31 - 34</td>100<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">cleveland browns stadium</span></td>101<td>3 - 4</td>102<td>73394.0</td>103</tr>104<tr>105<td>8</td>106<td>9999-01-01</td>107<td>-</td>108<td>-</td>109<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">-</span></td>110<td>-</td>111<td>nan</td>112</tr>113<tr>114<td>9</td>115<td>2004-11-07</td>116<td>baltimore ravens</td>117<td>l 13 - 27</td>118<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">m&t bank stadium</span></td>119<td>3 - 5</td>120<td>69781.0</td>121</tr>122<tr>123<td>10</td>124<td>2004-11-14</td>125<td>pittsburgh steelers</td>126<td>l 10 - 24</td>127<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">cleveland browns stadium</span></td>128<td>3 - 6</td>129<td>73703.0</td>130</tr>131<tr>132<td>11</td>133<td>2004-11-21</td>134<td>new york jets</td>135<td>l 7 - 10</td>136<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">cleveland browns stadium</span></td>137<td>3 - 7</td>138<td>72547.0</td>139</tr>140<tr>141<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">12</span></td>142<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2004-11-28</span></td>143<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">cincinnati bengals</span></td>144<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">l 48 - 58</span></td>145<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">paul brown stadium</span></td>146<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3 - 8</span></td>147<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">65677.0</span></td>148</tr>149<tr>150<td>13</td>151<td>2004-12-05</td>152<td>new england patriots</td>153<td>l 15 - 42</td>154<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">cleveland browns stadium</span></td>155<td>3 - 9</td>156<td>73028.0</td>157</tr>158<tr>159<td>14</td>160<td>2004-12-12</td>161<td>buffalo bills</td>162<td>l 7 - 37</td>163<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ralph wilson stadium</span></td>164<td>3 - 10</td>165<td>72330.0</td>166</tr>167<tr>168<td>15</td>169<td>2004-12-19</td>170<td>san diego chargers</td>171<td>l 0 - 21</td>172<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">cleveland browns stadium</span></td>173<td>3 - 11</td>174<td>72489.0</td>175</tr>176<tr>177<td>16</td>178<td>2004-12-26</td>179<td>miami dolphins</td>180<td>l 7 - 10</td>181<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">pro player stadium</span></td>182<td>3 - 12</td>183<td>73169.0</td>184</tr>185<tr>186<td>17</td>187<td>2005-01-02</td>188<td>houston texans</td>189<td>w 22 - 14</td>190<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">reliant stadium</span></td>191<td>4 - 12</td>192<td>70724.0</td>193</tr>194</table>195</div>196<hr>197<div class="step">198<div class="step-title">Step 2: Select rows where 'attendance' is 65677.</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>stadium</td>207<td>record</td>208<td>attendance</td>209</tr>210<tr>211<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">12</span></td>212<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2004-11-28</span></td>213<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">cincinnati bengals</span></td>214<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">l 48 - 58</span></td>215<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">paul brown stadium</span></td>216<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3 - 8</span></td>217<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">65677.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 'date' is '2004-12-19'.</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>stadium</td>233<td>record</td>234<td>attendance</td>235</tr>236<tr>237<td>12</td>238<td>2004-11-28</td>239<td>cincinnati bengals</td>240<td>l 48 - 58</td>241<td>paul brown stadium</td>242<td>3 - 8</td>243<td>65677.0</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>stadium</td>259<td>record</td>260<td>attendance</td>261</tr>262</table>263</div>264</div>265<hr>266<div class="step">267<div class="step-title">Final output table:</div>268<div id="step-3" class="content">269<table>270<tr>271<td>verification_result</td>272</tr>273<tr>274<td>FALSE</td>275</tr>276</table>277</div>278</div>279<hr>280<div class="step"><h3><span class="true">Prediction: FALSE </span></h3>281<h3>Ground-truth:</span> FALSE</h3></div>282</body></html>283