<commit_before>// JavaScript Document

// Scripts written by YOURNAME @ YOURCOMPANY

module.exports = {
    // config task, generate configuration file for uploads & BrowserSync and prompt dev for input
    config(gulp, plugins, requested = "") {
        // generate config.json and start other functions
        const generate_config = (file_name, mode = "ftp", callback) => {
            const data_source = {
                bs:   "https://gist.githubusercontent.com/JacobDB/63852a9ad21207ed195aa1fd75bfeeb8/raw/7d011d22bef966f06d0c8b84d50891419738ac8b/.bsconfig",
                ftp:  "https://gist.githubusercontent.com/JacobDB/b41b59c11f10e6b5e4fe5bc4ab40d805/raw/0f408964b8f3c77ed0ae452ab3d2ba2c130e1acd/.ftpconfig",
                sftp: "https://gist.githubusercontent.com/JacobDB/cad97b5c4e947b40e3b54c6022fec887/raw/4829ebdc5d45cea7dce8cc3109a05501b159f992/.ftpconfig",
            };

            if (typeof file_name !== "undefined") {
                return plugins.fs.stat(file_name, (err) => {
                    if (err !== null) {
                        let gist_url  = "";

                        if (file_name === ".bsconfig") {
                            gist_url = data_source.bs;
                        } else if (file_name === ".ftpconfig") {
                            if (mode === "sftp") {
                                gist_url = data_source.sftp;
                            } else {
                                gist_url = data_source.ftp;
                            }
                        }

                        if (gist_url !== "") {
                            plugins.request.get(gist_url, function (error, response, body) {
                                if (!error && response.statusCode == 200) {
                                    const json_data = body;

                                    plugins.fs.writeFile(file_name, json_data, "utf8", () => {<commit_msg>Remove pointless variable<commit_after>// JavaScript Document

// Scripts written by YOURNAME @ YOURCOMPANY

module.exports = {
    // config task, generate configuration file for uploads & BrowserSync and prompt dev for input
    config(gulp, plugins, requested = "") {
        // generate config.json and start other functions
        const generate_config = (file_name, mode = "ftp", callback) => {
            const data_source = {
                bs:   "https://gist.githubusercontent.com/JacobDB/63852a9ad21207ed195aa1fd75bfeeb8/raw/7d011d22bef966f06d0c8b84d50891419738ac8b/.bsconfig",
                ftp:  "https://gist.githubusercontent.com/JacobDB/b41b59c11f10e6b5e4fe5bc4ab40d805/raw/0f408964b8f3c77ed0ae452ab3d2ba2c130e1acd/.ftpconfig",
                sftp: "https://gist.githubusercontent.com/JacobDB/cad97b5c4e947b40e3b54c6022fec887/raw/4829ebdc5d45cea7dce8cc3109a05501b159f992/.ftpconfig",
            };

            if (typeof file_name !== "undefined") {
                return plugins.fs.stat(file_name, (err) => {
                    if (err !== null) {
                        let gist_url  = "";

                        if (file_name === ".bsconfig") {
                            gist_url = data_source.bs;
                        } else if (file_name === ".ftpconfig") {
                            if (mode === "sftp") {
                                gist_url = data_source.sftp;
                            } else {
                                gist_url = data_source.ftp;
                            }
                        }

                        if (gist_url !== "") {
                            plugins.request.get(gist_url, function (error, response, body) {
                                if (!error && response.statusCode == 200) {
                                    plugins.fs.writeFile(file_name, body, "utf8", () => {
{'fraction_non_alphanumeric': 0.10184696569920844, 'fraction_numerical': 0.06965699208443271, 'mean_word_length': 1.5105960264900662, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 5, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1960188', 'n_tokens_mistral': 1290, 'n_tokens_neox': 1106, 'n_words': 181}