<commit_before><script src="https://rawgit.com/AssemblyScript/binaryen.js/master/index.js"></script>
<script>
var libm;
// fetch("../compiler/std/libm.optimized.wat") // doesn't work: too large?
// .then(str => Binaryen.parseText(str))
// .then(module => module.emitBinary())
fetch("libm.wasm")
.then(res => res.arrayBuffer())
.then(buf => WebAssembly.instantiate(buf, {}))
.then(module => {
  libm = module.instance.exports;
  Object.keys(libm).forEach(key => {
    var val = libm[key];
    if (typeof val === "function") {
      console.log("libm." + key + "(...)");
    } else {
      console.log("libm." + key + " = " + val);
    }
  });
})
.catch(err => { throw err; });
</script>
<commit_msg>Replace RawGit with jsDelivr (#366)<commit_after><script src="https://cdn.jsdelivr.net/gh/AssemblyScript/binaryen.js/index.js"></script>
<script>
var libm;
// fetch("../compiler/std/libm.optimized.wat") // doesn't work: too large?
// .then(str => Binaryen.parseText(str))
// .then(module => module.emitBinary())
fetch("libm.wasm")
.then(res => res.arrayBuffer())
.then(buf => WebAssembly.instantiate(buf, {}))
.then(module => {
  libm = module.instance.exports;
  Object.keys(libm).forEach(key => {
    var val = libm[key];
    if (typeof val === "function") {
      console.log("libm." + key + "(...)");
    } else {
      console.log("libm." + key + " = " + val);
    }
  });
})
.catch(err => { throw err; });
</script>

{'fraction_non_alphanumeric': 0.23380281690140844, 'fraction_numerical': 0.002112676056338028, 'mean_word_length': 3.4685534591194966, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 25, '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': '1845602', 'n_tokens_mistral': 520, 'n_tokens_neox': 505, 'n_words': 84}