Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-138.html204 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 chicago black hawks are the only opponent with 63 points</h3>25<h3>Ground-truth:</span> FALSE</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 'opponent' is 'chicago black hawks'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>game</td>34<td>march</td>35<td>opponent</td>36<td>score</td>37<td>record</td>38<td>points</td>39</tr>40<tr>41<td>63</td>42<td>9999-01-04</td>43<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">detroit red wings</span></td>44<td>2 - 2</td>45<td>24 - 28 - 11</td>46<td>59</td>47</tr>48<tr>49<td>64</td>50<td>9999-01-06</td>51<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">california golden seals</span></td>52<td>4 - 4</td>53<td>24 - 28 - 12</td>54<td>60</td>55</tr>56<tr>57<td>65</td>58<td>9999-01-07</td>59<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">minnesota north stars</span></td>60<td>1 - 3</td>61<td>24 - 29 - 12</td>62<td>60</td>63</tr>64<tr>65<td>66</td>66<td>9999-01-10</td>67<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">pittsburgh penguins</span></td>68<td>2 - 2</td>69<td>24 - 29 - 13</td>70<td>61</td>71</tr>72<tr>73<td>67</td>74<td>9999-01-12</td>75<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">new york rangers</span></td>76<td>2 - 7</td>77<td>24 - 30 - 13</td>78<td>61</td>79</tr>80<tr>81<td>68</td>82<td>9999-01-13</td>83<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">toronto maple leafs</span></td>84<td>3 - 2</td>85<td>25 - 30 - 13</td>86<td>63</td>87</tr>88<tr>89<td>69</td>90<td>9999-01-18</td>91<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">new york rangers</span></td>92<td>2 - 1</td>93<td>26 - 30 - 13</td>94<td>65</td>95</tr>96<tr>97<td>70</td>98<td>9999-01-20</td>99<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">boston bruins</span></td>100<td>3 - 5</td>101<td>26 - 31 - 13</td>102<td>65</td>103</tr>104<tr>105<td>71</td>106<td>9999-01-21</td>107<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">toronto maple leafs</span></td>108<td>1 - 1</td>109<td>26 - 31 - 14</td>110<td>66</td>111</tr>112<tr>113<td>72</td>114<td>9999-01-24</td>115<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">montreal canadiens</span></td>116<td>3 - 5</td>117<td>26 - 32 - 14</td>118<td>66</td>119</tr>120<tr>121<td>73</td>122<td>9999-01-25</td>123<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">minnesota north stars</span></td>124<td>2 - 2</td>125<td>26 - 32 - 15</td>126<td>67</td>127</tr>128<tr>129<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">74</span></td>130<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-01-27</span></td>131<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">chicago black hawks</span></td>132<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1 - 3</span></td>133<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">26 - 33 - 15</span></td>134<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">67</span></td>135</tr>136<tr>137<td>75</td>138<td>9999-01-28</td>139<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">pittsburgh penguins</span></td>140<td>3 - 1</td>141<td>27 - 33 - 15</td>142<td>69</td>143</tr>144</table>145</div>146<hr>147<div class="step">148<div class="step-title">Step 2: Select rows where 'points' is 63.</div>149<div id="step-0" class="content">150<table>151<tr>152<td>game</td>153<td>march</td>154<td>opponent</td>155<td>score</td>156<td>record</td>157<td>points</td>158</tr>159<tr>160<td>74</td>161<td>9999-01-27</td>162<td>chicago black hawks</td>163<td>1 - 3</td>164<td>26 - 33 - 15</td>165<td>67</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>game</td>177<td>march</td>178<td>opponent</td>179<td>score</td>180<td>record</td>181<td>points</td>182</tr>183</table>184</div>185</div>186<hr>187<div class="step">188<div class="step-title">Final output table:</div>189<div id="step-2" class="content">190<table>191<tr>192<td>verification_result</td>193</tr>194<tr>195<td>FALSE</td>196</tr>197</table>198</div>199</div>200<hr>201<div class="step"><h3><span class="true">Prediction: FALSE </span></h3>202<h3>Ground-truth:</span> FALSE</h3></div>203</body></html>204