Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1782.html264 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> in there period where there were 900000 deaths per year , there were also 2500000 natural changes per year</h3>25<h3>Ground-truth:</span> FALSE</h3>26<h3>Input Table: none</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'deaths_per_year' is 900000.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>period</td>34<td>live_births_per_year</td>35<td>deaths_per_year</td>36<td>natural_change_per_year</td>37<td>cbr</td>38<td>cdr</td>39<td>nc</td>40<td>tfr</td>41<td>imr</td>42<td>life_expectancy_total</td>43<td>life_expectancy_males</td>44<td>life_expectancy_females</td>45</tr>46<tr>47<td>1950 - 1955</td>48<td>2 572 000</td>49<td>900 000</td>50<td>1 672 000</td>51<td>44.1</td>52<td>15.5</td>53<td>28.6</td>54<td>6.15</td>55<td>135</td>56<td>50.9</td>57<td>49.2</td>58<td>52.6</td>59</tr>60<tr>61<td>1955 - 1960</td>62<td>2 918 000</td>63<td>947 000</td>64<td>1 971 000</td>65<td>43.2</td>66<td>14.0</td>67<td>29.1</td>68<td>6.15</td>69<td>122</td>70<td>53.3</td>71<td>51.5</td>72<td>55.2</td>73</tr>74<tr>75<td>1960 - 1965</td>76<td>3 303 000</td>77<td>986 000</td>78<td>2 317 000</td>79<td>42.2</td>80<td>12.6</td>81<td>29.6</td>82<td>6.15</td>83<td>109</td>84<td>55.7</td>85<td>53.8</td>86<td>57.6</td>87</tr>88<tr>89<td>1965 - 1970</td>90<td>3 330 000</td>91<td>998 000</td>92<td>2 332 000</td>93<td>37.0</td>94<td>11.1</td>95<td>25.9</td>96<td>5.38</td>97<td>100</td>98<td>57.6</td>99<td>55.7</td>100<td>59.6</td>101</tr>102<tr>103<td>1970 - 1975</td>104<td>3 441 000</td>105<td>1 014 000</td>106<td>2 427 000</td>107<td>33.7</td>108<td>9.9</td>109<td>23.8</td>110<td>4.72</td>111<td>91</td>112<td>59.5</td>113<td>57.3</td>114<td>61.8</td>115</tr>116<tr>117<td>1975 - 1980</td>118<td>3 741 000</td>119<td>1 043 000</td>120<td>2 698 000</td>121<td>32.5</td>122<td>9.0</td>123<td>23.5</td>124<td>4.31</td>125<td>79</td>126<td>61.5</td>127<td>59.2</td>128<td>63.9</td>129</tr>130<tr>131<td>1980 - 1985</td>132<td>3 974 000</td>133<td>1 064 000</td>134<td>2 910 000</td>135<td>30.8</td>136<td>8.2</td>137<td>22.6</td>138<td>3.8</td>139<td>63</td>140<td>63.4</td>141<td>60.4</td>142<td>66.8</td>143</tr>144<tr>145<td>1985 - 1990</td>146<td>3 757 000</td>147<td>1 055 000</td>148<td>2 702 000</td>149<td>26.3</td>150<td>7.4</td>151<td>18.9</td>152<td>3.1</td>153<td>52</td>154<td>65.3</td>155<td>61.9</td>156<td>69.1</td>157</tr>158<tr>159<td>1990 - 1995</td>160<td>3 519 000</td>161<td>1 058 000</td>162<td>2 461 000</td>163<td>22.6</td>164<td>6.8</td>165<td>15.8</td>166<td>2.6</td>167<td>43</td>168<td>67.3</td>169<td>63.6</td>170<td>71.2</td>171</tr>172<tr>173<td>1995 - 2000</td>174<td>3 624 000</td>175<td>1 086 000</td>176<td>2 538 000</td>177<td>21.5</td>178<td>6.5</td>179<td>15.1</td>180<td>2.45</td>181<td>34</td>182<td>69.3</td>183<td>65.5</td>184<td>73.3</td>185</tr>186<tr>187<td>2000 - 2005</td>188<td>3 572 000</td>189<td>1 147 000</td>190<td>2 425 000</td>191<td>19.8</td>192<td>6.4</td>193<td>13.4</td>194<td>2.25</td>195<td>27</td>196<td>70.9</td>197<td>67.2</td>198<td>74.8</td>199</tr>200</table>201</div>202<hr>203<div class="step">204<div class="step-title">Step 2: Select rows where 'natural_change_per_year' is 2500000.</div>205<div id="step-0" class="content">206<table>207<tr>208<td>period</td>209<td>live_births_per_year</td>210<td>deaths_per_year</td>211<td>natural_change_per_year</td>212<td>cbr</td>213<td>cdr</td>214<td>nc</td>215<td>tfr</td>216<td>imr</td>217<td>life_expectancy_total</td>218<td>life_expectancy_males</td>219<td>life_expectancy_females</td>220</tr>221</table>222</div>223</div>224<hr>225<div class="step">226<div class="step-title">Step 3: Use a `CASE` statement to return TRUE if the number of rows is greater than or equal to 1, otherwise return FALSE.</div>227<div id="step-1" class="content">228<table>229<tr>230<td>period</td>231<td>live_births_per_year</td>232<td>deaths_per_year</td>233<td>natural_change_per_year</td>234<td>cbr</td>235<td>cdr</td>236<td>nc</td>237<td>tfr</td>238<td>imr</td>239<td>life_expectancy_total</td>240<td>life_expectancy_males</td>241<td>life_expectancy_females</td>242</tr>243</table>244</div>245</div>246<hr>247<div class="step">248<div class="step-title">Final output table:</div>249<div id="step-2" class="content">250<table>251<tr>252<td>verification_result</td>253</tr>254<tr>255<td>FALSE</td>256</tr>257</table>258</div>259</div>260<hr>261<div class="step"><h3><span class="true">Prediction: FALSE </span></h3>262<h3>Ground-truth:</span> FALSE</h3></div>263</body></html>264