Options
All
  • Public
  • Public/Protected
  • All
Menu

Module core

Index

References

Re-exports AssignedQuestion
Re-exports AssignedSection
Re-exports AssignedExam
Re-exports Question
Re-exports Section
Re-exports Exam
Re-exports QuestionSpecification
Re-exports SectionSpecification
Re-exports ExamSpecification
Re-exports isValidID
Re-exports ExamComponentSpecification
Re-exports isExamSpecification
Re-exports isSectionSpecification
Re-exports isQuestionSpecification
Re-exports isSkinSpecificatoin
Re-exports getExamComponentSpecificationID
Re-exports ExamComponentOrChooserSpecification
Re-exports SectionChooserSpecification
Re-exports QuestionChooserSpecification
Re-exports SkinChooserSpecification
Re-exports SectionChooser
Re-exports QuestionChooser
Re-exports SkinChooser
Re-exports realizeChooser
Re-exports MinMaxPoints
Re-exports MinMaxItems
Re-exports minMaxPoints
Re-exports minMaxChosenItems
Re-exports realizeSection
Re-exports realizeSections
Re-exports chooseSections
Re-exports chooseAllSections
Re-exports realizeQuestion
Re-exports realizeQuestions
Re-exports chooseQuestions
Re-exports chooseAllQuestions
Re-exports chooseSkins
Re-exports chooseAllSkins
Re-exports RANDOM_SECTION
Re-exports RANDOM_BY_TAG
Re-exports RANDOM_QUESTION
Re-exports CUSTOMIZE
Re-exports GROUP
Re-exports SHUFFLE
Re-exports StudentInfo
Re-exports parseExamSpecification
Re-exports parseSectionSpecification
Re-exports parseQuestionSpecification
Re-exports parseExamSkinSpecification
Re-exports parseExamComponentSpecification
Re-exports stringifyExamComponentSpecification
Re-exports SkinReplacements
Re-exports ExamComponentSkin
Re-exports DEFAULT_SKIN
Re-exports isDefaultSkin
Re-exports createCompositeSkin
Re-exports SINGLE_REPLACEMENT_SKINS
Re-exports RANDOM_SKIN

Type aliases

QuestionAnswer: { question_id: string; skin_id: string; uuid: string; display_index: string; kind: ResponseKind; response: string; marked_for_regrade?: boolean; regrade_request?: string }

Type declaration

  • question_id: string
  • skin_id: string
  • uuid: string
  • display_index: string
  • kind: ResponseKind
  • response: string
  • Optional marked_for_regrade?: boolean
  • Optional regrade_request?: string
SectionAnswers: { section_id: string; skin_id: string; uuid: string; display_index: string; questions: QuestionAnswer[] }

Type declaration

  • section_id: string
  • skin_id: string
  • uuid: string
  • display_index: string
  • questions: QuestionAnswer[]
ExamSubmission<V>: { exam_id: string; uuid: string; student: { uniqname: string; name: string }; timestamp: number; saverId: number; trusted: V; sections: SectionAnswers[]; time_started?: number }

Type parameters

  • V: boolean = boolean

Type declaration

  • exam_id: string
  • uuid: string
  • student: { uniqname: string; name: string }
    • uniqname: string
    • name: string
  • timestamp: number
  • saverId: number
  • trusted: V
  • sections: SectionAnswers[]
  • Optional time_started?: number
TrustedExamSubmission: ExamSubmission<true>

Functions

  • Fills in the (presumed blank) question responses in the provided manifest with the student submitted answers for the questions with corresponding IDs. This should always be used with manifests loaded from the saved manifest files created on exam generation, since otherwise students could just e.g. change the question IDs, point values, etc. in their submitted answers file. This changes the provided manifest object and returns it (casted to a TrustedExamSubmission)

    Parameters

    Returns TrustedExamSubmission

Generated using TypeDoc