Skip to content
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

Open
eatyourgreens opened this issue Nov 7, 2024 · 3 comments · May be fixed by #6449
Open

Comments

@eatyourgreens
Copy link
Contributor

eatyourgreens commented Nov 7, 2024

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.

A classification from Squirrel Mapper, displayed on my admin page. It's recorded as having taken 4 hours and 45 minutes. Other cl;assifications at that time took about 45 seconds.

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:

  1. Classify a few subjects.
  2. Leave the tab for a while.
  3. Return to the tab and classify the subject that's already loaded.

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.

.actions(self => ({
update (value) {
self.value = value
self._inProgress = true
const { authClient } = getRoot(self)
authClient?.checkBearerToken()
}

Talk discussion here:
https://www.zooniverse.org/talk/17/3490049?comment=5742039

@eatyourgreens
Copy link
Contributor Author

From Peter Mason on Talk:

I have seen differences in the start time (started classifying by the volunteer) and finished times (completed classification received by zooniverse) of many hours, even days.

@eatyourgreens eatyourgreens changed the title Classification started_at is off by hours for continuous sessions in the same tab. Classification started_at is off by hours (or days) for continuous sessions in the same tab. Nov 7, 2024
@eatyourgreens
Copy link
Contributor Author

PFE also sets started_at when the subject first loads, so it should be possible to reproduce this bug there too. That probably accounts for the majority of the bad data that Peter is dealing with.

@eatyourgreens
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant