Watts-Lab / deliberation-group-assignment

Algorithms and test suite for assigning participants to groups.
0 stars 0 forks source link

Create simulated stream of participants #2

Open JamesPHoughton opened 11 months ago

JamesPHoughton commented 11 months ago

A stream of participants arrives at the door. Each participant has attributes,

[
  {
    party: "democrat",
    age: 34,
    gender: f,
    arrivalTime: 14,
    dropoutTime: 25
 },
 {
    party: "democrat",
    age: 19,
    gender: m,
    arrivalTime: 18,
    dropoutTime: 30
 },
...
]

The task is to generate arbitrary streams like this with reasonable distributional properties: