Skip to content

Add overflow protection for score calculations #414

Description

@Samuel1-ona

Ensure score calculations (points * difficulty * weight * bonus) cannot overflow.

Acceptance Criteria:

  • Use checked arithmetic for all score math
  • Define maximum possible score
  • Return error on overflow instead of panic
  • Add test cases for edge values

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programsteller waveStellar wave initiative

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions