<commit_before>"use strict";
module.exports = (server, studentController, isAuthenticated, user) => {
    server.get("/api/student/:username", studentController.findStudentByUsername);
    server.get("/api/student", studentController.searchStudents);
    server.post("/api/student", isAuthenticated, user.is("teacher"), studentController.createStudent);
    server.post("/api/student/add-class", isAuthenticated, user.is("teacher"), studentController.addStudentsToClass);
    server.put("/api/student/add-marks", isAuthenticated, user.is("teacher"), studentController.addMark);
};<commit_msg>removed role from registration route<commit_after>"use strict";
module.exports = (server, studentController, isAuthenticated, user) => {
    server.get("/api/student/:username", studentController.findStudentByUsername);
    server.get("/api/student", studentController.searchStudents);
    server.post("/api/student", isAuthenticated, studentController.createStudent);
    server.post("/api/student/add-class", isAuthenticated, user.is("teacher"), studentController.addStudentsToClass);
    server.put("/api/student/add-marks", isAuthenticated, user.is("teacher"), studentController.addMark);
};
{'fraction_non_alphanumeric': 0.15501263689974726, 'fraction_numerical': 0.0, 'mean_word_length': 6.764705882352941, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5809766', 'n_tokens_mistral': 328, 'n_tokens_neox': 326, 'n_words': 49}