cyberhybridhub/server/lib/spelling/spelling_answer_policy.dart
nathanAndrinoid 4459852f83
Some checks failed
Admin portal tests / test (push) Has been cancelled
spelling
2026-06-05 03:22:35 +00:00

7 lines
225 B
Dart

/// Grading rules for typed spelling answers.
abstract final class SpellingAnswerPolicy {
static bool matches(String typed, String canonical) {
return typed.trim().toLowerCase() == canonical.trim().toLowerCase();
}
}