Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-452.html125 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<hr>23<h3><span>Statement:</span> two home teams had the same scores as the away teams that they were playing</h3>24<h3>Input Table: 1938 vfl season</h3>25<div class="step">26<div class="step">27<div class="step-title">Step 1: Select rows where the home team score is equal to the away team score.</div>28<div id="step-1" class="content">29<table>30<tr>31<td>home_team</td>32<td>home_team_score</td>33<td>away_team</td>34<td>away_team_score</td>35<td>venue</td>36<td>crowd</td>37<td>date</td>38</tr>39<tr>40<td>geelong</td>41<td>11.23 (89)</td>42<td>hawthorn</td>43<td>6.13 (49)</td>44<td>corio oval</td>45<td>7000</td>46<td>1938-06-18</td>47</tr>48<tr>49<td>fitzroy</td>50<td>16.12 (108)</td>51<td>south melbourne</td>52<td>8.8 (56)</td>53<td>brunswick street oval</td>54<td>12000</td>55<td>1938-06-18</td>56</tr>57<tr>58<td>st kilda</td>59<td>14.12 (96)</td>60<td>melbourne</td>61<td>16.16 (112)</td>62<td>junction oval</td>63<td>14000</td>64<td>1938-06-18</td>65</tr>66<tr>67<td>richmond</td>68<td>15.14 (104)</td>69<td>essendon</td>70<td>15.9 (99)</td>71<td>punt road oval</td>72<td>20000</td>73<td>1938-06-18</td>74</tr>75<tr>76<td>footscray</td>77<td>13.9 (87)</td>78<td>collingwood</td>79<td>10.5 (65)</td>80<td>western oval</td>81<td>18000</td>82<td>1938-06-18</td>83</tr>84<tr>85<td>north melbourne</td>86<td>11.5 (71)</td>87<td>carlton</td>88<td>16.25 (121)</td>89<td>arden street oval</td>90<td>13000</td>91<td>1938-06-18</td>92</tr>93</table>94</div>95<hr>96<div class="step">97<div class="step-title">Step 2: Use a `CASE` statement to return TRUE if the number of rows is equal to 2, otherwise return FALSE.</div>98<div id="step-0" class="content">99<table>100<tr>101<td>home_team</td>102<td>home_team_score</td>103<td>away_team</td>104<td>away_team_score</td>105<td>venue</td>106<td>crowd</td>107<td>date</td>108</tr>109</table>110</div>111</div>112<hr>113<table>114<tr>115<td>verification_result</td>116</tr>117<tr>118<td>FALSE</td>119</tr>120</table>121</div>122</div>123<hr>124</body></html>125