Create a self-elected student test-out assignment
Test Out
Create a self-elected student test-out assignment
Creates an AlphaTest test-out assignment for a student on a given subject.
The endpoint performs the following steps:
- Looks up the student’s email using their OneRoster sourcedId
- Checks eligibility: the student must have an active enrollment in a non-placeholder course for the subject
- Resolves eligibility and the target grade atomically
- When advancing from mastered K-2 Reading to the next grade’s test-out, requires a passed ORF screener at the mastered grade (summer-experience students retain their configured waiver while its feature flag is enabled)
- Assigns exactly the target grade returned by the eligibility decision
- For FastMath Kindergarten and above, selects the first unpassed operation from the active sequence and forwards its exact gradeAssessmentTag
The assignment payload sent to AlphaTest includes:
test_type: “test out”origin: “self-elected”metadata.gradeAssessmentTagfor FastMath Kindergarten and above (PreK accuracy assignments remain untagged)
Will fail if:
- The student does not exist or has no email
- The student does not have an active enrollment for the subject (or the course has placementPlaceholder set to true)
- The assignment would be the student’s entry into a gated subject and the subject’s all-source placement prerequisites are unmet while FF_TEST_OUT_ENTRY_PLACEMENT_GATE is enabled
- Advancing from mastered K-2 Reading is still blocked by that grade’s ORF gate
- The test-out grade cannot be determined (no highest grade mastered and no active course sequence with assessment stages)
- The AlphaTest API returns an error
POST
Create a self-elected student test-out assignment
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
application/json