Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-96.html140 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<h1 class="pos-title">Plan-of-SQLs (Ours)</h1>23<hr>24<h3><span>Statement:</span> the vctp 20 mm (79in) rh - 202 autocannon does not have 7.62 mm (0.3in) fn mag 60 - 20 machine gun as the vcrt</h3>25<h3>Ground-truth:</span> FALSE</h3>26<h3>Input Table: tam (tank)</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'vctp' is '20 mm (79in) rh - 202 autocannon'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>vctp</td>34<td>vca_155</td>35<td>vctm</td>36<td>vcpc</td>37<td>vclc</td>38<td>vcrt</td>39</tr>40<tr>41<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">28.2 t (31.1 tons )</span></td>42<td>40t (44.1tons)</td>43<td>26t (28.7tons)</td>44<td>25t (27.6tons)</td>45<td>32t (35.3tons)</td>46<td>32t (35.3tons)</td>47</tr>48<tr>49<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">20 mm (79in) rh - 202 autocannon</span></td>50<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">155 mm (6.1in) l / 41 howitzer</span></td>51<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">120 mm (4.72in) mortar</span></td>52<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">7.62 mm (0.3in) fn mag 60 - 20 machine gun</span></td>53<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">160 mm (6.3in) or 350 mm (13.8in) rockets</span></td>54<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">7.62 mm (0.3in) fn mag 60 - 20 machine gun</span></td>55</tr>56<tr>57<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">km (mi)</span></td>58<td>-</td>59<td>km (mi)</td>60<td>-</td>61<td>km (mi)</td>62<td>km (mi)</td>63</tr>64<tr>65<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">24hp / t (23hp / ton)</span></td>66<td>18hp / t ( 16.5hp / ton)</td>67<td>28.8hp / t (25.1hp / ton)</td>68<td>28.8hp / t (25.1hp / ton)</td>69<td>22.5hp / t (20.4hp / ton)</td>70<td>22.5hp / t (20.4hp / ton)</td>71</tr>72<tr>73<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">75 km / h (47 mph)</span></td>74<td>55 km / h (34 mph)</td>75<td>75 km / h (47 mph)</td>76<td>75 km / h (47 mph)</td>77<td>75 km / h (47 mph)</td>78<td>75 km / h (47 mph)</td>79</tr>80</table>81</div>82<hr>83<div class="step">84<div class="step-title">Step 2: Select rows where 'vcrt' does not contain '7.62 mm (0.3in) fn mag 60 - 20 machine gun'.</div>85<div id="step-0" class="content">86<table>87<tr>88<td>vctp</td>89<td>vca_155</td>90<td>vctm</td>91<td>vcpc</td>92<td>vclc</td>93<td>vcrt</td>94</tr>95<tr>96<td>20 mm (79in) rh - 202 autocannon</td>97<td>155 mm (6.1in) l / 41 howitzer</td>98<td>120 mm (4.72in) mortar</td>99<td>7.62 mm (0.3in) fn mag 60 - 20 machine gun</td>100<td>160 mm (6.3in) or 350 mm (13.8in) rockets</td>101<td>7.62 mm (0.3in) fn mag 60 - 20 machine gun</td>102</tr>103</table>104</div>105</div>106<hr>107<div class="step">108<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>109<div id="step-1" class="content">110<table>111<tr>112<td>vctp</td>113<td>vca_155</td>114<td>vctm</td>115<td>vcpc</td>116<td>vclc</td>117<td>vcrt</td>118</tr>119</table>120</div>121</div>122<hr>123<div class="step">124<div class="step-title">Final output table:</div>125<div id="step-2" class="content">126<table>127<tr>128<td>verification_result</td>129</tr>130<tr>131<td>FALSE</td>132</tr>133</table>134</div>135</div>136<hr>137<div class="step"><h3><span class="true">Prediction: FALSE </span></h3>138<h3>Ground-truth:</span> FALSE</h3></div>139</body></html>140