Skip to content

Corner markers, tests and various fixes#9

Merged
MrSir merged 9 commits intomainfrom
fix_stop_n_go
Feb 2, 2026
Merged

Corner markers, tests and various fixes#9
MrSir merged 9 commits intomainfrom
fix_stop_n_go

Conversation

@MrSir
Copy link
Owner

@MrSir MrSir commented Feb 2, 2026

Features:

  • added corner markers with billboard effects such that the text always faces the camera no matter what view port or angle
  • added tests for the Driver and Map component classes

Fixes:

  • fixed the problem with the data showing every driver as having the fastest lap after doing a stop and go or having a prolonged yellow flag
  • corrected the size of the leaderboard mode button
  • corrected the position/size of the fastest lap indicator
  • increased the rate of height change when using the mouse to change the height of the camera in the orbiting camera view
  • cleaned up the Driver and Map component classes from unneeded functionality at this time

Additional Notes:

  • identified 2 additional data problems that will need solving later on
  • identified an opportunity for further optimization by pre computing the team color tuple in the data loading stage

@github-actions
Copy link

github-actions bot commented Feb 2, 2026

Coverage

Coverage Report
FileStmtsMissCoverMissing
src/f1p
   app.py55550%1–125
   main.py330%1–4
src/f1p/services/data_extractor
   service.py44734820%37–75, 79–82, 86–89, 93–96, 100–103, 107–110, 114–117, 121–124, 127–130, 134–137, 141, 145–148, 152–155, 159–162, 166–197, 201–205, 209, 213, 217, 221–224, 228, 232–235, 239, 243–246, 250, 254–259, 262–299, 303–306, 309–317, 320–328, 331–340, 343–352, 355–361, 364–371, 374–380, 383–391, 394–463, 466–504, 507–527, 530–539, 542–551, 554–572, 575–589, 592–613, 616–628, 631–650, 653–675, 678–773, 776–791, 794–812, 823, 826–828, 831–832, 835–863
src/f1p/ui/components
   menu.py71710%1–141
   origin.py19190%1–28
   playback.py93930%1–206
   weather.py1131130%1–320
src/f1p/ui/components/gui
   button.py880%1–18
   drop_down.py1121120%1–225
src/f1p/ui/components/leaderboard
   component.py1131130%1–327
   processors.py1621620%1–245
src/f1p/utils
   geometry.py463720%6–11, 15–18, 22–35, 39–50, 60, 68–79, 83–94
   performance.py12120%1–19
TOTAL1568114624% 

Tests Skipped Failures Errors Time
70 0 💤 0 ❌ 0 🔥 3.527s ⏱️

@github-actions
Copy link

github-actions bot commented Feb 2, 2026

Coverage

Coverage Report
FileStmtsMissCoverMissing
src/f1p
   app.py55550%1–125
   main.py330%1–4
src/f1p/services/data_extractor
   service.py44734820%37–75, 79–82, 86–89, 93–96, 100–103, 107–110, 114–117, 121–124, 127–130, 134–137, 141, 145–148, 152–155, 159–162, 166–197, 201–205, 209, 213, 217, 221–224, 228, 232–235, 239, 243–246, 250, 254–259, 262–299, 303–306, 309–317, 320–328, 331–340, 343–352, 355–361, 364–371, 374–380, 383–391, 394–461, 464–502, 505–525, 528–537, 540–549, 552–570, 573–587, 590–611, 614–626, 629–648, 651–673, 676–771, 774–789, 792–810, 821, 824–826, 829–830, 833–861
src/f1p/ui/components
   menu.py71710%1–141
   origin.py19190%1–28
   playback.py93930%1–206
   weather.py1131130%1–320
src/f1p/ui/components/gui
   button.py880%1–18
   drop_down.py1121120%1–225
src/f1p/ui/components/leaderboard
   component.py1131130%1–327
   processors.py1621620%1–245
src/f1p/utils
   geometry.py463720%6–11, 15–18, 22–35, 39–50, 60, 68–79, 83–94
   performance.py12120%1–19
TOTAL1568114624% 

Tests Skipped Failures Errors Time
70 0 💤 0 ❌ 0 🔥 3.545s ⏱️

@MrSir MrSir merged commit 01cfb10 into main Feb 2, 2026
4 checks passed
@MrSir MrSir deleted the fix_stop_n_go branch February 2, 2026 02:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant