Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-702.html188 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> pan wei - lun is the loss of who has a save of huang chun - chung and played against chinatrust whales</h3>25<h3>Ground-truth:</span> FALSE</h3>26<h3>Input Table: 2007 uni - president lions season</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'loss' is 'pan wei - lun'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>date</td>34<td>opponent</td>35<td>score</td>36<td>loss</td>37<td>save</td>38</tr>39<tr>40<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-03-17</span></td>41<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">la new bears</span></td>42<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4 - 5</span></td>43<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">pan wei - lun</span></td>44<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">huang chun - chung</span></td>45</tr>46<tr>47<td>9999-03-18</td>48<td>la new bears</td>49<td>4 - 1</td>50<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">horacio estrada</span></td>51<td>tseng yi - cheng</td>52</tr>53<tr>54<td>9999-03-22</td>55<td>chinatrust whales</td>56<td>7 - 9</td>57<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">kao lung - wei</span></td>58<td>ni fu - deh</td>59</tr>60<tr>61<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-03-23</span></td>62<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">chinatrust whales</span></td>63<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4 - 5</span></td>64<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">pan wei - lun</span></td>65<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">miguel saladin</span></td>66</tr>67<tr>68<td>9999-03-24</td>69<td>la new bears</td>70<td>1 - 5</td>71<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jeriome robertson</span></td>72<td>||3008</td>73</tr>74<tr>75<td>9999-03-25</td>76<td>la new bears</td>77<td>1 - 6</td>78<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">rob cordemans</span></td>79<td>huang chun - chung</td>80</tr>81<tr>82<td>9999-03-27</td>83<td>brother elephants</td>84<td>postponed rescheduled for june 19</td>85<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">postponed rescheduled for june 19</span></td>86<td>postponed rescheduled for june 19</td>87</tr>88<tr>89<td>9999-03-28</td>90<td>brother elephants</td>91<td>0 - 4</td>92<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">tsao chun - yang</span></td>93<td>chuang wei - chuan</td>94</tr>95<tr>96<td>9999-03-31</td>97<td>macoto cobras</td>98<td>11 - 5</td>99<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">diegomar markwell</span></td>100<td>||2275</td>101</tr>102</table>103</div>104<hr>105<div class="step">106<div class="step-title">Step 2: Select rows where 'save' is 'huang chun - chung'.</div>107<div id="step-0" class="content">108<table>109<tr>110<td>date</td>111<td>opponent</td>112<td>score</td>113<td>loss</td>114<td>save</td>115</tr>116<tr>117<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-03-17</span></td>118<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">la new bears</span></td>119<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4 - 5</span></td>120<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">pan wei - lun</span></td>121<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">huang chun - chung</span></td>122</tr>123<tr>124<td>9999-03-23</td>125<td>chinatrust whales</td>126<td>4 - 5</td>127<td>pan wei - lun</td>128<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">miguel saladin</span></td>129</tr>130</table>131</div>132</div>133<hr>134<div class="step">135<div class="step-title">Step 3: Select rows where 'opponent' is 'chinatrust whales'.</div>136<div id="step-1" class="content">137<table>138<tr>139<td>date</td>140<td>opponent</td>141<td>score</td>142<td>loss</td>143<td>save</td>144</tr>145<tr>146<td>9999-03-17</td>147<td>la new bears</td>148<td>4 - 5</td>149<td>pan wei - lun</td>150<td>huang chun - chung</td>151</tr>152</table>153</div>154</div>155<hr>156<div class="step">157<div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>158<div id="step-2" class="content">159<table>160<tr>161<td>date</td>162<td>opponent</td>163<td>score</td>164<td>loss</td>165<td>save</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-3" class="content">174<table>175<tr>176<td>verification_result</td>177</tr>178<tr>179<td>FALSE</td>180</tr>181</table>182</div>183</div>184<hr>185<div class="step"><h3><span class="true">Prediction: FALSE </span></h3>186<h3>Ground-truth:</span> FALSE</h3></div>187</body></html>188