Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-432.html281 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 series number for the episode number 10 is 103.0</h3>25<h3>Ground-truth:</span> FALSE</h3>26<h3>Input Table: will & grace (season 5)</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'episode number' is 10.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>series</td>34<td>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;">93</span></td>43<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1</span></td>44<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">and the horse he rode in on</span></td>45<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">james burrows</span></td>46<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">adam barr</span></td>47<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2002-09-26</span></td>48<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">21.5</span></td>49</tr>50<tr>51<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">94</span></td>52<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2</span></td>53<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">bacon and eggs</span></td>54<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">james burrows</span></td>55<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">alex herschlag</span></td>56<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2002-10-03</span></td>57<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">20.6</span></td>58</tr>59<tr>60<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">95</span></td>61<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3</span></td>62<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">the kid stays out of the picture</span></td>63<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">james burrows</span></td>64<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jhoni marchinko</span></td>65<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2002-10-10</span></td>66<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">20.2</span></td>67</tr>68<tr>69<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">96</span></td>70<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4</span></td>71<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">humongous growth</span></td>72<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">james burrows</span></td>73<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">kari lizer</span></td>74<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2002-10-17</span></td>75<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">19.5</span></td>76</tr>77<tr>78<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">97</span></td>79<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">5</span></td>80<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">it 's the gay pumpkin , charlie brown</span></td>81<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">james burrows</span></td>82<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">gary janetti</span></td>83<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2002-10-31</span></td>84<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">17.2</span></td>85</tr>86<tr>87<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">98</span></td>88<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">6</span></td>89<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">boardroom and a parked place</span></td>90<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">james burrows</span></td>91<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">gail lerner</span></td>92<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2002-11-07</span></td>93<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">21.1</span></td>94</tr>95<tr>96<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">99</span></td>97<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">7</span></td>98<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">the needle and the omelet 's done</span></td>99<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">james burrows</span></td>100<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">tracy poust & jon kinnally</span></td>101<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2002-11-14</span></td>102<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">19.1</span></td>103</tr>104<tr>105<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">100</span></td>106<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">8 - 9</span></td>107<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">marry me a little , marry me a little more</span></td>108<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">james burrows</span></td>109<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jeff greenstein & bill wrubel</span></td>110<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2002-11-21</span></td>111<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">24.3</span></td>112</tr>113<tr>114<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">101</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:#90EE90;">the honeymoon 's over</span></td>117<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">james burrows</span></td>118<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">sally bradford</span></td>119<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2002-12-05</span></td>120<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">19.3</span></td>121</tr>122<tr>123<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">102</span></td>124<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">11</span></td>125<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">all about christmas eve</span></td>126<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">james burrows</span></td>127<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">adam barr</span></td>128<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2002-12-12</span></td>129<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">16.2</span></td>130</tr>131<tr>132<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">103</span></td>133<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">12</span></td>134<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">field of queens</span></td>135<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">james burrows</span></td>136<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">katie palmer</span></td>137<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2003-01-09</span></td>138<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">16.2</span></td>139</tr>140<tr>141<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">104</span></td>142<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">13</span></td>143<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">fagmalion part i : gay it forward</span></td>144<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">james burrows</span></td>145<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">tracy poust & jon kinnally</span></td>146<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2003-01-16</span></td>147<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">16.0</span></td>148</tr>149<tr>150<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">105</span></td>151<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">14</span></td>152<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">fagmalion part ii : attack of the clones</span></td>153<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">james burrows</span></td>154<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">gary janetti</span></td>155<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2003-01-30</span></td>156<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">15.8</span></td>157</tr>158<tr>159<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">106</span></td>160<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">15</span></td>161<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">homojo</span></td>162<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">james burrows</span></td>163<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">bill wrubel</span></td>164<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2003-02-06</span></td>165<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">16.5</span></td>166</tr>167<tr>168<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">107</span></td>169<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">16</span></td>170<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">women and children first</span></td>171<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">james burrows</span></td>172<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">laura kightlinger</span></td>173<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2003-02-13</span></td>174<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">18.7</span></td>175</tr>176<tr>177<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">108</span></td>178<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">17</span></td>179<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">fagmalion part iii : bye , bye , beardy</span></td>180<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">james burrows</span></td>181<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">alex herschlag</span></td>182<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2003-02-20</span></td>183<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">16.4</span></td>184</tr>185<tr>186<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">109</span></td>187<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">18</span></td>188<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">fagmalion part iv : the guy who loved me</span></td>189<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">james burrows</span></td>190<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">gail lerner</span></td>191<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2003-03-13</span></td>192<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">15.0</span></td>193</tr>194<tr>195<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">110</span></td>196<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">19</span></td>197<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">sex , losers , and videotape</span></td>198<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">james burrows</span></td>199<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">steve gabriel</span></td>200<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2003-04-03</span></td>201<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">15.0</span></td>202</tr>203<tr>204<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">111</span></td>205<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">20</span></td>206<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">leo unwrapped</span></td>207<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">james burrows</span></td>208<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">sonja warfield</span></td>209<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2003-04-17</span></td>210<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">14.7</span></td>211</tr>212<tr>213<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">112</span></td>214<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">21</span></td>215<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">dolls and dolls</span></td>216<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">james burrows</span></td>217<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">kari lizer</span></td>218<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2003-04-24</span></td>219<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">17.7</span></td>220</tr>221</table>222</div>223<hr>224<div class="step">225<div class="step-title">Step 2: Select the 'series' column.</div>226<div id="step-0" class="content">227<table>228<tr>229<td>series</td>230<td>season</td>231<td>title</td>232<td>directed_by</td>233<td>written_by</td>234<td>original_air_date</td>235<td>us_viewers__millions</td>236</tr>237<tr>238<td>101</td>239<td>10</td>240<td>the honeymoon 's over</td>241<td>james burrows</td>242<td>sally bradford</td>243<td>2002-12-05</td>244<td>19.3</td>245</tr>246</table>247</div>248</div>249<hr>250<div class="step">251<div class="step-title">Step 3: Use a `CASE` statement to return TRUE if the number of rows is equal to 1 and the value in the 'series' column is 103.0, otherwise return FALSE.</div>252<div id="step-1" class="content">253<table>254<tr>255<td>series</td>256</tr>257<tr>258<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">101</span></td>259</tr>260</table>261</div>262</div>263<hr>264<div class="step">265<div class="step-title">Final output table:</div>266<div id="step-2" class="content">267<table>268<tr>269<td>verification_result</td>270</tr>271<tr>272<td>FALSE</td>273</tr>274</table>275</div>276</div>277<hr>278<div class="step"><h3><span class="true">Prediction: FALSE </span></h3>279<h3>Ground-truth:</span> FALSE</h3></div>280</body></html>281