(Internal) Assemble a shadowtest
assembleShadowTest( j, position, o, eligibility_flag, exclude_flag, usage_flag, groupings_record, info, config, simulation_constants, constraints )
j
: the examinee index.position
: the item position, ranging from 1 to test length.o
: output_Shadow
object.eligibility_flag
: a named list containing eligibility flags.exclude_flag
: a list of item/stimulus indices to exclude from selection for the examinee.usage_flag
: a vector of length ni (or ni + ns) containing the number of times each item has been administered previously to the examinee.groupings_record
: a list containing data on completed item sets.info
: a vector containing item information of each item in the pool.config
: a config_Shadow
object. Use createShadowTestConfig
for this.simulation_constants
: a named list containing simulation constants.constraints
: a constraints
object representing test specifications. Use loadConstraints
for this.a named list containing a shadowtest and related data.
shadow_test
a data.frame
containing the shadowtest.feasible
whether the assembly was feasible the first time.