<commit_before>var CourseList = React.createClass({
    printVideo : function() {
        ReactDOM.render(<AssignmentContent course="kurs 3" assignment="assignment 2"/>,document.getElementById("courseContent"));
    },
    
    studentSubmitions: function () {
         $.get(window.globalURL + "/DB/getAllSubmissions",{assignmentID:1000},function (res) {
             //var users = JSON.parse(res);
             console.log(res);
             //console.log(users);
             ReactDOM.render(<StudentList students={res}/>, document.getElementById('courseContent'));
         });
        var users = [{
            assignmentID: 1000,
            studentID: 21,
            studentName: "<NAME>",
            submissionDate: "2010-06-23",
            grade: "G",
            teacherID: 12
        },
            {
                assignmentID: 1000,
                studentID: 21,
                studentName: "<NAME>",
                submissionDate: "2010-06-23",
                grade: "K",
                teacherID: 12
            }];
        ReactDOM.render(<StudentList students={users}/>, document.getElementById('courseContent'));
        var table11_Props = {
            filters_row_index: 1,
            remember_grid_values: true
        };
        setFilterGrid( "students-table",table11_Props )
    },

    printFeedback : function() {
        ReactDOM.render(<Feedback />,document.getElementById("courseContent"));
    },

    newAssignment : function() {<commit_msg>hårdkodad stuff<commit_after>var CourseList = React.createClass({
    printVideo : function() {
        ReactDOM.render(<AssignmentContent course="kurs 3" assignment="assignment 2"/>,document.getElementById("courseContent"));
    },
    
    studentSubmitions: function () {
         $.get(window.globalURL + "/DB/getAllSubmissions",{assignmentID:1000},function (res) {
             //var users = JSON.parse(res);
             console.log(res);
             //console.log(users);
             ReactDOM.render(<StudentList students={res}/>, document.getElementById('courseContent'));
         });
        var users = [{
            assignmentID: 1000,
            courseID:36,
            studentID: 21,
            studentName: "<NAME>",
            submissionDate: "2010-06-23",
            grade: "G",
            teacherID: 12
        },
            {
                assignmentID: 1000,
                studentID: 21,
                courseID: 23,
                studentName: "<NAME>",
                submissionDate: "2010-06-23",
                grade: "K",
                teacherID: 12
            }];
        ReactDOM.render(<StudentList students={users}/>, document.getElementById('courseContent'));
        var table11_Props = {
            filters_row_index: 1,
            remember_grid_values: true
        };
        setFilterGrid( "students-table",table11_Props )
    },

    printFeedback : function() {
        ReactDOM.render(<Feedback />,document.getElementById("courseContent"));
    },

    newAssignment : function() {
{'fraction_non_alphanumeric': 0.12950115626032374, 'fraction_numerical': 0.02973240832507433, 'mean_word_length': 1.9087415946205573, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '1341624', 'n_tokens_mistral': 867, 'n_tokens_neox': 792, 'n_words': 136}