Add the term, equation, value, and misconception registries (src/model/course/glossary.rs) and the new optional fields on objectives, targets, lectures, readings, bank options, and policy. Load registry entries from objective files, glossary.yaml, and course.yaml, with one definition site per id as for every other registry. Port every edit in docs/design/2.1/build_schemas.py into the hand-written schema builders, add glossary.schema.json, and test the generated schemas against the targets; the only differences are two 2.0 spellings the code already had. The 2.0 example fragments load and validate unchanged. The 2.1 example bank gains `status: draft`, which every coursebank item requires. tests/docs.rs skips docs/design/, which holds design records rather than guide pages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
29 lines
1.3 KiB
YAML
29 lines
1.3 KiB
YAML
# course.yaml (coursebank 2.1): identity, policy, and units; the new policy blocks shown in full
|
|
schema_version: '2.1'
|
|
course:
|
|
code: BIOSC 1540
|
|
title: Computational Biology
|
|
term: 2027s
|
|
policy:
|
|
options_per_item: 4
|
|
min_items_for_mastery: 2
|
|
mastery_threshold: 0.75
|
|
exam_conditions:
|
|
closed_book: true
|
|
calculator: false
|
|
equations: never_printed
|
|
formats: [single_best_answer]
|
|
seconds_per_item: 120
|
|
blueprints:
|
|
module: { level_counts: { '1': 6, '2': 18, '3': 9, '4': 3 }, bonus_counts: { '5': 1 }, minutes: 75 }
|
|
final: { level_counts: { '1': 8, '2': 24, '3': 12, '4': 4 }, bonus_counts: { '5': 1 }, minutes: 110 }
|
|
levels:
|
|
'1': { name: Definitions, description: 'Match a term to its name or definition.' }
|
|
'2': { name: Concepts, description: 'Explain how something works, as it normally is.' }
|
|
'3': { name: Application, description: 'Change one thing and follow it to the result.' }
|
|
'4': { name: Analytical, description: 'Weigh several interacting conditions at once.' }
|
|
'5': { name: Synthesis, description: 'Extend to an unseen case, or judge competing explanations.' }
|
|
target_text_forbid: ['\bcomput', '\bcalculat', '\bestimat'] # calculator-free exams: no text may promise a calculation
|
|
units:
|
|
- { id: u1, title: Sequences and alignment }
|