PartState
View SourceInterface: PartState
Representation of a student's current state for a specific part of an activity.
Table of contents
Properties
- attemptGuid
- attemptNumber
- dateEvaluated
- dateSubmitted
- error
- explanation
- feedback
- hasMoreAttempts
- hasMoreHints
- hints
- outOf
- partId
- response
- score
Properties
attemptGuid
• attemptGuid: string
The unique identifier of this part attempt.
Defined in
src/components/activities/types.ts:280
attemptNumber
• attemptNumber: number
The number of this attempt.
Defined in
src/components/activities/types.ts:284
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:289
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:295
error
• Optional error: string
Any error associated with this attempt.
Defined in
src/components/activities/types.ts:336
explanation
• explanation: null \| Explanation
Feedback received, if this attempt has been evaluated.
Defined in
src/components/activities/types.ts:316
feedback
• feedback: null \| Feedback
Feedback received, if this attempt has been evaluated.
Defined in
src/components/activities/types.ts:312
hasMoreAttempts
• hasMoreAttempts: boolean
Whether or not additional attempts exist.
Defined in
src/components/activities/types.ts:328
hasMoreHints
• hasMoreHints: boolean
Whether or not additional hints exist.
Defined in
src/components/activities/types.ts:332
hints
• hints: []
Hints that were requested and received by the student.
Defined in
src/components/activities/types.ts:320
outOf
• outOf: null \| number
Maximum point value that could have been received.
Defined in
src/components/activities/types.ts:304
partId
• partId: string \| number
The id of the part that this attempt pertains to.
Defined in
src/components/activities/types.ts:324
response
• response: any
The student's response.
Defined in
src/components/activities/types.ts:308
score
• score: null \| number
Score received. Null if this attempt has not been evaluated.