Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-599.html149 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> quentin was one of the police offers who were in the cube</h3>24<h3>Input Table: cube (film series)</h3>25<div class="step">26<div class="step">27<div class="step-title">Step 1: Select rows where 'occupation' is 'police officer'.</div>28<div id="step-1" class="content">29<table>30<tr>31<td>name</td>32<td>occupation</td>33<td>gender</td>34<td>prison_connection</td>35<td>played_by</td>36<td>status</td>37</tr>38<tr>39<td>kazan</td>40<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">autistic savant</span></td>41<td>male</td>42<td>kazan prison (russia)</td>43<td>andrew miller</td>44<td>alive after exiting the cube</td>45</tr>46<tr>47<td>david worth</td>48<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">architect</span></td>49<td>male</td>50<td>leavenworth prison (usa)</td>51<td>david hewlett</td>52<td>dead</td>53</tr>54<tr>55<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">quentin</span></td>56<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">police officer</span></td>57<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">male</span></td>58<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">san quentin state prison (usa)</span></td>59<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">maurice dean wint</span></td>60<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">dead</span></td>61</tr>62<tr>63<td>joan leaven</td>64<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mathematics student</span></td>65<td>female</td>66<td>leavenworth prison (usa)</td>67<td>nicole de boer</td>68<td>dead</td>69</tr>70<tr>71<td>dr helen holloway</td>72<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">free clinic doctor</span></td>73<td>female</td>74<td>holloway women 's prison (uk)</td>75<td>nicky guadagni</td>76<td>dead</td>77</tr>78<tr>79<td>rennes</td>80<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">prison escapist</span></td>81<td>male</td>82<td>centre pãnitentiaire de rennes (france)</td>83<td>wayne robson</td>84<td>dead</td>85</tr>86</table>87</div>88<hr>89<div class="step">90<div class="step-title">Step 2: Select rows where 'name' is 'quentin'.</div>91<div id="step-0" class="content">92<table>93<tr>94<td>name</td>95<td>occupation</td>96<td>gender</td>97<td>prison_connection</td>98<td>played_by</td>99<td>status</td>100</tr>101<tr>102<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">quentin</span></td>103<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">police officer</span></td>104<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">male</span></td>105<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">san quentin state prison (usa)</span></td>106<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">maurice dean wint</span></td>107<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">dead</span></td>108</tr>109</table>110</div>111</div>112<hr>113<div class="step">114<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>115<div id="step-1" class="content">116<table>117<tr>118<td>name</td>119<td>occupation</td>120<td>gender</td>121<td>prison_connection</td>122<td>played_by</td>123<td>status</td>124</tr>125<tr>126<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">quentin</span></td>127<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">police officer</span></td>128<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">male</span></td>129<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">san quentin state prison (usa)</span></td>130<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">maurice dean wint</span></td>131<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">dead</span></td>132</tr>133</table>134</div>135</div>136<hr>137<table>138<tr>139<td>verification_result</td>140</tr>141<tr>142<td>TRUE</td>143</tr>144</table>145</div>146</div>147<hr>148</body></html>149