Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-2013.html208 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<hr>23<h3><span>Statement:</span> collingwood had a home team score 3.00 points higher than that of carlton</h3>24<h3>Input Table: 1954 vfl season</h3>25<div class="step">26<div class="step">27<div class="step-title">Step 1: Select rows where 'home_team' is 'collingwood'.</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;">geelong</span></td>41<td>13.12 (90)</td>42<td>hawthorn</td>43<td>7.6 (48)</td>44<td>kardinia park</td>45<td>16870</td>46<td>1954-08-14</td>47</tr>48<tr>49<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">collingwood</span></td>50<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">12.16 (88)</span></td>51<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">south melbourne</span></td>52<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">13.12 (90)</span></td>53<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">victoria park</span></td>54<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">18556</span></td>55<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1954-08-14</span></td>56</tr>57<tr>58<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">carlton</span></td>59<td>10.16 (76)</td>60<td>essendon</td>61<td>11.14 (80)</td>62<td>princes park</td>63<td>29744</td>64<td>1954-08-14</td>65</tr>66<tr>67<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">richmond</span></td>68<td>10.18 (78)</td>69<td>melbourne</td>70<td>15.4 (94)</td>71<td>punt road oval</td>72<td>24000</td>73<td>1954-08-14</td>74</tr>75<tr>76<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">north melbourne</span></td>77<td>9.14 (68)</td>78<td>footscray</td>79<td>9.14 (68)</td>80<td>arden street oval</td>81<td>22000</td>82<td>1954-08-14</td>83</tr>84<tr>85<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">st kilda</span></td>86<td>13.14 (92)</td>87<td>fitzroy</td>88<td>9.15 (69)</td>89<td>junction oval</td>90<td>11500</td>91<td>1954-08-14</td>92</tr>93</table>94</div>95<hr>96<div class="step">97<div class="step-title">Step 2: Select rows where 'home_team' is 'carlton'.</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</tr>109<tr>110<td>collingwood</td>111<td>12.16 (88)</td>112<td>south melbourne</td>113<td>13.12 (90)</td>114<td>victoria park</td>115<td>18556</td>116<td>1954-08-14</td>117</tr>118</table>119</div>120</div>121<hr>122<div class="step">123<div class="step-title">Step 3: Extract the numerical home team score from the 'home_team_score' column for collingwood then add column 'collingwood_score' to existing table.</div>124<div id="step-1" class="content">125<table>126<tr>127<td>home_team</td>128<td>home_team_score</td>129<td>away_team</td>130<td>away_team_score</td>131<td>venue</td>132<td>crowd</td>133<td>date</td>134</tr>135</table>136</div>137</div>138<hr>139<div class="step">140<div class="step-title">Step 4: Extract the numerical home team score from the 'home_team_score' column for carlton then add column 'carlton_score' to existing table.</div>141<div id="step-2" class="content">142<table>143<tr>144<td>home_team</td>145<td>home_team_score</td>146<td>away_team</td>147<td>away_team_score</td>148<td>venue</td>149<td>crowd</td>150<td>date</td>151<td>collingwood_score</td>152</tr>153</table>154</div>155</div>156<hr>157<div class="step">158<div class="step-title">Step 5: Select rows where 'collingwood_score' is 3.00 points higher than 'carlton_score'.</div>159<div id="step-3" class="content">160<table>161<tr>162<td>home_team</td>163<td>home_team_score</td>164<td>away_team</td>165<td>away_team_score</td>166<td>venue</td>167<td>crowd</td>168<td>date</td>169<td>collingwood_score</td>170<td>carlton_score</td>171</tr>172</table>173</div>174</div>175<hr>176<div class="step">177<div class="step-title">Step 6: Use a `CASE` statement to return TRUE if the number of rows is greater than or equal to 1, otherwise return FALSE.</div>178<div id="step-4" class="content">179<table>180<tr>181<td>home_team</td>182<td>home_team_score</td>183<td>away_team</td>184<td>away_team_score</td>185<td>venue</td>186<td>crowd</td>187<td>date</td>188<td>collingwood_score</td>189<td>carlton_score</td>190<td>score_difference</td>191</tr>192</table>193</div>194</div>195<hr>196<table>197<tr>198<td>verification_result</td>199</tr>200<tr>201<td>FALSE</td>202</tr>203</table>204</div>205</div>206<hr>207</body></html>208