<commit_before>/**
 * Base store
 */
(function() {
    
    Ext.define('HatimeriaAdmin.core.store.BaseStore', {
        extend: 'Ext.data.DirectStore',

        /**
         * Constructor
         * 
         * @param {} cfg
         */
        constructor: function(cfg)
        {
            var config = {
                root: 'records',
                idProperty: 'id',
                remoteSort: true,
                autoLoad: true,
                paramsAsHash: true,
                sorters: [
                    {property: 'name', direction: 'desc'}
                ]
            };
            Ext.apply(config, cfg || {});

            this.callParent([config]);
        },

        /**
         * Applies context-tag
         * 
         * @param [] vars<commit_msg>fix in basestore<commit_after>/**
 * Base store
 */
(function() {
    
    Ext.define('HatimeriaAdmin.core.store.BaseStore', {
        extend: 'Ext.data.DirectStore',

        /**
         * Constructor
         * 
         * @param {} cfg
         */
        constructor: function(cfg)
        {
            var config = {
                root: 'records',
                idProperty: 'id',
                remoteSort: true,
                autoLoad: true,
                paramsAsHash: true
            };
            Ext.apply(config, cfg || {});

            this.callParent([config]);
        },

        /**
         * Applies context-tag
         * 
         * @param [] vars
{'fraction_non_alphanumeric': 0.12781954887218044, 'fraction_numerical': 0.0, 'mean_word_length': 1.0795454545454546, 'pattern_counts': {'":': 0, '<': 3, '<?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': '4928356', 'n_tokens_mistral': 403, 'n_tokens_neox': 379, 'n_words': 68}