Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1204.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<hr>23<h3><span>Statement:</span> the score for the game where birmingham city was the home team on 10 march 1984 was 1 - 3</h3>24<h3>Input Table: 1983 - 84 fa cup</h3>25<div class="step">26<div class="step">27<div class="step-title">Step 1: Select rows where 'home_team' is 'birmingham city'.</div>28<div id="step-1" class="content">29<table>30<tr>31<td>tie_no</td>32<td>home_team</td>33<td>score</td>34<td>away_team</td>35<td>date</td>36</tr>37<tr>38<td>1</td>39<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">notts county</span></td>40<td>1 - 2</td>41<td>everton</td>42<td>1984-03-10</td>43</tr>44<tr>45<td>2</td>46<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">sheffield wednesday</span></td>47<td>0 - 0</td>48<td>southampton</td>49<td>1984-03-11</td>50</tr>51<tr>52<td>replay</td>53<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">southampton</span></td>54<td>5 - 1</td>55<td>sheffield wednesday</td>56<td>1984-03-20</td>57</tr>58<tr>59<td>3</td>60<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">plymouth argyle</span></td>61<td>0 - 0</td>62<td>derby county</td>63<td>1984-03-10</td>64</tr>65<tr>66<td>replay</td>67<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">derby county</span></td>68<td>0 - 1</td>69<td>plymouth argyle</td>70<td>1984-03-14</td>71</tr>72<tr>73<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4</span></td>74<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">birmingham city</span></td>75<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1 - 3</span></td>76<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">watford</span></td>77<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1984-03-10</span></td>78</tr>79</table>80</div>81<hr>82<div class="step">83<div class="step-title">Step 2: Select rows where 'date' is '1984-03-10'.</div>84<div id="step-0" class="content">85<table>86<tr>87<td>tie_no</td>88<td>home_team</td>89<td>score</td>90<td>away_team</td>91<td>date</td>92</tr>93<tr>94<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4</span></td>95<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">birmingham city</span></td>96<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">1 - 3</span></td>97<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">watford</span></td>98<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1984-03-10</span></td>99</tr>100</table>101</div>102</div>103<hr>104<div class="step">105<div class="step-title">Step 3: Use a `CASE` statement to return TRUE if the number of rows is equal to 1 and the 'score' is '1 - 3', otherwise return FALSE.</div>106<div id="step-1" class="content">107<table>108<tr>109<td>tie_no</td>110<td>home_team</td>111<td>score</td>112<td>away_team</td>113<td>date</td>114</tr>115<tr>116<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">4</span></td>117<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">birmingham city</span></td>118<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1 - 3</span></td>119<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">watford</span></td>120<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">1984-03-10</span></td>121</tr>122</table>123</div>124</div>125<hr>126<table>127<tr>128<td>verification_result</td>129</tr>130<tr>131<td>TRUE</td>132</tr>133</table>134</div>135</div>136<hr>137</body></html>138