<commit_before>YAHOO.namespace("graderreport");

YAHOO.graderreport.init = function() {
    // Adjust height of header c0
    var rows = YAHOO.util.Dom.getElementsByClassName('heading_name_row');
    var header_cell_region = YAHOO.util.Dom.getRegion();
    if(header_cell_region)
    {
        var height = header_cell_region.bottom - header_cell_region.top;
        if(!isNan(height))
        {
            YAHOO.util.Dom.setStyle('studentheader', 'height', height + 'px');
        }<commit_msg>grader report MDL-20179 Fixed broken JS on grader report<commit_after>YAHOO.namespace("graderreport");

YAHOO.graderreport.init = function() {
    // Adjust height of header c0
    //"heading_name_row" only exists if static students column is turned on
    var rows = YAHOO.util.Dom.getElementsByClassName('heading_name_row');
    if(rows && rows.length>0)
    {
        var header_cell_region = YAHOO.util.Dom.getRegion(rows[rows.length-1].firstChild);
        if(header_cell_region)
        {
            var height = header_cell_region.bottom - header_cell_region.top;
            if(!isNan(height))
            {
                YAHOO.util.Dom.setStyle('studentheader', 'height', height + 'px');
            }
        }
{'fraction_non_alphanumeric': 0.11812961443806398, 'fraction_numerical': 0.007383100902378999, 'mean_word_length': 2.873015873015873, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '3490672', 'n_tokens_mistral': 400, 'n_tokens_neox': 379, 'n_words': 68}