<commit_before>var assert = require('assert');

function getEthers(filename) {
    var ethers = global.ethers
    if (!ethers) { return undefined; }
    console.log('Using global ethers; ' + filename);
    assert.equal(ethers.platform, 'browser', 'platform: ' + ethers.platform + ' != "brwoser"');
    return ethers;
}

module.exports = getEthers;<commit_msg>Type in console.log for tests.<commit_after>var assert = require('assert');

function getEthers(filename) {
    var ethers = global.ethers
    if (!ethers) { return undefined; }
    console.log('Using global ethers; ' + filename);
    assert.equal(ethers.platform, 'browser', 'platform: ' + ethers.platform + ' != "browser"');
    return ethers;
}

module.exports = getEthers;
{'fraction_non_alphanumeric': 0.14965986394557823, 'fraction_numerical': 0.0, 'mean_word_length': 4.294964028776978, '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': '7195426', 'n_tokens_mistral': 229, 'n_tokens_neox': 231, 'n_words': 53}