lobsters/lobsters

Stats extrapolation is bad on the 1st of the month

Open

#1888 opened on Feb 1, 2026

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Ruby (4,680 stars) (961 forks)user submission
buggood first issue

Description

https://lobste.rs/stats

The charts do naive extrapolation for the current month, multiplying "activity so far" out to cover the rest of the month. The charts also run just after midnight. So if there is any activity right before a chart is generated, the extrapolated value is ridiculous.

An easy fix would be to clamp to the highest seen value, but maybe someone would like to implement smarter extrapolation? Worth noting that, like most social sites, our traffic has a strong weekly shape where Monday is the most active day, it declines over the week to be ~50% of Monday on either weekend day.

Contributor guide