Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1995.html237 linesDownload Raw Back to FP
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 john mardon included in steam buggy mintage had a bricklin sv - 1 theme</h3>25<h3>Ground-truth:</span> FALSE</h3>26<h3>Input Table: royal canadian mint numismatic coins (2000s)</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'artist' is 'john mardon'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>year</td>34<td>theme</td>35<td>artist</td>36<td>mintage</td>37<td>issue_price</td>38</tr>39<tr>40<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2000</span></td>41<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">steam buggy</span></td>42<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">john mardon</span></td>43<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">44367</span></td>44<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">59.95</span></td>45</tr>46<tr>47<td>2000</td>48<td>the bluenose</td>49<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">j franklin wright</span></td>50<td>included in steam buggy</td>51<td>59.95</td>52</tr>53<tr>54<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2000</span></td>55<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">the toronto</span></td>56<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">john mardon</span></td>57<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">included in steam buggy</span></td>58<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">59.95</span></td>59</tr>60<tr>61<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2001</span></td>62<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">the russell light four</span></td>63<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">john mardon</span></td>64<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">41828</span></td>65<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">59.95</span></td>66</tr>67<tr>68<td>2001</td>69<td>the marco polo</td>70<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">j franklin wright</span></td>71<td>included in the russell</td>72<td>59.95</td>73</tr>74<tr>75<td>2001</td>76<td>the scotia</td>77<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">don curley</span></td>78<td>included in the russell</td>79<td>59.95</td>80</tr>81<tr>82<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2002</span></td>83<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">the gray - dort</span></td>84<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">john mardon</span></td>85<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">35944</span></td>86<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">59.95</span></td>87</tr>88<tr>89<td>2002</td>90<td>the william lawrence</td>91<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">bonnie ross</span></td>92<td>included in the gray - dort</td>93<td>59.95</td>94</tr>95<tr>96<td>2002</td>97<td>d - 10 locomotive</td>98<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">dan fell</span></td>99<td>included in the gray - dort</td>100<td>59.95</td>101</tr>102<tr>103<td>2003</td>104<td>hmcs bras dor</td>105<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">don curley</span></td>106<td>31997</td>107<td>59.95</td>108</tr>109<tr>110<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2003</span></td>111<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">cnr fa - 1 diesel electric</span></td>112<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">john mardon</span></td>113<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">included in hmcs bras dor</span></td>114<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">59.95</span></td>115</tr>116<tr>117<td>2003</td>118<td>bricklin sv - 1</td>119<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">brian hughes</span></td>120<td>included in hmcs bras dor</td>121<td>59.95</td>122</tr>123</table>124</div>125<hr>126<div class="step">127<div class="step-title">Step 2: Select rows where 'theme' is 'steam buggy'.</div>128<div id="step-0" class="content">129<table>130<tr>131<td>year</td>132<td>theme</td>133<td>artist</td>134<td>mintage</td>135<td>issue_price</td>136</tr>137<tr>138<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2000</span></td>139<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">steam buggy</span></td>140<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">john mardon</span></td>141<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">44367</span></td>142<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">59.95</span></td>143</tr>144<tr>145<td>2000</td>146<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">the toronto</span></td>147<td>john mardon</td>148<td>included in steam buggy</td>149<td>59.95</td>150</tr>151<tr>152<td>2001</td>153<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">the russell light four</span></td>154<td>john mardon</td>155<td>41828</td>156<td>59.95</td>157</tr>158<tr>159<td>2002</td>160<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">the gray - dort</span></td>161<td>john mardon</td>162<td>35944</td>163<td>59.95</td>164</tr>165<tr>166<td>2003</td>167<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">cnr fa - 1 diesel electric</span></td>168<td>john mardon</td>169<td>included in hmcs bras dor</td>170<td>59.95</td>171</tr>172</table>173</div>174</div>175<hr>176<div class="step">177<div class="step-title">Step 3: Select rows where 'mintage' is not equal to 'included in steam buggy'.</div>178<div id="step-1" class="content">179<table>180<tr>181<td>year</td>182<td>theme</td>183<td>artist</td>184<td>mintage</td>185<td>issue_price</td>186</tr>187<tr>188<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2000</span></td>189<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">steam buggy</span></td>190<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">john mardon</span></td>191<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">44367</span></td>192<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">59.95</span></td>193</tr>194</table>195</div>196</div>197<hr>198<div class="step">199<div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>200<div id="step-2" class="content">201<table>202<tr>203<td>year</td>204<td>theme</td>205<td>artist</td>206<td>mintage</td>207<td>issue_price</td>208</tr>209<tr>210<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2000</span></td>211<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">steam buggy</span></td>212<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">john mardon</span></td>213<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">44367</span></td>214<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">59.95</span></td>215</tr>216</table>217</div>218</div>219<hr>220<div class="step">221<div class="step-title">Final output table:</div>222<div id="step-3" class="content">223<table>224<tr>225<td>verification_result</td>226</tr>227<tr>228<td>TRUE</td>229</tr>230</table>231</div>232</div>233<hr>234<div class="step"><h3><span class="false">Prediction: TRUE </span></h3>235<h3>Ground-truth:</span> FALSE</h3></div>236</body></html>237