Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1220.html261 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> guillaume gillet scored three times as much as each of the other two players in the uefa champions league tournament</h3>25<h3>Ground-truth:</span> FALSE</h3>26<h3>Input Table: 2008 - 09 r.s.c. anderlecht season</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'player' is 'guillaume gillet'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>player</td>34<td>league</td>35<td>title_playoff</td>36<td>super_cup</td>37<td>total</td>38</tr>39<tr>40<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mbark boussoufa</span></td>41<td>11</td>42<td>0</td>43<td>0</td>44<td>11</td>45</tr>46<tr>47<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">tom de sutter</span></td>48<td>9</td>49<td>0</td>50<td>0</td>51<td>9</td>52</tr>53<tr>54<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">guillaume gillet</span></td>55<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">8</span></td>56<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td>57<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td>58<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9</span></td>59</tr>60<tr>61<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">marcin wasilewski</span></td>62<td>8</td>63<td>0</td>64<td>0</td>65<td>8</td>66</tr>67<tr>68<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jonathan legear</span></td>69<td>5</td>70<td>1</td>71<td>0</td>72<td>7</td>73</tr>74<tr>75<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">nicolás frutos</span></td>76<td>6</td>77<td>0</td>78<td>0</td>79<td>6</td>80</tr>81<tr>82<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">thomas chatelle</span></td>83<td>4</td>84<td>0</td>85<td>0</td>86<td>4</td>87</tr>88<tr>89<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">roland juhász</span></td>90<td>4</td>91<td>0</td>92<td>0</td>93<td>4</td>94</tr>95<tr>96<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">stanislav vlček</span></td>97<td>4</td>98<td>0</td>99<td>0</td>100<td>4</td>101</tr>102<tr>103<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">lucas biglia</span></td>104<td>2</td>105<td>0</td>106<td>0</td>107<td>3</td>108</tr>109<tr>110<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">dmitri bulykin</span></td>111<td>3</td>112<td>0</td>113<td>0</td>114<td>3</td>115</tr>116<tr>117<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jan polák</span></td>118<td>2</td>119<td>0</td>120<td>0</td>121<td>3</td>122</tr>123<tr>124<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">matías suárez</span></td>125<td>1</td>126<td>0</td>127<td>1</td>128<td>3</td>129</tr>130<tr>131<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jelle van damme</span></td>132<td>3</td>133<td>0</td>134<td>0</td>135<td>3</td>136</tr>137<tr>138<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">oleksandr iakovenko</span></td>139<td>2</td>140<td>0</td>141<td>0</td>142<td>2</td>143</tr>144<tr>145<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">hernán losada</span></td>146<td>1</td>147<td>0</td>148<td>0</td>149<td>2</td>150</tr>151<tr>152<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">víctor bernárdez</span></td>153<td>1</td>154<td>0</td>155<td>0</td>156<td>1</td>157</tr>158<tr>159<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">bart goor</span></td>160<td>1</td>161<td>0</td>162<td>0</td>163<td>1</td>164</tr>165<tr>166<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">nemanja rnić</span></td>167<td>0</td>168<td>0</td>169<td>0</td>170<td>1</td>171</tr>172</table>173</div>174<hr>175<div class="step">176<div class="step-title">Step 2: Select rows where 'league' is 'uefa champions league'.</div>177<div id="step-0" class="content">178<table>179<tr>180<td>player</td>181<td>league</td>182<td>title_playoff</td>183<td>super_cup</td>184<td>total</td>185</tr>186<tr>187<td>guillaume gillet</td>188<td>8</td>189<td>0</td>190<td>0</td>191<td>9</td>192</tr>193</table>194</div>195</div>196<hr>197<div class="step">198<div class="step-title">Step 3: Extract the total goals scored by Guillaume Gillet in the UEFA Champions League tournament by summing over the 'total' column to add column 'total_goals' to existing table.</div>199<div id="step-1" class="content">200<table>201<tr>202<td>player</td>203<td>league</td>204<td>title_playoff</td>205<td>super_cup</td>206<td>total</td>207</tr>208</table>209</div>210</div>211<hr>212<div class="step">213<div class="step-title">Step 4: Select rows where 'total_goals' is three times as much as the total goals scored by each of the other two players.</div>214<div id="step-2" class="content">215<table>216<tr>217<td>player</td>218<td>league</td>219<td>title_playoff</td>220<td>super_cup</td>221<td>total</td>222<td>total_goals</td>223</tr>224</table>225</div>226</div>227<hr>228<div class="step">229<div class="step-title">Step 5: Use a `CASE` statement to return TRUE if the number of rows is equal to 2, otherwise return FALSE.</div>230<div id="step-3" class="content">231<table>232<tr>233<td>player</td>234<td>league</td>235<td>title_playoff</td>236<td>super_cup</td>237<td>total</td>238<td>total_goals</td>239</tr>240</table>241</div>242</div>243<hr>244<div class="step">245<div class="step-title">Final output table:</div>246<div id="step-4" class="content">247<table>248<tr>249<td>verification_result</td>250</tr>251<tr>252<td>FALSE</td>253</tr>254</table>255</div>256</div>257<hr>258<div class="step"><h3><span class="true">Prediction: FALSE </span></h3>259<h3>Ground-truth:</span> FALSE</h3></div>260</body></html>261