"There are 84 replies with an estimated read time of 0 minutes."

I have a forum post where I simply collect images of developer memes:

The summary below the introduction post says (in German):

Es gibt 84 Antworten mit einer geschätzten Lesezeit von 0 Minuten.

This translates to English as:

There are 84 replies with an estimated read time of 0 minutes.

In my opinion, it will take more than zero minutes to “read” (i.e. look at) the images.

Suggestion

My suggestion would be to have a minimum value of 1 (instead of 0) for the estimated reading time to cover edge cases like mine with actually zero text but only images.

9 Likes

This is rather funny :framed_picture:

11 Likes

Yeah I agree, I don’t think any post can be read in less than say 2 seconds. So we should start there with 2 seconds as a minimum.

7 Likes

@maja can you add that to your list?

4 Likes

I dont’ know how your algorithm calculates the time. I guess based on the number of characters and/or words.

If I’m correct here, how about adding a factor for every image, too?

Maybe even different factors for small/medium/large images?

4 Likes

Well, a picture is worth a thousand words, so

9 Likes

image

11 Likes

@nbianca can you add that to your list?

2 Likes

I replaced the floor with a ceil operation to ensure that we always show at least “1 minute”.

Also, it will try to choose the maximum between the old formula (word count / read_time_word_count) and the minimum reading time (4 seconds per post; 4 because that is how long it takes me to read a short post or see an image and scroll to the next post). :hourglass:

For that topic, the formula gives 6 minutes. I managed to read the topic in a little under 6 minutes, so I’d say it works fine. :nerd_face:

https://github.com/discourse/discourse/pull/7842

8 Likes