Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

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