PAIR-code / PAIR-code/deliberate-lab

Feat: Transfer stage should be able to transfer people based on the number of participants

Open
#1,220 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
96
Forks
40
Avg merge
2d 11h
Merged PRs (30d)
20

Description

Description:

In the transfer stage settings, we need the ability to trigger an automatic transfer based on a specific threshold of human participants. The system should monitor the lobby and automatically move the exact required number of participants into a cohort once that threshold is met.

Example/Use Case:

If a cohort requires exactly 3 participants, the system should automatically group and transfer 3 participants from the lobby into the cohort as soon as they are in the "ready" state.

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.

Research direction

Start by locating the transfer stage settings and the code that monitors the lobby and handles the "ready" state. Trace how participants are moved into cohorts, then identify the relevant tests or add coverage for the threshold behavior. Done means that reaching a configured participant count automatically transfers exactly that many ready participants into a cohort.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.