Skip to content

ExerciseSpec

The ExerciseSpec resource (Exercise Specification) defines the pedagogical structure of an assessment instrument (C1/C2). It combines a context (a text, problem, or general stimulus) with a set of specific exercises, linking each question to the competencies or learning objectives it evaluates.

Schema

Metadata (metadata)

FieldTypeRequiredDescription
idstringYesUnique identifier for the specification (e.g., us.tx.c2.aappl...).
titlestringYesDescriptive title of the exercise block.
typestringNoClassification of the exercise (e.g., external_assessment, formative).
organizationstringNoAuthoring entity or organization (e.g., ACTFL, CDE).
yearnumberNoYear of application or publication (e.g., 2024).
targetCourseRefstringNoReference to the applicable C0 course or competency set.

Specification (spec)

FieldTypeRequiredDescription
contextstringYesText in Markdown format that serves as a common stimulus (reading, problem statement) for subsequent exercises.
exercisesarrayYesList of exercises or questions associated with this context.

Structure of exercises

FieldTypeRequiredDescription
idstringYesQuestion identifier (e.g., q1).
typestringYesType of interaction or required input (e.g., audio_response, free_text).
promptstringYesThe exact wording of the question.
expectedOutputFormatstringNoExpected format (e.g., audio, markdown).
maxScorenumberNoMaximum score achievable for this specific question.
targetCompetenciesstring[]YesArray with the IDs of the competencies or C0 nodes (BLOCK_RUBRIC) that this question evaluates.

Usage Example

Below is an example of an ExerciseSpec for an AAPPL oral test in Texas:

apiVersion: colabedu.ai/v1beta1
kind: ExerciseSpec
metadata:
type: external_assessment
organization: ACTFL/Avant
year: 2024
id: us.tx.c2.aappl.lote.presentational.spanish3.v1
title: AAPPL Mock - LOTE Presentational Speaking (Spanish III)
targetCourseRef: us.tx.c0.teks.lote.spanish_3.v1
spec:
context: |
# Presentation on Customs
Your teacher wants you to talk about an important tradition celebrated in
Texas or in a Spanish-speaking country (such as Cinco de Mayo or the Rodeo).
exercises:
- id: q1
type: audio_response
prompt: Record a 1-minute presentation describing the celebration, why it is important, and what activities are performed.
expectedOutputFormat: audio
maxScore: 4.0
targetCompetencies:
- lote-presentational