lobsters/lobsters

Stats extrapolation is bad on the 1st of the month

Open

#1888 aperta il 1 feb 2026

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)Ruby (961 fork)user submission
buggood first issue

Metriche repository

Star
 (4680 star)
Metriche merge PR
 (Merge medio 7g 4h) (20 PR mergiate in 30 g)

Descrizione

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.

Guida contributor