Team Ai
Apppublic

luulinh90s/Tabular-LLM-Study-Debugging

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes
test-1953.html204 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> the boston celtics lost more games than they won in the 1984 - 1985 season</h3>24<h3>Input Table: 1984 - 85 boston celtics season</h3>25<div class="step">26<div class="step">27<div class="step-title">Step 1: Select rows where the 'record' column contains the win-loss record in the format 'W - L'.</div>28<div id="step-1" class="content">29<table>30<tr>31<td>game</td>32<td>date</td>33<td>opponent</td>34<td>score</td>35<td>location</td>36<td>record</td>37</tr>38<tr>39<td>33</td>40<td>9999-01-02</td>41<td>new jersey nets</td>42<td>110 - 95</td>43<td>brendan byrne arena</td>44<td>27 - 6</td>45</tr>46<tr>47<td>34</td>48<td>9999-01-04</td>49<td>new york knicks</td>50<td>105 - 94</td>51<td>boston garden</td>52<td>28 - 6</td>53</tr>54<tr>55<td>35</td>56<td>9999-01-07</td>57<td>new york knicks</td>58<td>108 - 97</td>59<td>madison square garden</td>60<td>29 - 6</td>61</tr>62<tr>63<td>36</td>64<td>9999-01-09</td>65<td>chicago bulls</td>66<td>111 - 108</td>67<td>boston garden</td>68<td>30 - 6</td>69</tr>70<tr>71<td>37</td>72<td>9999-01-11</td>73<td>washington bullets</td>74<td>103 - 101</td>75<td>boston garden</td>76<td>31 - 6</td>77</tr>78<tr>79<td>38</td>80<td>9999-01-12</td>81<td>atlanta hawks</td>82<td>119 - 111</td>83<td>the omni</td>84<td>32 - 6</td>85</tr>86<tr>87<td>39</td>88<td>9999-01-16</td>89<td>los angeles lakers</td>90<td>104 - 102</td>91<td>boston garden</td>92<td>33 - 6</td>93</tr>94<tr>95<td>40</td>96<td>9999-01-18</td>97<td>indiana pacers</td>98<td>86 - 91</td>99<td>market square arena</td>100<td>33 - 7</td>101</tr>102<tr>103<td>41</td>104<td>9999-01-20</td>105<td>philadelphia 76ers</td>106<td>113 - 97</td>107<td>boston garden</td>108<td>34 - 7</td>109</tr>110<tr>111<td>42</td>112<td>9999-01-23</td>113<td>seattle supersonics</td>114<td>97 - 107</td>115<td>boston garden</td>116<td>34 - 8</td>117</tr>118<tr>119<td>43</td>120<td>9999-01-25</td>121<td>indiana pacers</td>122<td>125 - 94</td>123<td>boston garden</td>124<td>35 - 8</td>125</tr>126<tr>127<td>44</td>128<td>9999-01-27</td>129<td>portland trail blazers</td>130<td>128 - 127</td>131<td>boston garden</td>132<td>36 - 8</td>133</tr>134<tr>135<td>45</td>136<td>9999-01-29</td>137<td>detroit pistons</td>138<td>131 - 130</td>139<td>hartford civic center</td>140<td>37 - 8</td>141</tr>142<tr>143<td>46</td>144<td>9999-01-30</td>145<td>philadelphia 76ers</td>146<td>104 - 122</td>147<td>the spectrum</td>148<td>37 - 9</td>149</tr>150</table>151</div>152<hr>153<div class="step">154<div class="step-title">Step 2: Extract the number of wins and losses from the 'record' column and add columns 'wins' and 'losses' to the existing table.</div>155<div id="step-0" class="content">156<table>157<tr>158<td>game</td>159<td>date</td>160<td>opponent</td>161<td>score</td>162<td>location</td>163<td>record</td>164</tr>165</table>166</div>167</div>168<hr>169<div class="step">170<div class="step-title">Step 3: Use a `CASE` statement to return TRUE if the number of losses is greater than the number of wins, otherwise return FALSE.</div>171<div id="step-1" class="content">172<table>173<tr>174<td>game</td>175<td>date</td>176<td>opponent</td>177<td>score</td>178<td>location</td>179<td>record</td>180<td>wins</td>181<td>losses</td>182</tr>183</table>184</div>185</div>186<hr>187<table>188<tr>189<td>game</td>190<td>date</td>191<td>opponent</td>192<td>score</td>193<td>location</td>194<td>record</td>195<td>wins</td>196<td>losses</td>197<td>loss_greater_than_win</td>198</tr>199</table>200</div>201</div>202<hr>203</body></html>204