Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1370.html272 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 tv series dexter had more than a dozen episodes in its third season</h3>25<h3>Ground-truth:</span> FALSE</h3>26<h3>Input Table: dexter (season 3)</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'no_in_season' is not null.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>no_in_series</td>34<td>no_in_season</td>35<td>title</td>36<td>directed_by</td>37<td>written_by</td>38<td>original_air_date</td>39<td>us_viewers__millions</td>40</tr>41<tr>42<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">25</span></td>43<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1</span></td>44<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">our father</span></td>45<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">keith gordon</span></td>46<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">clyde phillips</span></td>47<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2008-09-28</span></td>48<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">n / a</span></td>49</tr>50<tr>51<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">26</span></td>52<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2</span></td>53<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">finding freebo</span></td>54<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">marcos siega</span></td>55<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">melissa rosenberg</span></td>56<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2008-10-05</span></td>57<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0.79</span></td>58</tr>59<tr>60<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">27</span></td>61<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">3</span></td>62<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">the lion sleeps tonight</span></td>63<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">john dahl</span></td>64<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">scott buck</span></td>65<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2008-10-12</span></td>66<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">n / a</span></td>67</tr>68<tr>69<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">28</span></td>70<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">4</span></td>71<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">all in the family</span></td>72<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">keith gordon</span></td>73<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">adam e fierro</span></td>74<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2008-10-19</span></td>75<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0.86</span></td>76</tr>77<tr>78<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">29</span></td>79<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">5</span></td>80<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">turning biminese</span></td>81<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">marcos siega</span></td>82<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">tim schlattmann</span></td>83<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2008-10-26</span></td>84<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">n / a</span></td>85</tr>86<tr>87<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">30</span></td>88<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">6</span></td>89<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">sã­ se puede</span></td>90<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ernest dickerson</span></td>91<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">charles h eglee</span></td>92<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2008-11-02</span></td>93<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">n / a</span></td>94</tr>95<tr>96<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">31</span></td>97<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">7</span></td>98<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">easy as pie</span></td>99<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">steve shill</span></td>100<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">lauren gussis</span></td>101<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2008-11-09</span></td>102<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">n / a</span></td>103</tr>104<tr>105<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">32</span></td>106<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">8</span></td>107<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">the damage a man can do</span></td>108<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">marcos siega</span></td>109<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">scott buck</span></td>110<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2008-11-16</span></td>111<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">n / a</span></td>112</tr>113<tr>114<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">34</span></td>115<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">10</span></td>116<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">go your own way</span></td>117<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">john dahl</span></td>118<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">tim schlattmann</span></td>119<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2008-11-30</span></td>120<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">n / a</span></td>121</tr>122<tr>123<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">35</span></td>124<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">11</span></td>125<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">i had a dream</span></td>126<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">marcos siega</span></td>127<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">charles h eglee and lauren gussis</span></td>128<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2008-12-07</span></td>129<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">n / a</span></td>130</tr>131</table>132</div>133<hr>134<div class="step">135<div class="step-title">Step 2: Count the number of rows.</div>136<div id="step-0" class="content">137<table>138<tr>139<td>no_in_series</td>140<td>no_in_season</td>141<td>title</td>142<td>directed_by</td>143<td>written_by</td>144<td>original_air_date</td>145<td>us_viewers__millions</td>146</tr>147<tr>148<td>25</td>149<td>1</td>150<td>our father</td>151<td>keith gordon</td>152<td>clyde phillips</td>153<td>2008-09-28</td>154<td>n / a</td>155</tr>156<tr>157<td>26</td>158<td>2</td>159<td>finding freebo</td>160<td>marcos siega</td>161<td>melissa rosenberg</td>162<td>2008-10-05</td>163<td>0.79</td>164</tr>165<tr>166<td>27</td>167<td>3</td>168<td>the lion sleeps tonight</td>169<td>john dahl</td>170<td>scott buck</td>171<td>2008-10-12</td>172<td>n / a</td>173</tr>174<tr>175<td>28</td>176<td>4</td>177<td>all in the family</td>178<td>keith gordon</td>179<td>adam e fierro</td>180<td>2008-10-19</td>181<td>0.86</td>182</tr>183<tr>184<td>29</td>185<td>5</td>186<td>turning biminese</td>187<td>marcos siega</td>188<td>tim schlattmann</td>189<td>2008-10-26</td>190<td>n / a</td>191</tr>192<tr>193<td>30</td>194<td>6</td>195<td>sã­ se puede</td>196<td>ernest dickerson</td>197<td>charles h eglee</td>198<td>2008-11-02</td>199<td>n / a</td>200</tr>201<tr>202<td>31</td>203<td>7</td>204<td>easy as pie</td>205<td>steve shill</td>206<td>lauren gussis</td>207<td>2008-11-09</td>208<td>n / a</td>209</tr>210<tr>211<td>32</td>212<td>8</td>213<td>the damage a man can do</td>214<td>marcos siega</td>215<td>scott buck</td>216<td>2008-11-16</td>217<td>n / a</td>218</tr>219<tr>220<td>34</td>221<td>10</td>222<td>go your own way</td>223<td>john dahl</td>224<td>tim schlattmann</td>225<td>2008-11-30</td>226<td>n / a</td>227</tr>228<tr>229<td>35</td>230<td>11</td>231<td>i had a dream</td>232<td>marcos siega</td>233<td>charles h eglee and lauren gussis</td>234<td>2008-12-07</td>235<td>n / a</td>236</tr>237</table>238</div>239</div>240<hr>241<div class="step">242<div class="step-title">Step 3: Use a `CASE` statement to return TRUE if the number of rows is greater than 12, otherwise return FALSE.</div>243<div id="step-1" class="content">244<table>245<tr>246<td>row_count</td>247</tr>248<tr>249<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">10</span></td>250</tr>251</table>252</div>253</div>254<hr>255<div class="step">256<div class="step-title">Final output table:</div>257<div id="step-2" class="content">258<table>259<tr>260<td>verification_result</td>261</tr>262<tr>263<td>FALSE</td>264</tr>265</table>266</div>267</div>268<hr>269<div class="step"><h3><span class="true">Prediction: FALSE </span></h3>270<h3>Ground-truth:</span> FALSE</h3></div>271</body></html>272