<commit_before>(function () {
    'use strict';

    var randomValue = require('../utils').randomValue;

    module.exports = {
        theme: {
            name: "casper",
            custom: {}
        },
        view: {
            pretty: false,  // true for pretty HTML formatting
            debug: false   // true for view engine console debug
        },
        app: {
            httpCompression: true,

            // Default metadata does not have default values
            metaTitle: null,
            metaDescription: null,

            title: "Panda",
            description: "Yet another blogging platform.",

            /*
             * Post meta title format. Available tokens:
             * :blogtitle - substituted with the blog's title (app:title)
             * :posttitle - substituted with the post's title
             * :authorname - substituted with the post's author name
             */
            postMetaTitleFormat: ":blogtitle | :posttitle",

            // Number of posts per page
            postsPerPage: 6,

            /*
             * Post URL format. Available tokens:
             * :year - substitued with the post's publication year (four digits e.g. 2012, 2013 etc.)
             * :month - substitued with the post's publication month (two digits 01 - January, 02 - February etc.)
             * :day - substitued with the post's publication month's day (two digits)
             * :slug' - substitued with the post's slug
             * :id - substitued with the post's id
             */
            //postPermalink
            postUrl: "/:year/:month/:day/:slug.html",

            /*
             * Post URL format. Available tokens:
             * :year - substitued with the post's publication year (four digits e.g. 2012, 2013 etc.)
             * :month - substitued with the post's publication month (two digits 01 - January, 02 - February etc.)
             * :day - substitued with the post's publication month's day (two digits)
             * :slug' - substitued with the post's slug
             * :id - substitued with the post's id
             */
            // pagePermalink
            pageUrl: "/:slug",

            /*
             * Search by label URL format. Available tokens:
             * :label - substitued with the current label
             */
            labelUrl: "/search/label/:label",

            /*
             * Pagination URL format. Available tokens:
             * - :page - substituted with pagination number
             */
            paginationUrl: "/page/:page",

            /*
             * Copyright content. Available tokens:
             * - :title - substituted with the blog title (app:title)
             * - :year - substituted with the current year
             * - :url - substituted with the blog URL (url)
             */
            copyright: "All content copyright :title &copy; :year &bull; All rights reserved.",

            /*
             * Static content cache in milliseconds
             */
            staticCacheAge: 0,

            // Feeds configuration
            feeds: {
                // RSS feed configuration
                rss: {
                    // Number of posts per page
                    postsPerPage: 25
                },
                // Atom feed configuration
                atom: {
                    // Number of posts per page
                    postsPerPage: 25
                }
            },

            robots: {
                disallow: ['/search', '/admin'],
                allow: ['/']
            },

            // True if access to application should be restricted by IP
            restrictByIp: false,

            // Array of disallowed ips (e.g. ["127.0.0.1"]); access from ips in the list will NOT have access to the site
            disallowedIps: []
        },
        admin: {
            // Default admin theme
            theme: 'default',

            // Admin console session span length in format [d.]hh:mm:ss[.ms]
            sessionCookieMaxAge: '00:30:00',

            // Enable / disable admin and API
            enable: true,

            sessionSecret: process.env.SESSION_SECRET || randomValue(32),

            // Settings for automated teaser generation
            teaser: {
                // Enable automated teaser generation
                enable: true,

                // Teaser generation options
                // - words - number of words,
                // - characters - number of characters
                // - append - text to append if reducing size
                options: {
                    words: 50
                }
            },

            // True if access to Admin console should be restricted by IP
            restrictByIp: false,

            // Array of allowed ips (e.g. ["127.0.0.1"]); access from ips in the list will have access to Admin console
            allowedIps: [],

            images: {
                // Available types: azure, disk
                type: 'disk'

            }
        },
        cache: {
            posts: {
                enable: false,          // enable / disable cache - cache is disabled as default
                options: {
                    max: 100,           // maximum number of items in cache - defaulted to 100 items
                    maxAge: 1000*60     // expiration time (in milliseconds) - defaulted to 60 seconds
                }
            }
        },
        url: process.env.APP_URL || "http://127.0.0.1:" + (process.env.PORT || 3000),
        server: {
            host: "127.0.0.1",
            port: process.env.PORT || 3000
        },
        database: {
            type: "memory",
            postsFile: 'posts.json',
            redirectsFile: 'redirects.json',
            usersFile: 'users.json',
            connection: {
                uri: process.env.MONGODB_URL || process.env.MONGOLAB_URI || process.env.MONGOHQ_URL
            }
        }
    };

})();<commit_msg>Plugins default configuration added<commit_after>(function () {
    'use strict';

    var randomValue = require('../utils').randomValue;

    module.exports = {
        theme: {
            name: "casper",
            custom: {}
        },
        view: {
            pretty: false,  // true for pretty HTML formatting
            debug: false    // true for view engine console debug
        },
        plugins: {
            enabled: [],
            teaser: {
                enable: true,       // true for automated teaser generation
                characters: 40,     // teaser length in characters
                append: "..."       // text to append to trimmed teaser
            }
        },
        app: {
            httpCompression: true,

            // Default metadata does not have default values
            metaTitle: null,
            metaDescription: null,

            title: "Panda",
            description: "Yet another blogging platform.",

            /*
             * Post meta title format. Available tokens:
             * :blogtitle - substituted with the blog's title (app:title)
             * :posttitle - substituted with the post's title
             * :authorname - substituted with the post's author name
             */
            postMetaTitleFormat: ":blogtitle | :posttitle",

            // Number of posts per page
            postsPerPage: 6,

            /*
             * Post URL format. Available tokens:
             * :year - substitued with the post's publication year (four digits e.g. 2012, 2013 etc.)
             * :month - substitued with the post's publication month (two digits 01 - January, 02 - February etc.)
             * :day - substitued with the post's publication month's day (two digits)
             * :slug' - substitued with the post's slug
             * :id - substitued with the post's id
             */
            //postPermalink
            postUrl: "/:year/:month/:day/:slug.html",

            /*
             * Post URL format. Available tokens:
             * :year - substitued with the post's publication year (four digits e.g. 2012, 2013 etc.)
             * :month - substitued with the post's publication month (two digits 01 - January, 02 - February etc.)
             * :day - substitued with the post's publication month's day (two digits)
             * :slug' - substitued with the post's slug
             * :id - substitued with the post's id
             */
            // pagePermalink
            pageUrl: "/:slug",

            /*
             * Search by label URL format. Available tokens:
             * :label - substitued with the current label
             */
            labelUrl: "/search/label/:label",

            /*
             * Pagination URL format. Available tokens:
             * - :page - substituted with pagination number
             */
            paginationUrl: "/page/:page",

            /*
             * Copyright content. Available tokens:
             * - :title - substituted with the blog title (app:title)
             * - :year - substituted with the current year
             * - :url - substituted with the blog URL (url)
             */
            copyright: "All content copyright :title &copy; :year &bull; All rights reserved.",

            /*
             * Static content cache in milliseconds
             */
            staticCacheAge: 0,

            // Feeds configuration
            feeds: {
                // RSS feed configuration
                rss: {
                    // Number of posts per page
                    postsPerPage: 25
                },
                // Atom feed configuration
                atom: {
                    // Number of posts per page
                    postsPerPage: 25
                }
            },

            robots: {
                disallow: ['/search', '/admin'],
                allow: ['/']
            },

            // True if access to application should be restricted by IP
            restrictByIp: false,

            // Array of disallowed ips (e.g. ["127.0.0.1"]); access from ips in the list will NOT have access to the site
            disallowedIps: []
        },
        admin: {
            // Default admin theme
            theme: 'default',

            // Admin console session span length in format [d.]hh:mm:ss[.ms]
            sessionCookieMaxAge: '00:30:00',

            // Enable / disable admin and API
            enable: true,

            sessionSecret: process.env.SESSION_SECRET || randomValue(32),

            // Settings for automated teaser generation
            teaser: {
                // Enable automated teaser generation
                enable: true,

                // Teaser generation options
                // - words - number of words,
                // - characters - number of characters
                // - append - text to append if reducing size
                options: {
                    words: 50
                }
            },

            // True if access to Admin console should be restricted by IP
            restrictByIp: false,

            // Array of allowed ips (e.g. ["127.0.0.1"]); access from ips in the list will have access to Admin console
            allowedIps: [],

            images: {
                // Available types: azure, disk
                type: 'disk'

            }
        },
        cache: {
            posts: {
                enable: false,          // enable / disable cache - cache is disabled as default
                options: {
                    max: 100,           // maximum number of items in cache - defaulted to 100 items
                    maxAge: 1000*60     // expiration time (in milliseconds) - defaulted to 60 seconds
                }
            }
        },
        url: process.env.APP_URL || "http://127.0.0.1:" + (process.env.PORT || 3000),
        server: {
            host: "127.0.0.1",
            port: process.env.PORT || 3000
        },
        database: {
            type: "memory",
            postsFile: 'posts.json',
            redirectsFile: 'redirects.json',
            usersFile: 'users.json',
            connection: {
                uri: process.env.MONGODB_URL || process.env.MONGOLAB_URI || process.env.MONGOHQ_URL
            }
        }
    };

})();
{'fraction_non_alphanumeric': 0.09330513300252176, 'fraction_numerical': 0.014154396811193362, 'mean_word_length': 1.2320261437908497, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 8, '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': '4126685', 'n_tokens_mistral': 3185, 'n_tokens_neox': 2845, 'n_words': 1000}