<commit_before>require('proof')(1, prove)

function prove (okay, callback) {
    var Destructible = require('destructible')
    var destructible = new Destructible('t/olio.t')

    var Mock = require('olio/mock')

    destructible.completed.wait(callback)

    var cadence = require('cadence')

    var path = require('path')

    cadence(function (async) {
        async(function () {
            destructible.durable('mock', Mock, {
                socket: path.join(__dirname, 'socket'),
                children: {
                    compassion: {
                        path: path.resolve(__dirname, '../olio.js'),
                        workers: 1,
                        properties: {}
                    },
                    child: {
                        path: path.resolve(__dirname, './child.js'),
                        workers: 1,
                        properties: {}
                    },
                    mingle: {
                        module: 'mingle/olio',
                        workers: 1,
                        properties: {
                            module: 'mingle.static',
                            format: 'http://%s:%d/',
                            addresses: [ '127.0.0.1:8486' ]
                        }
                    }
                }
            }, async())<commit_msg>Fix unit test broken by Olio upgrade.<commit_after>require('proof')(1, prove)

function prove (okay, callback) {
    var Destructible = require('destructible')
    var destructible = new Destructible('t/olio.t')

    var Mock = require('olio/mock')

    destructible.completed.wait(callback)

    var cadence = require('cadence')

    var path = require('path')

    cadence(function (async) {
        async(function () {
            destructible.durable('mock', Mock, {
                socket: path.join(__dirname, 'socket'),
                constituents: {
                    compassion: {
                        path: path.resolve(__dirname, '../olio.js'),
                        workers: 1,
                        properties: {}
                    },
                    child: {
                        path: path.resolve(__dirname, './child.js'),
                        workers: 1,
                        properties: {}
                    },
                    mingle: {
                        module: 'mingle/olio',
                        workers: 1,
                        properties: {
                            module: 'mingle.static',
                            format: 'http://%s:%d/',
                            addresses: [ '127.0.0.1:8486' ]
                        }
                    }
                }
            }, async())
{'fraction_non_alphanumeric': 0.11609792284866469, 'fraction_numerical': 0.010385756676557863, 'mean_word_length': 1.015695067264574, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '955299', 'n_tokens_mistral': 685, 'n_tokens_neox': 621, 'n_words': 123}