Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-340.html228 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 australian open had same a results as wimbledon had</h3>25<h3>Ground-truth:</span> FALSE</h3>26<h3>Input Table: katrina adams</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'tournament' is 'australian open' or 'wimbledon'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>tournament</td>34<td>c_1986</td>35<td>c_1988</td>36<td>c_1989</td>37<td>c_1990</td>38<td>c_1991</td>39<td>c_1992</td>40<td>c_1993</td>41<td>c_1994</td>42<td>c_1995</td>43<td>c_1996</td>44<td>c_1997</td>45<td>c_1998</td>46<td>c_1999</td>47</tr>48<tr>49<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">grand slam tournaments</span></td>50<td>grand slam tournaments</td>51<td>grand slam tournaments</td>52<td>grand slam tournaments</td>53<td>grand slam tournaments</td>54<td>grand slam tournaments</td>55<td>grand slam tournaments</td>56<td>grand slam tournaments</td>57<td>grand slam tournaments</td>58<td>grand slam tournaments</td>59<td>grand slam tournaments</td>60<td>grand slam tournaments</td>61<td>grand slam tournaments</td>62<td>grand slam tournaments</td>63</tr>64<tr>65<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">australian open</span></td>66<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">a</span></td>67<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3r</span></td>68<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3r</span></td>69<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3r</span></td>70<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">a</span></td>71<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">qf</span></td>72<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3r</span></td>73<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2r</span></td>74<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1r</span></td>75<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">a</span></td>76<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2r</span></td>77<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1r</span></td>78<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1r</span></td>79</tr>80<tr>81<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">french open</span></td>82<td>a</td>83<td>qf</td>84<td>qf</td>85<td>3r</td>86<td>3r</td>87<td>qf</td>88<td>qf</td>89<td>1r</td>90<td>qf</td>91<td>qf</td>92<td>2r</td>93<td>3r</td>94<td>1r</td>95</tr>96<tr>97<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">wimbledon</span></td>98<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">a</span></td>99<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">sf</span></td>100<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">qf</span></td>101<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3r</span></td>102<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">qf</span></td>103<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3r</span></td>104<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1r</span></td>105<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2r</span></td>106<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3r</span></td>107<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">qf</span></td>108<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3r</span></td>109<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3r</span></td>110<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1r</span></td>111</tr>112<tr>113<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">us open</span></td>114<td>1r</td>115<td>2r</td>116<td>3r</td>117<td>3r</td>118<td>qf</td>119<td>a</td>120<td>3r</td>121<td>qf</td>122<td>3r</td>123<td>2r</td>124<td>3r</td>125<td>2r</td>126<td>1r</td>127</tr>128</table>129</div>130<hr>131<div class="step">132<div class="step-title">Step 2: Select rows where 'c_1986' is the same as 'c_1988'.</div>133<div id="step-0" class="content">134<table>135<tr>136<td>tournament</td>137<td>c_1986</td>138<td>c_1988</td>139<td>c_1989</td>140<td>c_1990</td>141<td>c_1991</td>142<td>c_1992</td>143<td>c_1993</td>144<td>c_1994</td>145<td>c_1995</td>146<td>c_1996</td>147<td>c_1997</td>148<td>c_1998</td>149<td>c_1999</td>150</tr>151<tr>152<td>australian open</td>153<td>a</td>154<td>3r</td>155<td>3r</td>156<td>3r</td>157<td>a</td>158<td>qf</td>159<td>3r</td>160<td>2r</td>161<td>1r</td>162<td>a</td>163<td>2r</td>164<td>1r</td>165<td>1r</td>166</tr>167<tr>168<td>wimbledon</td>169<td>a</td>170<td>sf</td>171<td>qf</td>172<td>3r</td>173<td>qf</td>174<td>3r</td>175<td>1r</td>176<td>2r</td>177<td>3r</td>178<td>qf</td>179<td>3r</td>180<td>3r</td>181<td>1r</td>182</tr>183</table>184</div>185</div>186<hr>187<div class="step">188<div class="step-title">Step 3: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>189<div id="step-1" class="content">190<table>191<tr>192<td>tournament</td>193<td>c_1986</td>194<td>c_1988</td>195<td>c_1989</td>196<td>c_1990</td>197<td>c_1991</td>198<td>c_1992</td>199<td>c_1993</td>200<td>c_1994</td>201<td>c_1995</td>202<td>c_1996</td>203<td>c_1997</td>204<td>c_1998</td>205<td>c_1999</td>206</tr>207</table>208</div>209</div>210<hr>211<div class="step">212<div class="step-title">Final output table:</div>213<div id="step-2" class="content">214<table>215<tr>216<td>verification_result</td>217</tr>218<tr>219<td>FALSE</td>220</tr>221</table>222</div>223</div>224<hr>225<div class="step"><h3><span class="true">Prediction: FALSE </span></h3>226<h3>Ground-truth:</span> FALSE</h3></div>227</body></html>228