Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-764.html275 linesDownload Raw Back to TN
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> pole vault was the event before august 26 , 2005</h3>25<h3>Ground-truth:</span> FALSE</h3>26<h3>Input Table: memorial van damme</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'event' is 'pole vault'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>event</td>34<td>record</td>35<td>athlete</td>36<td>nationality</td>37<td>date</td>38</tr>39<tr>40<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">100 m</span></td>41<td>10.72 ( - 0.3 m / s)</td>42<td>shelly - ann fraser - pryce</td>43<td>jamaica</td>44<td>2013-09-06</td>45</tr>46<tr>47<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">200 m</span></td>48<td>21.64 ( + 0.8 m / s)</td>49<td>merlene ottey</td>50<td>jamaica</td>51<td>1991-09-13</td>52</tr>53<tr>54<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">400 m</span></td>55<td>48.83</td>56<td>sanya richards</td>57<td>united states</td>58<td>2009-09-04</td>59</tr>60<tr>61<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">800 m</span></td>62<td>1:55.16</td>63<td>pamela jelimo</td>64<td>kenya</td>65<td>2008-09-06</td>66</tr>67<tr>68<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1000 m</span></td>69<td>2:28.98</td>70<td>svetlana masterkova</td>71<td>russia</td>72<td>1996-08-23</td>73</tr>74<tr>75<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1500 m</span></td>76<td>3:55.33</td>77<td>süreyya ayhan</td>78<td>turkey</td>79<td>2003-09-05</td>80</tr>81<tr>82<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mile</span></td>83<td>4:17.75</td>84<td>maryam yusuf jamal</td>85<td>bahrain</td>86<td>2007-09-14</td>87</tr>88<tr>89<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2000 m</span></td>90<td>5:30.19</td>91<td>gelete burka</td>92<td>ethiopia</td>93<td>2009-09-04</td>94</tr>95<tr>96<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3000 m</span></td>97<td>8:24.81 +</td>98<td>meseret defar</td>99<td>ethiopia</td>100<td>2007-09-14</td>101</tr>102<tr>103<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">two miles</span></td>104<td>8:58.58</td>105<td>meseret defar</td>106<td>ethiopia</td>107<td>2007-09-14</td>108</tr>109<tr>110<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">5000 m</span></td>111<td>14:25.43</td>112<td>vivian cheruiyot</td>113<td>kenya</td>114<td>2008-09-06</td>115</tr>116<tr>117<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">100 m hurdles</span></td>118<td>12.42 ( - 0.3 m / s)</td>119<td>yordanka donkova</td>120<td>bulgaria</td>121<td>1986-09-05</td>122</tr>123<tr>124<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">400 m hurdles</span></td>125<td>53.43</td>126<td>nezha bidouane</td>127<td>morocco</td>128<td>1998-08-28</td>129</tr>130<tr>131<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3000 m steeplechase</span></td>132<td>9:15.06</td>133<td>milcah chemos</td>134<td>kenya</td>135<td>2013-09-06</td>136</tr>137<tr>138<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">high jump</span></td>139<td>2.05 m</td>140<td>anna chicherova</td>141<td>russia</td>142<td>2011-09-16</td>143</tr>144<tr>145<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">pole vault</span></td>146<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4.93 m</span></td>147<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">yelena isinbayeva</span></td>148<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">russia</span></td>149<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2005-08-26</span></td>150</tr>151<tr>152<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">long jump</span></td>153<td>7.25 m ( + 1.7 m / s)</td>154<td>heike drechsler</td>155<td>germany</td>156<td>1991-09-13</td>157</tr>158<tr>159<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">triple jump</span></td>160<td>15.14 m ( + 0.3 m / s)</td>161<td>tatyana lebedeva</td>162<td>russia</td>163<td>2003-09-05</td>164</tr>165<tr>166<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">shot put</span></td>167<td>20.57 m</td>168<td>natalya lisovskaya</td>169<td>soviet union</td>170<td>1987-09-11</td>171</tr>172<tr>173<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">discus throw</span></td>174<td>69.84 m</td>175<td>tsvetanka christova</td>176<td>bulgaria</td>177<td>1986-09-05</td>178</tr>179<tr>180<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">javelin throw</span></td>181<td>72.18 m ( old design ) 67.76 m ( current design )</td>182<td>fatima whitbread trine hattestad</td>183<td>united kingdom norway</td>184<td>1986-09-05</td>185</tr>186<tr>187<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4100 m relay</span></td>188<td>42.97</td>189<td>united states</td>190<td>united states</td>191<td>1988-08-19</td>192</tr>193</table>194</div>195<hr>196<div class="step">197<div class="step-title">Step 2: Extract the date from the 'date' column to add column 'event_date' to existing table.</div>198<div id="step-0" class="content">199<table>200<tr>201<td>event</td>202<td>record</td>203<td>athlete</td>204<td>nationality</td>205<td>date</td>206</tr>207<tr>208<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">pole vault</span></td>209<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">4.93 m</span></td>210<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">yelena isinbayeva</span></td>211<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">russia</span></td>212<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2005-08-26</span></td>213</tr>214</table>215</div>216</div>217<hr>218<div class="step">219<div class="step-title">Step 3: Select rows where 'event_date' is before August 26, 2005.</div>220<div id="step-1" class="content">221<table>222<tr>223<td>event</td>224<td>record</td>225<td>athlete</td>226<td>nationality</td>227<td>date</td>228<td>event_date</td>229</tr>230<tr>231<td>pole vault</td>232<td>4.93 m</td>233<td>yelena isinbayeva</td>234<td>russia</td>235<td>2005-08-26</td>236<td>2005-08-26</td>237</tr>238</table>239</div>240</div>241<hr>242<div class="step">243<div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is greater than 0, otherwise return FALSE.</div>244<div id="step-2" class="content">245<table>246<tr>247<td>event</td>248<td>record</td>249<td>athlete</td>250<td>nationality</td>251<td>date</td>252<td>event_date</td>253</tr>254</table>255</div>256</div>257<hr>258<div class="step">259<div class="step-title">Final output table:</div>260<div id="step-3" class="content">261<table>262<tr>263<td>verification_result</td>264</tr>265<tr>266<td>FALSE</td>267</tr>268</table>269</div>270</div>271<hr>272<div class="step"><h3><span class="true">Prediction: FALSE </span></h3>273<h3>Ground-truth:</span> FALSE</h3></div>274</body></html>275