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:279
attemptNumber
• attemptNumber: number
The number of this attempt.
Defined in
src/components/activities/types.ts:283
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:288
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:294
error
• Optional error: string
Any error associated with this attempt.
Defined in
src/components/activities/types.ts:335
explanation
• explanation: null \| Explanation
Feedback received, if this attempt has been evaluated.
Defined in
src/components/activities/types.ts:315
feedback
• feedback: null \| Feedback
Feedback received, if this attempt has been evaluated.
Defined in
src/components/activities/types.ts:311
hasMoreAttempts
• hasMoreAttempts: boolean
Whether or not additional attempts exist.
Defined in
src/components/activities/types.ts:327
hasMoreHints
• hasMoreHints: boolean
Whether or not additional hints exist.
Defined in
src/components/activities/types.ts:331
hints
• hints: []
Hints that were requested and received by the student.
Defined in
src/components/activities/types.ts:319
outOf
• outOf: null \| number
Maximum point value that could have been received.
Defined in
src/components/activities/types.ts:303
partId
• partId: string \| number
The id of the part that this attempt pertains to.
Defined in
src/components/activities/types.ts:323
response
• response: any
The student's response.
Defined in
src/components/activities/types.ts:307
score
• score: null \| number
Score received. Null if this attempt has not been evaluated.