makeConstraintsByEachPartition is a helper function for making
constraints objects from Split solution indices.
makeConstraintsByEachPartition(constraints, solution_per_bin)makeConstraintsByEachPartition returns a list of constraints objects.
a constraints object representing test specifications. Use loadConstraints for this.
a list containing item/stimulus indices for each partition.
This accepts a list stored in the output slot of an output_Split object.