Improved a bit of error handling

This commit is contained in:
Tiago Ribeiro
2023-05-27 16:29:12 +01:00
parent b5dabe336a
commit 2a86efc97e
2 changed files with 21 additions and 11 deletions

8
src/constants/ielts.ts Normal file
View File

@@ -0,0 +1,8 @@
import {Module} from "@/interfaces";
export const BAND_SCORES: {[key in Module]: number[]} = {
reading: [0, 2.5, 3, 3.5, 4, 4.5, 5, 5.5, 6, 6.5, 7, 7.5, 8, 8.5, 9],
listening: [0, 2.5, 3, 3.5, 4, 4.5, 5, 5.5, 6, 6.5, 7, 7.5, 8, 8.5, 9],
writing: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
speaking: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
};