Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-859.html195 linesDownload Raw Back to TP
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> in egypt , the number of subscriber of vodafone in 2006 is 8704</h3>24<h3>Input Table: mobile telephony in africa</h3>25<div class="step">26<div class="step">27<div class="step-title">Step 1: Select rows where 'country' is 'egypt'.</div>28<div id="step-1" class="content">29<table>30<tr>31<td>provider</td>32<td>country</td>33<td>subscribers__2005___thousands_</td>34<td>subscribers__2006___thousands_</td>35<td>growth__</td>36</tr>37<tr>38<td>airtel</td>39<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">kenya , uganda</span></td>40<td>37600</td>41<td>31800</td>42<td>54.9</td>43</tr>44<tr>45<td>vodacom</td>46<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">south africa</span></td>47<td>17600</td>48<td>21800</td>49<td>23.9</td>50</tr>51<tr>52<td>mtn</td>53<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">south africa</span></td>54<td>10235</td>55<td>12483</td>56<td>22.0</td>57</tr>58<tr>59<td>mtn</td>60<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">nigeria</span></td>61<td>8370</td>62<td>12281</td>63<td>47.0</td>64</tr>65<tr>66<td>glo mobile</td>67<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">nigeria</span></td>68<td>9000</td>69<td>11000</td>70<td>22.0</td>71</tr>72<tr>73<td>maroc</td>74<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">morocco</span></td>75<td>8237</td>76<td>10707</td>77<td>30.0</td>78</tr>79<tr>80<td>djezzy</td>81<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">algeria</span></td>82<td>7109</td>83<td>10531</td>84<td>48.0</td>85</tr>86<tr>87<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mobinil</span></td>88<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">egypt</span></td>89<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">66960</span></td>90<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9267</span></td>91<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">38.0</span></td>92</tr>93<tr>94<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">vodafone</span></td>95<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">egypt</span></td>96<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">6125</span></td>97<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">8704</span></td>98<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">42.0</span></td>99</tr>100<tr>101<td>mobilis</td>102<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">algeria</span></td>103<td>4908</td>104<td>7476</td>105<td>52.0</td>106</tr>107</table>108</div>109<hr>110<div class="step">111<div class="step-title">Step 2: Select rows where 'provider' is 'vodafone'.</div>112<div id="step-0" class="content">113<table>114<tr>115<td>provider</td>116<td>country</td>117<td>subscribers__2005___thousands_</td>118<td>subscribers__2006___thousands_</td>119<td>growth__</td>120</tr>121<tr>122<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mobinil</span></td>123<td>egypt</td>124<td>66960</td>125<td>9267</td>126<td>38.0</td>127</tr>128<tr>129<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">vodafone</span></td>130<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">egypt</span></td>131<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">6125</span></td>132<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">8704</span></td>133<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">42.0</span></td>134</tr>135</table>136</div>137</div>138<hr>139<div class="step">140<div class="step-title">Step 3: Select rows where 'subscribers__2006___thousands_' is 8704.</div>141<div id="step-1" class="content">142<table>143<tr>144<td>provider</td>145<td>country</td>146<td>subscribers__2005___thousands_</td>147<td>subscribers__2006___thousands_</td>148<td>growth__</td>149</tr>150<tr>151<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">vodafone</span></td>152<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">egypt</span></td>153<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">6125</span></td>154<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">8704</span></td>155<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">42.0</span></td>156</tr>157</table>158</div>159</div>160<hr>161<div class="step">162<div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>163<div id="step-2" class="content">164<table>165<tr>166<td>provider</td>167<td>country</td>168<td>subscribers__2005___thousands_</td>169<td>subscribers__2006___thousands_</td>170<td>growth__</td>171</tr>172<tr>173<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">vodafone</span></td>174<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">egypt</span></td>175<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">6125</span></td>176<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">8704</span></td>177<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">42.0</span></td>178</tr>179</table>180</div>181</div>182<hr>183<table>184<tr>185<td>verification_result</td>186</tr>187<tr>188<td>TRUE</td>189</tr>190</table>191</div>192</div>193<hr>194</body></html>195