Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1125.html164 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> brian watts won exactly one major tournament</h3>25<h3>Ground-truth:</span> FALSE</h3>26<h3>Input Table: brian watts</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'tournament' is not 'totals'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>tournament</td>34<td>wins</td>35<td>top___5</td>36<td>top___25</td>37<td>events</td>38<td>cuts_made</td>39</tr>40<tr>41<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">masters tournament</span></td>42<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td>43<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td>44<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td>45<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2</span></td>46<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1</span></td>47</tr>48<tr>49<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">us open</span></td>50<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td>51<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td>52<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1</span></td>53<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2</span></td>54<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1</span></td>55</tr>56<tr>57<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">the open championship</span></td>58<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td>59<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1</span></td>60<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2</span></td>61<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">7</span></td>62<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4</span></td>63</tr>64<tr>65<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">pga championship</span></td>66<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td>67<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td>68<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td>69<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">6</span></td>70<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4</span></td>71</tr>72<tr>73<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">totals</span></td>74<td>0</td>75<td>1</td>76<td>3</td>77<td>17</td>78<td>10</td>79</tr>80</table>81</div>82<hr>83<div class="step">84<div class="step-title">Step 2: Select rows where 'wins' is equal to 1.</div>85<div id="step-0" class="content">86<table>87<tr>88<td>tournament</td>89<td>wins</td>90<td>top___5</td>91<td>top___25</td>92<td>events</td>93<td>cuts_made</td>94</tr>95<tr>96<td>masters tournament</td>97<td>0</td>98<td>0</td>99<td>0</td>100<td>2</td>101<td>1</td>102</tr>103<tr>104<td>us open</td>105<td>0</td>106<td>0</td>107<td>1</td>108<td>2</td>109<td>1</td>110</tr>111<tr>112<td>the open championship</td>113<td>0</td>114<td>1</td>115<td>2</td>116<td>7</td>117<td>4</td>118</tr>119<tr>120<td>pga championship</td>121<td>0</td>122<td>0</td>123<td>0</td>124<td>6</td>125<td>4</td>126</tr>127</table>128</div>129</div>130<hr>131<div class="step">132<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>133<div id="step-1" class="content">134<table>135<tr>136<td>tournament</td>137<td>wins</td>138<td>top___5</td>139<td>top___25</td>140<td>events</td>141<td>cuts_made</td>142</tr>143</table>144</div>145</div>146<hr>147<div class="step">148<div class="step-title">Final output table:</div>149<div id="step-2" class="content">150<table>151<tr>152<td>verification_result</td>153</tr>154<tr>155<td>FALSE</td>156</tr>157</table>158</div>159</div>160<hr>161<div class="step"><h3><span class="true">Prediction: FALSE </span></h3>162<h3>Ground-truth:</span> FALSE</h3></div>163</body></html>164