PAIR-code / PAIR-code/deliberate-lab
Duplicate users created when following links from Prolific
@raindrift is already working on this.
Since Jul 24, 2025.
- Dominant language
- TypeScript
- Stars
- 96
- Forks
- 40
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 20
Description
If someone reconnects over and over at the start of the experiment, they get new user records each time, even if their prolific id is already assigned. This happens when someone closes their browser window, then follows the link from Prolific. We should instead look up their existing user record.
@vivtsai 's suggestion: "What do you think about (if the person has their Prolific ID in the URL params and is reconnecting) having a popup: "continue as " or "start over with a new profile" (where clicking the latter closes/boots the old profile)? And then no change for people without prolific IDs."
(expect a PR shortly)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.