Reusable question bank

Use local YAML/JSON files to maintain reusable MCQ content.

Load and validate

qb <- load_question_bank("inst/question-bank")
print(validate_question_bank(qb, strict = FALSE))

Reference bank questions in source files

```{tutorizeR-mcq-ref}
ids: [sample-mean]
strategy: ordered
shuffle_answers: false

## Convert with bank-enabled MCQ mode


``` r
rep <- tutorize(
  input = "lesson.qmd",
  assessment = "both",
  question_bank = qb,
  mcq_source = "mixed"
)