<commit_before>/*jshint white: false, node: true, vars: true, indent: 4 */
(function (module, __dirname) {
    "use strict";

    var fs = require("fs"),
        path = require("path"),
        exists = fs.exists || fs.exists;

    function locate(dirs, file, cb, idx) {
        var i = idx || 0;

        if (i >= dirs.length) {
            return cb(new Error("file " + file + " not find in " + dirs));
        }

        var qfile = path.join(dirs[i], file);

        return exists(qfile, function (exists) {
            if (exists) {
                return cb(undefined, qfile);
            }

            return locate(dirs, file, cb, i + 1);
        });
    }

    function clone(obj) {
        if (!obj) {
            return obj;
        }

        if (Array.isArray(obj)) {
            var result = [];

            obj.forEach(function(item){<commit_msg>restoring backwards compatibility for node 0.6<commit_after>/*jshint white: false, node: true, vars: true, indent: 4 */
(function (module, __dirname) {
    "use strict";

    var fs = require("fs"),
        path = require("path"),
        exists = fs.exists || path.exists;

    function locate(dirs, file, cb, idx) {
        var i = idx || 0;

        if (i >= dirs.length) {
            return cb(new Error("file " + file + " not find in " + dirs));
        }

        var qfile = path.join(dirs[i], file);

        return exists(qfile, function (exists) {
            if (exists) {
                return cb(undefined, qfile);
            }

            return locate(dirs, file, cb, i + 1);
        });
    }

    function clone(obj) {
        if (!obj) {
            return obj;
        }

        if (Array.isArray(obj)) {
            var result = [];

            obj.forEach(function(item){
{'fraction_non_alphanumeric': 0.14253265190232822, 'fraction_numerical': 0.004542873367404884, 'mean_word_length': 1.665658093797277, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6904283', 'n_tokens_mistral': 548, 'n_tokens_neox': 522, 'n_words': 148}