PAIR-code / PAIR-code/deliberate-lab

Fix cohort name numbering when cohorts are hidden

Open
#491 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

frontend runtime:experimenter-ux stale
Dominant language
TypeScript
Stars
96
Forks
40
Avg merge
2d 11h
Merged PRs (30d)
20

Description

If all cohorts are hidden in the experiment dashboard, the next cohort created is Cohort 01 (presumably because the hidden ones aren't counted).

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 tracing the experiment dashboard's cohort creation and numbering logic, then reproduce the case where all cohorts are hidden. Done means creating the next cohort preserves the expected sequential name instead of resetting to Cohort 01, with a regression check for the hidden-cohort case.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.