2.1.1 Transformation object

Represents a transformation of a test score. A test score is comprised of a raw percentage, plus optional transformations of that percentage.

Optionally, a transformation may include a numeric percentage value to indicate that the score may be expressed as a percentage. Additionally, a transformation may include a boolean passed field to indicate whether, according to the selected transformation, the user has passed the test.

Example

{
  "id": "seventy-percent-grade-points",
  "result": "9½"
}

Fields

Field Type Description
id
required
String The ID of the test score transformer.

Example value: seventy-percent-grade-points
result
required
String The transformed value.

Example value:
passed
optional
Boolean If a binary test score transformer is used, this property indicates whether the testee has passed the test or not.

The value is either true or false.
percentage
optional
Integer If a percentage test score transformer is used, this property indicates what the achieved percentage was.

The value will be between 0 and 100, inclusive.

Example value: 42