RationalMagnitudeData

Magnitude-strip payload for RationalMagnitude interventions

  • anchors
    Type: array object[] · MagnitudeAnchor[]
    required

    Labeled anchor ticks on the strip

    • label
      Type: string
      required

      Combined anchor label (e.g., "1 = 100%")

    • position
      Type: number
      required

      Anchor position on the magnitude strip

  • decimal
    required

    Decimal notation at the marker position

    • label
      Type: string
      required

      Display text for this value

    • value
      Type: number
      required

      Canonical numeric value used for grading

  • domainMax
    Type: number
    required

    Strip domain upper bound: 1, or 2 for above-1 values

  • fraction
    required

    Fraction notation at the marker position

    • label
      Type: string
      required

      Display text for this value

    • value
      Type: number
      required

      Canonical numeric value used for grading

  • isApproximate
    Type: boolean
    required

    Whether the decimal/percent notations are approximations

  • percent
    required

    Percent notation at the marker position

    • label
      Type: string
      required

      Display text for this value

    • value
      Type: number
      required

      Canonical numeric value used for grading

  • position
    Type: number
    required

    Marker position: the rational value n/d

  • sourceRepresentation
    Type: string · RationalNotationenum
    required

    Notation the question presented

    values
    • fraction = FRACTION
    • decimal = DECIMAL
    • percent = PERCENT
  • targetRepresentation
    required
    • Type: string · RationalNotationenum

      Notation the question asked for

      values
      • fraction = FRACTION
      • decimal = DECIMAL
      • percent = PERCENT
  • transformationSteps
    Type: array object[]
    required

    Notation-bridge beats from source to target representation

    • label
      Type: string
      required

      Display text for one transformation beat