<commit_before>require('proof')(2, require('cadence')(prove))

function prove (async, okay) {
    var bin = require('..'), io
    var Mock = require('olio/mock')
    var Procedure = require('conduit/procedure')
    var Destructible = require('destructible')
    var destructible = new Destructible('t/mock')
    var UserAgent = require('vizsla')
    var ua = new UserAgent
    async([function  () {
        destructible.completed.wait(async())
    }, function (error) {
        console.log(error.stack)
        throw error
    }])
    async([function () {
        destructible.destroy()
    }], function () {
        io = bin([ '--local', 8386, '--network', 8486, '--discovery', 'mingle/static' ], {}, async())
        var mock = new Mock(io)
        async(function () {
            mock.ready.wait(async())
        }, function () {
            mock.initialize([ 'program', 'self' ], 0)
            mock.sibling([ 'mingle', 'static' ], 1, function (destructible, index, count, callback) {
                destructible.monitor('procedure', Procedure, function () {}, callback)
            })
        })
        async(function () {
            io.ready.wait(async())
        }, function () {
            ua.fetch({
                url: 'http://127.0.0.1:8486/',
                parse: 'text',
                timeout: 1000
            }, async())
        }, function (body) {
            okay(body, 'Compassion Networked API\n', 'network interface')
            ua.fetch({
                url: 'http://127.0.0.1:8386/',<commit_msg>Fix Olio test.<commit_after>require('proof')(2, require('cadence')(prove))

function prove (async, okay) {
    var bin = require('..'), io
    var Mock = require('olio/mock')
    var Procedure = require('conduit/procedure')
    var Destructible = require('destructible')
    var destructible = new Destructible('t/mock')
    var UserAgent = require('vizsla')
    var ua = new UserAgent
    async([function  () {
        destructible.completed.wait(async())
    }, function (error) {
        console.log(error.stack)
        throw error
    }])
    async([function () {
        destructible.destroy()
    }], function () {
        io = bin([ '--local', 8386, '--network', 8486, '--discovery', 'mingle' ], {}, async())
        var mock = new Mock(io)
        async(function () {
            mock.ready.wait(async())
        }, function () {
            mock.initialize('colleague', 0)
            mock.sibling('mingle', 1, function (destructible, index, count, callback) {
                destructible.monitor('procedure', Procedure, function () {}, callback)
            })
        })
        async(function () {
            io.ready.wait(async())
        }, function () {
            ua.fetch({
                url: 'http://127.0.0.1:8486/',
                parse: 'text',
                timeout: 1000
            }, async())
        }, function (body) {
            okay(body, 'Compassion Networked API\n', 'network interface')
            ua.fetch({
                url: 'http://127.0.0.1:8386/',
{'fraction_non_alphanumeric': 0.16578599735799207, 'fraction_numerical': 0.023117569352708058, 'mean_word_length': 1.9842364532019705, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '7647219', 'n_tokens_mistral': 936, 'n_tokens_neox': 864, 'n_words': 187}