Skip to content

[WIP] Script for contributions analytics#81

Draft
MisRob wants to merge 1 commit into
learningequality:mainfrom
MisRob:contributions-stats-script
Draft

[WIP] Script for contributions analytics#81
MisRob wants to merge 1 commit into
learningequality:mainfrom
MisRob:contributions-stats-script

Conversation

@MisRob
Copy link
Copy Markdown
Member

@MisRob MisRob commented May 25, 2026

@akolson this is the script that was meant to replace "Stats...", "Names", and "Charts..." sheets in "All Contributions Tracker" spreadsheet, simplifying gratitudes creation, AHM presentation, and to gain other insights into data gathered in " [automated]Contributions".

First, export CSV from " [automated]Contributions" sheet, then use the script on it.

It was generated with Claude & I've only managed to skim through the code quickly. The commands we used & validate output together few weeks ago were summary and authors commands. I didn't preview the output of charts command.

Comment thread scripts/contributions.py

Usage:
python3 contributions.py summary --from YYYY-MM-DD --to YYYY-MM-DD [--source CSV_FILE]
python3 contributions.py authors --from YYYY-MM-DD --to YYYY-MM-DD [--token TOKEN] [--source CSV_FILE]
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GITHUB_TOKEN is meant by TOKEN

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