Repository navigation
fix: include collaborator hours and Vault awards in lifetime RE and payouts - #197
Merged
0xQuerencia merged 6 commits intoNov 9, 2026
Merged
Conversation
…ets and community totals
…ards in payout rates
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Confirmed inconsistencies
lifetimeRe()only counted project owners. Collaborator hours were paid in pixels on approval but did not increase later rates or levels.vault_chapter_awards.re_awardedin lifetime RE, while the internal reviewer dashboard omitted them. This could understate review-time pixel payouts.Fix
earnedCollaboratorHoursusing the collaborator's approved/prior-approved hours, not the project owner's or unapproved Hackatime hours.removedcollaborators who already earned approved work. Exclude the current project during rate calculations and avoid double-counting owner rows.lifetimeRe()to match the game server.approvedHoursFor(),totalCommunityRe(), andcommunityEnergy()to include collaborator contributions consistently.Production observations (read-only)
No wallet balances or production data were changed.
Scope
This changes future payout-rate calculations and live RE display/community counters. It does not retroactively reprice historical payouts or issue refunds automatically. RE on a collaboration is based on approved hours at the project's tier, without an additional Trial-prize bonus (the owner's separate Trial bonus does not apply to collaborators).
Tests and CI pending.