File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -247,16 +247,16 @@ Export all experiment data including participant responses:
247247# Export full experiment data
248248data = client.export_experiment(experiment_id)
249249
250- # Access exported structure
250+ # Access exported structure (uses Map format)
251251experiment = data[" experiment" ]
252- stages = data[" stages " ]
253- cohorts = data[" cohorts " ]
254- participants = data[" participants " ]
252+ stage_map = data[" stageMap " ]
253+ cohort_map = data[" cohortMap " ]
254+ participant_map = data[" participantMap " ]
255255
256256print (f " Experiment: { experiment[' metadata' ][' name' ]} " )
257- print (f " Stages: { len (stages )} " )
258- print (f " Cohorts: { len (cohorts )} " )
259- print (f " Total participants: { len (participants )} " )
257+ print (f " Stages: { len (stage_map )} " )
258+ print (f " Cohorts: { len (cohort_map )} " )
259+ print (f " Total participants: { len (participant_map )} " )
260260
261261# Save to file
262262import json
Original file line number Diff line number Diff line change @@ -627,6 +627,7 @@ class ChatStageConfig(BaseModel):
627627 name : str
628628 descriptions : Any
629629 progress : Any
630+ discussions : list [Any ] = [] # Required for cohort creation
630631 timeLimitInMinutes : float | None = None
631632 requireFullTime : bool | None = None
632633
You can’t perform that action at this time.
0 commit comments