fix: determineLevel uses 0-10 scale thresholds instead of 0-100
This commit is contained in:
@@ -1513,9 +1513,9 @@ const initialState: Partial<EvaluationState> = {
|
||||
}
|
||||
|
||||
private determineLevel(score: number): string {
|
||||
if (score >= 90) return 'Expert';
|
||||
if (score >= 75) return 'Advanced';
|
||||
if (score >= 60) return 'Proficient';
|
||||
if (score >= 9) return 'Expert';
|
||||
if (score >= 7.5) return 'Advanced';
|
||||
if (score >= 6) return 'Proficient';
|
||||
return 'Novice';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user