ENCOA-90: Creating the ability for a corporate/master corporate to edit their grading system

This commit is contained in:
Tiago Ribeiro
2024-08-26 22:35:00 +01:00
parent 4a1a52bd61
commit a0b8521f0a
6 changed files with 293 additions and 1 deletions

37
src/resources/grading.ts Normal file
View File

@@ -0,0 +1,37 @@
export const CEFR_STEPS = [
{min: 0, max: 9, label: "Pre A1"},
{min: 10, max: 19, label: "A1"},
{min: 20, max: 39, label: "A2"},
{min: 40, max: 59, label: "B1"},
{min: 60, max: 74, label: "B2"},
{min: 75, max: 89, label: "C1"},
{min: 90, max: 100, label: "C2"},
];
export const GENERAL_STEPS = [
{min: 0, max: 9, label: "Beginner"},
{min: 10, max: 19, label: "Elementary"},
{min: 20, max: 39, label: "Pre-Intermediate"},
{min: 40, max: 59, label: "Intermediate"},
{min: 60, max: 74, label: "Upper-Intermediate"},
{min: 75, max: 89, label: "Advance"},
{min: 90, max: 100, label: "Professional user"},
];
export const IELTS_STEPS = [
{min: 0, max: 9, label: "1.0"},
{min: 10, max: 19, label: "2.0 - 2.5"},
{min: 20, max: 39, label: "3.0 - 3.5"},
{min: 40, max: 59, label: "4.0 - 5.0"},
{min: 60, max: 74, label: "5.5 - 6.5"},
{min: 75, max: 89, label: "7.0 - 7.0"},
{min: 90, max: 100, label: "8.5 - 9.0"},
];
export const TOFEL_STEPS = [
{min: 0, max: 19, label: "0 - 39"},
{min: 20, max: 39, label: "40 - 56"},
{min: 40, max: 74, label: "57 - 86"},
{min: 75, max: 89, label: "87 - 109"},
{min: 90, max: 100, label: "110 - 120"},
];