Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1355.html160 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<h1 class="pos-title">Plan-of-SQLs (Ours)</h1>23<hr>24<h3><span>Statement:</span> in the 28 matches that migues zapata played , he scored only 17 goals</h3>25<h3>Ground-truth:</span> TRUE</h3>26<h3>Input Table: 2008 - 09 segunda división b</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'goalkeeper' is 'miguel zapata'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>goalkeeper</td>34<td>goals</td>35<td>matches</td>36<td>average</td>37<td>team</td>38</tr>39<tr>40<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">miguel zapata</span></td>41<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">17</span></td>42<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">28</span></td>43<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0.61</span></td>44<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">atlético ciudad</span></td>45</tr>46<tr>47<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">rubén martínez</span></td>48<td>24</td>49<td>32</td>50<td>0.75</td>51<td>cartagena</td>52</tr>53<tr>54<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">orlando quintana</span></td>55<td>29</td>56<td>34</td>57<td>0.85</td>58<td>lorca deportiva</td>59</tr>60<tr>61<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">álvaro campos</span></td>62<td>24</td>63<td>28</td>64<td>0.86</td>65<td>real murcia b</td>66</tr>67<tr>68<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">matías garavano</span></td>69<td>26</td>70<td>30</td>71<td>0.87</td>72<td>mérida</td>73</tr>74</table>75</div>76<hr>77<div class="step">78<div class="step-title">Step 2: Select rows where 'matches' is 28.</div>79<div id="step-0" class="content">80<table>81<tr>82<td>goalkeeper</td>83<td>goals</td>84<td>matches</td>85<td>average</td>86<td>team</td>87</tr>88<tr>89<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">miguel zapata</span></td>90<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">17</span></td>91<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">28</span></td>92<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0.61</span></td>93<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">atlético ciudad</span></td>94</tr>95</table>96</div>97</div>98<hr>99<div class="step">100<div class="step-title">Step 3: Select rows where 'goals' is 17.</div>101<div id="step-1" class="content">102<table>103<tr>104<td>goalkeeper</td>105<td>goals</td>106<td>matches</td>107<td>average</td>108<td>team</td>109</tr>110<tr>111<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">miguel zapata</span></td>112<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">17</span></td>113<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">28</span></td>114<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0.61</span></td>115<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">atlético ciudad</span></td>116</tr>117</table>118</div>119</div>120<hr>121<div class="step">122<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>123<div id="step-2" class="content">124<table>125<tr>126<td>goalkeeper</td>127<td>goals</td>128<td>matches</td>129<td>average</td>130<td>team</td>131</tr>132<tr>133<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">miguel zapata</span></td>134<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">17</span></td>135<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">28</span></td>136<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">0.61</span></td>137<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">atlético ciudad</span></td>138</tr>139</table>140</div>141</div>142<hr>143<div class="step">144<div class="step-title">Final output table:</div>145<div id="step-3" class="content">146<table>147<tr>148<td>verification_result</td>149</tr>150<tr>151<td>TRUE</td>152</tr>153</table>154</div>155</div>156<hr>157<div class="step"><h3><span class="true">Prediction: TRUE </span></h3>158<h3>Ground-truth:</span> TRUE</h3></div>159</body></html>160