changeTest function

Test operator: move to next phase

Test operator: move to next phase

changeTest is an operator for test values.

changeTest(test, phase, assessment_structure)

Arguments

  • test: a string containing the current test in the format T?, where ? is a number.
  • phase: a string containing the current phase in the format P?, where ? is a number.
  • assessment_structure: an assessment_structure object.

Returns

a string containing the new test.

Examples

## assessment uses two phases changeTest("T1", "P1", assessment_structure_math) ## T1 changeTest("T1", "P2", assessment_structure_math) ## T2
  • Maintainer: Seung W. Choi
  • License: GPL (>= 2)
  • Last published: 2022-05-18