Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-103.html196 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> jack nicklaus of the united states has a score of 72 + 70 + 75 + 72 = 289</h3>25<h3>Ground-truth:</span> TRUE</h3>26<h3>Input Table: 1975 u.s. open (golf)</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'player' is 'jack nicklaus'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>place</td>34<td>player</td>35<td>country</td>36<td>score</td>37<td>to_par</td>38<td>money</td>39</tr>40<tr>41<td>t1</td>42<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">lou graham</span></td>43<td>united states</td>44<td>74 + 72 + 68 + 73 = 287</td>45<td>+ 3</td>46<td>playoff</td>47</tr>48<tr>49<td>t1</td>50<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">john mahaffey</span></td>51<td>united states</td>52<td>73 + 71 + 72 + 71 = 287</td>53<td>+ 3</td>54<td>playoff</td>55</tr>56<tr>57<td>t3</td>58<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">frank beard</span></td>59<td>united states</td>60<td>74 + 69 + 67 + 78 = 288</td>61<td>+ 4</td>62<td>10875</td>63</tr>64<tr>65<td>t3</td>66<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ben crenshaw</span></td>67<td>united states</td>68<td>70 + 68 + 76 + 74 = 288</td>69<td>+ 4</td>70<td>10875</td>71</tr>72<tr>73<td>t3</td>74<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">hale irwin</span></td>75<td>united states</td>76<td>74 + 71 + 73 + 70 = 288</td>77<td>+ 4</td>78<td>10875</td>79</tr>80<tr>81<td>t3</td>82<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">bob murphy</span></td>83<td>united states</td>84<td>74 + 73 + 72 + 69 = 288</td>85<td>+ 4</td>86<td>10875</td>87</tr>88<tr>89<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">t7</span></td>90<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">jack nicklaus</span></td>91<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>92<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">72 + 70 + 75 + 72 = 289</span></td>93<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">+ 5</span></td>94<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">7500</span></td>95</tr>96<tr>97<td>t7</td>98<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">peter oosterhuis</span></td>99<td>england</td>100<td>69 + 73 + 72 + 75 = 289</td>101<td>+ 5</td>102<td>7500</td>103</tr>104<tr>105<td>t9</td>106<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">pat fitzsimons</span></td>107<td>united states</td>108<td>67 + 73 + 73 + 77 = 290</td>109<td>+ 6</td>110<td>5000</td>111</tr>112<tr>113<td>t9</td>114<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">arnold palmer</span></td>115<td>united states</td>116<td>69 + 75 + 73 + 73 = 290</td>117<td>+ 6</td>118<td>5000</td>119</tr>120<tr>121<td>t9</td>122<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">tom watson</span></td>123<td>united states</td>124<td>67 + 68 + 78 + 77 = 290</td>125<td>+ 6</td>126<td>5000</td>127</tr>128</table>129</div>130<hr>131<div class="step">132<div class="step-title">Step 2: Select rows where 'score' is '72 + 70 + 75 + 72 = 289'.</div>133<div id="step-0" class="content">134<table>135<tr>136<td>place</td>137<td>player</td>138<td>country</td>139<td>score</td>140<td>to_par</td>141<td>money</td>142</tr>143<tr>144<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">t7</span></td>145<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jack nicklaus</span></td>146<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>147<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">72 + 70 + 75 + 72 = 289</span></td>148<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">+ 5</span></td>149<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">7500</span></td>150</tr>151</table>152</div>153</div>154<hr>155<div class="step">156<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>157<div id="step-1" class="content">158<table>159<tr>160<td>place</td>161<td>player</td>162<td>country</td>163<td>score</td>164<td>to_par</td>165<td>money</td>166</tr>167<tr>168<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">t7</span></td>169<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">jack nicklaus</span></td>170<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">united states</span></td>171<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">72 + 70 + 75 + 72 = 289</span></td>172<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">+ 5</span></td>173<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">7500</span></td>174</tr>175</table>176</div>177</div>178<hr>179<div class="step">180<div class="step-title">Final output table:</div>181<div id="step-2" class="content">182<table>183<tr>184<td>verification_result</td>185</tr>186<tr>187<td>TRUE</td>188</tr>189</table>190</div>191</div>192<hr>193<div class="step"><h3><span class="true">Prediction: TRUE </span></h3>194<h3>Ground-truth:</span> TRUE</h3></div>195</body></html>196