View Source PartState
Interface: 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:227
attemptNumber
• attemptNumber: number
The number of this attempt.
Defined in
src/components/activities/types.ts:231
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:236
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:242
error
• Optional
error: string
Any error associated with this attempt.
Defined in
src/components/activities/types.ts:283
explanation
• explanation: null
\| Explanation
Feedback received, if this attempt has been evaluated.
Defined in
src/components/activities/types.ts:263
feedback
• feedback: null
\| Feedback
Feedback received, if this attempt has been evaluated.
Defined in
src/components/activities/types.ts:259
hasMoreAttempts
• hasMoreAttempts: boolean
Whether or not additional attempts exist.
Defined in
src/components/activities/types.ts:275
hasMoreHints
• hasMoreHints: boolean
Whether or not additional hints exist.
Defined in
src/components/activities/types.ts:279
hints
• hints: []
Hints that were requested and received by the student.
Defined in
src/components/activities/types.ts:267
outOf
• outOf: null
\| number
Maximum point value that could have been received.
Defined in
src/components/activities/types.ts:251
partId
• partId: string
\| number
The id of the part that this attempt pertains to.
Defined in
src/components/activities/types.ts:271
response
• response: any
The student's response.
Defined in
src/components/activities/types.ts:255
score
• score: null
\| number
Score received. Null if this attempt has not been evaluated.