Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1964.html234 linesDownload Raw Back to TP
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> player austin daye (16) scored the highest number of points in the game and the team was dallas</h3>25<h3>Ground-truth:</span> TRUE</h3>26<h3>Input Table: 2010 - 11 detroit pistons season</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'team' is 'dallas'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>game</td>34<td>date</td>35<td>team</td>36<td>score</td>37<td>high_points</td>38<td>high_rebounds</td>39<td>high_assists</td>40<td>location_attendance</td>41<td>record</td>42</tr>43<tr>44<td>1</td>45<td>9999-10-05</td>46<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">miami</span></td>47<td>l 89 - 105 (ot)</td>48<td>ben gordon (17)</td>49<td>ben gordon , charlie villanueva (5)</td>50<td>rodney stuckey (5)</td>51<td>american airlines arena 19600</td>52<td>0 - 1</td>53</tr>54<tr>55<td>2</td>56<td>9999-10-08</td>57<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">milwaukee</span></td>58<td>w 115 - 110 (ot)</td>59<td>austin daye (21)</td>60<td>austin daye (7)</td>61<td>will bynum (9)</td>62<td>the palace of auburn hills 12821</td>63<td>1 - 1</td>64</tr>65<tr>66<td>3</td>67<td>9999-10-11</td>68<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">atlanta</span></td>69<td>w 94 - 85 (ot)</td>70<td>rodney stuckey (16)</td>71<td>greg monroe (7)</td>72<td>richard hamilton (7)</td>73<td>the palace of auburn hills 10591</td>74<td>2 - 1</td>75</tr>76<tr>77<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4</span></td>78<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-10-13</span></td>79<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">dallas</span></td>80<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">l 96 - 101 (ot)</span></td>81<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">austin daye (16)</span></td>82<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ben wallace , jason maxiell (8)</span></td>83<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">rodney stuckey (6)</span></td>84<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">van andel arena 10207</span></td>85<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2 - 2</span></td>86</tr>87<tr>88<td>5</td>89<td>9999-10-15</td>90<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">minnesota</span></td>91<td>l 88 - 99 (ot)</td>92<td>austin daye (18)</td>93<td>austin daye (11)</td>94<td>will bynum (5)</td>95<td>carrier dome 11747</td>96<td>2 - 3</td>97</tr>98<tr>99<td>6</td>100<td>9999-10-16</td>101<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">charlotte</span></td>102<td>l 94 - 97 (ot)</td>103<td>rodney stuckey (25)</td>104<td>greg monroe (8)</td>105<td>rodney stuckey , will bynum (5)</td>106<td>colonial life arena 6847</td>107<td>2 - 4</td>108</tr>109<tr>110<td>7</td>111<td>9999-10-19</td>112<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">washington</span></td>113<td>w 98 - 92 (ot)</td>114<td>rodney stuckey (34)</td>115<td>ben wallace (11)</td>116<td>rodney stuckey (7)</td>117<td>huntington center 6424</td>118<td>3 - 4</td>119</tr>120</table>121</div>122<hr>123<div class="step">124<div class="step-title">Step 2: Extract the numerical value from the 'high_points' column by identifying the number inside parentheses to add column 'num_high_points' to existing table.</div>125<div id="step-0" class="content">126<table>127<tr>128<td>game</td>129<td>date</td>130<td>team</td>131<td>score</td>132<td>high_points</td>133<td>high_rebounds</td>134<td>high_assists</td>135<td>location_attendance</td>136<td>record</td>137</tr>138<tr>139<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">4</span></td>140<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">9999-10-13</span></td>141<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">dallas</span></td>142<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">l 96 - 101 (ot)</span></td>143<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">austin daye (16)</span></td>144<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">ben wallace , jason maxiell (8)</span></td>145<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">rodney stuckey (6)</span></td>146<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">van andel arena 10207</span></td>147<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2 - 2</span></td>148</tr>149</table>150</div>151</div>152<hr>153<div class="step">154<div class="step-title">Step 3: Select rows where 'num_high_points' is 16.</div>155<div id="step-1" class="content">156<table>157<tr>158<td>game</td>159<td>date</td>160<td>team</td>161<td>score</td>162<td>high_points</td>163<td>high_rebounds</td>164<td>high_assists</td>165<td>location_attendance</td>166<td>record</td>167<td>num_high_points</td>168</tr>169<tr>170<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4</span></td>171<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-10-13</span></td>172<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">dallas</span></td>173<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">l 96 - 101 (ot)</span></td>174<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">austin daye (16)</span></td>175<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ben wallace , jason maxiell (8)</span></td>176<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">rodney stuckey (6)</span></td>177<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">van andel arena 10207</span></td>178<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2 - 2</span></td>179<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">16</span></td>180</tr>181</table>182</div>183</div>184<hr>185<div class="step">186<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>187<div id="step-2" class="content">188<table>189<tr>190<td>game</td>191<td>date</td>192<td>team</td>193<td>score</td>194<td>high_points</td>195<td>high_rebounds</td>196<td>high_assists</td>197<td>location_attendance</td>198<td>record</td>199<td>num_high_points</td>200</tr>201<tr>202<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">4</span></td>203<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">9999-10-13</span></td>204<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">dallas</span></td>205<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">l 96 - 101 (ot)</span></td>206<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">austin daye (16)</span></td>207<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">ben wallace , jason maxiell (8)</span></td>208<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">rodney stuckey (6)</span></td>209<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">van andel arena 10207</span></td>210<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2 - 2</span></td>211<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">16</span></td>212</tr>213</table>214</div>215</div>216<hr>217<div class="step">218<div class="step-title">Final output table:</div>219<div id="step-3" class="content">220<table>221<tr>222<td>verification_result</td>223</tr>224<tr>225<td>TRUE</td>226</tr>227</table>228</div>229</div>230<hr>231<div class="step"><h3><span class="true">Prediction: TRUE </span></h3>232<h3>Ground-truth:</span> TRUE</h3></div>233</body></html>234