[PR #149] fix(data): correctly accumulate race distance #177

Open
opened 2026-05-07 00:19:03 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/IAmTomShaw/f1-race-replay/pull/149
Author: @shash-hq
Created: 1/2/2026
Status: 🔄 Open

Base: mainHead: fix/data-processing-logic


📝 Commits (1)

  • 52ba283 fix(data): correctly accumulate race distance across laps

📊 Changes

1 file changed (+12 additions, -33 deletions)

View changed files

📝 src/f1_data.py (+12 -33)

📄 Description

Fixes a logic bug where total race distance was not accumulating across laps. Also removes dead code.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/IAmTomShaw/f1-race-replay/pull/149 **Author:** [@shash-hq](https://github.com/shash-hq) **Created:** 1/2/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix/data-processing-logic` --- ### 📝 Commits (1) - [`52ba283`](https://github.com/IAmTomShaw/f1-race-replay/commit/52ba283e1d3a6eee88a0bd650d8bf6016abd34f9) fix(data): correctly accumulate race distance across laps ### 📊 Changes **1 file changed** (+12 additions, -33 deletions) <details> <summary>View changed files</summary> 📝 `src/f1_data.py` (+12 -33) </details> ### 📄 Description Fixes a logic bug where total race distance was not accumulating across laps. Also removes dead code. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/f1-race-replay#177
No description provided.