Phase operator: move to next phase
changePhase
is an operator for phase values.
changePhase(phase, assessment_structure)
phase
: a string containing the current phase in the format P?
, where ?
is a number.assessment_structure
: an assessment_structure
object.a string containing the new phase.
## assessment uses two phases changePhase("P1", assessment_structure_math) ## P2 changePhase("P2", assessment_structure_math) ## P1