Loading…
Loading…
From episode 15 of A Million Tries ("My AI Race Car Refused to Make a Pit Stop"). A second, small AI runs each car's race strategy, as a team's pit wall does; the race-day driver drives every car. Once a lap, 600 m before the pit entry, it decides: pit this lap or not, and which tyre; and once on the grid, the starting tyre. Evolved (mirrored-pair evolution strategies) on finishing positions: 4 of its cars against 4 run by the team's rule (pit when the worst tyre passes 60%, fit hards), random designs, random circuits, grid slots shuffled. It started as a copy of the rule. Its own idea, from generation 17: start on hards, and stop less.
128 races on 64 test circuits, final rules (8 cars a race, so 4.5 is the middle):
| team | average finish | finished | stops a car |
|---|---|---|---|
| this pit wall (generation 43) | P4.08 +- 0.07 | 64% | 1.17 |
| the rule it raced | P4.92 | 57% | 1.46 |
| control: a copy of the rule as this AI (generation 0) | P4.24 |
Read the control row: a copy of the rule already gains about half a place, because this AI decides just before the pit entry and the rule often just after it (a lap more on worn tyres). That's the design, not learning. What it learned on top is about 0.16 places. Ten more hours of training (strat-1 -> strat-2) added nothing clear.
lin).episode-15: https://github.com/backstab319/a-million-tries/tree/episode-15
(agents/es_strategist.py, scripts/strat_compare.py).From the YouTube channel A Million Tries: https://www.youtube.com/@amilliontries