Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1961.html158 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> 21.16 (142) home team score had a away team of fitzroy</h3>25<h3>Ground-truth:</span> FALSE</h3>26<h3>Input Table: 1982 vfl season</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'home_team_score' is '21.16 (142)'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>home_team</td>34<td>home_team_score</td>35<td>away_team</td>36<td>away_team_score</td>37<td>venue</td>38<td>crowd</td>39<td>date</td>40</tr>41<tr>42<td>footscray</td>43<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">7.8 (50)</span></td>44<td>richmond</td>45<td>16.16 (112)</td>46<td>western oval</td>47<td>16259</td>48<td>1982-08-07</td>49</tr>50<tr>51<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">fitzroy</span></td>52<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">21.16 (142)</span></td>53<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">st kilda</span></td>54<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">11.12 (78)</span></td>55<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">junction oval</span></td>56<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9987</span></td>57<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1982-08-07</span></td>58</tr>59<tr>60<td>north melbourne</td>61<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">22.18 (150)</span></td>62<td>geelong</td>63<td>11.16 (82)</td>64<td>arden street oval</td>65<td>11634</td>66<td>1982-08-07</td>67</tr>68<tr>69<td>hawthorn</td>70<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">20.20 (140)</span></td>71<td>collingwood</td>72<td>16.22 (118)</td>73<td>princes park</td>74<td>18699</td>75<td>1982-08-07</td>76</tr>77<tr>78<td>essendon</td>79<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">20.17 (137)</span></td>80<td>melbourne</td>81<td>14.17 (101)</td>82<td>vfl park</td>83<td>28379</td>84<td>1982-08-07</td>85</tr>86<tr>87<td>swans</td>88<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">15.16 (106)</span></td>89<td>carlton</td>90<td>9.18 (72)</td>91<td>scg</td>92<td>25601</td>93<td>1982-08-01</td>94</tr>95</table>96</div>97<hr>98<div class="step">99<div class="step-title">Step 2: Select rows where 'away_team' is 'fitzroy'.</div>100<div id="step-0" class="content">101<table>102<tr>103<td>home_team</td>104<td>home_team_score</td>105<td>away_team</td>106<td>away_team_score</td>107<td>venue</td>108<td>crowd</td>109<td>date</td>110</tr>111<tr>112<td>fitzroy</td>113<td>21.16 (142)</td>114<td>st kilda</td>115<td>11.12 (78)</td>116<td>junction oval</td>117<td>9987</td>118<td>1982-08-07</td>119</tr>120</table>121</div>122</div>123<hr>124<div class="step">125<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>126<div id="step-1" class="content">127<table>128<tr>129<td>home_team</td>130<td>home_team_score</td>131<td>away_team</td>132<td>away_team_score</td>133<td>venue</td>134<td>crowd</td>135<td>date</td>136</tr>137</table>138</div>139</div>140<hr>141<div class="step">142<div class="step-title">Final output table:</div>143<div id="step-2" class="content">144<table>145<tr>146<td>verification_result</td>147</tr>148<tr>149<td>FALSE</td>150</tr>151</table>152</div>153</div>154<hr>155<div class="step"><h3><span class="true">Prediction: FALSE </span></h3>156<h3>Ground-truth:</span> FALSE</h3></div>157</body></html>158