Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1891.html193 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> pga championship when top - 25 is less than 4 has 0 wins with cuts made 6 and top - 5 is greater than 0</h3>24<h3>Input Table: chris dimarco</h3>25<div class="step">26<div class="step">27<div class="step-title">Step 1: Select rows where 'tournament' is 'pga championship'.</div>28<div id="step-1" class="content">29<table>30<tr>31<td>tournament</td>32<td>wins</td>33<td>top___5</td>34<td>top___10</td>35<td>top___25</td>36<td>events</td>37<td>cuts_made</td>38</tr>39<tr>40<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">masters tournament</span></td>41<td>0</td>42<td>1</td>43<td>3</td>44<td>4</td>45<td>7</td>46<td>4</td>47</tr>48<tr>49<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">us open</span></td>50<td>0</td>51<td>0</td>52<td>1</td>53<td>3</td>54<td>8</td>55<td>6</td>56</tr>57<tr>58<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">the open championship</span></td>59<td>0</td>60<td>1</td>61<td>1</td>62<td>2</td>63<td>8</td>64<td>6</td>65</tr>66<tr>67<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">pga championship</span></td>68<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">0</span></td>69<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1</span></td>70<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1</span></td>71<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4</span></td>72<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">10</span></td>73<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">8</span></td>74</tr>75<tr>76<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">totals</span></td>77<td>0</td>78<td>3</td>79<td>6</td>80<td>13</td>81<td>33</td>82<td>24</td>83</tr>84</table>85</div>86<hr>87<div class="step">88<div class="step-title">Step 2: Select rows where 'top___25' is less than 4.</div>89<div id="step-0" class="content">90<table>91<tr>92<td>tournament</td>93<td>wins</td>94<td>top___5</td>95<td>top___10</td>96<td>top___25</td>97<td>events</td>98<td>cuts_made</td>99</tr>100<tr>101<td>pga championship</td>102<td>0</td>103<td>1</td>104<td>1</td>105<td>4</td>106<td>10</td>107<td>8</td>108</tr>109</table>110</div>111</div>112<hr>113<div class="step">114<div class="step-title">Step 3: Select rows where 'wins' is 0.</div>115<div id="step-1" class="content">116<table>117<tr>118<td>tournament</td>119<td>wins</td>120<td>top___5</td>121<td>top___10</td>122<td>top___25</td>123<td>events</td>124<td>cuts_made</td>125</tr>126</table>127</div>128</div>129<hr>130<div class="step">131<div class="step-title">Step 4: Select rows where 'cuts_made' is 6.</div>132<div id="step-2" class="content">133<table>134<tr>135<td>tournament</td>136<td>wins</td>137<td>top___5</td>138<td>top___10</td>139<td>top___25</td>140<td>events</td>141<td>cuts_made</td>142</tr>143</table>144</div>145</div>146<hr>147<div class="step">148<div class="step-title">Step 5: Select rows where 'top___5' is greater than 0.</div>149<div id="step-3" class="content">150<table>151<tr>152<td>tournament</td>153<td>wins</td>154<td>top___5</td>155<td>top___10</td>156<td>top___25</td>157<td>events</td>158<td>cuts_made</td>159</tr>160</table>161</div>162</div>163<hr>164<div class="step">165<div class="step-title">Step 6: Use a `CASE` statement to return TRUE if the number of rows is equal to 1, otherwise return FALSE.</div>166<div id="step-4" class="content">167<table>168<tr>169<td>tournament</td>170<td>wins</td>171<td>top___5</td>172<td>top___10</td>173<td>top___25</td>174<td>events</td>175<td>cuts_made</td>176</tr>177</table>178</div>179</div>180<hr>181<table>182<tr>183<td>verification_result</td>184</tr>185<tr>186<td>FALSE</td>187</tr>188</table>189</div>190</div>191<hr>192</body></html>193