lobsters/lobsters

Stats extrapolation is bad on the 1st of the month

Open

#1,888 建立於 2026年2月1日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Ruby (4,680 star) (961 fork)user submission
buggood first issue

描述

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.

貢獻者指南