Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1345.html204 linesDownload Raw Back to FP
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> in 1962 , the vfl began in july</h3>24<h3>Input Table: 1962 vfl season</h3>25<div class="step">26<div class="step">27<div class="step-title">Step 1: Extract the numerical month from the 'date' column then add column 'month' to existing table.</div>28<div id="step-1" class="content">29<table>30<tr>31<td>home_team</td>32<td>home_team_score</td>33<td>away_team</td>34<td>away_team_score</td>35<td>venue</td>36<td>crowd</td>37<td>date</td>38</tr>39<tr>40<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">melbourne</span></td>41<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">11.18 (84)</span></td>42<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">st kilda</span></td>43<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">11.6 (72)</span></td>44<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mcg</span></td>45<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">48952</span></td>46<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1962-06-23</span></td>47</tr>48<tr>49<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">essendon</span></td>50<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">15.17 (107)</span></td>51<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">geelong</span></td>52<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">10.7 (67)</span></td>53<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">windy hill</span></td>54<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">35000</span></td>55<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1962-06-23</span></td>56</tr>57<tr>58<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">collingwood</span></td>59<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">10.14 (74)</span></td>60<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">fitzroy</span></td>61<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9.11 (65)</span></td>62<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">victoria park</span></td>63<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">26488</span></td>64<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1962-06-23</span></td>65</tr>66<tr>67<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">carlton</span></td>68<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">12.9 (81)</span></td>69<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">footscray</span></td>70<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9.10 (64)</span></td>71<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">princes park</span></td>72<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">32400</span></td>73<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1962-06-23</span></td>74</tr>75<tr>76<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">south melbourne</span></td>77<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">10.13 (73)</span></td>78<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">richmond</span></td>79<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">11.13 (79)</span></td>80<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">lake oval</span></td>81<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">17000</span></td>82<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1962-06-23</span></td>83</tr>84<tr>85<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">north melbourne</span></td>86<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">10.8 (68)</span></td>87<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">hawthorn</span></td>88<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">10.7 (67)</span></td>89<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">arden street oval</span></td>90<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">8470</span></td>91<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1962-06-23</span></td>92</tr>93</table>94</div>95<hr>96<div class="step">97<div class="step-title">Step 2: Select rows where 'month' is July.</div>98<div id="step-0" class="content">99<table>100<tr>101<td>home_team</td>102<td>home_team_score</td>103<td>away_team</td>104<td>away_team_score</td>105<td>venue</td>106<td>crowd</td>107<td>date</td>108<td>month</td>109</tr>110<tr>111<td>melbourne</td>112<td>11.18 (84)</td>113<td>st kilda</td>114<td>11.6 (72)</td>115<td>mcg</td>116<td>48952</td>117<td>1962-06-23</td>118<td>6</td>119</tr>120<tr>121<td>essendon</td>122<td>15.17 (107)</td>123<td>geelong</td>124<td>10.7 (67)</td>125<td>windy hill</td>126<td>35000</td>127<td>1962-06-23</td>128<td>6</td>129</tr>130<tr>131<td>collingwood</td>132<td>10.14 (74)</td>133<td>fitzroy</td>134<td>9.11 (65)</td>135<td>victoria park</td>136<td>26488</td>137<td>1962-06-23</td>138<td>6</td>139</tr>140<tr>141<td>carlton</td>142<td>12.9 (81)</td>143<td>footscray</td>144<td>9.10 (64)</td>145<td>princes park</td>146<td>32400</td>147<td>1962-06-23</td>148<td>6</td>149</tr>150<tr>151<td>south melbourne</td>152<td>10.13 (73)</td>153<td>richmond</td>154<td>11.13 (79)</td>155<td>lake oval</td>156<td>17000</td>157<td>1962-06-23</td>158<td>6</td>159</tr>160<tr>161<td>north melbourne</td>162<td>10.8 (68)</td>163<td>hawthorn</td>164<td>10.7 (67)</td>165<td>arden street oval</td>166<td>8470</td>167<td>1962-06-23</td>168<td>6</td>169</tr>170</table>171</div>172</div>173<hr>174<div class="step">175<div class="step-title">Step 3: Use a `CASE` statement to return TRUE if the number of rows is equal to 0, otherwise return FALSE.</div>176<div id="step-1" class="content">177<table>178<tr>179<td>home_team</td>180<td>home_team_score</td>181<td>away_team</td>182<td>away_team_score</td>183<td>venue</td>184<td>crowd</td>185<td>date</td>186<td>month</td>187</tr>188</table>189</div>190</div>191<hr>192<table>193<tr>194<td>verification_result</td>195</tr>196<tr>197<td>TRUE</td>198</tr>199</table>200</div>201</div>202<hr>203</body></html>204