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

function prove (async, assert) {
    var Uptime = require('../uptime')

    var cadence = require('cadence')

    var Vizsla = require('vizsla')
    var Transport = require('vizsla/mock')

    var Dispatcher = require('inlet/dispatcher')

    var Service = function Service () {
        var dispatcher = new Dispatcher(this)
        dispatcher.dispatch('GET /discover', 'discover')
        dispatcher.dispatch('GET /health', 'health')
        this.dispatcher = dispatcher
    }

    Service.prototype.discover = cadence(function (async) {
        return [ [ '127.0.0.1:8888' ] ]
    })

    Service.prototype.health = cadence(function (async) {
        return { instanceId: 'copacetic' }
    })

    var service = new Service

    var transport = new Transport(service.dispatcher.createWrappedDispatcher())
    var ua = new Vizsla({ transport: transport })

    var uptime

    async(function () {<commit_msg>Fix test broken by Vizsla changes.<commit_after>require('proof')(5, require('cadence')(prove))

function prove (async, assert) {
    var Uptime = require('../uptime')

    var cadence = require('cadence')

    var Vizsla = require('vizsla')

    var Dispatcher = require('inlet/dispatcher')

    var Service = function Service () {
        var dispatcher = new Dispatcher(this)
        dispatcher.dispatch('GET /discover', 'discover')
        dispatcher.dispatch('GET /health', 'health')
        this.dispatcher = dispatcher
    }

    Service.prototype.discover = cadence(function (async) {
        return [ [ '127.0.0.1:8888' ] ]
    })

    Service.prototype.health = cadence(function (async) {
        return { instanceId: 'copacetic' }
    })

    var service = new Service

    var ua = new Vizsla(service.dispatcher.createWrappedDispatcher())

    var uptime

    async(function () {
{'fraction_non_alphanumeric': 0.1326530612244898, 'fraction_numerical': 0.011815252416756176, 'mean_word_length': 3.067685589519651, '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': '6013814', 'n_tokens_mistral': 599, 'n_tokens_neox': 554, 'n_words': 126}