Skip to content

monthly stats post script - #156

Merged
iamnotstatic merged 1 commit into
mainfrom
iamnotstatic/monthly-stats
Nov 12, 2026
Merged

iamnotstatic merged 1 commit into
mainfrom
iamnotstatic/monthly-stats

Conversation

@iamnotstatic

Copy link
Copy Markdown
Owner

node tools/monthly-stats.mjs prints last month's stats and a paste block for X. --month YYYY-MM picks 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:

  • A tool used by fewer than 3 people is never named, so a share never describes one person.
  • A weekday pattern is dropped when it changes with the month's top 3 shippers removed. October's Saturday peak came from the top 3 alone, and the script leaves it out. The terminal shows the per-day numbers both ways and says what was dropped.

Shared code: the wrangler query (with one retry on the intermittent 7403) and the X length count move to tools/lib.mjs. weekly-top3.mjs uses them, and its output is byte-identical before and after. The length count now also weighs a bare vibetime.club as 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.

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.
@iamnotstatic
iamnotstatic merged commit 24bce00 into main Nov 12, 2026
3 checks passed
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