Skip to content

72/Plan Scoring - #93

Merged
Kamal-uva merged 10 commits into
mainfrom
72-plan-scoring
Oct 22, 2026
Merged

Kamal-uva merged 10 commits into
mainfrom
72-plan-scoring

Conversation

@Arti-Dev

Copy link
Copy Markdown
Contributor

Summary

Hello, 3am PR here. Again.

This improves the recommendation for the best speed plan. Each row is scored out of 100 (mostly), which is comprised of a few things:

  • Laps: Amount of laps compared to the plan with the most laps completed
  • SoC margin: Lower, the better
  • Unreasonable speed penalty: a flat score deduction if outside of a reasonable speed range. Doesn't apply if it's a variable speed plan
  • Custom adjustments based on config

There's a config.json in sim/planning now that allows you to weigh how important things are (just laps and soc margin at the moment). This will need some fine tuning obviously but it's a start.

Testing

Some tests are in scoring_test.py. They come with their own config settings so they should NOT break if the config file changes!

Related Issue

Closes #72

Notes

This is the most subjective part of the epic, so lmk if you don't like this and we can discuss it!

@Arti-Dev
Arti-Dev added this pull request to stack #85 October 17, 2026 07:38
@Arti-Dev Arti-Dev changed the title 72 plan scoring 72/Plan Scoring Oct 17, 2026
Base automatically changed from 73-CSV to main October 22, 2026 21:08
@Kamal-uva Kamal-uva self-assigned this Oct 22, 2026
@Kamal-uva
Kamal-uva merged commit 8211c2f into main Oct 22, 2026
@Arti-Dev
Arti-Dev deleted the 72-plan-scoring branch October 22, 2026 22:48
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.

Improve Planning Recommendation Scoring

2 participants