Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactored Objective Time Scaling to Handle Edge Cases. #5352

Merged
merged 1 commit into from
Dec 15, 2024

Conversation

IllianiCBT
Copy link
Collaborator

Ensured a minimum unit count for objective scaling to avoid overly short time limits in small scenarios. Added logging for missing scale factors, using a default value of 1 as a fallback.

Closes #5348

Ensured a minimum unit count for objective scaling to avoid overly short time limits in small scenarios. Added logging for missing scale factors, using a default value of 1 as a fallback.
@IllianiCBT IllianiCBT added the Bug label Dec 13, 2024
@IllianiCBT IllianiCBT self-assigned this Dec 13, 2024
@codecov-commenter
Copy link

codecov-commenter commented Dec 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 10.46%. Comparing base (7ddb24c) to head (31a0f0d).
Report is 57 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #5352      +/-   ##
============================================
- Coverage     10.47%   10.46%   -0.02%     
+ Complexity     6069     6058      -11     
============================================
  Files           959      959              
  Lines        135559   135598      +39     
  Branches      19750    19755       +5     
============================================
- Hits          14204    14189      -15     
- Misses       119997   120052      +55     
+ Partials       1358     1357       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@HammerGS HammerGS merged commit cd4fb3b into MegaMek:master Dec 15, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants