<commit_before>
/* This is a mixin suite intended to be used by scenes. */
/* eg in your scene, do things like:  */
/* MyScene.prototype.addContent = FCFeedTools.addContent */

/* Content interpreters consume content input and format them into something we can use. */
/* Output format: {
        dest: 
        description:
        descriptionBlocks: (text blocks for description)
        caption: (not used yet)
        title: 
        type: [text|image] *
        src: (for images)
        text: (for text boards)
        textBlocks: (textblocks for text boards)
        meta_orig: stash point for original obect metadata, mainly for debugging
    }
*/


var _looksyplugin = function () {
    return {
        name: 'Looksy',
        detect: function (url) {
            return url.startsWith('http://meta4vr.net') || url.startsWith('http://vr.io.codex.cx') || url.startsWith('/');
        },
        fetch: function (url) {
            
        },
        interpret: function (dat) {
            console.log(dat);
            var boardsDat = [];
            if (dat.groups) {
                for (var i=0; i<dat.groups.length; i++) {<commit_msg>Tweak to looksy plugin detector<commit_after>
/* This is a mixin suite intended to be used by scenes. */
/* eg in your scene, do things like:  */
/* MyScene.prototype.addContent = FCFeedTools.addContent */

/* Content interpreters consume content input and format them into something we can use. */
/* Output format: {
        dest: 
        description:
        descriptionBlocks: (text blocks for description)
        caption: (not used yet)
        title: 
        type: [text|image] *
        src: (for images)
        text: (for text boards)
        textBlocks: (textblocks for text boards)
        meta_orig: stash point for original obect metadata, mainly for debugging
    }
*/


var _looksyplugin = function () {
    return {
        name: 'Looksy',
        detect: function (url) {
            return url.includes('//meta4vr.net/') || url.includes('//looksy.meta4vr.net/') || url.includes('//vr.io.codex.cx/') || url.startsWith('/');
        },
        fetch: function (url) {
            
        },
        interpret: function (dat) {
            console.log(dat);
            var boardsDat = [];
            if (dat.groups) {
                for (var i=0; i<dat.groups.length; i++) {
{'fraction_non_alphanumeric': 0.12281449893390192, 'fraction_numerical': 0.0021321961620469083, 'mean_word_length': 2.034928848641656, 'pattern_counts': {'":': 0, '<': 5, '<?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': '614802', 'n_tokens_mistral': 665, 'n_tokens_neox': 656, 'n_words': 207}