update
This commit is contained in:
1 parent
67c757f481
commit
b8dda3c8d0
77 files changed
+1577
-2808
No files matched your search
@@ -55,7 +55,7 @@ const RUBRICS: Record<TaskType, TaskRubric> = {
|
||||
};
|
||||
|
||||
/** Returns the rubric for the given task type, defaulting to "general" for unknown values. */
|
||||
export function getTaskTypeRubric(taskType: string): TaskRubric {
|
||||
function getTaskTypeRubric(taskType: string): TaskRubric {
|
||||
const key = taskType as TaskType;
|
||||
return RUBRICS[key] ?? RUBRICS.general;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user