PAIR-code / PAIR-code/deliberate-lab

Duplicate users created when following links from Prolific

Open
#571 1 comment 0 reactions 1 assignee View on GitHub

@raindrift is already working on this.

Since Jul 24, 2025.

runtime:participant-ux stale
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.