Skip to content

Keep the larger today usage value - #13

Merged
jayyao97 merged 1 commit into
masterfrom
codex/max-today-usage
Jul 20, 2026
Merged

jayyao97 merged 1 commit into
masterfrom
codex/max-today-usage

Conversation

@jayyao97

Copy link
Copy Markdown
Owner

Summary

  • choose the larger of the account usage bucket and local rollout usage for TODAY
  • retain the approximate marker when the local value wins
  • keep the official value unmarked when it is larger
  • add regression coverage for both selection paths

Verification

  • companion/.venv/bin/python -m unittest companion.tests.test_app_server -v
  • companion/.venv/bin/python -m unittest discover -s companion/tests -v (42 tests)

@jayyao97
jayyao97 merged commit beab574 into master Jul 20, 2026
2 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