Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1012.html205 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> the home team scored 17.5 (107) on sunday , january 30th</h3>24<h3>Input Table: 2000 ansett australia cup</h3>25<div class="step">26<div class="step">27<div class="step-title">Step 1: Select rows where the 'home_team' is 'adelaide'.</div>28<div id="step-1" class="content">29<table>30<tr>31<td>home_team</td>32<td>home_team_score</td>33<td>away_team</td>34<td>away_team_score</td>35<td>ground</td>36<td>crowd</td>37<td>date</td>38</tr>39<tr>40<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">adelaide</span></td>41<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">17.5 (107)</span></td>42<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">melbourne</span></td>43<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">19.11 (125)</span></td>44<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">football park</span></td>45<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">12239</span></td>46<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-01-30</span></td>47</tr>48<tr>49<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">geelong</span></td>50<td>10.14 (74)</td>51<td>st kilda</td>52<td>11.12 (78)</td>53<td>waverley park</td>54<td>7394</td>55<td>9999-01-30</td>56</tr>57<tr>58<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">st kilda</span></td>59<td>9.12 (66)</td>60<td>melbourne</td>61<td>13.14 (92)</td>62<td>waverley park</td>63<td>10533</td>64<td>9999-02-05</td>65</tr>66<tr>67<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">adelaide</span></td>68<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">19.10 (124)</span></td>69<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">geelong</span></td>70<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">15.12 (102)</span></td>71<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">football park</span></td>72<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">11326</span></td>73<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-02-06</span></td>74</tr>75<tr>76<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">adelaide</span></td>77<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">14.11 (95)</span></td>78<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">st kilda</span></td>79<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">15.12 (102)</span></td>80<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">football park</span></td>81<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">13086</span></td>82<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-02-13</span></td>83</tr>84<tr>85<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">geelong</span></td>86<td>17.12 (114)</td>87<td>melbourne</td>88<td>11.16 (82)</td>89<td>waverley park</td>90<td>4952</td>91<td>01-14-9999</td>92</tr>93</table>94</div>95<hr>96<div class="step">97<div class="step-title">Step 2: Select rows where the 'home_team_score' is '17.5 (107)'.</div>98<div id="step-0" class="content">99<table>100<tr>101<td>home_team</td>102<td>home_team_score</td>103<td>away_team</td>104<td>away_team_score</td>105<td>ground</td>106<td>crowd</td>107<td>date</td>108</tr>109<tr>110<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">adelaide</span></td>111<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">17.5 (107)</span></td>112<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">melbourne</span></td>113<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">19.11 (125)</span></td>114<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">football park</span></td>115<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">12239</span></td>116<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-01-30</span></td>117</tr>118<tr>119<td>adelaide</td>120<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">19.10 (124)</span></td>121<td>geelong</td>122<td>15.12 (102)</td>123<td>football park</td>124<td>11326</td>125<td>9999-02-06</td>126</tr>127<tr>128<td>adelaide</td>129<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">14.11 (95)</span></td>130<td>st kilda</td>131<td>15.12 (102)</td>132<td>football park</td>133<td>13086</td>134<td>9999-02-13</td>135</tr>136</table>137</div>138</div>139<hr>140<div class="step">141<div class="step-title">Step 3: Select rows where the 'date' is '9999-01-30'.</div>142<div id="step-1" class="content">143<table>144<tr>145<td>home_team</td>146<td>home_team_score</td>147<td>away_team</td>148<td>away_team_score</td>149<td>ground</td>150<td>crowd</td>151<td>date</td>152</tr>153<tr>154<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">adelaide</span></td>155<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">17.5 (107)</span></td>156<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">melbourne</span></td>157<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">19.11 (125)</span></td>158<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">football park</span></td>159<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">12239</span></td>160<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">9999-01-30</span></td>161</tr>162</table>163</div>164</div>165<hr>166<div class="step">167<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>168<div id="step-2" class="content">169<table>170<tr>171<td>home_team</td>172<td>home_team_score</td>173<td>away_team</td>174<td>away_team_score</td>175<td>ground</td>176<td>crowd</td>177<td>date</td>178</tr>179<tr>180<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">adelaide</span></td>181<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">17.5 (107)</span></td>182<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">melbourne</span></td>183<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">19.11 (125)</span></td>184<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">football park</span></td>185<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">12239</span></td>186<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">9999-01-30</span></td>187</tr>188</table>189</div>190</div>191<hr>192<table>193<tr>194<td>verification_result</td>195</tr>196<tr>197<td>TRUE</td>198</tr>199</table>200</div>201</div>202<hr>203<h3>Prediction:</span> TRUE</h3>204</body></html>205