Repository navigation
monthly stats post script - #156
Merged
Merged
Conversation
node tools/monthly-stats.mjs [--month YYYY-MM] prints last month's totals and a paste block for X: devs and ships against the month before, share of sessions that shipped, the two biggest tools, multi-tool devs, people who shipped on 20+ days, and the busiest and quietest weekday. A claim only reaches the paste block if it holds up: tools used by fewer than three people are never named, and a weekday pattern is dropped when it changes with the month's top three shippers taken out. The terminal shows what was left out and why. The wrangler query (with one retry on Cloudflare's intermittent 7403) and the X length count move to tools/lib.mjs, shared with weekly-top3, whose output is unchanged. The length count now also weighs a bare vibetime.club as a link.
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.
node tools/monthly-stats.mjsprints last month's stats and a paste block for X.--month YYYY-MMpicks a month.What it posts: devs and ships against the month before, % of sessions that shipped, the two biggest tools by sessions, % of devs on more than one agent, people who shipped on 20+ days, busiest and quietest weekday.
What it refuses to post:
Shared code: the wrangler query (with one retry on the intermittent 7403) and the X length count move to
tools/lib.mjs.weekly-top3.mjsuses them, and its output is byte-identical before and after. The length count now also weighs a barevibetime.clubas a link, which showed the October draft I gave earlier was 283, over the limit; the script's version is 270.Run against production for October (numbers match the hand-built ones) and September, plus the default month and a bad argument. Owner-only tool, not in the npm tarball.