Thinking again, I guess you only want to get a red alert a few times per day or per week. I guess looking at the to 10 posts will get you no peace time.
In HN the front page is ordered by a score that is like
points / (age + 1) ^ 1.6
where age is the time since the post was submitted in hours.
1.6 is call gravity, but it's a secret number that may change from time to time. I don't know the current value, but the old public code and a few black box analysis agree on a similar value, but it may be (slightly?) different now.
One possibility is to use a score like "points / (age + 1) ^ 4" so you only see peaks when something gets a lot of upvotes. Another possibility is to use "max(first, second/2, third/3)".
It's difficult to know, perhaps you can build a few add a small toy animal on top of each one and learn which animal gives the best advice. (Yes, the animal is not necessary, but I think my brain prefer to learn that "the rabbit is smarter than the whale" than learn that "oranges had a better signal to noise ratio than green".)
The device has a built in webserver to allow configuration via a local network, so it would be possible for the user to choose between different modes.
In HN the front page is ordered by a score that is like
where age is the time since the post was submitted in hours.1.6 is call gravity, but it's a secret number that may change from time to time. I don't know the current value, but the old public code and a few black box analysis agree on a similar value, but it may be (slightly?) different now.
One possibility is to use a score like "points / (age + 1) ^ 4" so you only see peaks when something gets a lot of upvotes. Another possibility is to use "max(first, second/2, third/3)".
It's difficult to know, perhaps you can build a few add a small toy animal on top of each one and learn which animal gives the best advice. (Yes, the animal is not necessary, but I think my brain prefer to learn that "the rabbit is smarter than the whale" than learn that "oranges had a better signal to noise ratio than green".)