aN(prosodyScore)) {
                    const sortedScores = [accuracyScore, prosodyScore, compScore, fluencyScore].sort((a, b) => a - b);
                    pronunciationScore =
                        sortedScores[0] * 0.4 +
                        sortedScores[1] * 0.2 +
                        sortedScores[2] * 0.2 +
                        sortedScores[3] * 0.2;
                } else {
                    const sortedScores = [accuracyScore, compScore, fluencyScore].sort((a, b) => a - b);
           