<commit_before>tetra.model.register('popin', {
    scope:'popin',

    req:{
        fetch:{
            url:'{0}',
            uriParams:['url'],
            parser:function (resp, col, cond) {
                col[cond.uriParams.url] = {
                    id:cond.uriParams.url,
                    html:resp.toString()
                };
                return col;
            }
        }
    },

    attr:{
        html:'',
        url:''
    },

    methods:function (attr) {
        return {
            validate:function (attr, errors) {
                return errors;
            },
            getAttr:function () {
                return attr;
            }
        };<commit_msg>Update popin.class.js<commit_after>tetra.model.register('popin', {
    scope:'popin',

    req:{
        fetch:{
            url:'{0}',
            uriParams:['url'],
            parser:function (resp, col, cond) {
                col[cond.uriParams.url] = {
                    id:cond.uriParams.url,
                    html:resp.toString(),
                    timestamp:cond.timestamp
                };
                return col;
            }
        }
    },

    attr:{
        html:'',
        url:'',
        timestamp:''
    },

    methods:function (attr) {
        return {
            validate:function (attr, errors) {
                return errors;
            },
            getAttr:function () {
                return attr;
            }
        };
{'fraction_non_alphanumeric': 0.12808219178082192, 'fraction_numerical': 0.0013698630136986301, 'mean_word_length': 1.0263522884882108, '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': '2360144', 'n_tokens_mistral': 400, 'n_tokens_neox': 376, 'n_words': 61}