validationModeForLevel static method

String? validationModeForLevel(
  1. String targetLevel
)

Returns the session mode used to validate a given mastery level.

Implementation

static String? validationModeForLevel(String targetLevel) {
  return switch (targetLevel) {
    'understanding' => 'socratic',
    'application' => 'quiz',
    'evaluation' => 'code_review',
    'mastery' => 'confused_student',
    _ => null,
  };
}