<commit_before>CATS.Model.Results_table = Classify(CATS.Model.Entity, {
    init: function () {
        this.$$parent();
        this.type = "result_table";
        this.contests = [];
        this.score_board = [];
        this.filters = {
            duration: {
                minutes: null,
                type: null,
            },
            user: null,
            affiliation: null,
            role: null,
        };
    },

    get_empty_score_board_row: function () {
        return {
            place: null,
            user: null,
            penalty: null,
            solved_cnt: 0,
            points_cnt: 0,
            problems: []
        };
    },

    get_empty_problem_for_score_board_row: function () {
        return {
            problem: null,
            is_solved: null,
            opener: null,
            runs_cnt: null,
            last_run_time : null,
            best_run_time : null,
            points : null
        };
    },

    define_openers: function() {
        var sb = this.score_board;
        var openers = [];
        for (var i = 0; i < sb[0]['problems'].length; ++i)<commit_msg>fix define_openers bug<commit_after>CATS.Model.Results_table = Classify(CATS.Model.Entity, {
    init: function () {
        this.$$parent();
        this.type = "result_table";
        this.contests = [];
        this.score_board = [];
        this.filters = {
            duration: {
                minutes: null,
                type: null,
            },
            user: null,
            affiliation: null,
            role: null,
        };
    },

    get_empty_score_board_row: function () {
        return {
            place: null,
            user: null,
            penalty: null,
            solved_cnt: 0,
            points_cnt: 0,
            problems: []
        };
    },

    get_empty_problem_for_score_board_row: function () {
        return {
            problem: null,
            is_solved: null,
            opener: null,
            runs_cnt: null,
            last_run_time : null,
            best_run_time : null,
            points : null
        };
    },

    define_openers: function() {
        var sb = this.score_board;
        if (sb.length == 0)
            return;
        var openers = [];
        for (var i = 0; i < sb[0]['problems'].length; ++i)
{'fraction_non_alphanumeric': 0.11182795698924732, 'fraction_numerical': 0.003870967741935484, 'mean_word_length': 1.287118977384464, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '4009661', 'n_tokens_mistral': 687, 'n_tokens_neox': 666, 'n_words': 137}