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], }; export const LEVEL_TEXT = { excellent: "Congratulations on your exam performance! You achieved an impressive {{level}}, demonstrating excellent mastery of the assessed knowledge.\n\nIf you disagree with the result, you can request a review by a qualified teacher. We are committed to the accuracy and transparency of the results.\n\nPlease contact us for further information. Congratulations again on your outstanding achievement! We are here to support you on your academic journey.", high: "Congratulations on your exam performance! You achieved a commendable {{level}}, demonstrating a good understanding of the assessed knowledge.\n\nIf you have any concerns about the result, you can request a review by a qualified teacher. We are committed to the accuracy and transparency of the results.\n\nPlease contact us for further information. Congratulations again on your achievement! We are here to support you on your academic journey.", medium: "Congratulations on your exam performance! You achieved a {{level}}, demonstrating a satisfactory understanding of the assessed knowledge.\n\nIf you have any concerns about the result, you can request a review by a qualified teacher. We are committed to the accuracy and transparency of the results.\n\nPlease contact us for further information. Congratulations again on your achievement! We are here to support you on your academic journey.", low: "Thank you for taking the exam. You achieved a {{level}}, but unfortunately, it did not meet the required standards.\n\nIf you have any concerns about the result, you can request a review by a qualified teacher. We are committed to the accuracy and transparency of the results.\n\nPlease contact us for further information. We encourage you to continue your studies and wish you the best of luck in your future endeavors.", }; export const levelText = (level: number) => { if (level === 9) { return ( <> Congratulations on your exam performance! You achieved an impressive level {level}, demonstrating excellent mastery of the assessed knowledge.

If you disagree with the result, you can request a review by a qualified teacher. We are committed to the accuracy and transparency of the results.

Please contact us for further information. Congratulations again on your outstanding achievement! We are here to support you on your academic journey. ); } if (level >= 6) { return ( <> Congratulations on your exam performance! You achieved a commendable level {level}, demonstrating a good understanding of the assessed knowledge.

If you have any concerns about the result, you can request a review by a qualified teacher. We are committed to the accuracy and transparency of the results.

Please contact us for further information. Congratulations again on your achievement! We are here to support you on your academic journey. ); } if (level >= 3) { return ( <> Congratulations on your exam performance! You achieved a level of {level}, demonstrating a satisfactory understanding of the assessed knowledge.

If you have any concerns about the result, you can request a review by a qualified teacher. We are committed to the accuracy and transparency of the results.

Please contact us for further information. Congratulations again on your achievement! We are here to support you on your academic journey. ); } return ( <> Thank you for taking the exam. You achieved a level {level}, but unfortunately, it did not meet the required standards.

If you have any concerns about the result, you can request a review by a qualified teacher. We are committed to the accuracy and transparency of the results.

Please contact us for further information. We encourage you to continue your studies and wish you the best of luck in your future endeavors. ); };