Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1110.html187 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> steve gould is the lead in the city of winnipeg</h3>25<h3>Ground-truth:</span> TRUE</h3>26<h3>Input Table: 2009 canadian olympic curling trials</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'lead' is 'steve gould'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>skip</td>34<td>third___vice_skip</td>35<td>second</td>36<td>lead</td>37<td>city</td>38</tr>39<tr>40<td>kerry burtnyk</td>41<td>don walchuk</td>42<td>richard daneault</td>43<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">garth smith</span></td>44<td>winnipeg</td>45</tr>46<tr>47<td>pat simmons</td>48<td>gerry adam</td>49<td>jeff sharp</td>50<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">steve laycock</span></td>51<td>davidson</td>52</tr>53<tr>54<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jeff stoughton</span></td>55<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">kevin park</span></td>56<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">rob fowler</span></td>57<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">steve gould</span></td>58<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">winnipeg</span></td>59</tr>60<tr>61<td>wayne middaugh</td>62<td>jon mead</td>63<td>john epping</td>64<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">scott bailey</span></td>65<td>islington</td>66</tr>67<tr>68<td>brad gushue</td>69<td>mark nichols</td>70<td>ryan fry</td>71<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jamie korab</span></td>72<td>st john 's</td>73</tr>74<tr>75<td>mike mcewen</td>76<td>b j neufeld</td>77<td>matt wozniak</td>78<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">denni neufeld</span></td>79<td>winnipeg</td>80</tr>81<tr>82<td>joel jordison</td>83<td>scott bitz</td>84<td>aryn schmidt</td>85<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">dean hicke</span></td>86<td>moose jaw</td>87</tr>88<tr>89<td>bob ursel</td>90<td>jim cotter</td>91<td>kevin folk</td>92<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">rick sawatsky</span></td>93<td>kelowna</td>94</tr>95<tr>96<td>jean - michel ménard</td>97<td>martin crête</td>98<td>éric sylvain</td>99<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jean gagnon</span></td>100<td>lévis</td>101</tr>102<tr>103<td>ted appelman</td>104<td>tom appelman</td>105<td>bradon klassen</td>106<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">brendan melnyk</span></td>107<td>edmonton</td>108</tr>109<tr>110<td>greg mcaulay</td>111<td>ken maskiewich</td>112<td>deane horning</td>113<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">aaron watson</span></td>114<td>richmond</td>115</tr>116<tr>117<td>jason gunnlaugson</td>118<td>justin richter</td>119<td>braden zawada</td>120<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">tyler forrest</span></td>121<td>beausejour</td>122</tr>123</table>124</div>125<hr>126<div class="step">127<div class="step-title">Step 2: Select rows where 'city' is 'winnipeg'.</div>128<div id="step-0" class="content">129<table>130<tr>131<td>skip</td>132<td>third___vice_skip</td>133<td>second</td>134<td>lead</td>135<td>city</td>136</tr>137<tr>138<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jeff stoughton</span></td>139<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">kevin park</span></td>140<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">rob fowler</span></td>141<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">steve gould</span></td>142<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">winnipeg</span></td>143</tr>144</table>145</div>146</div>147<hr>148<div class="step">149<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>150<div id="step-1" class="content">151<table>152<tr>153<td>skip</td>154<td>third___vice_skip</td>155<td>second</td>156<td>lead</td>157<td>city</td>158</tr>159<tr>160<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">jeff stoughton</span></td>161<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">kevin park</span></td>162<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">rob fowler</span></td>163<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">steve gould</span></td>164<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">winnipeg</span></td>165</tr>166</table>167</div>168</div>169<hr>170<div class="step">171<div class="step-title">Final output table:</div>172<div id="step-2" class="content">173<table>174<tr>175<td>verification_result</td>176</tr>177<tr>178<td>TRUE</td>179</tr>180</table>181</div>182</div>183<hr>184<div class="step"><h3><span class="true">Prediction: TRUE </span></h3>185<h3>Ground-truth:</span> TRUE</h3></div>186</body></html>187