Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-434.html263 linesDownload Raw Back to TP
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> oh the issue affecting time engine trouble is the most common</h3>24<h3>Input Table: 1971 south african grand prix</h3>25<div class="step">26<div class="step">27<div class="step-title">Step 1: Select rows where the 'time___retired' column contains the phrase 'engine'.</div>28<div class="content" id="step-1">29<table>30<tr>31<td>driver</td>32<td>constructor</td>33<td>laps</td>34<td>time___retired</td>35<td>grid</td>36</tr>37<tr>38<td>mario andretti</td>39<td>ferrari</td>40<td>79</td>41<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">1:47:35.5</span></td>42<td>4</td>43</tr>44<tr>45<td>jackie stewart</td>46<td>tyrrell - ford</td>47<td>79</td>48<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">+ 20.9</span></td>49<td>1</td>50</tr>51<tr>52<td>clay regazzoni</td>53<td>ferrari</td>54<td>79</td>55<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">+ 31.4</span></td>56<td>3</td>57</tr>58<tr>59<td>reine wisell</td>60<td>lotus - ford</td>61<td>79</td>62<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">+ 1:09.4</span></td>63<td>14</td>64</tr>65<tr>66<td>chris amon</td>67<td>matra</td>68<td>78</td>69<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">+ 1 lap</span></td>70<td>2</td>71</tr>72<tr>73<td>denny hulme</td>74<td>mclaren - ford</td>75<td>78</td>76<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">+ 1 lap</span></td>77<td>7</td>78</tr>79<tr>80<td>brian redman</td>81<td>surtees - ford</td>82<td>78</td>83<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">+ 1 lap</span></td>84<td>17</td>85</tr>86<tr>87<td>jacky ickx</td>88<td>ferrari</td>89<td>78</td>90<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">+ 1 lap</span></td>91<td>8</td>92</tr>93<tr>94<td>graham hill</td>95<td>brabham - ford</td>96<td>77</td>97<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">+ 2 laps</span></td>98<td>19</td>99</tr>100<tr>101<td>ronnie peterson</td>102<td>march - ford</td>103<td>77</td>104<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">+ 2 laps</span></td>105<td>13</td>106</tr>107<tr>108<td>henri pescarolo</td>109<td>march - ford</td>110<td>77</td>111<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">+ 2 laps</span></td>112<td>18</td>113</tr>114<tr>115<td>rolf stommelen</td>116<td>surtees - ford</td>117<td>77</td>118<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">+ 2 laps</span></td>119<td>15</td>120</tr>121<tr>122<td>andrea de adamich</td>123<td>march - alfa romeo</td>124<td>75</td>125<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">+ 4 laps</span></td>126<td>22</td>127</tr>128<tr>129<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">emerson fittipaldi</span></td>130<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">lotus - ford</span></td>131<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">58</span></td>132<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">engine</span></td>133<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">5</span></td>134</tr>135<tr>136<td>john surtees</td>137<td>surtees - ford</td>138<td>56</td>139<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">gearbox</span></td>140<td>6</td>141</tr>142<tr>143<td>françois cevert</td>144<td>tyrrell - ford</td>145<td>45</td>146<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">accident</span></td>147<td>9</td>148</tr>149<tr>150<td>howden ganley</td>151<td>brm</td>152<td>42</td>153<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">physical</span></td>154<td>24</td>155</tr>156<tr>157<td>pedro rodríguez</td>158<td>brm</td>159<td>33</td>160<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">overheating</span></td>161<td>10</td>162</tr>163<tr>164<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">dave charlton</span></td>165<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">brabham - ford</span></td>166<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">31</span></td>167<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">engine</span></td>168<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">16</span></td>169</tr>170<tr>171<td>jo siffert</td>172<td>brm</td>173<td>31</td>174<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">overheating</span></td>175<td>12</td>176</tr>177<tr>178<td>john love</td>179<td>march - ford</td>180<td>30</td>181<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">differential</span></td>182<td>21</td>183</tr>184<tr>185<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">jackie pretorius</span></td>186<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">brabham - ford</span></td>187<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">22</span></td>188<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">engine</span></td>189<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">20</span></td>190</tr>191<tr>192<td>peter gethin</td>193<td>mclaren - ford</td>194<td>7</td>195<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">fuel leak</span></td>196<td>11</td>197</tr>198<tr>199<td>jo bonnier</td>200<td>mclaren - ford</td>201<td>5</td>202<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">suspension</span></td>203<td>23</td>204</tr>205<tr>206<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">alex soler - roig</span></td>207<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">march - ford</span></td>208<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">5</span></td>209<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">engine</span></td>210<td><span class="highlighted-cell" style="background-color:yellow;" title="Used in transformation">25</span></td>211</tr>212</table>213</div>214<hr/>215<div class="step">216<div class="step-title">Step 2: Use a `CASE` statement to return TRUE if the number of rows is greater than 0, otherwise return FALSE.</div>217<div class="content" id="step-0">218<table>219<tr>220<td>driver</td>221<td>constructor</td>222<td>laps</td>223<td>time___retired</td>224<td>grid</td>225</tr>226<tr>227<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">emerson fittipaldi</span></td>228<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">lotus - ford</span></td>229<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">58</span></td>230<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">engine</span></td>231<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">5</span></td>232</tr>233<tr>234<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">dave charlton</span></td>235<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">brabham - ford</span></td>236<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">31</span></td>237<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">engine</span></td>238<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">16</span></td>239</tr>240<tr>241<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">jackie pretorius</span></td>242<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">brabham - ford</span></td>243<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">22</span></td>244<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">engine</span></td>245<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">20</span></td>246</tr>247<tr>248<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">alex soler - roig</span></td>249<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">march - ford</span></td>250<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">5</span></td>251<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">engine</span></td>252<td><span class="highlighted-cell" style="background-color:#90EE90;" title="Used in transformation">25</span></td>253</tr>254</table>255</div>256</div>257<hr/>258 259</div>260</div>261<hr/>262</body></html>263