<commit_before>SimpleSchema.extendOptions({
    popoverText: Match.Optional(String),
    forceRequiredSymbol: Match.Optional(Boolean),
    typeaheadMethod: Match.Optional(String),
    placeholderText: Match.Optional(String),
    textAreaRows: Match.Optional(Match.Integer),
});


_.extend(String.prototype, {
    printf: function(){
        // http://stackoverflow.com/questions/610406/
        var args = arguments;
        return this.replace(/{(\d+)}/g, function(match, number){
            return typeof args[number] !== 'undefined' ? args[number] : match;
        });
    },
    escapeRegex: function() {
        // http://stackoverflow.com/questions/3561493/
        return this.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&');
    }
});


tblBuilderCollections = {
    attachSchema: function(Coll, spec){
        Coll.attachSchema(new SimpleSchema(spec));
    },
    base: {
        timestamp: {
            type: Date,
            optional: true,
            denyUpdate: true
        },
        user_id: {
            type: SimpleSchema.RegEx.Id,
            denyUpdate: true,
            optional: true
        }
    },
    table: {
        tbl_id: {
            type: SimpleSchema.RegEx.Id
        },
        isHidden: {
            type: Boolean,
            optional: true
        },<commit_msg>revise timestamp names in schema<commit_after>SimpleSchema.extendOptions({
    popoverText: Match.Optional(String),
    forceRequiredSymbol: Match.Optional(Boolean),
    typeaheadMethod: Match.Optional(String),
    placeholderText: Match.Optional(String),
    textAreaRows: Match.Optional(Match.Integer),
});


_.extend(String.prototype, {
    printf: function(){
        // http://stackoverflow.com/questions/610406/
        var args = arguments;
        return this.replace(/{(\d+)}/g, function(match, number){
            return typeof args[number] !== 'undefined' ? args[number] : match;
        });
    },
    escapeRegex: function() {
        // http://stackoverflow.com/questions/3561493/
        return this.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&');
    }
});


tblBuilderCollections = {
    attachSchema: function(Coll, spec){
        Coll.attachSchema(new SimpleSchema(spec));
    },
    base: {
        created: {
            type: Date,
            optional: true,
            denyUpdate: true
        },
        lastUpdated: {
            type: Date,
            optional: true,
            denyUpdate: true
        },
        user_id: {
            type: SimpleSchema.RegEx.Id,
            denyUpdate: true,
            optional: true
        }
    },
    table: {
        tbl_id: {
            type: SimpleSchema.RegEx.Id
        },
        isHidden: {
            type: Boolean,
            optional: true
        },
{'fraction_non_alphanumeric': 0.14374542794440381, 'fraction_numerical': 0.009509875640087784, 'mean_word_length': 1.915778251599147, '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': '2459455', 'n_tokens_mistral': 797, 'n_tokens_neox': 771, 'n_words': 137}