Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-821.html212 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> kenny perry is the player who earned the most money</h3>25<h3>Ground-truth:</span> FALSE</h3>26<h3>Input Table: 1996 pga championship</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'player' is 'kenny perry'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>place</td>34<td>player</td>35<td>country</td>36<td>score</td>37<td>to_par</td>38<td>money</td>39</tr>40<tr>41<td>1</td>42<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mark brooks</span></td>43<td>united states</td>44<td>68 + 70 + 69 + 70 = 277</td>45<td>- 11</td>46<td>430000</td>47</tr>48<tr>49<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2</span></td>50<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">kenny perry</span></td>51<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>52<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">66 + 72 + 71 + 68 = 277</span></td>53<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">- 11</span></td>54<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">260000</span></td>55</tr>56<tr>57<td>t3</td>58<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">steve elkington</span></td>59<td>australia</td>60<td>67 + 74 + 67 + 70 = 278</td>61<td>- 10</td>62<td>140000</td>63</tr>64<tr>65<td>t3</td>66<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">tommy tolles</span></td>67<td>united states</td>68<td>69 + 71 + 71 + 67 = 278</td>69<td>- 10</td>70<td>140000</td>71</tr>72<tr>73<td>t5</td>74<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">justin leonard</span></td>75<td>united states</td>76<td>71 + 66 + 72 + 70 = 279</td>77<td>- 9</td>78<td>86667</td>79</tr>80<tr>81<td>t5</td>82<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jesper parnevik</span></td>83<td>sweden</td>84<td>73 + 67 + 69 + 70 = 279</td>85<td>- 9</td>86<td>86667</td>87</tr>88<tr>89<td>t5</td>90<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">vijay singh</span></td>91<td>fiji</td>92<td>69 + 69 + 69 + 72 = 279</td>93<td>- 9</td>94<td>86667</td>95</tr>96<tr>97<td>t8</td>98<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">lee janzen</span></td>99<td>united states</td>100<td>68 + 71 + 71 + 70 = 280</td>101<td>- 8</td>102<td>57500</td>103</tr>104<tr>105<td>t8</td>106<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">per - ulrik johansson</span></td>107<td>sweden</td>108<td>73 + 72 + 66 + 69 = 280</td>109<td>- 8</td>110<td>57500</td>111</tr>112<tr>113<td>t8</td>114<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">phil mickelson</span></td>115<td>united states</td>116<td>67 + 67 + 74 + 72 = 280</td>117<td>- 8</td>118<td>57500</td>119</tr>120<tr>121<td>t8</td>122<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">larry mize</span></td>123<td>united states</td>124<td>71 + 70 + 69 + 70 = 280</td>125<td>- 8</td>126<td>57500</td>127</tr>128<tr>129<td>t8</td>130<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">frank nobilo</span></td>131<td>new zealand</td>132<td>69 + 72 + 71 + 68 = 280</td>133<td>- 8</td>134<td>57500</td>135</tr>136<tr>137<td>t8</td>138<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">nick price</span></td>139<td>zimbabwe</td>140<td>68 + 71 + 69 + 72 = 280</td>141<td>- 8</td>142<td>57500</td>143</tr>144</table>145</div>146<hr>147<div class="step">148<div class="step-title">Step 2: Select rows where 'money' is the maximum value in the 'money' column.</div>149<div id="step-0" class="content">150<table>151<tr>152<td>place</td>153<td>player</td>154<td>country</td>155<td>score</td>156<td>to_par</td>157<td>money</td>158</tr>159<tr>160<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2</span></td>161<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">kenny perry</span></td>162<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>163<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">66 + 72 + 71 + 68 = 277</span></td>164<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">- 11</span></td>165<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">260000</span></td>166</tr>167</table>168</div>169</div>170<hr>171<div class="step">172<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>173<div id="step-1" class="content">174<table>175<tr>176<td>place</td>177<td>player</td>178<td>country</td>179<td>score</td>180<td>to_par</td>181<td>money</td>182</tr>183<tr>184<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2</span></td>185<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">kenny perry</span></td>186<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">united states</span></td>187<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">66 + 72 + 71 + 68 = 277</span></td>188<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">- 11</span></td>189<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">260000</span></td>190</tr>191</table>192</div>193</div>194<hr>195<div class="step">196<div class="step-title">Final output table:</div>197<div id="step-2" class="content">198<table>199<tr>200<td>verification_result</td>201</tr>202<tr>203<td>TRUE</td>204</tr>205</table>206</div>207</div>208<hr>209<div class="step"><h3><span class="false">Prediction: TRUE </span></h3>210<h3>Ground-truth:</span> FALSE</h3></div>211</body></html>212