luulinh90s/Tabular-LLM-Study-Debugging
0
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> secteur 6 won agains the enugu rangers</h3>25<h3>Ground-truth:</span> FALSE</h3>26<h3>Input Table: 1971 african cup of champions clubs</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'team_1' is 'secteur 6'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>team_1</td>34<td>agg</td>35<td>team_2</td>36<td>c_1st_leg</td>37<td>c_2nd_leg</td>38</tr>39<tr>40<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">al - merrikh</span></td>41<td>2 - 2 (5 - 4 pen)</td>42<td>tele sc asmara</td>43<td>2 - 1</td>44<td>0 - 1</td>45</tr>46<tr>47<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">abaluhya united</span></td>48<td>1 - 3</td>49<td>great olympics</td>50<td>0 - 0</td>51<td>1 - 3</td>52</tr>53<tr>54<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">asc diaraf</span></td>55<td>3 - 4</td>56<td>stade malien</td>57<td>3 - 0</td>58<td>0 - 4</td>59</tr>60<tr>61<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">maseru united</span></td>62<td>3 - 5</td>63<td>mmm tamatave</td>64<td>1 - 2</td>65<td>2 - 3</td>66</tr>67<tr>68<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">as porto novo</span></td>69<td>0 - 3</td>70<td>victoria club mokanda</td>71<td>0 - 1</td>72<td>0 - 2</td>73</tr>74<tr>75<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">canon yaoundé</span></td>76<td>9 - 4</td>77<td>as solidarité</td>78<td>7 - 3</td>79<td>2 - 1</td>80</tr>81<tr>82<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">espérance</span></td>83<td>1 - 0</td>84<td>al - ahly (benghazi)</td>85<td>0 - 0</td>86<td>1 - 0</td>87</tr>88<tr>89<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">secteur 6</span></td>90<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1 - 2</span></td>91<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">enugu rangers</span></td>92<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1 - 1</span></td>93<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0 - 1</span></td>94</tr>95<tr>96<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">young africans</span></td>97<td>2 - 0</td>98<td>lavori publici</td>99<td>2 - 0</td>100<td>0 - 0</td>101</tr>102</table>103</div>104<hr>105<div class="step">106<div class="step-title">Step 2: Select rows where 'team_2' is 'enugu rangers'.</div>107<div id="step-0" class="content">108<table>109<tr>110<td>team_1</td>111<td>agg</td>112<td>team_2</td>113<td>c_1st_leg</td>114<td>c_2nd_leg</td>115</tr>116<tr>117<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">secteur 6</span></td>118<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1 - 2</span></td>119<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">enugu rangers</span></td>120<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1 - 1</span></td>121<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0 - 1</span></td>122</tr>123</table>124</div>125</div>126<hr>127<div class="step">128<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>129<div id="step-1" class="content">130<table>131<tr>132<td>team_1</td>133<td>agg</td>134<td>team_2</td>135<td>c_1st_leg</td>136<td>c_2nd_leg</td>137</tr>138<tr>139<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">secteur 6</span></td>140<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1 - 2</span></td>141<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">enugu rangers</span></td>142<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1 - 1</span></td>143<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">0 - 1</span></td>144</tr>145</table>146</div>147</div>148<hr>149<div class="step">150<div class="step-title">Final output table:</div>151<div id="step-2" class="content">152<table>153<tr>154<td>verification_result</td>155</tr>156<tr>157<td>TRUE</td>158</tr>159</table>160</div>161</div>162<hr>163<div class="step"><h3><span class="false">Prediction: TRUE </span></h3>164<h3>Ground-truth:</span> FALSE</h3></div>165</body></html>166 