Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1994.html181 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<hr>23<h3><span>Statement:</span> a mintage of 31997 had an issue price of 59.95</h3>24<h3>Input Table: royal canadian mint numismatic coins (2000s)</h3>25<div class="step">26<div class="step">27<div class="step-title">Step 1: Select rows where 'mintage' is 31997.</div>28<div id="step-1" class="content">29<table>30<tr>31<td>year</td>32<td>theme</td>33<td>artist</td>34<td>mintage</td>35<td>issue_price</td>36</tr>37<tr>38<td>2000</td>39<td>steam buggy</td>40<td>john mardon</td>41<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">44367</span></td>42<td>59.95</td>43</tr>44<tr>45<td>2000</td>46<td>the bluenose</td>47<td>j franklin wright</td>48<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">included in steam buggy</span></td>49<td>59.95</td>50</tr>51<tr>52<td>2000</td>53<td>the toronto</td>54<td>john mardon</td>55<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">included in steam buggy</span></td>56<td>59.95</td>57</tr>58<tr>59<td>2001</td>60<td>the russell light four</td>61<td>john mardon</td>62<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">41828</span></td>63<td>59.95</td>64</tr>65<tr>66<td>2001</td>67<td>the marco polo</td>68<td>j franklin wright</td>69<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">included in the russell</span></td>70<td>59.95</td>71</tr>72<tr>73<td>2001</td>74<td>the scotia</td>75<td>don curley</td>76<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">included in the russell</span></td>77<td>59.95</td>78</tr>79<tr>80<td>2002</td>81<td>the gray - dort</td>82<td>john mardon</td>83<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">35944</span></td>84<td>59.95</td>85</tr>86<tr>87<td>2002</td>88<td>the william lawrence</td>89<td>bonnie ross</td>90<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">included in the gray - dort</span></td>91<td>59.95</td>92</tr>93<tr>94<td>2002</td>95<td>d - 10 locomotive</td>96<td>dan fell</td>97<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">included in the gray - dort</span></td>98<td>59.95</td>99</tr>100<tr>101<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2003</span></td>102<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">hmcs bras dor</span></td>103<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">don curley</span></td>104<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">31997</span></td>105<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">59.95</span></td>106</tr>107<tr>108<td>2003</td>109<td>cnr fa - 1 diesel electric</td>110<td>john mardon</td>111<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">included in hmcs bras dor</span></td>112<td>59.95</td>113</tr>114<tr>115<td>2003</td>116<td>bricklin sv - 1</td>117<td>brian hughes</td>118<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">included in hmcs bras dor</span></td>119<td>59.95</td>120</tr>121</table>122</div>123<hr>124<div class="step">125<div class="step-title">Step 2: Select rows where 'issue_price' is 59.95.</div>126<div id="step-0" class="content">127<table>128<tr>129<td>year</td>130<td>theme</td>131<td>artist</td>132<td>mintage</td>133<td>issue_price</td>134</tr>135<tr>136<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2003</span></td>137<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">hmcs bras dor</span></td>138<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">don curley</span></td>139<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">31997</span></td>140<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">59.95</span></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>year</td>152<td>theme</td>153<td>artist</td>154<td>mintage</td>155<td>issue_price</td>156</tr>157<tr>158<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2003</span></td>159<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">hmcs bras dor</span></td>160<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">don curley</span></td>161<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">31997</span></td>162<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">59.95</span></td>163</tr>164</table>165</div>166</div>167<hr>168<table>169<tr>170<td>verification_result</td>171</tr>172<tr>173<td>TRUE</td>174</tr>175</table>176</div>177</div>178<hr>179<h3>Prediction:</span> TRUE</h3>180</body></html>181