Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-271.html219 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 new zealand breakers won two games more than the melbourne tigers</h3>24<h3>Input Table: 2008 - 09 nbl season</h3>25<div class="step">26<div class="step">27<div class="step-title">Step 1: Select rows where 'team' is 'new zealand breakers'.</div>28<div id="step-1" class="content">29<table>30<tr>31<td>team</td>32<td>lost</td>33<td>last_5</td>34<td>streak</td>35<td>home</td>36<td>away</td>37<td>__pts</td>38<td>__won</td>39</tr>40<tr>41<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">south dragons</span></td>42<td>8</td>43<td>4 - 1</td>44<td>won 2</td>45<td>13 - 2</td>46<td>9 - 6</td>47<td>110.25</td>48<td>73.33</td>49</tr>50<tr>51<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">melbourne tigers</span></td>52<td>10</td>53<td>3 - 2</td>54<td>lost 1</td>55<td>11 - 4</td>56<td>9 - 6</td>57<td>106.47</td>58<td>66.67</td>59</tr>60<tr>61<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">new zealand breakers</span></td>62<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">12</span></td>63<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2 - 3</span></td>64<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">won 2</span></td>65<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">10 - 5</span></td>66<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">8 - 7</span></td>67<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">106.08</span></td>68<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">60.0</span></td>69</tr>70<tr>71<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">perth wildcats</span></td>72<td>13</td>73<td>4 - 1</td>74<td>won 2</td>75<td>11 - 4</td>76<td>6 - 9</td>77<td>102.06</td>78<td>56.67</td>79</tr>80<tr>81<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">townsville crocodiles</span></td>82<td>13</td>83<td>4 - 1</td>84<td>lost 1</td>85<td>12 - 3</td>86<td>5 - 10</td>87<td>99.26</td>88<td>56.67</td>89</tr>90<tr>91<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">adelaide 36ers</span></td>92<td>15</td>93<td>3 - 2</td>94<td>lost 1</td>95<td>12 - 3</td>96<td>3 - 12</td>97<td>100.92</td>98<td>50.0</td>99</tr>100<tr>101<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">wollongong hawks</span></td>102<td>19</td>103<td>2 - 3</td>104<td>lost 1</td>105<td>9 - 6</td>106<td>2 - 13</td>107<td>95.03</td>108<td>36.67</td>109</tr>110<tr>111<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">sydney spirit</span></td>112<td>19</td>113<td>0 - 5</td>114<td>lost 8</td>115<td>9 - 6</td>116<td>2 - 13</td>117<td>94.51</td>118<td>36.67</td>119</tr>120<tr>121<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">cairns taipans</span></td>122<td>19</td>123<td>1 - 4</td>124<td>lost 3</td>125<td>5 - 10</td>126<td>6 - 9</td>127<td>93.57</td>128<td>36.67</td>129</tr>130<tr>131<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">gold coast blaze</span></td>132<td>22</td>133<td>3 - 2</td>134<td>won 3</td>135<td>6 - 9</td>136<td>2 - 13</td>137<td>93.45</td>138<td>26.67</td>139</tr>140</table>141</div>142<hr>143<div class="step">144<div class="step-title">Step 2: Select rows where 'team' is 'melbourne tigers'.</div>145<div id="step-0" class="content">146<table>147<tr>148<td>team</td>149<td>lost</td>150<td>last_5</td>151<td>streak</td>152<td>home</td>153<td>away</td>154<td>__pts</td>155<td>__won</td>156</tr>157<tr>158<td>new zealand breakers</td>159<td>12</td>160<td>2 - 3</td>161<td>won 2</td>162<td>10 - 5</td>163<td>8 - 7</td>164<td>106.08</td>165<td>60.0</td>166</tr>167</table>168</div>169</div>170<hr>171<div class="step">172<div class="step-title">Step 3: Select rows where 'team' is 'new zealand breakers' and 'won' is 2 more than 'melbourne tigers'.</div>173<div id="step-1" class="content">174<table>175<tr>176<td>team</td>177<td>lost</td>178<td>last_5</td>179<td>streak</td>180<td>home</td>181<td>away</td>182<td>__pts</td>183<td>__won</td>184</tr>185</table>186</div>187</div>188<hr>189<div class="step">190<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>191<div id="step-2" class="content">192<table>193<tr>194<td>team</td>195<td>lost</td>196<td>last_5</td>197<td>streak</td>198<td>home</td>199<td>away</td>200<td>__pts</td>201<td>__won</td>202</tr>203</table>204</div>205</div>206<hr>207<table>208<tr>209<td>verification_result</td>210</tr>211<tr>212<td>FALSE</td>213</tr>214</table>215</div>216</div>217<hr>218</body></html>219