Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-725.html138 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<h1 class="pos-title">Plan-of-SQLs (Ours)</h1>23<hr>24<h3><span>Statement:</span> in the final , laura golarsa and her opponent played on a clay surface</h3>25<h3>Ground-truth:</span> TRUE</h3>26<h3>Input Table: isabel cueto</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'opponent_in_the_final' is 'laura golarsa'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>date</td>34<td>tournament</td>35<td>surface</td>36<td>opponent_in_the_final</td>37<td>score</td>38</tr>39<tr>40<td>1988-07-04</td>41<td>båstad , sweden</td>42<td>clay</td>43<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">sandra cecchini</span></td>44<td>7 - 5 , 6 - 1</td>45</tr>46<tr>47<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1988-08-01</span></td>48<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">athens , greece</span></td>49<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">clay</span></td>50<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">laura golarsa</span></td>51<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">6 - 0 , 6 - 1</span></td>52</tr>53<tr>54<td>1989-07-17</td>55<td>estoril , portugal</td>56<td>clay</td>57<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">sandra cecchini</span></td>58<td>7 - 6 (3) , 6 - 2</td>59</tr>60<tr>61<td>1989-07-31</td>62<td>sofia , bulgaria</td>63<td>clay</td>64<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">katerina maleeva</span></td>65<td>6 - 2 , 7 - 6 (3)</td>66</tr>67<tr>68<td>1990-07-09</td>69<td>palermo , italy</td>70<td>clay</td>71<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">barbara paulus</span></td>72<td>6 - 2 , 6 - 3</td>73</tr>74</table>75</div>76<hr>77<div class="step">78<div class="step-title">Step 2: Select rows where 'surface' is 'clay'.</div>79<div id="step-0" class="content">80<table>81<tr>82<td>date</td>83<td>tournament</td>84<td>surface</td>85<td>opponent_in_the_final</td>86<td>score</td>87</tr>88<tr>89<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1988-08-01</span></td>90<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">athens , greece</span></td>91<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">clay</span></td>92<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">laura golarsa</span></td>93<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">6 - 0 , 6 - 1</span></td>94</tr>95</table>96</div>97</div>98<hr>99<div class="step">100<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>101<div id="step-1" class="content">102<table>103<tr>104<td>date</td>105<td>tournament</td>106<td>surface</td>107<td>opponent_in_the_final</td>108<td>score</td>109</tr>110<tr>111<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1988-08-01</span></td>112<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">athens , greece</span></td>113<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">clay</span></td>114<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">laura golarsa</span></td>115<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">6 - 0 , 6 - 1</span></td>116</tr>117</table>118</div>119</div>120<hr>121<div class="step">122<div class="step-title">Final output table:</div>123<div id="step-2" class="content">124<table>125<tr>126<td>verification_result</td>127</tr>128<tr>129<td>TRUE</td>130</tr>131</table>132</div>133</div>134<hr>135<div class="step"><h3><span class="true">Prediction: TRUE </span></h3>136<h3>Ground-truth:</span> TRUE</h3></div>137</body></html>138