Skip to content

Conversation

@robwaz
Copy link
Member

@robwaz robwaz commented Oct 17, 2024

Changes meme EC calculation to rely on new course.yml value start_date for beginning of course timeframe. This allows instructors to start their EC calculation whenever they see fit rather than force an arbitrary start time.

Thanks calculation for non-unique messages (ex: leaderboard) now deduplicate on (user_id, source_user_id, message_id).

- Meme EC dates now base off dojo.course['start_date']
- Uses start_date timezone to display dates correctly
- All internal datetimes still UTC
Leaderboard and non-unique message thanks totals now de-dupe on the
tuple of user_id, source_user_id, and message_id.

This eliminates an edge case that could inflate thanks numbers.
@robwaz robwaz merged commit c50f759 into master Oct 18, 2024
@robwaz robwaz deleted the fix/ec_grades branch October 20, 2024 19:09
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.

2 participants