Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-515.html154 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> when rank is more than 4 and country is japan for notes shows sc / d</h3>24<h3>Input Table: rowing at the 2008 summer olympics - men 's lightweight double sculls</h3>25<div class="step">26<div class="step">27<div class="step-title">Step 1: Select rows where 'rank' is more than 4.</div>28<div id="step-1" class="content">29<table>30<tr>31<td>rank</td>32<td>rowers</td>33<td>country</td>34<td>time</td>35<td>notes</td>36</tr>37<tr>38<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1</span></td>39<td>pedro fraga , nuno mendes</td>40<td>portugal</td>41<td>6:39.07</td>42<td>sa / b</td>43</tr>44<tr>45<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2</span></td>46<td>eyder batista , yunior perez</td>47<td>cuba</td>48<td>6:40.15</td>49<td>sa / b</td>50</tr>51<tr>52<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3</span></td>53<td>kazushige ura , daisaku takeda</td>54<td>japan</td>55<td>6:43.03</td>56<td>sc / d</td>57</tr>58<tr>59<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4</span></td>60<td>zsolt hirling , tamã¡s varga</td>61<td>hungary</td>62<td>6:50.48</td>63<td>sc / d</td>64</tr>65<tr>66<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">5</span></td>67<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">devender kumar khandwal , manjeet singh</span></td>68<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">india</span></td>69<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">7:02.06</span></td>70<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">sc / d</span></td>71</tr>72<tr>73<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">6</span></td>74<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jang kang - eun , kim hong - kyun</span></td>75<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">south korea</span></td>76<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">7:12.17</span></td>77<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">sc / d</span></td>78</tr>79</table>80</div>81<hr>82<div class="step">83<div class="step-title">Step 2: Select rows where 'country' is 'japan'.</div>84<div id="step-0" class="content">85<table>86<tr>87<td>rank</td>88<td>rowers</td>89<td>country</td>90<td>time</td>91<td>notes</td>92</tr>93<tr>94<td>5</td>95<td>devender kumar khandwal , manjeet singh</td>96<td>india</td>97<td>7:02.06</td>98<td>sc / d</td>99</tr>100<tr>101<td>6</td>102<td>jang kang - eun , kim hong - kyun</td>103<td>south korea</td>104<td>7:12.17</td>105<td>sc / d</td>106</tr>107</table>108</div>109</div>110<hr>111<div class="step">112<div class="step-title">Step 3: Select rows where 'notes' shows 'sc / d'.</div>113<div id="step-1" class="content">114<table>115<tr>116<td>rank</td>117<td>rowers</td>118<td>country</td>119<td>time</td>120<td>notes</td>121</tr>122</table>123</div>124</div>125<hr>126<div class="step">127<div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the number of rows is greater than or equal to 1, otherwise return FALSE.</div>128<div id="step-2" class="content">129<table>130<tr>131<td>rank</td>132<td>rowers</td>133<td>country</td>134<td>time</td>135<td>notes</td>136</tr>137</table>138</div>139</div>140<hr>141<table>142<tr>143<td>verification_result</td>144</tr>145<tr>146<td>FALSE</td>147</tr>148</table>149</div>150</div>151<hr>152<h3>Prediction:</span> FALSE</h3>153</body></html>154