Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1525.html186 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> carlton scored 20.7 when they played richmond at princes park</h3>24<h3>Input Table: 1969 vfl season</h3>25<div class="step">26<div class="step">27<div class="step-title">Step 1: Select rows where 'home_team' is 'carlton'.</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>16.14 (110)</td>42<td>hawthorn</td>43<td>14.11 (95)</td>44<td>kardinia park</td>45<td>31569</td>46<td>1969-08-23</td>47</tr>48<tr>49<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">collingwood</span></td>50<td>19.15 (129)</td>51<td>south melbourne</td>52<td>6.22 (58)</td>53<td>victoria park</td>54<td>19428</td>55<td>1969-08-23</td>56</tr>57<tr>58<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">carlton</span></td>59<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">20.7 (127)</span></td>60<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">richmond</span></td>61<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">24.12 (156)</span></td>62<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">princes park</span></td>63<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">27657</span></td>64<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1969-08-23</span></td>65</tr>66<tr>67<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">st kilda</span></td>68<td>21.18 (144)</td>69<td>north melbourne</td>70<td>8.10 (58)</td>71<td>moorabbin oval</td>72<td>11109</td>73<td>1969-08-23</td>74</tr>75<tr>76<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">melbourne</span></td>77<td>14.13 (97)</td>78<td>fitzroy</td>79<td>14.15 (99)</td>80<td>mcg</td>81<td>17790</td>82<td>1969-08-23</td>83</tr>84<tr>85<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">footscray</span></td>86<td>14.10 (94)</td>87<td>essendon</td>88<td>12.10 (82)</td>89<td>western oval</td>90<td>16043</td>91<td>1969-08-23</td>92</tr>93</table>94</div>95<hr>96<div class="step">97<div class="step-title">Step 2: Select rows where 'away_team' is 'richmond'.</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><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">carlton</span></td>111<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">20.7 (127)</span></td>112<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">richmond</span></td>113<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">24.12 (156)</span></td>114<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">princes park</span></td>115<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">27657</span></td>116<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1969-08-23</span></td>117</tr>118</table>119</div>120</div>121<hr>122<div class="step">123<div class="step-title">Step 3: Select rows where 'venue' is 'princes park'.</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<tr>136<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">carlton</span></td>137<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">20.7 (127)</span></td>138<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">richmond</span></td>139<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">24.12 (156)</span></td>140<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">princes park</span></td>141<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">27657</span></td>142<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1969-08-23</span></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 and the 'home_team_score' is '20.7', otherwise return FALSE.</div>150<div id="step-2" class="content">151<table>152<tr>153<td>home_team</td>154<td>home_team_score</td>155<td>away_team</td>156<td>away_team_score</td>157<td>venue</td>158<td>crowd</td>159<td>date</td>160</tr>161<tr>162<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">carlton</span></td>163<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">20.7 (127)</span></td>164<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">richmond</span></td>165<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">24.12 (156)</span></td>166<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">princes park</span></td>167<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">27657</span></td>168<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1969-08-23</span></td>169</tr>170</table>171</div>172</div>173<hr>174<table>175<tr>176<td>verification_result</td>177</tr>178<tr>179<td>FALSE</td>180</tr>181</table>182</div>183</div>184<hr>185</body></html>186