Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate CtQ stats generation (#34)
* Implement basic command parsing for command * Fetch CtQ submissions from Blossom * Add env variables to configure default CtQ duration and queue post timeout * Attach transcriptions to ctq submissions * Fetch transcriptions in chunks to allow progress updates for Slack * Attach the corresponding user to the submissions * Add time annotations to CtQ data fetching * Attach the full transcription object instead of only the text * Add option to attach pyplot figures to message in interactive mode * Generate graph for CtQ user gamma * Allow specification of default CtQ start time for faster testing * Add graph for CtQ subreddit gamma stats * Move CtQ graph generation to separate file * Add CtQ graph for maximum transcription length per user * Add general function to generate aggregated bar charts and reduce duplication * Add CtQ graph for subs with the longest transcriptions * Add CtQ graphs for the users/subs with the longest average transcriptions * Add CtQ graph for post types * Add CtQ graph for queue posts over time * Improve graph styling * Add legend and line indicating that no unclaimed posts are left to CtQ posts over time * Save graphs as png instead of jpg * Rename CtQ graph generation functions * Add CtQ graph for user transcription length vs. count * Color scatter plot with rank colors * Add CtQ transcription count vs. length per subreddit graph * Add general CtQ number stats * Add all claimed and all completed times to general CtQ stats * Add start date to general CtQ stats * Properly extract timezone from Blossom dates * Consider post expiration for events * Don't aggregate rest values for max length stats * Label the cleared queue lines * Add CtQ chart for users with the most video transcriptions * Add automatic transcriptions of bar charts * Automatically set timezone for CtQ dates * Fix graph color assignment * Update env example, remove pytz * Fix formatting and lint errors
- Loading branch information