Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-392.html158 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> there were only two games where the score was 0 - 0 for the 1st leg</h3>25<h3>Ground-truth:</span> TRUE</h3>26<h3>Input Table: 1992 african cup of champions clubs</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'c_1st_leg' is '0 - 0'.</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>botswana defence force xi</td>41<td>1 - 2</td>42<td>mbabane highlanders</td>43<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1 - 1</span></td>44<td>0 - 1</td>45</tr>46<tr>47<td>arsenal (maseru)</td>48<td>4 - 0</td>49<td>eleven arrows fc</td>50<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3 - 0</span></td>51<td>1 - 0</td>52</tr>53<tr>54<td>cd elá nguema</td>55<td>2 - 6</td>56<td>primeiro de agosto</td>57<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2 - 3</span></td>58<td>0 - 3 1</td>59</tr>60<tr>61<td>lprc oilers</td>62<td>2 - 3</td>63<td>mighty blackpool</td>64<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1 - 0</span></td>65<td>1 - 3</td>66</tr>67<tr>68<td>asc police</td>69<td>2 - 2 (4 - 5)</td>70<td>as real bamako</td>71<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1 - 1</span></td>72<td>1 - 1</td>73</tr>74<tr>75<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">port autonome</span></td>76<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0 - 0 (1 - 3)</span></td>77<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">sporting clube da praia</span></td>78<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">0 - 0</span></td>79<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0 - 0</span></td>80</tr>81<tr>82<td>saint - george sa</td>83<td>2 - 4</td>84<td>al ittihad</td>85<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2 - 1</span></td>86<td>0 - 3</td>87</tr>88<tr>89<td>saint - louis fc</td>90<td>2 - 7</td>91<td>young africans</td>92<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1 - 3</span></td>93<td>1 - 4</td>94</tr>95<tr>96<td>sahel sc</td>97<td>4 - 2</td>98<td>postel sport</td>99<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2 - 1</span></td>100<td>2 - 1</td>101</tr>102<tr>103<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">tourbillon fc</span></td>104<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1 - 1</span></td>105<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">forces armées ca</span></td>106<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">0 - 0</span></td>107<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1 - 1</span></td>108</tr>109</table>110</div>111<hr>112<div class="step">113<div class="step-title">Step 2: Use a `CASE` statement to return TRUE if the number of rows is equal to 2, otherwise return FALSE.</div>114<div id="step-0" class="content">115<table>116<tr>117<td>team_1</td>118<td>agg</td>119<td>team_2</td>120<td>c_1st_leg</td>121<td>c_2nd_leg</td>122</tr>123<tr>124<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">port autonome</span></td>125<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">0 - 0 (1 - 3)</span></td>126<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">sporting clube da praia</span></td>127<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">0 - 0</span></td>128<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">0 - 0</span></td>129</tr>130<tr>131<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">tourbillon fc</span></td>132<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1 - 1</span></td>133<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">forces armées ca</span></td>134<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">0 - 0</span></td>135<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1 - 1</span></td>136</tr>137</table>138</div>139</div>140<hr>141<div class="step">142<div class="step-title">Final output table:</div>143<div id="step-1" class="content">144<table>145<tr>146<td>verification_result</td>147</tr>148<tr>149<td>TRUE</td>150</tr>151</table>152</div>153</div>154<hr>155<div class="step"><h3><span class="true">Prediction: TRUE </span></h3>156<h3>Ground-truth:</span> TRUE</h3></div>157</body></html>158