Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1447.html173 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<hr>23<h3><span>Statement:</span> the carlton center , in cape town , has 50 floors</h3>24<h3>Input Table: list of tallest buildings in africa</h3>25<div class="step">26<div class="step">27<div class="step-title">Step 1: Select rows where the 'name' is 'carlton centre'.</div>28<div id="step-1" class="content">29<table>30<tr>31<td>name</td>32<td>city</td>33<td>years_as_tallest</td>34<td>metres</td>35<td>feet</td>36<td>floors</td>37</tr>38<tr>39<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">carlton centre</span></td>40<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">johannesburg</span></td>41<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1973-01-01 - present</span></td>42<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">223.0</span></td>43<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">732</span></td>44<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">50</span></td>45</tr>46<tr>47<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">kwadukuza egoli hotel tower 1 , trust bank building</span></td>48<td>johannesburg</td>49<td>1970-01-01 - 1973-01-01</td>50<td>140.0</td>51<td>459</td>52<td>31</td>53</tr>54<tr>55<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">standard bank building</span></td>56<td>johannesburg</td>57<td>1968-01-01 - 1970-01-01</td>58<td>138.8</td>59<td>455</td>60<td>34</td>61</tr>62<tr>63<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">schlesinger building</span></td>64<td>johannesburg</td>65<td>9999-01-01</td>66<td>110.0</td>67<td>361</td>68<td>21</td>69</tr>70<tr>71<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">naspers centre</span></td>72<td>cape town</td>73<td>9999-01-01</td>74<td>93.0</td>75<td>205</td>76<td>22</td>77</tr>78<tr>79<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mutual heights building</span></td>80<td>cape town</td>81<td>1940-01-01 - 1962-01-01</td>82<td>91.0</td>83<td>298</td>84<td>18</td>85</tr>86<tr>87<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">chamber of mines building</span></td>88<td>johannesburg</td>89<td>1936-01-01 - 1940-01-01</td>90<td>80.0</td>91<td>262</td>92<td>18</td>93</tr>94<tr>95<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">union buildings</span></td>96<td>pretoria</td>97<td>1913-01-01 - 1936-01-01</td>98<td>60.0</td>99<td>196</td>100<td>10</td>101</tr>102</table>103</div>104<hr>105<div class="step">106<div class="step-title">Step 2: Select rows where the 'city' is 'cape town'.</div>107<div id="step-0" class="content">108<table>109<tr>110<td>name</td>111<td>city</td>112<td>years_as_tallest</td>113<td>metres</td>114<td>feet</td>115<td>floors</td>116</tr>117<tr>118<td>carlton centre</td>119<td>johannesburg</td>120<td>1973-01-01 - present</td>121<td>223.0</td>122<td>732</td>123<td>50</td>124</tr>125</table>126</div>127</div>128<hr>129<div class="step">130<div class="step-title">Step 3: Select rows where the 'floors' is 50.</div>131<div id="step-1" class="content">132<table>133<tr>134<td>name</td>135<td>city</td>136<td>years_as_tallest</td>137<td>metres</td>138<td>feet</td>139<td>floors</td>140</tr>141</table>142</div>143</div>144<hr>145<div class="step">146<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>147<div id="step-2" class="content">148<table>149<tr>150<td>name</td>151<td>city</td>152<td>years_as_tallest</td>153<td>metres</td>154<td>feet</td>155<td>floors</td>156</tr>157</table>158</div>159</div>160<hr>161<table>162<tr>163<td>verification_result</td>164</tr>165<tr>166<td>FALSE</td>167</tr>168</table>169</div>170</div>171<hr>172</body></html>173