Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-2018.html177 linesDownload Raw Back to FN
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<hr>23<h3><span>Statement:</span> the dundee hurricanes won the same number of games in 2003 and 2004</h3>24<h3>Input Table: dundee hurricanes</h3>25<div class="step">26<div class="step">27<div class="step-title">Step 1: Select rows where 'season' is 2003.</div>28<div id="step-1" class="content">29<table>30<tr>31<td>season</td>32<td>division</td>33<td>wins</td>34<td>losses</td>35<td>ties</td>36<td>final_position</td>37<td>notes</td>38</tr>39<tr>40<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2003</span></td>41<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">bafl division 2 north</span></td>42<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">6</span></td>43<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4</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;">4 / 11</span></td>46<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">-</span></td>47</tr>48<tr>49<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2004</span></td>50<td>bafl division 2 north</td>51<td>6</td>52<td>2</td>53<td>1</td>54<td>1 / 3</td>55<td>-</td>56</tr>57<tr>58<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2005</span></td>59<td>bafl division 2 scottish</td>60<td>5</td>61<td>5</td>62<td>0</td>63<td>2 / 4</td>64<td>-</td>65</tr>66<tr>67<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2006</span></td>68<td>bafl division 2 scottish</td>69<td>3</td>70<td>4</td>71<td>0</td>72<td>2 / 3</td>73<td>-</td>74</tr>75<tr>76<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2007</span></td>77<td>bafl division 2 north</td>78<td>9</td>79<td>1</td>80<td>0</td>81<td>1 / 6</td>82<td>promoted to division 1 north</td>83</tr>84<tr>85<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2008</span></td>86<td>bafl division 1 north</td>87<td>5</td>88<td>2</td>89<td>3</td>90<td>3 / 6</td>91<td>-</td>92</tr>93<tr>94<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2009</span></td>95<td>bafl division 1 north</td>96<td>2</td>97<td>6</td>98<td>1</td>99<td>5 / 7</td>100<td>-</td>101</tr>102</table>103</div>104<hr>105<div class="step">106<div class="step-title">Step 2: Select rows where 'season' is 2004.</div>107<div id="step-0" class="content">108<table>109<tr>110<td>season</td>111<td>division</td>112<td>wins</td>113<td>losses</td>114<td>ties</td>115<td>final_position</td>116<td>notes</td>117</tr>118<tr>119<td>2003</td>120<td>bafl division 2 north</td>121<td>6</td>122<td>4</td>123<td>0</td>124<td>4 / 11</td>125<td>-</td>126</tr>127</table>128</div>129</div>130<hr>131<div class="step">132<div class="step-title">Step 3: Select rows where 'wins' is the same for both seasons.</div>133<div id="step-1" class="content">134<table>135<tr>136<td>season</td>137<td>division</td>138<td>wins</td>139<td>losses</td>140<td>ties</td>141<td>final_position</td>142<td>notes</td>143</tr>144</table>145</div>146</div>147<hr>148<div class="step">149<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>150<div id="step-2" class="content">151<table>152<tr>153<td>season</td>154<td>division</td>155<td>wins</td>156<td>losses</td>157<td>ties</td>158<td>final_position</td>159<td>notes</td>160</tr>161</table>162</div>163</div>164<hr>165<table>166<tr>167<td>verification_result</td>168</tr>169<tr>170<td>FALSE</td>171</tr>172</table>173</div>174</div>175<hr>176</body></html>177