Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Demographics ¶
func Demographics(db edulab.Database, experiment edulab.Experiment) error
Types ¶
type Assessment ¶
type Assessment struct {
PublicID string `yaml:"public_id"`
Type edulab.AssessmentType `yaml:"type"`
Questions []Question `yaml:"questions"`
}
type AssessmentConfig ¶
type BootstrapConfig ¶
type BootstrapConfig struct {
Participants int `yaml:"participants"` // Total number of participants to create
AssessmentConfigs []AssessmentConfig `yaml:"assessments"` // Configuration for each assessment
DemographicConfig DemographicConfig `yaml:"demographics"` // Configuration for demographics
}
type DemographicConfig ¶
type Experiment ¶
type Experiment struct {
PublicID string `yaml:"public_id"`
Name string `yaml:"name"`
Description string `yaml:"description"`
Assessments []Assessment `yaml:"assessments"`
Cohorts []Cohort `yaml:"cohorts"`
BootstrapConfig BootstrapConfig `yaml:"bootstrap_config,omitempty"`
ForceDelete bool `yaml:"force_delete,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.