Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-255.html160 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> galina voskoboeva played 20% of her games on a clay top tennis court</h3>25<h3>Ground-truth:</span> FALSE</h3>26<h3>Input Table: galina voskoboeva</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'surface' is 'clay'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>outcome</td>34<td>date</td>35<td>tournament</td>36<td>surface</td>37<td>opponent</td>38<td>score</td>39</tr>40<tr>41<td>runner - up</td>42<td>2003-01-28</td>43<td>tipton</td>44<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">hard (i)</span></td>45<td>matea mezak</td>46<td>6 - 4 , 4 - 6 , 4 - 6</td>47</tr>48<tr>49<td>winner</td>50<td>2003-06-29</td>51<td>mont - de - marsan</td>52<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">hard (i)</span></td>53<td>oleksandra kravets</td>54<td>6 - 4 , 6 - 2</td>55</tr>56<tr>57<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">runner - up</span></td>58<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2003-10-03</span></td>59<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">latina</span></td>60<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">clay</span></td>61<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">roberta vinci</span></td>62<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">3 - 6 , 4 - 6</span></td>63</tr>64<tr>65<td>runner - up</td>66<td>2005-11-08</td>67<td>pittsburgh</td>68<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">hard</span></td>69<td>lilia osterloh</td>70<td>6 - 7 , 4 - 6</td>71</tr>72<tr>73<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">winner</span></td>74<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2006-06-06</span></td>75<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">cuneo , italy</span></td>76<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">clay</span></td>77<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">alice canepa</span></td>78<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">6 - 1 , 6 - 2</span></td>79</tr>80</table>81</div>82<hr>83<div class="step">84<div class="step-title">Step 2: Count the number of rows.</div>85<div id="step-0" class="content">86<table>87<tr>88<td>outcome</td>89<td>date</td>90<td>tournament</td>91<td>surface</td>92<td>opponent</td>93<td>score</td>94</tr>95<tr>96<td>runner - up</td>97<td>2003-10-03</td>98<td>latina</td>99<td>clay</td>100<td>roberta vinci</td>101<td>3 - 6 , 4 - 6</td>102</tr>103<tr>104<td>winner</td>105<td>2006-06-06</td>106<td>cuneo , italy</td>107<td>clay</td>108<td>alice canepa</td>109<td>6 - 1 , 6 - 2</td>110</tr>111</table>112</div>113</div>114<hr>115<div class="step">116<div class="step-title">Step 3: Calculate the percentage of games played on clay by dividing the count by the total number of rows in the table and multiplying by 100.</div>117<div id="step-1" class="content">118<table>119<tr>120<td>row_count</td>121</tr>122<tr>123<td>2</td>124</tr>125</table>126</div>127</div>128<hr>129<div class="step">130<div class="step-title">Step 4: Use a `CASE` statement to return TRUE if the calculated percentage is equal to 20, otherwise return FALSE.</div>131<div id="step-2" class="content">132<table>133<tr>134<td>percentage</td>135</tr>136<tr>137<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">0</span></td>138</tr>139</table>140</div>141</div>142<hr>143<div class="step">144<div class="step-title">Final output table:</div>145<div id="step-3" class="content">146<table>147<tr>148<td>verification_result</td>149</tr>150<tr>151<td>FALSE</td>152</tr>153</table>154</div>155</div>156<hr>157<div class="step"><h3><span class="true">Prediction: FALSE </span></h3>158<h3>Ground-truth:</span> FALSE</h3></div>159</body></html>160