Get Measure Using Item IDs with Results and Prior Student Information
Overview
- There is prior information about a student. For example, a
previously-computed
ability
withuncertainty
and number of days since that assessmentelapsedDays
. - The student has taken some number of items, each represented by an item ID.
- The item responses (correct/incorrect) for each item are known.
URL
POST /api/score/items/idsWithResults/bayes
Request
The following parameters are required in the request. An example is provided in the Code Example section.
Parameter | Type | Description |
---|---|---|
priorAbility |
Integer |
The student’s prior ability estimate. |
priorUncertainty |
Integer |
Uncertainty associated with the student’s prior ability estimate. |
elapsedDays |
Integer |
Number of days since the student’s measure was last updated. |
items |
Array |
Array of item objects. Each item object is a dictionary with required
parameters:
|
Response
This returns an object that contains the computed ability and uncertainty. See Scoring Service Response Codes for an explanation of error codes that might be returned.
Parameter | Type | Description |
---|---|---|
ability |
Integer |
The student’s new ability estimate. |
uncertainty |
Integer |
Uncertainty associated with the student’s new ability estimate. |
framework |
String | Either Lexile or Quantile Framework used to produce the measure. |
apiVersion |
String | The current version number for the API. |
Code Examples
The following show examples of the request followed by the response. The Python example is written for use with Python 3 and above.