Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-13.html252 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 opponent in final on 6 february 2000 in wellington new zealand on hard surface was katerina kramperová</h3>25<h3>Ground-truth:</span> FALSE</h3>26<h3>Input Table: leanne baker</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'date' is '2000-02-06'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>outcome</td>34<td>date</td>35<td>location</td>36<td>surface</td>37<td>opponent_in_final</td>38<td>score</td>39</tr>40<tr>41<td>winner</td>42<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1999-05-02</span></td>43<td>coatzacoalcos , mexico</td>44<td>hard</td>45<td>candice jairala</td>46<td>3 - 6 6 - 3 7 - 5</td>47</tr>48<tr>49<td>winner</td>50<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1999-07-11</span></td>51<td>felixstowe , england</td>52<td>grass</td>53<td>karen nugent</td>54<td>6 - 4 6 - 4</td>55</tr>56<tr>57<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">runner - up</span></td>58<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2000-02-06</span></td>59<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">wellington , new zealand</span></td>60<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">hard</span></td>61<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mirielle dittmann</span></td>62<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">6 - 7 (5) 6 - 1 6 - 7 (5)</span></td>63</tr>64<tr>65<td>runner - up</td>66<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2000-05-28</span></td>67<td>el paso , texas , usa</td>68<td>hard</td>69<td>erin burdette</td>70<td>1 - 6 3 - 6</td>71</tr>72<tr>73<td>runner - up</td>74<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2003-09-14</span></td>75<td>spoleto , italy</td>76<td>clay</td>77<td>lenka snajdrova</td>78<td>4 - 6 3 - 6</td>79</tr>80<tr>81<td>winner</td>82<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2005-02-06</span></td>83<td>wellington , new zealand</td>84<td>hard</td>85<td>mirielle dittmann</td>86<td>2 - 6 6 - 1 6 - 1</td>87</tr>88<tr>89<td>winner</td>90<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2005-08-28</span></td>91<td>jesi , italy</td>92<td>hard</td>93<td>vanessa pinto</td>94<td>6 - 2 7 - 6 (6)</td>95</tr>96<tr>97<td>winner</td>98<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2006-02-05</span></td>99<td>taupo , new zealand</td>100<td>hard</td>101<td>natsumi hamamura</td>102<td>6 - 1 6 - 2</td>103</tr>104<tr>105<td>winner</td>106<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2006-02-12</span></td>107<td>wellington , new zealand</td>108<td>hard</td>109<td>katerina kramperová</td>110<td>6 - 4 1 - 6 6 - 0</td>111</tr>112<tr>113<td>winner</td>114<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2008-04-20</span></td>115<td>mazatlán , mexico</td>116<td>hard</td>117<td>anna lubinsky</td>118<td>6 - 2 6 - 1</td>119</tr>120</table>121</div>122<hr>123<div class="step">124<div class="step-title">Step 2: Select rows where 'location' is 'wellington , new zealand'.</div>125<div id="step-0" class="content">126<table>127<tr>128<td>outcome</td>129<td>date</td>130<td>location</td>131<td>surface</td>132<td>opponent_in_final</td>133<td>score</td>134</tr>135<tr>136<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">runner - up</span></td>137<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2000-02-06</span></td>138<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">wellington , new zealand</span></td>139<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">hard</span></td>140<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mirielle dittmann</span></td>141<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">6 - 7 (5) 6 - 1 6 - 7 (5)</span></td>142</tr>143</table>144</div>145</div>146<hr>147<div class="step">148<div class="step-title">Step 3: Select rows where 'surface' is 'hard'.</div>149<div id="step-1" class="content">150<table>151<tr>152<td>outcome</td>153<td>date</td>154<td>location</td>155<td>surface</td>156<td>opponent_in_final</td>157<td>score</td>158</tr>159<tr>160<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">runner - up</span></td>161<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2000-02-06</span></td>162<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">wellington , new zealand</span></td>163<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">hard</span></td>164<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mirielle dittmann</span></td>165<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">6 - 7 (5) 6 - 1 6 - 7 (5)</span></td>166</tr>167</table>168</div>169</div>170<hr>171<div class="step">172<div class="step-title">Step 4: Select rows where 'outcome' is 'runner-up'.</div>173<div id="step-2" class="content">174<table>175<tr>176<td>outcome</td>177<td>date</td>178<td>location</td>179<td>surface</td>180<td>opponent_in_final</td>181<td>score</td>182</tr>183<tr>184<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">runner - up</span></td>185<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2000-02-06</span></td>186<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">wellington , new zealand</span></td>187<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">hard</span></td>188<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mirielle dittmann</span></td>189<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">6 - 7 (5) 6 - 1 6 - 7 (5)</span></td>190</tr>191</table>192</div>193</div>194<hr>195<div class="step">196<div class="step-title">Step 5: Select rows where 'opponent_in_final' is 'katerina kramperová'.</div>197<div id="step-3" class="content">198<table>199<tr>200<td>outcome</td>201<td>date</td>202<td>location</td>203<td>surface</td>204<td>opponent_in_final</td>205<td>score</td>206</tr>207<tr>208<td>runner - up</td>209<td>2000-02-06</td>210<td>wellington , new zealand</td>211<td>hard</td>212<td>mirielle dittmann</td>213<td>6 - 7 (5) 6 - 1 6 - 7 (5)</td>214</tr>215</table>216</div>217</div>218<hr>219<div class="step">220<div class="step-title">Step 6: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>221<div id="step-4" class="content">222<table>223<tr>224<td>outcome</td>225<td>date</td>226<td>location</td>227<td>surface</td>228<td>opponent_in_final</td>229<td>score</td>230</tr>231</table>232</div>233</div>234<hr>235<div class="step">236<div class="step-title">Final output table:</div>237<div id="step-5" class="content">238<table>239<tr>240<td>verification_result</td>241</tr>242<tr>243<td>FALSE</td>244</tr>245</table>246</div>247</div>248<hr>249<div class="step"><h3><span class="true">Prediction: FALSE </span></h3>250<h3>Ground-truth:</span> FALSE</h3></div>251</body></html>252