Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-902.html165 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> all of the england players took as many wickets as bill johnston</h3>24<h3>Input Table: 1948 ashes series</h3>25<div class="step">26<div class="step">27<div class="step-title">Step 1: Select rows where 'team' is 'england'.</div>28<div id="step-1" class="content">29<table>30<tr>31<td>player</td>32<td>team</td>33<td>matches</td>34<td>wickets</td>35<td>average</td>36<td>best_bowling</td>37</tr>38<tr>39<td>ray lindwall</td>40<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">australia</span></td>41<td>5</td>42<td>27</td>43<td>19.62</td>44<td>6 / 20</td>45</tr>46<tr>47<td>bill johnston</td>48<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">australia</span></td>49<td>5</td>50<td>27</td>51<td>23.33</td>52<td>5 / 36</td>53</tr>54<tr>55<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">alec bedser</span></td>56<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">england</span></td>57<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">5</span></td>58<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">18</span></td>59<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">38.22</span></td>60<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4 / 81</span></td>61</tr>62<tr>63<td>keith miller</td>64<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">australia</span></td>65<td>5</td>66<td>13</td>67<td>23.15</td>68<td>4 / 125</td>69</tr>70<tr>71<td>ernie toshack</td>72<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">australia</span></td>73<td>4</td>74<td>11</td>75<td>33.09</td>76<td>5 / 40</td>77</tr>78<tr>79<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">norman yardley</span></td>80<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">england</span></td>81<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">5</span></td>82<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9</span></td>83<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">22.66</span></td>84<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2 / 32</span></td>85</tr>86<tr>87<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jim laker</span></td>88<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">england</span></td>89<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3</span></td>90<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9</span></td>91<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">52.44</span></td>92<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4 / 138</span></td>93</tr>94</table>95</div>96<hr>97<div class="step">98<div class="step-title">Step 2: Select rows where 'wickets' is equal to the number of wickets taken by Bill Johnston.</div>99<div id="step-0" class="content">100<table>101<tr>102<td>player</td>103<td>team</td>104<td>matches</td>105<td>wickets</td>106<td>average</td>107<td>best_bowling</td>108</tr>109<tr>110<td>alec bedser</td>111<td>england</td>112<td>5</td>113<td>18</td>114<td>38.22</td>115<td>4 / 81</td>116</tr>117<tr>118<td>norman yardley</td>119<td>england</td>120<td>5</td>121<td>9</td>122<td>22.66</td>123<td>2 / 32</td>124</tr>125<tr>126<td>jim laker</td>127<td>england</td>128<td>3</td>129<td>9</td>130<td>52.44</td>131<td>4 / 138</td>132</tr>133</table>134</div>135</div>136<hr>137<div class="step">138<div class="step-title">Step 3: Use a `CASE` statement to return TRUE if the number of rows is equal to the number of rows in the table, otherwise return FALSE.</div>139<div id="step-1" class="content">140<table>141<tr>142<td>player</td>143<td>team</td>144<td>matches</td>145<td>wickets</td>146<td>average</td>147<td>best_bowling</td>148</tr>149</table>150</div>151</div>152<hr>153<table>154<tr>155<td>verification_result</td>156</tr>157<tr>158<td>TRUE</td>159</tr>160</table>161</div>162</div>163<hr>164</body></html>165