Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-175.html188 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> the total rebounds of player herb estes are 734</h3>25<h3>Ground-truth:</span> TRUE</h3>26<h3>Input Table: none</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'player' is 'herb estes'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>rank</td>34<td>player</td>35<td>years</td>36<td>games</td>37<td>reb_avg</td>38<td>total_rebounds</td>39</tr>40<tr>41<td>1</td>42<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jim nowers</span></td>43<td>1972 - 1976</td>44<td>112</td>45<td>9.4</td>46<td>1048</td>47</tr>48<tr>49<td>2</td>50<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">kenny sanders</span></td>51<td>1985 - 1989</td>52<td>107</td>53<td>9.6</td>54<td>1026</td>55</tr>56<tr>57<td>3</td>58<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">will thomas</span></td>59<td>2004 - 2008</td>60<td>131</td>61<td>7.6</td>62<td>993</td>63</tr>64<tr>65<td>4</td>66<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">george evans</span></td>67<td>1997 - 2001</td>68<td>116</td>69<td>8.2</td>70<td>953</td>71</tr>72<tr>73<td>5</td>74<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">robert dykes</span></td>75<td>1987 - 1991</td>76<td>122</td>77<td>7.5</td>78<td>925</td>79</tr>80<tr>81<td>6</td>82<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">andre gaddy</span></td>83<td>1977 - 1982</td>84<td>98</td>85<td>9.3</td>86<td>916</td>87</tr>88<tr>89<td>7</td>90<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jai lewis</span></td>91<td>2002 - 2006</td>92<td>125</td>93<td>7.2</td>94<td>895</td>95</tr>96<tr>97<td>8</td>98<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">rob rose</span></td>99<td>1982 - 1986</td>100<td>113</td>101<td>7.1</td>102<td>805</td>103</tr>104<tr>105<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9</span></td>106<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">herb estes</span></td>107<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1973 - 1976</span></td>108<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">80</span></td>109<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9.2</span></td>110<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">734</span></td>111</tr>112<tr>113<td>10</td>114<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jesse young</span></td>115<td>1999 - 2003</td>116<td>115</td>117<td>6.2</td>118<td>708</td>119</tr>120</table>121</div>122<hr>123<div class="step">124<div class="step-title">Step 2: Select rows where 'total_rebounds' is 734.</div>125<div id="step-0" class="content">126<table>127<tr>128<td>rank</td>129<td>player</td>130<td>years</td>131<td>games</td>132<td>reb_avg</td>133<td>total_rebounds</td>134</tr>135<tr>136<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9</span></td>137<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">herb estes</span></td>138<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1973 - 1976</span></td>139<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">80</span></td>140<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9.2</span></td>141<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">734</span></td>142</tr>143</table>144</div>145</div>146<hr>147<div class="step">148<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>149<div id="step-1" class="content">150<table>151<tr>152<td>rank</td>153<td>player</td>154<td>years</td>155<td>games</td>156<td>reb_avg</td>157<td>total_rebounds</td>158</tr>159<tr>160<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">9</span></td>161<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">herb estes</span></td>162<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1973 - 1976</span></td>163<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">80</span></td>164<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">9.2</span></td>165<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">734</span></td>166</tr>167</table>168</div>169</div>170<hr>171<div class="step">172<div class="step-title">Final output table:</div>173<div id="step-2" class="content">174<table>175<tr>176<td>verification_result</td>177</tr>178<tr>179<td>TRUE</td>180</tr>181</table>182</div>183</div>184<hr>185<div class="step"><h3><span class="true">Prediction: TRUE </span></h3>186<h3>Ground-truth:</span> TRUE</h3></div>187</body></html>188