Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-116.html152 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> the competition type was a junior championship two times</h3>24<h3>Input Table: lukáš melich</h3>25<div class="step">26<div class="step">27<div class="step-title">Step 1: Select rows where the 'competition' column contains the word "junior championship".</div>28<div id="step-1" class="content">29<table>30<tr>31<td>year</td>32<td>competition</td>33<td>venue</td>34<td>position</td>35<td>notes</td>36</tr>37<tr>38<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1998-01-01</span></td>39<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">world junior championships</span></td>40<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">annecy , france</span></td>41<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">10th</span></td>42<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">61.51 m</span></td>43</tr>44<tr>45<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1999-01-01</span></td>46<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">european junior championships</span></td>47<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">riga , latvia</span></td>48<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">5th</span></td>49<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">64.20 m</span></td>50</tr>51<tr>52<td>2001-01-01</td>53<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">european u23 championships</span></td>54<td>amsterdam , netherlands</td>55<td>11th</td>56<td>66.41 m</td>57</tr>58<tr>59<td>2003-01-01</td>60<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">universiade</span></td>61<td>daegu , south korea</td>62<td>4th</td>63<td>71.26 m</td>64</tr>65<tr>66<td>2005-01-01</td>67<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">world championships</span></td>68<td>helsinki , finland</td>69<td>14th</td>70<td>74.53 m</td>71</tr>72<tr>73<td>2006-01-01</td>74<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">european championships</span></td>75<td>gothenburg , sweden</td>76<td>15th</td>77<td>73.77 m</td>78</tr>79<tr>80<td>2008-01-01</td>81<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">olympic games</span></td>82<td>beijing , pr china</td>83<td>29th</td>84<td>70.56 m</td>85</tr>86<tr>87<td>2009-01-01</td>88<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">world championships</span></td>89<td>berlin , germany</td>90<td>14th</td>91<td>74.47 m</td>92</tr>93<tr>94<td>2012-01-01</td>95<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">olympic games</span></td>96<td>london , great britain</td>97<td>6th</td>98<td>77.17 m</td>99</tr>100<tr>101<td>2013-01-01</td>102<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">world championships</span></td>103<td>moscow , russia</td>104<td>3rd</td>105<td>79.36 m</td>106</tr>107</table>108</div>109<hr>110<div class="step">111<div class="step-title">Step 2: Use a `CASE` statement to return TRUE if the number of rows is equal to 2, otherwise return FALSE.</div>112<div id="step-0" class="content">113<table>114<tr>115<td>year</td>116<td>competition</td>117<td>venue</td>118<td>position</td>119<td>notes</td>120</tr>121<tr>122<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1998-01-01</span></td>123<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">world junior championships</span></td>124<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">annecy , france</span></td>125<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">10th</span></td>126<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">61.51 m</span></td>127</tr>128<tr>129<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1999-01-01</span></td>130<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">european junior championships</span></td>131<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">riga , latvia</span></td>132<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">5th</span></td>133<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">64.20 m</span></td>134</tr>135</table>136</div>137</div>138<hr>139<table>140<tr>141<td>verification_result</td>142</tr>143<tr>144<td>TRUE</td>145</tr>146</table>147</div>148</div>149<hr>150<h3>Prediction:</span> TRUE</h3>151</body></html>152