<commit_before>var path = require('path')
  , buildtype = process.env.BUILDTYPE || 'Release'
  ;


function product(type) { 
  if (type === 'Coverage') {
    return path.join('..', 'dns_sd_bindings') 
  }
  return path.join('..', 'out', type, 'dns_sd_bindings') 
}

try {
  module.exports = require(product(buildtype));
} catch (ex) {
  if (! ex.code) {
    if (/not find/.test(ex)) {
      ex.code = MODULE_NOT_FOUND;
    }
  }
  if (ex.code === 'MODULE_NOT_FOUND') {
    module.exports = require(product('Release'));
    console.warn('dns_sd: failed to load requested ', buildtype, " build. using Release instead.");<commit_msg>fixed binding helper for node v0.4.x<commit_after>var path = require('path')
  , buildtype = process.env.BUILDTYPE || 'Release'
  ;


function product(type) { 
  if (type === 'Coverage') {
    return path.join('..', 'dns_sd_bindings') 
  }
  return path.join('..', 'out', type, 'dns_sd_bindings') 
}

try {
  module.exports = require(product(buildtype));
} catch (ex) {
  if (! ex.code) {
    if (/not find/.test(ex)) {
      ex.code = 'MODULE_NOT_FOUND';
    }
  }
  if (ex.code === 'MODULE_NOT_FOUND') {
    module.exports = require(product('Release'));
    console.warn('dns_sd: failed to load requested ', buildtype, " build. using Release instead.");
{'fraction_non_alphanumeric': 0.1821011673151751, 'fraction_numerical': 0.0015564202334630351, 'mean_word_length': 3.4965034965034967, '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': '1720751', 'n_tokens_mistral': 460, 'n_tokens_neox': 450, 'n_words': 96}