Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-643.html225 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> there are three translators in frequency mhz in the 100 's and 3 translators in the frequency mhz in the 90 's</h3>24<h3>Input Table: whlp</h3>25<div class="step">26<div class="step">27<div class="step-title">Step 1: Select rows where the 'frequency_mhz' is in the range of 100 to 199.</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>w221by</td>40<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">92.1</span></td>41<td>elgin , illinois</td>42<td>38</td>43<td>d</td>44<td>fcc</td>45</tr>46<tr>47<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">w264bf</span></td>48<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">100.7</span></td>49<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">englewood , illinois</span></td>50<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2</span></td>51<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">d</span></td>52<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">fcc</span></td>53</tr>54<tr>55<td>w240bj</td>56<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">95.9</span></td>57<td>crown point , indiana</td>58<td>10</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;">w276bm</span></td>64<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">103.1</span></td>65<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">park forest , illinois</span></td>66<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">19</span></td>67<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">d</span></td>68<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">fcc</span></td>69</tr>70<tr>71<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">w293al</span></td>72<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">106.5</span></td>73<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">rochester , indiana</span></td>74<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">80</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<tr>79<td>w223au</td>80<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">92.5</span></td>81<td>south bend , indiana</td>82<td>10</td>83<td>d</td>84<td>fcc</td>85</tr>86</table>87</div>88<hr>89<div class="step">90<div class="step-title">Step 2: Count the number of rows from the previous step and add column 'translators_100s_cnt' to the existing table.</div>91<div id="step-0" class="content">92<table>93<tr>94<td>call_sign</td>95<td>frequency_mhz</td>96<td>city_of_license</td>97<td>erp_w</td>98<td>class</td>99<td>fcc_info</td>100</tr>101<tr>102<td>w264bf</td>103<td>100.7</td>104<td>englewood , illinois</td>105<td>2</td>106<td>d</td>107<td>fcc</td>108</tr>109<tr>110<td>w276bm</td>111<td>103.1</td>112<td>park forest , illinois</td>113<td>19</td>114<td>d</td>115<td>fcc</td>116</tr>117<tr>118<td>w293al</td>119<td>106.5</td>120<td>rochester , indiana</td>121<td>80</td>122<td>d</td>123<td>fcc</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 'frequency_mhz' is in the range of 90 to 99.</div>131<div id="step-1" 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<td>translators_100s_cnt</td>141</tr>142<tr>143<td>w264bf</td>144<td>100.7</td>145<td>englewood , illinois</td>146<td>2</td>147<td>d</td>148<td>fcc</td>149<td>3</td>150</tr>151<tr>152<td>w276bm</td>153<td>103.1</td>154<td>park forest , illinois</td>155<td>19</td>156<td>d</td>157<td>fcc</td>158<td>3</td>159</tr>160<tr>161<td>w293al</td>162<td>106.5</td>163<td>rochester , indiana</td>164<td>80</td>165<td>d</td>166<td>fcc</td>167<td>3</td>168</tr>169</table>170</div>171</div>172<hr>173<div class="step">174<div class="step-title">Step 4: Count the number of rows from the previous step and add column 'translators_90s_cnt' to the existing table.</div>175<div id="step-2" class="content">176<table>177<tr>178<td>call_sign</td>179<td>frequency_mhz</td>180<td>city_of_license</td>181<td>erp_w</td>182<td>class</td>183<td>fcc_info</td>184<td>translators_100s_cnt</td>185</tr>186</table>187</div>188</div>189<hr>190<div class="step">191<div class="step-title">Step 5: Use a `CASE` statement to return TRUE if the 'translators_100s_cnt' is equal to 3 and 'translators_90s_cnt' is equal to 3, otherwise return FALSE.</div>192<div id="step-3" class="content">193<table>194<tr>195<td>call_sign</td>196<td>frequency_mhz</td>197<td>city_of_license</td>198<td>erp_w</td>199<td>class</td>200<td>fcc_info</td>201<td>translators_100s_cnt</td>202<td>translators_90s_cnt</td>203</tr>204</table>205</div>206</div>207<hr>208<table>209<tr>210<td>call_sign</td>211<td>frequency_mhz</td>212<td>city_of_license</td>213<td>erp_w</td>214<td>class</td>215<td>fcc_info</td>216<td>translators_100s_cnt</td>217<td>translators_90s_cnt</td>218<td>verification_result</td>219</tr>220</table>221</div>222</div>223<hr>224</body></html>225