<commit_before>Ext.define('devilry.examiner.AssignmentLayoutTodoList', {
    extend: 'devilry.extjshelpers.assignmentgroup.AssignmentGroupTodoList',
    alias: 'widget.examiner-assignmentlayout-todolist',

    requires: [
        'devilry.extjshelpers.studentsmanager.StudentsManager',
        'devilry.extjshelpers.assignmentgroup.AssignmentGroupTodoList',
        'devilry.extjshelpers.charts.PointsOfGroupsOnSingleAssignment'
    ],

    config: {
        assignment_recordcontainer: undefined,
        assignmentmodelname: undefined,
        assignmentid: undefined,
        assignmentgroupstore: undefined
    },

    constructor: function(config) {
        this.initConfig(config);
        this.callParent([config]);
    },

    initComponent: function() {
        Ext.apply(this, {
            title: 'Todo-list',
            store: this.assignmentgroupstore,
            toolbarExtra: ['->', {
               xtype: 'button',
               scale: 'large',
               iconCls: 'icon-save-32',
               text: 'Download all deliveries',
               listeners: {
                   scope: this,
                   click: this.onDownload
               }
            }],
            listeners: {
                scope: this,
                show: function() {
                    this._loadTodoList();<commit_msg>apps.examiner...AssignmentLayoutTodoList: Adapted for the changes to its superclass.<commit_after>/** Assignment layout TODO-list. Reloads the TODO-list whenever it is shown (on
 * the show-event). */
Ext.define('devilry.examiner.AssignmentLayoutTodoList', {
    extend: 'devilry.extjshelpers.assignmentgroup.AssignmentGroupTodoList',
    alias: 'widget.examiner-assignmentlayout-todolist',

    requires: [
        'devilry.extjshelpers.studentsmanager.StudentsManager',
        'devilry.extjshelpers.assignmentgroup.AssignmentGroupTodoList',
        'devilry.extjshelpers.charts.PointsOfGroupsOnSingleAssignment'
    ],

    /**
     * @cfg
     * Assignment ID to show todo items within (Required).
     */
    assignmentid: undefined,

    initComponent: function() {
        Ext.apply(this, {
            title: 'Todo-list',
            toolbarExtra: ['->', {
               xtype: 'button',
               scale: 'large',
               iconCls: 'icon-save-32',
               text: 'Download all deliveries',
               listeners: {
                   scope: this,
                   click: this.onDownload
               }
            }],
            listeners: {
                scope: this,
                show: function() {
                    this._loadTodoList();
{'fraction_non_alphanumeric': 0.10570662581386442, 'fraction_numerical': 0.0015319800842589046, 'mean_word_length': 1.9447576099210824, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3023740', 'n_tokens_mistral': 719, 'n_tokens_neox': 708, 'n_words': 118}