-
Notifications
You must be signed in to change notification settings - Fork 18
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
Make consistent across codebase when a child has "done" a study #1322
Comments
Thanks for reporting this issue @msheskin! I agree this is confusing, and we should decide on a single definition for having 'done' or 'participated in' a study. Just to clarify the definitions:
There are problems with all of these definitions, but I agree that the discrepancy between these is causing unnecessary confusion and we should try to make them consistent. IMO, we should change the 'must (not) have participated' and 'hide studies we've done' definitions so that they use the responses's The reason I think we should move away from the 'started study = participated' definition is because of a pretty common user scenario that is causing confusion:
However, the
So if we decide to consistently use the
Any improvements we make to the |
Description
The rule we have shared with researchers is that a child is marked as having "done" a study when they click into it (with either the "Participate now!" button or the "Schedule a time to participate" button). However, it turns out that this is not consistent across the codebase! According to some quick investigating by Melissa, a child being "done" with a study is "slightly differently, in different parts of the codebase written by different people in different years". We should make the definition of "done" consistent across the codebase, and likely the rule we shared with researchers (described above).
How to reproduce
A good example is a child who has done "Introduction to Project GARDEN!" and "Journey to the GARDEN Library 1" on https://lookit.mit.edu/studies/garden/. These two "studies" are actually just watching a video (and do not contain any other common study features; for example, they do not contain consent). No matter how many times a family does these studies, they remain. This leads to two problems. Smaller problem: They remain visible even when the parent selects "Hide Studies We've Done". Larger problem: Families will still receive recruitment emails for these studies, which leads to confusion for the parents AND means we are wasting recruitment emails for these compared to other studies that are new.
Expected behavior
Consistent definition of "done" across the codebase. (For the specific example described above: very important families no longer receive recruitment emails for "Introduction to Project GARDEN!" and "Journey to the GARDEN Library 1" once they have "done" those studies)
The text was updated successfully, but these errors were encountered: