Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,5 @@ img/stats: stats
cd stats && poetry run python analyze_stats.py --since 2017-07-01 --column 'Chrome WAU' --title 'Chrome Weekly Active Users' --save ../img/stats/chrome-wau.png
cd stats && poetry run python analyze_stats.py --since 2017-07-01 --column 'Firefox DAU' --resample 7D --title 'Firefox Daily Active Users (7D mean)' --save ../img/stats/firefox-dau-7d.png
cd stats && poetry run python analyze_stats.py --since 2017-07-01 --column 'Android installed devices' --title 'Android Installed Devices' --save ../img/stats/android-devices.png
cd stats && poetry run python analyze_stats.py --since 2019-01-01 --column 'Android Play Store rating' --title 'Android Play Store Rating' --save ../img/stats/android-rating.png
cd stats && poetry run python analyze_stats.py --since 2025-06-01 --column 'Android crash rate (%)' --title 'Android Crash Rate (user-perceived, %)' --save ../img/stats/android-crash-rate.png
Comment on lines +71 to +72

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Avoid unsupported Android stat columns

On a clean CI build this target clones ActivityWatch/stats from its current default branch, and that repo's analyze_stats.py currently only merges the Android installed-devices CSV, so --column 'Android Play Store rating' exits with No such column before Jekyll can deploy. This needs to wait for/pin the stats repo version that actually exposes these columns, or the scheduled/master build will fail as soon as it reaches this new command.

Useful? React with 👍 / 👎.

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.

Already resolved: the stats-repo loaders (_load_android_crash_rate / _load_android_rating, merged into _load_data) landed on ActivityWatch/stats master in ActivityWatch/stats#22 before this PR's build ran. The branch build here passed end-to-end — the build log shows both --column 'Android Play Store rating' and --column 'Android crash rate (%)' render steps completing. So a clean master/scheduled build clones a stats repo that does expose these columns.

6 changes: 4 additions & 2 deletions stats.pug
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,12 @@ div.text-center

h4.mt-5 Android app
p
| How many active installations there are of the Android app
| Install base, Play Store rating, and crash rate for the Android app
div.img-center
img.width-500(src="/img/stats/android-devices.png")
div.small.dim (Updated manually on an irregular basis)
img.width-500(src="/img/stats/android-rating.png")
img.width-500(src="/img/stats/android-crash-rate.png")
div.small.dim (Auto-updated daily when Play Console data is available; ratings lag ~1 month)

hr.my-5

Expand Down