Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-560.html157 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 erp w and class for w290ag and w230av is 55 and d for both , but one has a city of license of anniston , alabama and the other has a city of license of macon , georgia</h3>24<h3>Input Table: wyfk</h3>25<div class="step">26<div class="step">27<div class="step-title">Step 1: Select rows where 'call_sign' is 'w290ag' or 'w230av'.</div>28<div id="step-1" class="content">29<table>30<tr>31<td>call_sign</td>32<td>frequency_mhz</td>33<td>city_of_license</td>34<td>erp_w</td>35<td>class</td>36<td>fcc_info</td>37</tr>38<tr>39<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">w230av</span></td>40<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">93.9 fm</span></td>41<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">gadsden , alabama</span></td>42<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">10</span></td>43<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">d</span></td>44<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">fcc</span></td>45</tr>46<tr>47<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">w269ax</span></td>48<td>101.7 fm</td>49<td>anniston , alabama</td>50<td>10</td>51<td>d</td>52<td>fcc</td>53</tr>54<tr>55<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">w273ae</span></td>56<td>102.5 fm</td>57<td>albany , georgia</td>58<td>55</td>59<td>d</td>60<td>fcc</td>61</tr>62<tr>63<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">w282ae</span></td>64<td>104.3 fm</td>65<td>macon , georgia</td>66<td>27</td>67<td>d</td>68<td>fcc</td>69</tr>70<tr>71<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">w290ag</span></td>72<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">105.9 fm</span></td>73<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">griffin , georgia</span></td>74<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">27</span></td>75<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">d</span></td>76<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">fcc</span></td>77</tr>78</table>79</div>80<hr>81<div class="step">82<div class="step-title">Step 2: Select rows where 'erp_w' is 55 and 'class' is 'd'.</div>83<div id="step-0" class="content">84<table>85<tr>86<td>call_sign</td>87<td>frequency_mhz</td>88<td>city_of_license</td>89<td>erp_w</td>90<td>class</td>91<td>fcc_info</td>92</tr>93<tr>94<td>w230av</td>95<td>93.9 fm</td>96<td>gadsden , alabama</td>97<td>10</td>98<td>d</td>99<td>fcc</td>100</tr>101<tr>102<td>w290ag</td>103<td>105.9 fm</td>104<td>griffin , georgia</td>105<td>27</td>106<td>d</td>107<td>fcc</td>108</tr>109</table>110</div>111</div>112<hr>113<div class="step">114<div class="step-title">Step 3: Select rows where 'city_of_license' is 'anniston, alabama' or 'macon, georgia'.</div>115<div id="step-1" class="content">116<table>117<tr>118<td>call_sign</td>119<td>frequency_mhz</td>120<td>city_of_license</td>121<td>erp_w</td>122<td>class</td>123<td>fcc_info</td>124</tr>125</table>126</div>127</div>128<hr>129<div class="step">130<div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is equal to 2, otherwise return FALSE.</div>131<div id="step-2" class="content">132<table>133<tr>134<td>call_sign</td>135<td>frequency_mhz</td>136<td>city_of_license</td>137<td>erp_w</td>138<td>class</td>139<td>fcc_info</td>140</tr>141</table>142</div>143</div>144<hr>145<table>146<tr>147<td>verification_result</td>148</tr>149<tr>150<td>FALSE</td>151</tr>152</table>153</div>154</div>155<hr>156</body></html>157