Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-170.html216 linesDownload Raw Back to FP
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> brazil has transport / utility and attack type aircrafts</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 'origin' is 'brazil'.</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><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>40<td>attack / fighter</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><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">argentina</span></td>47<td>attack</td>48<td>a - 58</td>49<td>5 (6 delivered)</td>50</tr>51<tr>52<td>lockheed c - 130 hercules</td>53<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>54<td>transport / utility</td>55<td>c - 130b</td>56<td>2</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:#90EE90;">brazil</span></td>61<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">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>beechcraft twin bonanza</td>67<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>68<td>transport / utility</td>69<td>d50</td>70<td>1</td>71</tr>72<tr>73<td>casa c - 212 aviocar</td>74<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">spain</span></td>75<td>transport</td>76<td>c - 212 - 200</td>77<td>2</td>78</tr>79<tr>80<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">embraer emb 120 brasilia</span></td>81<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">brazil</span></td>82<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">transport</span></td>83<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">emb 120</span></td>84<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1</span></td>85</tr>86<tr>87<td>cessna 206 stationair</td>88<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>89<td>utility / liaison</td>90<td>u206h</td>91<td>10</td>92</tr>93<tr>94<td>beechcraft b58 baron</td>95<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>96<td>trainer / liaison</td>97<td>b - 58</td>98<td>2</td>99</tr>100<tr>101<td>british aerospace 125</td>102<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united kingdom</span></td>103<td>vip transport</td>104<td>700a 600a</td>105<td>2</td>106</tr>107<tr>108<td>aermacchi sf260</td>109<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">italy</span></td>110<td>trainer</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><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">switzerland</span></td>117<td>trainer</td>118<td>- 92</td>119<td>5 (6 delivered)</td>120</tr>121<tr>122<td>cessna t - 41 mescalero</td>123<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>124<td>trainer</td>125<td>t - 41d</td>126<td>7</td>127</tr>128<tr>129<td>aerospatiale as 365 dauphin</td>130<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">france</span></td>131<td>liaison / transport</td>132<td>as 365</td>133<td>1</td>134</tr>135<tr>136<td>bell 212 twin huey</td>137<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>138<td>transport / utility</td>139<td>bell 212</td>140<td>4</td>141</tr>142<tr>143<td>bell uh - 1 iroquois</td>144<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>145<td>transport / utility</td>146<td>uh - 1h</td>147<td>13</td>148</tr>149</table>150</div>151<hr>152<div class="step">153<div class="step-title">Step 2: Select rows where 'type' is 'transport / utility' or 'attack'.</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><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">embraer emb 110 bandeirante</span></td>165<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">brazil</span></td>166<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">transport / utility</span></td>167<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">c - 95</span></td>168<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3</span></td>169</tr>170<tr>171<td>embraer emb 120 brasilia</td>172<td>brazil</td>173<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">transport</span></td>174<td>emb 120</td>175<td>1</td>176</tr>177</table>178</div>179</div>180<hr>181<div class="step">182<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>183<div id="step-1" class="content">184<table>185<tr>186<td>aircraft</td>187<td>origin</td>188<td>type</td>189<td>versions</td>190<td>in_service</td>191</tr>192<tr>193<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">embraer emb 110 bandeirante</span></td>194<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">brazil</span></td>195<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">transport / utility</span></td>196<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">c - 95</span></td>197<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">3</span></td>198</tr>199</table>200</div>201</div>202<hr>203<table>204<tr>205<td>verification_result</td>206</tr>207<tr>208<td>TRUE</td>209</tr>210</table>211</div>212</div>213<hr>214<h3>Prediction:</span> TRUE</h3>215</body></html>216