Perseus
    Preparing search index...

    Scoring rubric for the NumericInput widget.

    type PerseusNumericInputRubric = {
        answers: PerseusNumericInputAnswer[];
        coefficient: boolean;
    }
    Index

    Properties

    Properties

    A list of correct and incorrect answers. Each answer can have a message explaining why it is correct/incorrect. There may be multiple correct answers if multiple formats are accepted. For example, some questions might accept either a fraction or a decimal as correct.

    The first answer that matches (correct or incorrect) is the scoring result (so order of answers is very important).

    coefficient: boolean

    When true, allows shorthand coefficient entry: "-" means -1 and an empty string ("") means 1.