Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Preference-Ranking

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1242.html258 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 production code for the episode directed by robert duncan mcneill is bcw403</h3>25<h3>Ground-truth:</span> FALSE</h3>26<h3>Input Table: list of white collar episodes</h3>27<div class="step">28<div class="step">29<div class="step-title">Step 1: Select rows where 'directed_by' is 'robert duncan mcneill'.</div>30<div id="step-1" class="content">31<table>32<tr>33<td>no_in_series</td>34<td>no_in_season</td>35<td>title</td>36<td>directed_by</td>37<td>written_by</td>38<td>us_viewers__million</td>39<td>original_air_date</td>40<td>production_code</td>41</tr>42<tr>43<td>47</td>44<td>1</td>45<td>wanted</td>46<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">paul holahan</span></td>47<td>jeff eastin</td>48<td>3.21</td>49<td>2012-07-10</td>50<td>bcw401</td>51</tr>52<tr>53<td>48</td>54<td>2</td>55<td>most wanted</td>56<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">paul holahan</span></td>57<td>mark goffman</td>58<td>2.98</td>59<td>2012-07-17</td>60<td>bcw402</td>61</tr>62<tr>63<td>49</td>64<td>3</td>65<td>diminishing returns</td>66<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">stefan schwartz</span></td>67<td>jim campolongo</td>68<td>3.01</td>69<td>2012-07-24</td>70<td>bcw403</td>71</tr>72<tr>73<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">50</span></td>74<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">4</span></td>75<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">parting shots</span></td>76<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">robert duncan mcneill</span></td>77<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">alexandra mcnally</span></td>78<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2.82</span></td>79<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2012-07-31</span></td>80<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">bcw404</span></td>81</tr>82<tr>83<td>51</td>84<td>5</td>85<td>honor among thieves</td>86<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">arlene sanford</span></td>87<td>joe henderson</td>88<td>2.93</td>89<td>2012-08-14</td>90<td>bcw405</td>91</tr>92<tr>93<td>52</td>94<td>6</td>95<td>identity crisis</td>96<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">david straiton</span></td>97<td>channing powell</td>98<td>3.89</td>99<td>2012-08-21</td>100<td>bcw406</td>101</tr>102<tr>103<td>53</td>104<td>7</td>105<td>compromising positions</td>106<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">paul holahan</span></td>107<td>matthew negrete</td>108<td>3.36</td>109<td>2012-08-28</td>110<td>bcw407</td>111</tr>112<tr>113<td>54</td>114<td>8</td>115<td>ancient history</td>116<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">russell lee fine</span></td>117<td>daniel shattuck</td>118<td>3.38</td>119<td>2012-09-04</td>120<td>bcw408</td>121</tr>122<tr>123<td>55</td>124<td>9</td>125<td>gloves off</td>126<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">renny harlin</span></td>127<td>mark goffman</td>128<td>3.8</td>129<td>2012-09-11</td>130<td>bcw409</td>131</tr>132<tr>133<td>56</td>134<td>10</td>135<td>vested interest</td>136<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">russell lee fine</span></td>137<td>jeff eastin</td>138<td>3.41</td>139<td>2012-09-18</td>140<td>bcw410</td>141</tr>142<tr>143<td>57</td>144<td>11</td>145<td>family business</td>146<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">paul holahan</span></td>147<td>joe henderson</td>148<td>2.77</td>149<td>2013-01-22</td>150<td>bcw411</td>151</tr>152<tr>153<td>58</td>154<td>12</td>155<td>brass tacks</td>156<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">anton cropper</span></td>157<td>jim campolongo & alexandra mcnally</td>158<td>2.61</td>159<td>2013-01-29</td>160<td>bcw412</td>161</tr>162<tr>163<td>59</td>164<td>13</td>165<td>empire city</td>166<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">tim dekay</span></td>167<td>channing powell & daniel shattuck</td>168<td>2.28</td>169<td>2013-02-05</td>170<td>bcw413</td>171</tr>172<tr>173<td>60</td>174<td>14</td>175<td>shoot the moon</td>176<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">russell lee fine</span></td>177<td>matthew negrete & bob derosa</td>178<td>2.42</td>179<td>2013-02-19</td>180<td>bcw414</td>181</tr>182<tr>183<td>61</td>184<td>15</td>185<td>the original</td>186<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">john kretchmer</span></td>187<td>mark goffman</td>188<td>2.12</td>189<td>2013-02-26</td>190<td>bcw415</td>191</tr>192</table>193</div>194<hr>195<div class="step">196<div class="step-title">Step 2: Select rows where 'production_code' is 'bcw403'.</div>197<div id="step-0" class="content">198<table>199<tr>200<td>no_in_series</td>201<td>no_in_season</td>202<td>title</td>203<td>directed_by</td>204<td>written_by</td>205<td>us_viewers__million</td>206<td>original_air_date</td>207<td>production_code</td>208</tr>209<tr>210<td>50</td>211<td>4</td>212<td>parting shots</td>213<td>robert duncan mcneill</td>214<td>alexandra mcnally</td>215<td>2.82</td>216<td>2012-07-31</td>217<td>bcw404</td>218</tr>219</table>220</div>221</div>222<hr>223<div class="step">224<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>225<div id="step-1" class="content">226<table>227<tr>228<td>no_in_series</td>229<td>no_in_season</td>230<td>title</td>231<td>directed_by</td>232<td>written_by</td>233<td>us_viewers__million</td>234<td>original_air_date</td>235<td>production_code</td>236</tr>237</table>238</div>239</div>240<hr>241<div class="step">242<div class="step-title">Final output table:</div>243<div id="step-2" class="content">244<table>245<tr>246<td>verification_result</td>247</tr>248<tr>249<td>FALSE</td>250</tr>251</table>252</div>253</div>254<hr>255<div class="step"><h3><span class="true">Prediction: FALSE </span></h3>256<h3>Ground-truth:</span> FALSE</h3></div>257</body></html>258