Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1945.html301 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> 467671 was the production code that had 24.8 million us viewers</h3>24<h3>Input Table: friends (season 5)</h3>25<div class="step">26<div class="step">27<div class="step-title">Step 1: Select rows where the 'production_code' is 467671.</div>28<div id="step-1" class="content">29<table>30<tr>31<td>no_in_series</td>32<td>no_in_season</td>33<td>title</td>34<td>directed_by</td>35<td>written_by</td>36<td>original_air_date</td>37<td>production_code</td>38<td>us_viewers__millions_</td>39</tr>40<tr>41<td>98</td>42<td>1</td>43<td>the one after ross says rachel</td>44<td>kevin s bright</td>45<td>seth kurland</td>46<td>1998-09-24</td>47<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">467651</span></td>48<td>31.1</td>49</tr>50<tr>51<td>99</td>52<td>2</td>53<td>the one with all the kissing</td>54<td>gary halvorson</td>55<td>wil calhoun</td>56<td>1998-10-01</td>57<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">467652</span></td>58<td>25.4</td>59</tr>60<tr>61<td>100</td>62<td>3</td>63<td>the one hundredth the one with the triplets</td>64<td>kevin s bright</td>65<td>david crane & marta kauffman</td>66<td>1998-10-08</td>67<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">467653</span></td>68<td>26.8</td>69</tr>70<tr>71<td>101</td>72<td>4</td>73<td>the one where phoebe hates pbs</td>74<td>shelley jensen</td>75<td>michael curtis</td>76<td>1998-10-15</td>77<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">467654</span></td>78<td>24.1</td>79</tr>80<tr>81<td>102</td>82<td>5</td>83<td>the one with the kips</td>84<td>dana devalley piazza</td>85<td>scott silveri</td>86<td>1998-10-29</td>87<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">467655</span></td>88<td>25.9</td>89</tr>90<tr>91<td>103</td>92<td>6</td>93<td>the one with the yeti</td>94<td>gary halvorson</td>95<td>alexa junge</td>96<td>1998-11-05</td>97<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">467656</span></td>98<td>25.0</td>99</tr>100<tr>101<td>104</td>102<td>7</td>103<td>the one where ross moves in</td>104<td>gary halvorson</td>105<td>gigi mccreery & perry rein</td>106<td>1998-11-12</td>107<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">467657</span></td>108<td>24.4</td>109</tr>110<tr>111<td>105</td>112<td>8</td>113<td>the one with all the thanksgivings</td>114<td>kevin s bright</td>115<td>gregory s malins</td>116<td>1998-11-19</td>117<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">467659</span></td>118<td>23.9</td>119</tr>120<tr>121<td>106</td>122<td>9</td>123<td>the one with ross 's sandwich</td>124<td>gary halvorson</td>125<td>ted cohen & andrew reich</td>126<td>1998-12-10</td>127<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">467658</span></td>128<td>23.0</td>129</tr>130<tr>131<td>107</td>132<td>10</td>133<td>the one with the inappropriate sister</td>134<td>dana devalley piazza</td>135<td>shana goldberg - meehan</td>136<td>1998-12-17</td>137<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">467661</span></td>138<td>23.7</td>139</tr>140<tr>141<td>108</td>142<td>11</td>143<td>the one with all the resolutions</td>144<td>joe regalbuto</td>145<td>story : brian boyle teleplay : suzie villandry</td>146<td>1999-01-07</td>147<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">467660</span></td>148<td>27.0</td>149</tr>150<tr>151<td>109</td>152<td>12</td>153<td>the one with chandler 's work laugh</td>154<td>kevin s bright</td>155<td>alicia sky varinaitis</td>156<td>1999-01-21</td>157<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">467663</span></td>158<td>24.8</td>159</tr>160<tr>161<td>110</td>162<td>13</td>163<td>the one with joey 's bag</td>164<td>gail mancuso</td>165<td>story : michael curtis teleplay : seth kurland</td>166<td>1999-02-04</td>167<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">467662</span></td>168<td>24.9</td>169</tr>170<tr>171<td>111</td>172<td>14</td>173<td>the one where everybody finds out</td>174<td>michael lembeck</td>175<td>alexa junge</td>176<td>1999-02-11</td>177<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">467664</span></td>178<td>27.7</td>179</tr>180<tr>181<td>112</td>182<td>15</td>183<td>the one with the girl who hits joey</td>184<td>kevin s bright</td>185<td>adam chase</td>186<td>1999-02-18</td>187<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">467665</span></td>188<td>29.3</td>189</tr>190<tr>191<td>114</td>192<td>17</td>193<td>the one with rachel 's inadvertent kiss</td>194<td>shelley jensen</td>195<td>andrew reich & ted cohen</td>196<td>1999-03-18</td>197<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">467667</span></td>198<td>24.5</td>199</tr>200<tr>201<td>115</td>202<td>18</td>203<td>the one where rachel smokes</td>204<td>todd holland</td>205<td>michael curtis</td>206<td>1999-04-08</td>207<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">467668</span></td>208<td>21.9</td>209</tr>210<tr>211<td>116</td>212<td>19</td>213<td>the one where ross can't flirt</td>214<td>gail mancuso</td>215<td>doty abrams</td>216<td>1999-04-22</td>217<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">467669</span></td>218<td>20.9</td>219</tr>220<tr>221<td>117</td>222<td>20</td>223<td>the one with the ride - along</td>224<td>gary halvorson</td>225<td>shana goldberg - meehan & seth kurland</td>226<td>1999-04-29</td>227<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">467670</span></td>228<td>19.6</td>229</tr>230<tr>231<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">118</span></td>232<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">21</span></td>233<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">the one with the ball</span></td>234<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">gary halvorson</span></td>235<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">story : scott silveri teleplay : gregory s malins</span></td>236<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1999-05-06</span></td>237<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">467671</span></td>238<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">20.9</span></td>239</tr>240</table>241</div>242<hr>243<div class="step">244<div class="step-title">Step 2: Select rows where the 'us_viewers__millions_' is 24.8.</div>245<div id="step-0" class="content">246<table>247<tr>248<td>no_in_series</td>249<td>no_in_season</td>250<td>title</td>251<td>directed_by</td>252<td>written_by</td>253<td>original_air_date</td>254<td>production_code</td>255<td>us_viewers__millions_</td>256</tr>257<tr>258<td>118</td>259<td>21</td>260<td>the one with the ball</td>261<td>gary halvorson</td>262<td>story : scott silveri teleplay : gregory s malins</td>263<td>1999-05-06</td>264<td>467671</td>265<td>20.9</td>266</tr>267</table>268</div>269</div>270<hr>271<div class="step">272<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>273<div id="step-1" class="content">274<table>275<tr>276<td>no_in_series</td>277<td>no_in_season</td>278<td>title</td>279<td>directed_by</td>280<td>written_by</td>281<td>original_air_date</td>282<td>production_code</td>283<td>us_viewers__millions_</td>284</tr>285</table>286</div>287</div>288<hr>289<table>290<tr>291<td>verification_result</td>292</tr>293<tr>294<td>FALSE</td>295</tr>296</table>297</div>298</div>299<hr>300</body></html>301