<commit_before>var EventEmitter = require('events'),
    controller = new EventEmitter();

controller.limitConcurrency = function(fn) {
    return fn
}

var sinon = require('sinon'),
    expect = require('chai').expect,
    Q = require('q');

var af = require('../lib/components/af'),
    Device  = require('../lib/model/device'),
    Endpoint  = require('../lib/model/endpoint'),
    Coord  = require('../lib/model/coord'),
    Coordpoint  = require('../lib/model/coordpoint');

var remoteDev = new Device({
    type: 1,
    ieeeAddr: '0x123456789ABCDEF',
    nwkAddr: 100,
    status: 2,
    joinTime: 1468293176128,
    manufId: 10,
    epList: [ 1, 2 ],<commit_msg>better mock<commit_after>var EventEmitter = require('events'),
    controller = new EventEmitter();

controller.limitConcurrency = function(fn) {
    return fn
}
controller._indirect_send = function(addr, fn){
    fn()
    return {done: function(){}}
}
var sinon = require('sinon'),
    expect = require('chai').expect,
    Q = require('q');

var af = require('../lib/components/af'),
    Device  = require('../lib/model/device'),
    Endpoint  = require('../lib/model/endpoint'),
    Coord  = require('../lib/model/coord'),
    Coordpoint  = require('../lib/model/coordpoint');

var remoteDev = new Device({
    type: 1,
    ieeeAddr: '0x123456789ABCDEF',
    nwkAddr: 100,
    status: 2,
    joinTime: 1468293176128,
    manufId: 10,
    epList: [ 1, 2 ],
{'fraction_non_alphanumeric': 0.17251051893408134, 'fraction_numerical': 0.04488078541374474, 'mean_word_length': 3.285285285285285, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5032379', 'n_tokens_mistral': 521, 'n_tokens_neox': 467, 'n_words': 102}