-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Classification started_at is off by hours (or days) for continuous sessions in the same tab. #6447
Comments
From Peter Mason on Talk:
|
PFE also sets |
Here's the equivalent issue and PR for PFE: |
Thank you for documenting your findings and proposing the code changes in #6449. You noted some of the website’s user stats behavior already, but I’m going to write it out here for clarity so we’re on the same page. The frontend components that display hours a volunteer spent classifying use
Decision: Where to go from here: |
Sadly, it doesn't work in PFE either. Right-clicking on a link and choosing an option from the context menu won't fire an event that you can handle in React, or at least it didn't when I opened zooniverse/Panoptes-Front-End#6129. This means that Here's some context for the button:
Maybe. Thanks for the invite, but I'm pretty much fully booked with Caribbean disaster mapping through early 2025. Since Guillermo Rauch's enthusiastic endorsment of the US election results, I'm also making a conscious effort to avoid Next.js work. I think Lea Verou's right here, that this will be a tipping point for the relationship between small organisations (and indie developers) and Vercel/Next.js. I'm automatically subscribed to #3024 as the original author/owner of that issue. |
I looked back through my classifications on my admin page (https://local.zooniverse.org:3735/admin/users/149?env=production) and classification 596255757 was started at 12:46:12 but finished at 17:32:48, which is the time that the classification was saved to Panoptes. There's a bunch of classifications that were submitted in between, around about 13:30, each taking roughly 30 seconds or so.
Originally posted by @eatyourgreens in #6441 (comment)
Classification 596255757, shown above was started at about 17:32:00 and submitted at 17:32:48. The timestamp recorded on the classification has it starting at 12:46:12.
To reproduce this:
In the case of the classification that's shown in the screenshot, I triggered this bug by doing some classifications on Squirrel Mapper in the morning, then returning and continuing to classify in the afternoon, creating one classification that's recorded as being ~5 hours long.
Classifications start when the subject loads, which will be the end of your previous classification session in this case. It would be more accurate to record the time that the first annotation is created or updated. You can detect when a volunteer begins to interact with an annotation by tracking when
annotation._inProgress
changes from false to true.front-end-monorepo/packages/lib-classifier/src/plugins/tasks/models/Annotation.js
Lines 33 to 39 in b7b228d
Talk discussion here:
https://www.zooniverse.org/talk/17/3490049?comment=5742039
The text was updated successfully, but these errors were encountered: