Skip to content

Race car pictures did not load

What the user saw

When the game was served below a website path, race car pictures could fail to load. The game then had to use its fallback drawing.

Why it happened

The car image URLs started at the website root and ignored the app base path.

What the real fix did

The car image paths now use the app base path, and a procedural car remains available if an image cannot load.

This issue is worth 3 points: the real fix changed 1095 source lines. Models fixed it in 16 of 22 recorded runs. The issue is in commit 1f3030c of the repository's git history and the real fix is commit 4be2c3e. A model gets the code at the first commit and the repository's own tests decide if it fixed the issue.

Seen in