IDs made on Saturdays mistakenly uncounted

Hello all.

The take home message
Due to an unforeseen error in our methods, up to this point our counts accidentally cut out IDs made on the last day of the week (Saturday). We honestly had no idea this would happen--this is our first time doing an ID-a-thon so we are still working out the kinks. We apologize it took us until week 4 to notice the mistake. Remember this ID-a-thon is a bit of friendly fun with nonsense prizes, so inaccuracy in the rankings is not the end of the world! We have learned how to fix the count and from here on out it should include those lovely Saturday IDs.

The overly long explanation
If you're curious about the mechanics of the error, I'll explain. [Nitty-gritty detail warning!] On the typical user interface of the iNaturalist website, searching/filtering your observations is pretty easy, but there's no way to search or filter your identifications. You probably know there is a log of IDs you have made (https://www.inaturalist.org/identifications/yourusernamehere) however it's just a chronological list. The ID-a-thon requires us to track IDs for many people in very specific ways, and to do that we have to turn to the API.

What's the API (application programming interface)? Basically it's a tool we use to talk to the underlying programming of iNaturalist. When we have a question such as "how many IDs did these 80 people make last week?" we first translate that into a series of parameters, and then we run the query and see what the API returns. It's all very confusing and tricky; small mistakes can cause big problems. This document includes definitions of the parameters, and it was very helpful... until it wasn't.

Asking "How many IDs did these 80 people make last week?" involves specifying what we mean by "last week." d1=2021-01-24&d2=2021-01-30 seemed like the way to do this, because the documentation defined d1 as "ID created on or after this date" and d2 as "ID created on or before this date." Sounds simple, right? but the definition turns out to be omitting key details. d1=2021-01-24&d2=2021-01-30 is actually "ID created between Jan 24th at 12:00 AM UTC and Jan 30th at 12:00 AM UTC." Think about that for a second. Jan 30th at 12:00 AM is the very start of Saturday. It doesn't actually include any of the hours of Saturday! To fix this you have to explicitly say you want the cut off to be the end of the day, not the beginning. Which the documentation didn't mention at all. So from now on we will be specifying d2=2021-01-30T23:59:59, aka Jan 30th up to the very last second of the day.*

*In UTC. So the day ends at midnight UTC aka 4 pm PST/7 pm EST. If you ID after this cutoff it will count towards the next week instead.

We are still checking for other errors, and trying to make the process as efficient as possible while not cutting any corners. Please continue to bring issues / bugs to our attention, as it will help future events run more smoothly! :)

-- The IDathon team

Publicado el 03 de febrero de 2021 a las 01:59 PM por arboretum_amy arboretum_amy

Comentarios

Thanks for figuring this out!

Anotado por fluffyinca hace cerca de 3 años

Thank you for the sleuth work! I had to chuckle a bit at your explanation, remembering my own experiences as a software developer, getting burned by this exact issue several times, with several different pieces of software. And each one has it's own idiosyncrasies.

Anotado por distractedbyfungi hace cerca de 3 años

https://en.wikipedia.org/wiki/Off-by-one_error, the bane of people that need to interact with technology.

Anotado por muddytortoise hace cerca de 3 años

I have no idea what is going on with this contest but I will continue to ID old (2015-2016 mostly) plant observations as I have been doing anyway in Jan & Feb 2021

Anotado por lappelbaum hace cerca de 3 años

Hi @lappelbaum To join this contest you needed to have signed up in late December. Joining the project doesn't automatically make you a participant.

Anotado por arboretum_amy hace cerca de 3 años

@arboretum_amy Yeah, I saw the forum post saying I couldn't join the contest, but just popping in to say I've been doing it anyway. Go IDers!

PS I didn't join the project. Apparently it's possible to leave comments without joining.

Anotado por lappelbaum hace cerca de 3 años

Añade un comentario

Entra o Regístrate para añadir comentarios