<commit_before>Ext.namespace("GeoNode");
GeoNode.UserSelector = Ext.extend(Ext.util.Observable, {
    constructor: function(config) {
        Ext.apply(this, config);
        this.initUserStore();
        this.panel = this.doLayout();
    },

    initUserStore: function() {
        if (!this.userstore) {
            var cfg = {
                proxy: new Ext.data.HttpProxy({ url: this.userLookup, method: 'POST' }),
                reader: new Ext.data.JsonReader({
                    root: 'users',
                    totalProperty: 'count',
                    fields: [{name: 'username'}]
                })
            };
            Ext.apply(cfg, this.availableUserConfig || {});
            this.userstore = new Ext.data.Store(cfg);
            this.userstore.load({params: {query: ''}});
        }

        if (!this.store) {
            this.store = new Ext.data.ArrayStore({
                idIndex: 0,
                fields: ['username'],
                data: [],
            });<commit_msg>Fix syntax error in UserSelector widget<commit_after>Ext.namespace("GeoNode");
GeoNode.UserSelector = Ext.extend(Ext.util.Observable, {
    constructor: function(config) {
        Ext.apply(this, config);
        this.initUserStore();
        this.panel = this.doLayout();
    },

    initUserStore: function() {
        if (!this.userstore) {
            var cfg = {
                proxy: new Ext.data.HttpProxy({ url: this.userLookup, method: 'POST' }),
                reader: new Ext.data.JsonReader({
                    root: 'users',
                    totalProperty: 'count',
                    fields: [{name: 'username'}]
                })
            };
            Ext.apply(cfg, this.availableUserConfig || {});
            this.userstore = new Ext.data.Store(cfg);
            this.userstore.load({params: {query: ''}});
        }

        if (!this.store) {
            this.store = new Ext.data.ArrayStore({
                idIndex: 0,
                fields: ['username'],
                data: []
            });
{'fraction_non_alphanumeric': 0.14145863925599608, 'fraction_numerical': 0.0009789525208027412, 'mean_word_length': 1.5486284289276808, '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': '4617405', 'n_tokens_mistral': 567, 'n_tokens_neox': 544, 'n_words': 105}