Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-689.html173 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<hr>23<h3><span>Statement:</span> tiger woods scores a 211 placing 5th</h3>24<h3>Input Table: 2002 u.s. open (golf)</h3>25<div class="step">26<div class="step">27<div class="step-title">Step 1: Select rows where 'player' is 'tiger woods'.</div>28<div id="step-1" class="content">29<table>30<tr>31<td>place</td>32<td>player</td>33<td>country</td>34<td>score</td>35<td>to_par</td>36</tr>37<tr>38<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1</span></td>39<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">tiger woods</span></td>40<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">united states</span></td>41<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">67 + 68 + 70 = 205</span></td>42<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">- 5</span></td>43</tr>44<tr>45<td>2</td>46<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">sergio garcía</span></td>47<td>spain</td>48<td>68 + 74 + 67 = 209</td>49<td>- 1</td>50</tr>51<tr>52<td>t3</td>53<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jeff maggert</span></td>54<td>united states</td>55<td>69 + 73 + 68 = 210</td>56<td>e</td>57</tr>58<tr>59<td>t3</td>60<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">phil mickelson</span></td>61<td>united states</td>62<td>70 + 73 + 67 = 210</td>63<td>e</td>64</tr>65<tr>66<td>t5</td>67<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">robert allenby</span></td>68<td>australia</td>69<td>74 + 70 + 67 = 211</td>70<td>+ 1</td>71</tr>72<tr>73<td>t5</td>74<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">pádraig harrington</span></td>75<td>ireland</td>76<td>70 + 68 + 73 = 211</td>77<td>+ 1</td>78</tr>79<tr>80<td>t5</td>81<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">billy mayfair</span></td>82<td>united states</td>83<td>69 + 74 + 68 = 211</td>84<td>+ 1</td>85</tr>86<tr>87<td>t8</td>88<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">nick faldo</span></td>89<td>england</td>90<td>70 + 76 + 66 = 212</td>91<td>+ 2</td>92</tr>93<tr>94<td>t8</td>95<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">justin leonard</span></td>96<td>united states</td>97<td>73 + 71 + 68 = 212</td>98<td>+ 2</td>99</tr>100<tr>101<td>t10</td>102<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">tom byrum</span></td>103<td>united states</td>104<td>72 + 72 + 70 = 214</td>105<td>+ 4</td>106</tr>107<tr>108<td>t10</td>109<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">davis love iii</span></td>110<td>united states</td>111<td>71 + 71 + 72 = 214</td>112<td>+ 4</td>113</tr>114<tr>115<td>t10</td>116<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">scott mccarron</span></td>117<td>united states</td>118<td>72 + 72 + 70 = 214</td>119<td>+ 4</td>120</tr>121</table>122</div>123<hr>124<div class="step">125<div class="step-title">Step 2: Select rows where 'score' is 211.</div>126<div id="step-0" class="content">127<table>128<tr>129<td>place</td>130<td>player</td>131<td>country</td>132<td>score</td>133<td>to_par</td>134</tr>135<tr>136<td>1</td>137<td>tiger woods</td>138<td>united states</td>139<td>67 + 68 + 70 = 205</td>140<td>- 5</td>141</tr>142</table>143</div>144</div>145<hr>146<div class="step">147<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>148<div id="step-1" class="content">149<table>150<tr>151<td>place</td>152<td>player</td>153<td>country</td>154<td>score</td>155<td>to_par</td>156</tr>157</table>158</div>159</div>160<hr>161<table>162<tr>163<td>verification_result</td>164</tr>165<tr>166<td>FALSE</td>167</tr>168</table>169</div>170</div>171<hr>172</body></html>173