Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1998.html180 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> the 31997 mintage was released in 2001</h3>25<h3>Ground-truth:</span> FALSE</h3>26<h3>Input Table: royal canadian mint numismatic coins (2000s)</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'mintage' is 31997.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>year</td>34<td>theme</td>35<td>artist</td>36<td>mintage</td>37<td>issue_price</td>38</tr>39<tr>40<td>2000</td>41<td>steam buggy</td>42<td>john mardon</td>43<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">44367</span></td>44<td>59.95</td>45</tr>46<tr>47<td>2000</td>48<td>the bluenose</td>49<td>j franklin wright</td>50<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">included in steam buggy</span></td>51<td>59.95</td>52</tr>53<tr>54<td>2000</td>55<td>the toronto</td>56<td>john mardon</td>57<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">included in steam buggy</span></td>58<td>59.95</td>59</tr>60<tr>61<td>2001</td>62<td>the russell light four</td>63<td>john mardon</td>64<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">41828</span></td>65<td>59.95</td>66</tr>67<tr>68<td>2001</td>69<td>the marco polo</td>70<td>j franklin wright</td>71<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">included in the russell</span></td>72<td>59.95</td>73</tr>74<tr>75<td>2001</td>76<td>the scotia</td>77<td>don curley</td>78<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">included in the russell</span></td>79<td>59.95</td>80</tr>81<tr>82<td>2002</td>83<td>the gray - dort</td>84<td>john mardon</td>85<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">35944</span></td>86<td>59.95</td>87</tr>88<tr>89<td>2002</td>90<td>the william lawrence</td>91<td>bonnie ross</td>92<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">included in the gray - dort</span></td>93<td>59.95</td>94</tr>95<tr>96<td>2002</td>97<td>d - 10 locomotive</td>98<td>dan fell</td>99<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">included in the gray - dort</span></td>100<td>59.95</td>101</tr>102<tr>103<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2003</span></td>104<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">hmcs bras dor</span></td>105<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">don curley</span></td>106<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">31997</span></td>107<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">59.95</span></td>108</tr>109<tr>110<td>2003</td>111<td>cnr fa - 1 diesel electric</td>112<td>john mardon</td>113<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">included in hmcs bras dor</span></td>114<td>59.95</td>115</tr>116<tr>117<td>2003</td>118<td>bricklin sv - 1</td>119<td>brian hughes</td>120<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">included in hmcs bras dor</span></td>121<td>59.95</td>122</tr>123</table>124</div>125<hr>126<div class="step">127<div class="step-title">Step 2: Select rows where 'year' is 2001.</div>128<div id="step-0" class="content">129<table>130<tr>131<td>year</td>132<td>theme</td>133<td>artist</td>134<td>mintage</td>135<td>issue_price</td>136</tr>137<tr>138<td>2003</td>139<td>hmcs bras dor</td>140<td>don curley</td>141<td>31997</td>142<td>59.95</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>year</td>154<td>theme</td>155<td>artist</td>156<td>mintage</td>157<td>issue_price</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>FALSE</td>172</tr>173</table>174</div>175</div>176<hr>177<div class="step"><h3><span class="true">Prediction: FALSE </span></h3>178<h3>Ground-truth:</span> FALSE</h3></div>179</body></html>180