OSID Logo
OSID Specifications
assessment package
Version 3.0.0
Release Candidate Preview
Interfaceosid.assessment.AssessmentResultsSession
Implementsosid.OsidSession
Description

This session is used to access the tested assessment items and their associated responses. Assessment results may also be available and is expressed as a rubric through another assessment.

MethodgetBankId
Description

Gets the Bank Id associated with this session.

Returnosid.id.Idthe Bank Id associated with this session
CompliancemandatoryThis method must be implemented.
MethodgetBank
Description

Gets the Bank associated with this session.

Returnosid.assessment.Bankthe Bank associated with this session
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodcanAccessAssessmentResults
Description

Tests if this user can take this assessment. A return of true does not guarantee successful authorization. A return of false indicates that it is known all methods in this session will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer assessment operations to unauthorized users.

Returnboolean false if assessment methods are not authorized, true otherwise
CompliancemandatoryThis method must be implemented.
MethodgetItems
Description

Gets the items questioned in a assessment.

Parametersosid.id.IdassessmentTakenId Id of the AssessmentTaken
Returnosid.assessment.ItemListthe list of assessment questions
ErrorsNOT_FOUND assessmentTakenId is not found
NULL_ARGUMENT assessmentTakenId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure occurred
CompliancemandatoryThis method must be implemented.
MethodgetResponses
Description

Gets the submitted responses.

Parametersosid.id.IdassessmentTakenId Id of the AssessmentTaken
Returnosid.assessment.ResponseListthe submitted answers
ErrorsNOT_FOUND assessmentTakenId is not found
NULL_ARGUMENT assessmentTakenId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodareResultsAvailable
Description

Tests if the results are available for this assessment.

Parametersosid.id.IdassessmentTakenId Id of the AssessmentTaken
Returnboolean true if results are available, false otherwise
ErrorsNOT_FOUND assessmentTakenId is not found
NULL_ARGUMENT assessmentTakenId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetGradeEntries
Description

Gets a list of grade entries for this assessment. Each grade entry may indicate a grade or score input by multiple graders.

Parametersosid.id.IdassessmentTakenId Id of the AssessmentTaken
Returnosid.grading.GradeEntryLista list of grade entries
ErrorsILLEGAL_STATE areResultsAvailable() is false
NOT_FOUND assessmentTakenId is not found
NULL_ARGUMENT assessmentTakenId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.