Get Measure Using Item IDs with Number Correct and Prior Student Information
Overview
- There is prior information about a student. For example, a
previously-computed
priorAbility
withpriorUncertainty
and number of days since that assessmentelapsedDays
. - The student has taken some number of items, each represented by an item ID.
- The number of items answered correctly is known.
URL
POST /api/score/items/ids/bayes
Request
The following parameters are required in the request. An example is provided in the Code Example section.
Parameter | Type | Description |
---|---|---|
items |
Array |
Array of item objects. Each item object is a dictionary with required
parameters:
|
numberCorrect |
Integer |
Raw count of items answered correctly by the student. |
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. |
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.