Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1796.html139 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> zoë wanamaker plays the character ariadne oliver</h3>24<h3>Input Table: list of agatha christie 's poirot episodes</h3>25<div class="step">26<div class="step">27<div class="step-title">Step 1: Select rows where 'character' is 'ariadne oliver'.</div>28<div id="step-1" class="content">29<table>30<tr>31<td>actor</td>32<td>character</td>33<td>title___rank</td>34<td>series</td>35<td>years</td>36</tr>37<tr>38<td>david suchet</td>39<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">hercule poirot</span></td>40<td>various</td>41<td>1 - 13</td>42<td>1989 - 2013</td>43</tr>44<tr>45<td>hugh fraser</td>46<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">arthur hastings</span></td>47<td>captain obe</td>48<td>1 - 8 , 13</td>49<td>1989 - 2002 , 2013</td>50</tr>51<tr>52<td>philip jackson</td>53<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">james japp</span></td>54<td>chief inspector</td>55<td>1 - 8 , 13</td>56<td>1989 - 2001 , 2013</td>57</tr>58<tr>59<td>pauline moran</td>60<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">felicity lemon</span></td>61<td>secretary</td>62<td>1 - 3 , 5 - 8 , 13</td>63<td>1989 - 1991 , 1993 - 2001 , 2013</td>64</tr>65<tr>66<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">zoë wanamaker</span></td>67<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">ariadne oliver</span></td>68<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">crime novelist</span></td>69<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">10 - 13</span></td>70<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2006 - 2013</span></td>71</tr>72<tr>73<td>david yelland</td>74<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">george</span></td>75<td>butler</td>76<td>10 - 13</td>77<td>2006 - 2013</td>78</tr>79</table>80</div>81<hr>82<div class="step">83<div class="step-title">Step 2: Select rows where 'actor' is 'zoë wanamaker'.</div>84<div id="step-0" class="content">85<table>86<tr>87<td>actor</td>88<td>character</td>89<td>title___rank</td>90<td>series</td>91<td>years</td>92</tr>93<tr>94<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">zoë wanamaker</span></td>95<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">ariadne oliver</span></td>96<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">crime novelist</span></td>97<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">10 - 13</span></td>98<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">2006 - 2013</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, otherwise return FALSE.</div>106<div id="step-1" class="content">107<table>108<tr>109<td>actor</td>110<td>character</td>111<td>title___rank</td>112<td>series</td>113<td>years</td>114</tr>115<tr>116<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">zoë wanamaker</span></td>117<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">ariadne oliver</span></td>118<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">crime novelist</span></td>119<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">10 - 13</span></td>120<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">2006 - 2013</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<h3>Prediction:</span> TRUE</h3>138</body></html>139