Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1594.html203 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<h1 class="pos-title">Plan-of-SQLs (Ours)</h1>23<hr>24<h3><span>Statement:</span> the wightlink raiders were the opponent at the home game</h3>25<h3>Ground-truth:</span> FALSE</h3>26<h3>Input Table: 2008 - 09 guildford flames season</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'opponent' is 'wightlink raiders'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>date</td>34<td>opponent</td>35<td>venue</td>36<td>result</td>37<td>attendance</td>38<td>competition</td>39<td>man_of_the_match</td>40</tr>41<tr>42<td>9999-01-01</td>43<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">slough jets</span></td>44<td>home</td>45<td>lost 2 - 3</td>46<td>1308</td>47<td>league / cup</td>48<td>lukas smital</td>49</tr>50<tr>51<td>9999-01-02</td>52<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">slough jets</span></td>53<td>away</td>54<td>lost 5 - 6 (ot)</td>55<td>320</td>56<td>league</td>57<td>paul dixon</td>58</tr>59<tr>60<td>9999-01-08</td>61<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">swindon wildcats</span></td>62<td>away</td>63<td>won 6 - 3</td>64<td>754</td>65<td>league / cup</td>66<td>lukas smital</td>67</tr>68<tr>69<td>9999-01-09</td>70<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">swindon wildcats</span></td>71<td>home</td>72<td>won 4 - 2</td>73<td>1568</td>74<td>league / cup</td>75<td>neil liddiard</td>76</tr>77<tr>78<td>9999-01-15</td>79<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">sheffield scimitars</span></td>80<td>away</td>81<td>won 7 - 4</td>82<td>364</td>83<td>league / cup</td>84<td>rick plant</td>85</tr>86<tr>87<td>9999-01-16</td>88<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">milton keynes lightning</span></td>89<td>home</td>90<td>lost 2 - 4</td>91<td>1161</td>92<td>league / cup</td>93<td>david savage</td>94</tr>95<tr>96<td>9999-01-19</td>97<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">romford raiders</span></td>98<td>home</td>99<td>won 6 - 2</td>100<td>1016</td>101<td>league / cup</td>102<td>alex mettam</td>103</tr>104<tr>105<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9999-01-22</span></td>106<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">wightlink raiders</span></td>107<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">away</span></td>108<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">lost 5 - 4</span></td>109<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">509</span></td>110<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">league / cup</span></td>111<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">stuart potts</span></td>112</tr>113<tr>114<td>9999-01-23</td>115<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">telford tigers</span></td>116<td>home</td>117<td>won 4 - 2</td>118<td>1368</td>119<td>league</td>120<td>alex mettam / mark williams</td>121</tr>122<tr>123<td>9999-01-29</td>124<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">romford raiders</span></td>125<td>home</td>126<td>won 7 - 2</td>127<td>1238</td>128<td>league</td>129<td>martin bouz</td>130</tr>131<tr>132<td>9999-01-30</td>133<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">bracknell bees</span></td>134<td>away</td>135<td>won 4 - 0</td>136<td>not reported</td>137<td>league / cup</td>138<td>joe watkins</td>139</tr>140</table>141</div>142<hr>143<div class="step">144<div class="step-title">Step 2: Select rows where 'venue' is 'home'.</div>145<div id="step-0" class="content">146<table>147<tr>148<td>date</td>149<td>opponent</td>150<td>venue</td>151<td>result</td>152<td>attendance</td>153<td>competition</td>154<td>man_of_the_match</td>155</tr>156<tr>157<td>9999-01-22</td>158<td>wightlink raiders</td>159<td>away</td>160<td>lost 5 - 4</td>161<td>509</td>162<td>league / cup</td>163<td>stuart potts</td>164</tr>165</table>166</div>167</div>168<hr>169<div class="step">170<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>171<div id="step-1" class="content">172<table>173<tr>174<td>date</td>175<td>opponent</td>176<td>venue</td>177<td>result</td>178<td>attendance</td>179<td>competition</td>180<td>man_of_the_match</td>181</tr>182</table>183</div>184</div>185<hr>186<div class="step">187<div class="step-title">Final output table:</div>188<div id="step-2" class="content">189<table>190<tr>191<td>verification_result</td>192</tr>193<tr>194<td>FALSE</td>195</tr>196</table>197</div>198</div>199<hr>200<div class="step"><h3><span class="true">Prediction: FALSE </span></h3>201<h3>Ground-truth:</span> FALSE</h3></div>202</body></html>203