Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1212.html191 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> september 22 , 2004 season premier has a rank of 21</h3>24<h3>Input Table: csi (franchise)</h3>25<div class="step">26<div class="step">27<div class="step-title">Step 1: Select rows where 'season_premiere' is '2004-09-22'.</div>28<div id="step-1" class="content">29<table>30<tr>31<td>season</td>32<td>episodes</td>33<td>time_slot__est_</td>34<td>season_premiere</td>35<td>season_finale</td>36<td>tv_season</td>37<td>rank</td>38<td>viewers__in_millions_</td>39</tr>40<tr>41<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1</span></td>42<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">23</span></td>43<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">wednesday 10 pm / 9c</span></td>44<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2004-09-22</span></td>45<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2005-05-18</span></td>46<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2004 - 2005</span></td>47<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">21</span></td>48<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">13.59</span></td>49</tr>50<tr>51<td>2</td>52<td>24</td>53<td>wednesday 10 pm / 9c</td>54<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2005-09-28</span></td>55<td>2006-05-17</td>56<td>2005 - 2006</td>57<td>22</td>58<td>14.04</td>59</tr>60<tr>61<td>3</td>62<td>24</td>63<td>wednesday 10 pm / 9c</td>64<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2006-09-20</span></td>65<td>2007-05-16</td>66<td>2006 - 2007</td>67<td>25</td>68<td>13.92</td>69</tr>70<tr>71<td>4</td>72<td>21</td>73<td>wednesday 10 pm / 9c</td>74<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2007-09-26</span></td>75<td>2008-05-21</td>76<td>2007 - 2008</td>77<td>28</td>78<td>11.71</td>79</tr>80<tr>81<td>5</td>82<td>25</td>83<td>wednesday 10 pm / 9c</td>84<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2008-09-24</span></td>85<td>2009-05-14</td>86<td>2008 - 2009</td>87<td>17</td>88<td>13.5</td>89</tr>90<tr>91<td>6</td>92<td>23</td>93<td>wednesday 10 pm / 9c</td>94<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2009-09-23</span></td>95<td>2010-05-26</td>96<td>2009 - 2010</td>97<td>23</td>98<td>12.66</td>99</tr>100<tr>101<td>7</td>102<td>22</td>103<td>friday 9 pm / 8c</td>104<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2010-09-24</span></td>105<td>2011-05-13</td>106<td>2010 - 2011</td>107<td>37</td>108<td>10.73</td>109</tr>110<tr>111<td>8</td>112<td>18</td>113<td>friday 9 pm / 8c</td>114<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2011-09-23</span></td>115<td>2012-05-11</td>116<td>2011 - 2012</td>117<td>38</td>118<td>10.34</td>119</tr>120</table>121</div>122<hr>123<div class="step">124<div class="step-title">Step 2: Select rows where 'rank' is 21.</div>125<div id="step-0" class="content">126<table>127<tr>128<td>season</td>129<td>episodes</td>130<td>time_slot__est_</td>131<td>season_premiere</td>132<td>season_finale</td>133<td>tv_season</td>134<td>rank</td>135<td>viewers__in_millions_</td>136</tr>137<tr>138<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1</span></td>139<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">23</span></td>140<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">wednesday 10 pm / 9c</span></td>141<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2004-09-22</span></td>142<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2005-05-18</span></td>143<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2004 - 2005</span></td>144<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">21</span></td>145<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">13.59</span></td>146</tr>147</table>148</div>149</div>150<hr>151<div class="step">152<div class="step-title">Step 3: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>153<div id="step-1" class="content">154<table>155<tr>156<td>season</td>157<td>episodes</td>158<td>time_slot__est_</td>159<td>season_premiere</td>160<td>season_finale</td>161<td>tv_season</td>162<td>rank</td>163<td>viewers__in_millions_</td>164</tr>165<tr>166<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1</span></td>167<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">23</span></td>168<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">wednesday 10 pm / 9c</span></td>169<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2004-09-22</span></td>170<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2005-05-18</span></td>171<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2004 - 2005</span></td>172<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">21</span></td>173<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">13.59</span></td>174</tr>175</table>176</div>177</div>178<hr>179<table>180<tr>181<td>verification_result</td>182</tr>183<tr>184<td>TRUE</td>185</tr>186</table>187</div>188</div>189<hr>190</body></html>191