Forza race roulette

Race length:
Number of races:
Preferred weather:
Preferred starting time:
Preferred starting track rubber level:
Preferred tire wear:
Show time scale:
Track Layout Laps Starting time Weather Starting track rubbel level Tire wear Race start type Grid ordering Ref. time #
Circuit de Spa-Francorchamps
Ignore track
Full circuit
Ignore layout
3 Morning Cloudy 13 x1.5 Standing PI (Descending) 8 minutes, 12 seconds 🎲 🏁
Hockenheimring
Ignore track
Short Circuit
Ignore layout
7 Evening Drizzle 10 x1.0 Rolling PI (Ascending) 8 minutes, 24 seconds 🎲 🏁
Daytona International Speedway
Ignore track
Sports Car Circuit
Ignore layout
4 Noon Dense fog 14 x1.5 Rolling PI (Descending) 8 minutes, 5 seconds 🎲 🏁
Circuit de Barcelona-Catalunya
Ignore track
Grand Prix Circuit
Ignore layout
3 Midnight Patchy fog 17 x2.0 Rolling Random 6 minutes, 14 seconds 🎲 🏁
Yas Marina
Ignore track
South Circuit
Ignore layout
7 Morning Thunderstorm 14 x0.5 Standing PI (Descending) 6 minutes, 58 seconds 🎲 🏁
Suzuka Circuit
Ignore track
East Circuit
Ignore layout
7 Midnight Mostly clear 12 x1.0 Standing Random 6 minutes, 46 seconds 🎲 🏁
Grand Oak Raceway
Ignore track
Club Circuit
Ignore layout
6 Midnight Mostly clear 21 x2.0 Rolling PI (Descending) 6 minutes, 18 seconds 🎲 🏁
Silverstone Circuit
Ignore track
Grand Prix Circuit
Ignore layout
3 Afternoon Cloudy 14 x2.0 Rolling PI (Descending) 7 minutes, 3 seconds 🎲 🏁
Total reference time: 58 minutes, 3 seconds
Tracks and layouts
There are currently 24 tracks and 60 layouts. Only one layout will be selected for each track.
Circuit de Barcelona-Catalunya (Ignore)
Grand Prix Circuit (Ignore)
National Circuit (Ignore)
National Circuit Alt (Ignore)
Circuit de Spa-Francorchamps (Ignore)
Full circuit (Ignore)
Eaglerock Speedway (Ignore)
Club Circuit (Ignore)
Club Circuit Reverse (Ignore)
Oval Circuit (Ignore)
Grand Oak Raceway (Ignore)
Club Circuit (Ignore)
National Circuit (Ignore)
National Circuit Reverse (Ignore)
Hakone Circuit (Ignore)
Club Circuit (Ignore)
Club Circuit Reverse (Ignore)
Grand Prix Circuit (Ignore)
Homestead-Miami Speedway (Ignore)
Road Circuit (Ignore)
Speedway Circuit (Ignore)
Indianapolis Motor Speedway (Ignore)
Grand Prix Circuit (Ignore)
The Brickyard Speedway (Ignore)
Kyalami Grand Prix Circuit (Ignore)
Grand Prix Circuit (Ignore)
Le Mans - Circuit des 24 Heures du Mans (Ignore)
Full Circuit (Ignore)
Old Mulsanne Circuit (Ignore)
Lime Rock Park (Ignore)
Full Circuit (Ignore)
Full Circuit Alt (Ignore)
South Chicane (Ignore)
Maple Valley (Ignore)
Full Circuit (Ignore)
Short Circuit (Ignore)
Short Circuit Reverse (Ignore)
Mid-Ohio Sports Car Course (Ignore)
Short Circuit (Ignore)
Sports Car Circuit (Ignore)
Mugello Circuit (Ignore)
Club Circuit (Ignore)
Full Circuit (Ignore)
NΓΌrburgring (Ignore)
GP Circuit (Ignore)
Sprint Circuit (Ignore)
Nordschleife (Ignore)
Road America (Ignore)
East Route (Ignore)
Full Circuit (Ignore)
Silverstone Circuit (Ignore)
Grand Prix Circuit (Ignore)
International Circuit (Ignore)
National Circuit (Ignore)
Suzuka Circuit (Ignore)
East Circuit (Ignore)
Full Circuit (Ignore)
Virginia International Raceway (Ignore)
Full (Ignore)
Grand East (Ignore)
Grand West (Ignore)
North (Ignore)
South (Ignore)
Watkins Glen International (Ignore)
Full Circuit (Ignore)
Short Circuit (Ignore)
WeatherTech Raceway Laguna Seca (Ignore)
Full Circuit (Ignore)
Short Circuit (Ignore)
Yas Marina (Ignore)
Full Circuit (Ignore)
North Circuit (Ignore)
South Circuit (Ignore)
North Corkscrew (Ignore)
Hockenheimring (Ignore)
Full Circuit (Ignore)
National Circuit (Ignore)
Short Circuit (Ignore)
Daytona International Speedway (Ignore)
Sports Car Circuit (Ignore)
Tri-Oval Circuit (Ignore)
Brands Hatch (Ignore)
Grand Prix Circuit (Ignore)
Indy Circuit (Ignore)
Race length
We consider around 6-10 minutes (using reference times) to be a good baseline for race length.
Preferrably we want longer races, but we also want to avoid a high number of laps.
The values will be adjusted as we race more on the tracks and get a better feel of them.
Check out the table below for the different multipliers for each race length.
Length Multiplier
Quick 0.5
Baseline 1
Short 1.35
Medium 3
Long 6
Very long 10.5

We use math.ceil(baseline_laps * multiplier) in the code when calculating the number of laps.

Starting time
All starting time options have the same likelihood of being selected by default. However, by selecting early or late, the starting times from the first or last half of the list will be six times more likely to be chosen, except for Midday, where Noon, Afternoon, and Late Afternoon are 12 times more likely to be selected.

Check out environment data for details about the different starting times.
Time scale
The chances for the different time scales to be picked are: x1=6.67% x2=17.78%, x4=26.67%, x12=44.44%, x24=4.44%.
Weather
All weather options have the same likelihood of being selected by default.
However, the following options changes the likelihood of the different weather types being selected:

Dry:The only possible weathers are Clear, Mostly clear, Partly cloudy, Cloudy and Looming clouds.
Clear:Clear, Mostly clear, Partly cloudy, Cloudy, Looming clouds has a 3.5x higher chance of being selected.
Wet:Overcast wet, Drizzle, Light rain, Moderate rain, Heavy rain, Thunderstorm and Rainstorm has a 3.5x higher chance of being selected.
Extreme: The only possible weathers are Moderate rain, Heavy rain, Thunderstorm and Rainstorm.

Check out environment data for details about the different weather types.
Starting track rubber level
The starting track rubber level is a value between 10-40 (low), 18-60 (medium), 25-70 (high), and 50-100 (very high), with lower values having a higher chance of being selected.
If random is selected, the value is a number between 0-100.
Race start type
The standing start type has a 4 times higher chance of being selected than the rolling start type.
Grid ordering
In the grid ordering, PI has a 1.5x higher chance of being selected than random.
If the grid ordering is based on PI, descending is 2.5x as likely to be selected as ascending.
Reference times
Reference times are based on track times recorded by a stock 2017 Nissan GT-R (R35) equipped with street tires and a Performance Index (PI) of 702.
Check out the setup to see the exact settings or track times for different cars to see a comparision between different cars on Circuit de Spa-Francorchamps.
Icons
🎲Rerolls the selected race
🏁Marks the selected race as finished
πŸ’ΎMarks the finished race as saved
Shortcuts
Shift+S: Save the current selection of races
Shift+N: Reset
Shift+R: Reroll all races while keeping settings
Changelog | TODO