<commit_before>const fs = require("fs");

const files = new Map([
  ["node_modules/three/examples/jsm/loaders/GLTFLoader.js", "loader/_GLTFLoader.js"],
  ["node_modules/three/examples/jsm/loaders/DRACOLoader.js", "loader/_DRACOLoader.js"],
]);

for (const [source, destination] of files) {
  fs.copyFileSync(source, destination);
  const data = fs.readFileSync(destination, "utf-8");
  const newValue = data.replace("../../../build/three.module.js", "../../../three/src/Three.js");
  fs.writeFileSync(destination, newValue, "utf-8");
}<commit_msg>change copyLoaderExamples paths<commit_after>const fs = require("fs");

const files = new Map([
  ["node_modules/three/examples/jsm/loaders/GLTFLoader.js", "./loader/_GLTFLoader.js"],
  ["node_modules/three/examples/jsm/loaders/DRACOLoader.js", "./loader/_DRACOLoader.js"],
]);

for (const [source, destination] of files) {
  fs.copyFileSync(source, destination);
  const data = fs.readFileSync(destination, "utf-8");
  const newValue = data.replace("../../../build/three.module.js", "../../../three/src/Three.js");
  fs.writeFileSync(destination, newValue, "utf-8");
}
{'fraction_non_alphanumeric': 0.2025089605734767, 'fraction_numerical': 0.0035842293906810036, 'mean_word_length': 4.613065326633166, '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': '6523111', 'n_tokens_mistral': 392, 'n_tokens_neox': 387, 'n_words': 62}