Jump to navigation

Class: MarkingScript

Numbas.marking.MarkingScript

new MarkingScript(source, baseopt)

A script to mark a part. A list of notes, which can refer to each other. The dependencies must form a directed acyclic graph, like for JME variables.

Two notes are required:

  • The mark note is the final note, used to provide feedback on the part.
  • The value of the interpreted_answer note is used to represent the student's answer, as the script interpreted it.
Parameters:
Name Type Attributes Description
source string

The definitions of the script's notes.

base Numbas.marking.MarkingScript <optional>

A base script to extend.

Source: