Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-146.html308 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<h1 class="pos-title">Plan-of-SQLs (Ours)</h1>23<hr>24<h3><span>Statement:</span> the texas rangers played the tigers two times in the 2006 season</h3>25<h3>Ground-truth:</span> TRUE</h3>26<h3>Input Table: 2006 texas rangers season</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'opponent' is 'tigers'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>date</td>34<td>opponent</td>35<td>score</td>36<td>loss</td>37<td>attendance</td>38<td>record</td>39</tr>40<tr>41<td>9999-09-01</td>42<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">indians</span></td>43<td>7 - 2</td>44<td>padilla (13 - 9)</td>45<td>23776</td>46<td>69 - 67</td>47</tr>48<tr>49<td>9999-09-02</td>50<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">indians</span></td>51<td>6 - 5</td>52<td>volquez (1 - 4)</td>53<td>40222</td>54<td>69 - 68</td>55</tr>56<tr>57<td>9999-09-03</td>58<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">indians</span></td>59<td>5 - 2</td>60<td>byrd</td>61<td>19667</td>62<td>70 - 68</td>63</tr>64<tr>65<td>9999-09-04</td>66<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">athletics</span></td>67<td>8 - 1</td>68<td>zito</td>69<td>23949</td>70<td>71 - 68</td>71</tr>72<tr>73<td>9999-09-05</td>74<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">athletics</span></td>75<td>5 - 4</td>76<td>saarloos</td>77<td>27225</td>78<td>72 - 68</td>79</tr>80<tr>81<td>9999-09-06</td>82<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">athletics</span></td>83<td>9 - 6</td>84<td>rupe (0 - 1)</td>85<td>17838</td>86<td>72 - 69</td>87</tr>88<tr>89<td>9999-09-08</td>90<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mariners</span></td>91<td>7 - 2</td>92<td>millwood (14 - 10)</td>93<td>28646</td>94<td>72 - 70</td>95</tr>96<tr>97<td>9999-09-09</td>98<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mariners</span></td>99<td>3 - 2</td>100<td>rheinecker (4 - 6)</td>101<td>33454</td>102<td>72 - 71</td>103</tr>104<tr>105<td>9999-09-10</td>106<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mariners</span></td>107<td>4 - 2</td>108<td>huber</td>109<td>34321</td>110<td>73 - 71</td>111</tr>112<tr>113<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-09-12</span></td>114<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">tigers</span></td>115<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3 - 2</span></td>116<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mahay (1 - 3)</span></td>117<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">24196</span></td>118<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">73 - 72</span></td>119</tr>120<tr>121<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-09-13</span></td>122<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">tigers</span></td>123<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">11 - 3</span></td>124<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">verlander</span></td>125<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">24672</span></td>126<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">74 - 72</span></td>127</tr>128<tr>129<td>9999-09-14</td>130<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">angels</span></td>131<td>2 - 1</td>132<td>volquez (1 - 5)</td>133<td>21488</td>134<td>74 - 73</td>135</tr>136<tr>137<td>9999-09-15</td>138<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">angels</span></td>139<td>2 - 1</td>140<td>francisco (0 - 1)</td>141<td>30788</td>142<td>74 - 74</td>143</tr>144<tr>145<td>9999-09-16</td>146<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">angels</span></td>147<td>12 - 6</td>148<td>lackey</td>149<td>40196</td>150<td>75 - 74</td>151</tr>152<tr>153<td>9999-09-17</td>154<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">angels</span></td>155<td>8 - 1</td>156<td>santana</td>157<td>24303</td>158<td>76 - 74</td>159</tr>160<tr>161<td>9999-09-18</td>162<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mariners</span></td>163<td>8 - 1</td>164<td>hernández</td>165<td>18214</td>166<td>77 - 74</td>167</tr>168<tr>169<td>9999-09-19</td>170<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mariners</span></td>171<td>9 - 7</td>172<td>wilson (2 - 3)</td>173<td>18551</td>174<td>77 - 75</td>175</tr>176<tr>177<td>9999-09-20</td>178<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mariners</span></td>179<td>6 - 3</td>180<td>tejeda (4 - 4)</td>181<td>26006</td>182<td>77 - 76</td>183</tr>184<tr>185<td>9999-09-22</td>186<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">indians</span></td>187<td>12 - 4</td>188<td>byrd</td>189<td>26284</td>190<td>78 - 76</td>191</tr>192<tr>193<td>9999-09-23</td>194<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">indians</span></td>195<td>6 - 3</td>196<td>padilla (14 - 10)</td>197<td>38351</td>198<td>78 - 77</td>199</tr>200<tr>201<td>9999-09-24</td>202<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">indians</span></td>203<td>11 - 6</td>204<td>millwood (16 - 11)</td>205<td>36617</td>206<td>78 - 78</td>207</tr>208<tr>209<td>9999-09-25</td>210<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">angels</span></td>211<td>8 - 3</td>212<td>volquez (1 - 6)</td>213<td>39781</td>214<td>78 - 79</td>215</tr>216<tr>217<td>9999-09-26</td>218<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">angels</span></td>219<td>5 - 2</td>220<td>escobar</td>221<td>37339</td>222<td>79 - 79</td>223</tr>224<tr>225<td>9999-09-27</td>226<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">angels</span></td>227<td>6 - 5</td>228<td>wilson (2 - 4)</td>229<td>38032</td>230<td>79 - 80</td>231</tr>232<tr>233<td>9999-09-29</td>234<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mariners</span></td>235<td>6 - 5</td>236<td>fruto</td>237<td>30766</td>238<td>80 - 80</td>239</tr>240<tr>241<td>9999-09-30</td>242<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mariners</span></td>243<td>3 - 1</td>244<td>millwood (16 - 12)</td>245<td>23310</td>246<td>80 - 81</td>247</tr>248<tr>249<td>9999-10-01</td>250<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mariners</span></td>251<td>3 - 2</td>252<td>tejeda (5 - 5)</td>253<td>28361</td>254<td>80 - 82</td>255</tr>256</table>257</div>258<hr>259<div class="step">260<div class="step-title">Step 2: Use a `CASE` statement to return TRUE if the number of rows is equal to 2, otherwise return FALSE.</div>261<div id="step-0" class="content">262<table>263<tr>264<td>date</td>265<td>opponent</td>266<td>score</td>267<td>loss</td>268<td>attendance</td>269<td>record</td>270</tr>271<tr>272<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">9999-09-12</span></td>273<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">tigers</span></td>274<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">3 - 2</span></td>275<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">mahay (1 - 3)</span></td>276<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">24196</span></td>277<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">73 - 72</span></td>278</tr>279<tr>280<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">9999-09-13</span></td>281<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">tigers</span></td>282<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">11 - 3</span></td>283<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">verlander</span></td>284<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">24672</span></td>285<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">74 - 72</span></td>286</tr>287</table>288</div>289</div>290<hr>291<div class="step">292<div class="step-title">Final output table:</div>293<div id="step-1" class="content">294<table>295<tr>296<td>verification_result</td>297</tr>298<tr>299<td>TRUE</td>300</tr>301</table>302</div>303</div>304<hr>305<div class="step"><h3><span class="true">Prediction: TRUE </span></h3>306<h3>Ground-truth:</span> TRUE</h3></div>307</body></html>308