Skip to content

Preserve usage chart curve integrity - #786

Merged
SsuJojo merged 2 commits into
devfrom
fix/usage-chart-curve-integrity
Sep 6, 2026
Merged

Preserve usage chart curve integrity#786
SsuJojo merged 2 commits into
devfrom
fix/usage-chart-curve-integrity

Conversation

@SsuJojo

@SsuJojo SsuJojo commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Sort usage snapshots chronologically and deduplicate raw timestamps
  • Constrain smooth chart paths to monotonic x coordinates and the data y-domain
  • Add unit coverage for duplicate timestamps and curve control bounds
  • Align the English architecture diagram spacing

Testing

  • Unit tests added for usage history ordering, deduplication, and smooth-path bounds
  • Existing usage statistics and chart unit tests remain covered

@SsuJojo
SsuJojo merged commit 44dbe1b into dev Sep 6, 2026
4 checks passed
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