zooniverse / front-end-monorepo

A rebuild of the front-end for zooniverse.org
https://www.zooniverse.org
Apache License 2.0
104 stars 29 forks source link

Daily classification counts persist across projects #5134

Open eatyourgreens opened 1 year ago

eatyourgreens commented 1 year ago

Package

lib-classifier

Describe the bug

Since #5082, daily classification counts are persisted across page visits in the same tab. While this fixed #5081, if you leave a project and go to another, in the same tab, your daily counts go with you.

To Reproduce

Steps to reproduce the behavior:

  1. Go to Gravity Spy and do a few quick classifications.
  2. Navigate to The Daily Minor Planet in the same tab.
  3. See that the Daily Classifications chart still shows your activity from Gravity Spy.

Expected behavior

I think project preferences should reset when you move between projects.

eatyourgreens commented 1 year ago

NB. you can also reproduce this bug by opening a tab and leaving it for a week while you, for example, go to Evanston for a meeting. The stored user object will have stale data and won't reflect any recent classifications you've made in a different tab or window.

Saicbmm commented 10 months ago

I believe that this bug is related to method overloading (update subject sets is creating a copy of the subject set for those projects which are not having any link or relation) because even though the task and its answers are different (the inputs are different), it still contributes to the total daily classifications. However in this case it contributes to a different project's classifications as well.

eatyourgreens commented 3 months ago

I believe that this bug is related to method overloading (update subject sets is creating a copy of the subject set for those projects which are not having any link or relation) because even though the task and its answers are different (the inputs are different), it still contributes to the total daily classifications. However in this case it contributes to a different project's classifications as well.

This is meaningless GPT nonsense.