View Source PartState

oli / Exports / PartState

Interface: PartState

Representation of a student's current state for a specific part of an activity.

Table of contents

Properties

Properties

attemptGuid

attemptGuid: string

The unique identifier of this part attempt.

Defined in

src/components/activities/types.ts:226


attemptNumber

attemptNumber: number

The number of this attempt.

Defined in

src/components/activities/types.ts:230


dateEvaluated

dateEvaluated: null \| Date

If this attempt has been evaluated, the date of the evaluation, null if this attempt has not been evaluated.

Defined in

src/components/activities/types.ts:235


dateSubmitted

dateSubmitted: null \| Date

The date that this attempt was submitted, if it has been submitted, null if not.

Defined in

src/components/activities/types.ts:241


error

Optional error: string

Any error associated with this attempt.

Defined in

src/components/activities/types.ts:282


explanation

explanation: null \| Explanation

Feedback received, if this attempt has been evaluated.

Defined in

src/components/activities/types.ts:262


feedback

feedback: null \| Feedback

Feedback received, if this attempt has been evaluated.

Defined in

src/components/activities/types.ts:258


hasMoreAttempts

hasMoreAttempts: boolean

Whether or not additional attempts exist.

Defined in

src/components/activities/types.ts:274


hasMoreHints

hasMoreHints: boolean

Whether or not additional hints exist.

Defined in

src/components/activities/types.ts:278


hints

hints: []

Hints that were requested and received by the student.

Defined in

src/components/activities/types.ts:266


outOf

outOf: null \| number

Maximum point value that could have been received.

Defined in

src/components/activities/types.ts:250


partId

partId: string \| number

The id of the part that this attempt pertains to.

Defined in

src/components/activities/types.ts:270


response

response: any

The student's response.

Defined in

src/components/activities/types.ts:254


score

score: null \| number

Score received. Null if this attempt has not been evaluated.

Defined in

src/components/activities/types.ts:246