Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1498.html238 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> all three of the completed projects were completed between 1993 - 1997</h3>25<h3>Ground-truth:</span> FALSE</h3>26<h3>Input Table: list of superfund sites in mississippi</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'construction_completed' is not equal to '9999-01-01'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>cerclis_id</td>34<td>name</td>35<td>county</td>36<td>proposed</td>37<td>listed</td>38<td>construction_completed</td>39<td>partially_deleted</td>40<td>deleted</td>41</tr>42<tr>43<td>msd004006995</td>44<td>american creosote works , inc</td>45<td>winston</td>46<td>2001-06-14</td>47<td>2001-09-13</td>48<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-01-01</span></td>49<td>-</td>50<td>-</td>51</tr>52<tr>53<td>msd008154486</td>54<td>chemfax , inc</td>55<td>harrison</td>56<td>1993-06-23</td>57<td>9999-01-01</td>58<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-01-01</span></td>59<td>-</td>60<td>-</td>61</tr>62<tr>63<td>msd046497012</td>64<td>davis timber company</td>65<td>lamar</td>66<td>2000-05-11</td>67<td>2000-07-27</td>68<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-01-01</span></td>69<td>-</td>70<td>-</td>71</tr>72<tr>73<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">msd980710941</span></td>74<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">flowood site</span></td>75<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">rankin</span></td>76<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1983-09-08</span></td>77<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1984-09-21</span></td>78<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1993-09-17</span></td>79<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">-</span></td>80<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">02 / 16 / 1996</span></td>81</tr>82<tr>83<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">msd980840045</span></td>84<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">newsom brothers / old reichhold chemicals , inc</span></td>85<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">marion</span></td>86<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1984-10-15</span></td>87<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1986-06-10</span></td>88<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1997-08-08</span></td>89<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">-</span></td>90<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">09 / 27 / 2000</span></td>91</tr>92<tr>93<td>msd065490930</td>94<td>picayune wood treating</td>95<td>pearl river</td>96<td>2004-03-08</td>97<td>2004-07-22</td>98<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-01-01</span></td>99<td>-</td>100<td>-</td>101</tr>102<tr>103<td>msd056029648</td>104<td>potter co</td>105<td>copiah</td>106<td>1993-05-10</td>107<td>9999-01-01</td>108<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-01-01</span></td>109<td>-</td>110<td>-</td>111</tr>112<tr>113<td>msd086556388</td>114<td>sonford products</td>115<td>rankin</td>116<td>2006-09-27</td>117<td>2007-03-07</td>118<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-01-01</span></td>119<td>-</td>120<td>-</td>121</tr>122<tr>123<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">msd980601736</span></td>124<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">walcotte chemical co warehouses</span></td>125<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">washington</span></td>126<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-01-01</span></td>127<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-01-01</span></td>128<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1982-12-30</span></td>129<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">-</span></td>130<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">12 / 30 / 1982</span></td>131</tr>132</table>133</div>134<hr>135<div class="step">136<div class="step-title">Step 2: Select rows where 'construction_completed' is between '1993-01-01' and '1997-12-31'.</div>137<div id="step-0" class="content">138<table>139<tr>140<td>cerclis_id</td>141<td>name</td>142<td>county</td>143<td>proposed</td>144<td>listed</td>145<td>construction_completed</td>146<td>partially_deleted</td>147<td>deleted</td>148</tr>149<tr>150<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">msd980710941</span></td>151<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">flowood site</span></td>152<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">rankin</span></td>153<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1983-09-08</span></td>154<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1984-09-21</span></td>155<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1993-09-17</span></td>156<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">-</span></td>157<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">02 / 16 / 1996</span></td>158</tr>159<tr>160<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">msd980840045</span></td>161<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">newsom brothers / old reichhold chemicals , inc</span></td>162<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">marion</span></td>163<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1984-10-15</span></td>164<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1986-06-10</span></td>165<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1997-08-08</span></td>166<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">-</span></td>167<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">09 / 27 / 2000</span></td>168</tr>169<tr>170<td>msd980601736</td>171<td>walcotte chemical co warehouses</td>172<td>washington</td>173<td>9999-01-01</td>174<td>9999-01-01</td>175<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1982-12-30</span></td>176<td>-</td>177<td>12 / 30 / 1982</td>178</tr>179</table>180</div>181</div>182<hr>183<div class="step">184<div class="step-title">Step 3: Use a `CASE` statement to return TRUE if the number of rows is equal to 3, otherwise return FALSE.</div>185<div id="step-1" class="content">186<table>187<tr>188<td>cerclis_id</td>189<td>name</td>190<td>county</td>191<td>proposed</td>192<td>listed</td>193<td>construction_completed</td>194<td>partially_deleted</td>195<td>deleted</td>196</tr>197<tr>198<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">msd980710941</span></td>199<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">flowood site</span></td>200<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">rankin</span></td>201<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1983-09-08</span></td>202<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1984-09-21</span></td>203<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1993-09-17</span></td>204<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">-</span></td>205<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">02 / 16 / 1996</span></td>206</tr>207<tr>208<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">msd980840045</span></td>209<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">newsom brothers / old reichhold chemicals , inc</span></td>210<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">marion</span></td>211<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1984-10-15</span></td>212<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1986-06-10</span></td>213<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1997-08-08</span></td>214<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">-</span></td>215<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">09 / 27 / 2000</span></td>216</tr>217</table>218</div>219</div>220<hr>221<div class="step">222<div class="step-title">Final output table:</div>223<div id="step-2" class="content">224<table>225<tr>226<td>verification_result</td>227</tr>228<tr>229<td>FALSE</td>230</tr>231</table>232</div>233</div>234<hr>235<div class="step"><h3><span class="true">Prediction: FALSE </span></h3>236<h3>Ground-truth:</span> FALSE</h3></div>237</body></html>238