Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-166.html259 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<hr>23<h3><span>Statement:</span> there are 3 c - 95 brazilian aircrafts currently in service</h3>24<h3>Input Table: uruguayan air force</h3>25<div class="step">26<div class="step">27<div class="step-title">Step 1: Select rows where 'type' is 'transport / utility'.</div>28<div id="step-1" class="content">29<table>30<tr>31<td>aircraft</td>32<td>origin</td>33<td>type</td>34<td>versions</td>35<td>in_service</td>36</tr>37<tr>38<td>cessna a - 37 dragonfly</td>39<td>united states</td>40<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">attack / fighter</span></td>41<td>a - 37b</td>42<td>12 (16 delivered)</td>43</tr>44<tr>45<td>fma ia 58 pucarã¡</td>46<td>argentina</td>47<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">attack</span></td>48<td>a - 58</td>49<td>5 (6 delivered)</td>50</tr>51<tr>52<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">lockheed c - 130 hercules</span></td>53<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>54<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">transport / utility</span></td>55<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">c - 130b</span></td>56<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2</span></td>57</tr>58<tr>59<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">embraer emb 110 bandeirante</span></td>60<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">brazil</span></td>61<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">transport / utility</span></td>62<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">c - 95</span></td>63<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3</span></td>64</tr>65<tr>66<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">beechcraft twin bonanza</span></td>67<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>68<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">transport / utility</span></td>69<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">d50</span></td>70<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1</span></td>71</tr>72<tr>73<td>casa c - 212 aviocar</td>74<td>spain</td>75<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">transport</span></td>76<td>c - 212 - 200</td>77<td>2</td>78</tr>79<tr>80<td>embraer emb 120 brasilia</td>81<td>brazil</td>82<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">transport</span></td>83<td>emb 120</td>84<td>1</td>85</tr>86<tr>87<td>cessna 206 stationair</td>88<td>united states</td>89<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">utility / liaison</span></td>90<td>u206h</td>91<td>10</td>92</tr>93<tr>94<td>beechcraft b58 baron</td>95<td>united states</td>96<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">trainer / liaison</span></td>97<td>b - 58</td>98<td>2</td>99</tr>100<tr>101<td>british aerospace 125</td>102<td>united kingdom</td>103<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">vip transport</span></td>104<td>700a 600a</td>105<td>2</td>106</tr>107<tr>108<td>aermacchi sf260</td>109<td>italy</td>110<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">trainer</span></td>111<td>t - 260 eu</td>112<td>12</td>113</tr>114<tr>115<td>pilatus pc - 7 turbo trainer</td>116<td>switzerland</td>117<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">trainer</span></td>118<td>- 92</td>119<td>5 (6 delivered)</td>120</tr>121<tr>122<td>cessna t - 41 mescalero</td>123<td>united states</td>124<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">trainer</span></td>125<td>t - 41d</td>126<td>7</td>127</tr>128<tr>129<td>aerospatiale as 365 dauphin</td>130<td>france</td>131<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">liaison / transport</span></td>132<td>as 365</td>133<td>1</td>134</tr>135<tr>136<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">bell 212 twin huey</span></td>137<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>138<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">transport / utility</span></td>139<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">bell 212</span></td>140<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4</span></td>141</tr>142<tr>143<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">bell uh - 1 iroquois</span></td>144<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>145<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">transport / utility</span></td>146<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">uh - 1h</span></td>147<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">13</span></td>148</tr>149</table>150</div>151<hr>152<div class="step">153<div class="step-title">Step 2: Select rows where 'origin' is 'brazil'.</div>154<div id="step-0" class="content">155<table>156<tr>157<td>aircraft</td>158<td>origin</td>159<td>type</td>160<td>versions</td>161<td>in_service</td>162</tr>163<tr>164<td>lockheed c - 130 hercules</td>165<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>166<td>transport / utility</td>167<td>c - 130b</td>168<td>2</td>169</tr>170<tr>171<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">embraer emb 110 bandeirante</span></td>172<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">brazil</span></td>173<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">transport / utility</span></td>174<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">c - 95</span></td>175<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3</span></td>176</tr>177<tr>178<td>beechcraft twin bonanza</td>179<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>180<td>transport / utility</td>181<td>d50</td>182<td>1</td>183</tr>184<tr>185<td>bell 212 twin huey</td>186<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>187<td>transport / utility</td>188<td>bell 212</td>189<td>4</td>190</tr>191<tr>192<td>bell uh - 1 iroquois</td>193<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>194<td>transport / utility</td>195<td>uh - 1h</td>196<td>13</td>197</tr>198</table>199</div>200</div>201<hr>202<div class="step">203<div class="step-title">Step 3: Select rows where 'versions' is 'c - 95'.</div>204<div id="step-1" class="content">205<table>206<tr>207<td>aircraft</td>208<td>origin</td>209<td>type</td>210<td>versions</td>211<td>in_service</td>212</tr>213<tr>214<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">embraer emb 110 bandeirante</span></td>215<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">brazil</span></td>216<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">transport / utility</span></td>217<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">c - 95</span></td>218<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3</span></td>219</tr>220</table>221</div>222</div>223<hr>224<div class="step">225<div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is equal to 3, otherwise return FALSE.</div>226<div id="step-2" class="content">227<table>228<tr>229<td>aircraft</td>230<td>origin</td>231<td>type</td>232<td>versions</td>233<td>in_service</td>234</tr>235<tr>236<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">embraer emb 110 bandeirante</span></td>237<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">brazil</span></td>238<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">transport / utility</span></td>239<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">c - 95</span></td>240<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">3</span></td>241</tr>242</table>243</div>244</div>245<hr>246<table>247<tr>248<td>verification_result</td>249</tr>250<tr>251<td>FALSE</td>252</tr>253</table>254</div>255</div>256<hr>257<h3>Prediction:</span> FALSE</h3>258</body></html>259