luulinh90s/Tabular-LLM-Study-Preference-Ranking
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> bruno brandão from brazil has a snatch of 157.0</h3>25<h3>Ground-truth:</span> TRUE</h3>26<h3>Input Table: weightlifting at the 2007 pan american games</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'name' is 'bruno brandão'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>name</td>34<td>bodyweight</td>35<td>snatch</td>36<td>clean___jerk</td>37<td>total__kg</td>38</tr>39<tr>40<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">joël mackenzie ( cub )</span></td>41<td>101.4</td>42<td>175.0</td>43<td>205.0</td>44<td>380.0</td>45</tr>46<tr>47<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">pedro stetsiuk ( arg )</span></td>48<td>102.45</td>49<td>160.0</td>50<td>180.0</td>51<td>340.0</td>52</tr>53<tr>54<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">damian abbiate ( arg )</span></td>55<td>104.45</td>56<td>150.0</td>57<td>188.0</td>58<td>338.0</td>59</tr>60<tr>61<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">bruno brandão ( bra )</span></td>62<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">99.1</span></td>63<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">157.0</span></td>64<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">180.0</span></td>65<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">337.0</span></td>66</tr>67<tr>68<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">christian lópez ( gua )</span></td>69<td>104.7</td>70<td>153.0</td>71<td>182.0</td>72<td>335.0</td>73</tr>74<tr>75<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">víctor osorio ( chi )</span></td>76<td>103.05</td>77<td>140.0</td>78<td>176.0</td>79<td>316.0</td>80</tr>81<tr>82<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ivorn mcknee ( bar )</span></td>83<td>103.25</td>84<td>140.0</td>85<td>-</td>86<td>dnf</td>87</tr>88<tr>89<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">josé espinoza ( nca )</span></td>90<td>99.4</td>91<td>-</td>92<td>-</td>93<td>dnf</td>94</tr>95<tr>96<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">boris burov ( ecu )</span></td>97<td>100.4</td>98<td>-</td>99<td>-</td>100<td>dnf</td>101</tr>102<tr>103<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">akos sandor ( can )</span></td>104<td>104.95</td>105<td>-</td>106<td>-</td>107<td>dnf</td>108</tr>109<tr>110<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">fabrício mafra ( bra )</span></td>111<td>100.75</td>112<td>151.0</td>113<td>187.0</td>114<td>dsq</td>115</tr>116</table>117</div>118<hr>119<div class="step">120<div class="step-title">Step 2: Select rows where 'snatch' is 157.0.</div>121<div id="step-0" class="content">122<table>123<tr>124<td>name</td>125<td>bodyweight</td>126<td>snatch</td>127<td>clean___jerk</td>128<td>total__kg</td>129</tr>130<tr>131<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">bruno brandão ( bra )</span></td>132<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">99.1</span></td>133<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">157.0</span></td>134<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">180.0</span></td>135<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">337.0</span></td>136</tr>137</table>138</div>139</div>140<hr>141<div class="step">142<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>143<div id="step-1" class="content">144<table>145<tr>146<td>name</td>147<td>bodyweight</td>148<td>snatch</td>149<td>clean___jerk</td>150<td>total__kg</td>151</tr>152<tr>153<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">bruno brandão ( bra )</span></td>154<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">99.1</span></td>155<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">157.0</span></td>156<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">180.0</span></td>157<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">337.0</span></td>158</tr>159</table>160</div>161</div>162<hr>163<div class="step">164<div class="step-title">Final output table:</div>165<div id="step-2" class="content">166<table>167<tr>168<td>verification_result</td>169</tr>170<tr>171<td>TRUE</td>172</tr>173</table>174</div>175</div>176<hr>177<div class="step"><h3><span class="true">Prediction: TRUE </span></h3>178<h3>Ground-truth:</span> TRUE</h3></div>179</body></html>180 