<commit_before>

// Patches to the meta system

// #ToBeRemoved after https://github.com/LivelyKernel/lively.ast/issues/7 is fixed

if (window.lively) {
  
  lively.ast.parseFunction =  function parseFunction(source, options) {
      var src = '(' + source + ')',
          ast = lively.ast.parse(src, options);
      // /*if (options.addSource) */addSource(ast, src);
      return ast.body[0].expression;
    }

}  <commit_msg>wip: hunting down local test run issue... need to see travis<commit_after>

// Patches to the meta system

// #ToBeRemoved after https://github.com/LivelyKernel/lively.ast/issues/7 is fixed

if(typeof lively !== 'undefined') {
  lively.ast.parseFunction =  function parseFunction(source, options) {
    var src = '(' + source + ')',
      ast = lively.ast.parse(src, options);
    // /*if (options.addSource) */addSource(ast, src);
    return ast.body[0].expression;
  }
}

{'fraction_non_alphanumeric': 0.15316315205327413, 'fraction_numerical': 0.004439511653718091, 'mean_word_length': 3.1376146788990824, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '3910451', 'n_tokens_mistral': 298, 'n_tokens_neox': 294, 'n_words': 69}