|
<html><head> |
|
<style> |
|
body { font-family: Arial, sans-serif; margin: 20px; } |
|
h1 { text-align: center; } |
|
.cot-title { color: blue; } |
|
.pos-title { color: green; } |
|
h2 { color: black; text-align: left; } |
|
h3 { color: black; text-align: left; } |
|
h4 { color: darkslategray; } |
|
table { width: 100%; border-collapse: collapse; margin: 20px 0; } |
|
table, th, td { border: 1px solid #ddd; padding: 8px; } |
|
th { background-color: #f2f2f2; } |
|
tr:nth-child(even) { background-color: #f9f9f9; } |
|
.highlight { background-color: #ffffcc; } |
|
.true { color: green; } |
|
.false { color: red; } |
|
.highlighted-cell { background-color: yellow; cursor: pointer; } |
|
.step-title { background-color: #f1f1f1; color: #444; padding: 10px; margin: 10px 0; font-size: 18px; border-left: 4px solid #888; } |
|
.step { display: block; } |
|
</style> |
|
</head><body> |
|
<hr> |
|
<h3><span>Statement:</span> any driver below 75 laps care trouble of some kind thus no time listed</h3> |
|
<h3>Input Table: 1971 south african grand prix</h3> |
|
<div class="step"> |
|
<div class="step"> |
|
<div class="step-title">Step 1: Step 1</div> |
|
<div id="step-1" class="content"> |
|
<table> |
|
<tr> |
|
<td>driver</td> |
|
<td>constructor</td> |
|
<td>laps</td> |
|
<td>time___retired</td> |
|
<td>grid</td> |
|
</tr> |
|
<tr> |
|
<td>mario andretti</td> |
|
<td>ferrari</td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">79</span></td> |
|
<td>1:47:35.5</td> |
|
<td>4</td> |
|
</tr> |
|
<tr> |
|
<td>jackie stewart</td> |
|
<td>tyrrell - ford</td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">79</span></td> |
|
<td>+ 20.9</td> |
|
<td>1</td> |
|
</tr> |
|
<tr> |
|
<td>clay regazzoni</td> |
|
<td>ferrari</td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">79</span></td> |
|
<td>+ 31.4</td> |
|
<td>3</td> |
|
</tr> |
|
<tr> |
|
<td>reine wisell</td> |
|
<td>lotus - ford</td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">79</span></td> |
|
<td>+ 1:09.4</td> |
|
<td>14</td> |
|
</tr> |
|
<tr> |
|
<td>chris amon</td> |
|
<td>matra</td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">78</span></td> |
|
<td>+ 1 lap</td> |
|
<td>2</td> |
|
</tr> |
|
<tr> |
|
<td>denny hulme</td> |
|
<td>mclaren - ford</td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">78</span></td> |
|
<td>+ 1 lap</td> |
|
<td>7</td> |
|
</tr> |
|
<tr> |
|
<td>brian redman</td> |
|
<td>surtees - ford</td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">78</span></td> |
|
<td>+ 1 lap</td> |
|
<td>17</td> |
|
</tr> |
|
<tr> |
|
<td>jacky ickx</td> |
|
<td>ferrari</td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">78</span></td> |
|
<td>+ 1 lap</td> |
|
<td>8</td> |
|
</tr> |
|
<tr> |
|
<td>graham hill</td> |
|
<td>brabham - ford</td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">77</span></td> |
|
<td>+ 2 laps</td> |
|
<td>19</td> |
|
</tr> |
|
<tr> |
|
<td>ronnie peterson</td> |
|
<td>march - ford</td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">77</span></td> |
|
<td>+ 2 laps</td> |
|
<td>13</td> |
|
</tr> |
|
<tr> |
|
<td>henri pescarolo</td> |
|
<td>march - ford</td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">77</span></td> |
|
<td>+ 2 laps</td> |
|
<td>18</td> |
|
</tr> |
|
<tr> |
|
<td>rolf stommelen</td> |
|
<td>surtees - ford</td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">77</span></td> |
|
<td>+ 2 laps</td> |
|
<td>15</td> |
|
</tr> |
|
<tr> |
|
<td>andrea de adamich</td> |
|
<td>march - alfa romeo</td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">75</span></td> |
|
<td>+ 4 laps</td> |
|
<td>22</td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">emerson fittipaldi</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">lotus - ford</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">58</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">engine</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">5</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">john surtees</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">surtees - ford</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">56</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">gearbox</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">6</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">françois cevert</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">tyrrell - ford</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">45</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">accident</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">9</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">howden ganley</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">brm</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">42</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">physical</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">24</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">pedro rodríguez</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">brm</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">33</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">overheating</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">10</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">dave charlton</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">brabham - ford</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">31</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">engine</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">16</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jo siffert</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">brm</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">31</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">overheating</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">12</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">john love</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">march - ford</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">30</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">differential</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">21</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jackie pretorius</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">brabham - ford</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">22</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">engine</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">20</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">peter gethin</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mclaren - ford</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">7</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">fuel leak</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">11</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">jo bonnier</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">mclaren - ford</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">5</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">suspension</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">23</span></td> |
|
</tr> |
|
<tr> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">alex soler - roig</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">march - ford</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:#90EE90;">5</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">engine</span></td> |
|
<td><span class="highlighted-cell" title="Used in transformation" style="background-color:yellow;">25</span></td> |
|
</tr> |
|
</table> |
|
</div> |
|
<hr> |
|
<div class="step"> |
|
<div class="step-title">Final output table:</div> |
|
<div id="step-0" class="content"> |
|
<table> |
|
<tr> |
|
<td>driver</td> |
|
<td>constructor</td> |
|
<td>laps</td> |
|
<td>time___retired</td> |
|
<td>grid</td> |
|
</tr> |
|
<tr> |
|
<td>emerson fittipaldi</td> |
|
<td>lotus - ford</td> |
|
<td>58</td> |
|
<td>engine</td> |
|
<td>5</td> |
|
</tr> |
|
<tr> |
|
<td>john surtees</td> |
|
<td>surtees - ford</td> |
|
<td>56</td> |
|
<td>gearbox</td> |
|
<td>6</td> |
|
</tr> |
|
<tr> |
|
<td>françois cevert</td> |
|
<td>tyrrell - ford</td> |
|
<td>45</td> |
|
<td>accident</td> |
|
<td>9</td> |
|
</tr> |
|
<tr> |
|
<td>howden ganley</td> |
|
<td>brm</td> |
|
<td>42</td> |
|
<td>physical</td> |
|
<td>24</td> |
|
</tr> |
|
<tr> |
|
<td>pedro rodríguez</td> |
|
<td>brm</td> |
|
<td>33</td> |
|
<td>overheating</td> |
|
<td>10</td> |
|
</tr> |
|
<tr> |
|
<td>dave charlton</td> |
|
<td>brabham - ford</td> |
|
<td>31</td> |
|
<td>engine</td> |
|
<td>16</td> |
|
</tr> |
|
<tr> |
|
<td>jo siffert</td> |
|
<td>brm</td> |
|
<td>31</td> |
|
<td>overheating</td> |
|
<td>12</td> |
|
</tr> |
|
<tr> |
|
<td>john love</td> |
|
<td>march - ford</td> |
|
<td>30</td> |
|
<td>differential</td> |
|
<td>21</td> |
|
</tr> |
|
<tr> |
|
<td>jackie pretorius</td> |
|
<td>brabham - ford</td> |
|
<td>22</td> |
|
<td>engine</td> |
|
<td>20</td> |
|
</tr> |
|
<tr> |
|
<td>peter gethin</td> |
|
<td>mclaren - ford</td> |
|
<td>7</td> |
|
<td>fuel leak</td> |
|
<td>11</td> |
|
</tr> |
|
<tr> |
|
<td>jo bonnier</td> |
|
<td>mclaren - ford</td> |
|
<td>5</td> |
|
<td>suspension</td> |
|
<td>23</td> |
|
</tr> |
|
<tr> |
|
<td>alex soler - roig</td> |
|
<td>march - ford</td> |
|
<td>5</td> |
|
<td>engine</td> |
|
<td>25</td> |
|
</tr> |
|
</table> |
|
</div> |
|
</div> |
|
<hr> |
|
<h3>Prediction:</span> </h3> |
|
</body></html> |
|
|