<commit_before>const SEMANTIC_ATTRIBUTE_TABLE = {
  POSITION: 'aPosition',
  NORMAL: 'aNormal',
  TEXCOORD: 'aTexCoord',
  TANGENT: 'aTangent',
  COLOR: 'aColor'
};

const MATERIAL_FIELDS = ['emission', 'ambient', 'diffuse', 'specular',
  'reflective', 'transparent'];

function arrayToObject(array, callback) {
  let result = {};
  array.forEach((v, i) => {
    result[v.id || v.name || i] = callback(v);
  });
  return result;
}

export default {
  document(data) {
    let result = {};
    this.flipAxis = data.asset.upAxis !== 'Y_UP';
    console.log(data);
    result.geometries = arrayToObject(data.geometries || [],
      this.process.bind(this, 'geometry'));
    result.materials = arrayToObject(data.materials || [],<commit_msg>Remove console.log<commit_after>const SEMANTIC_ATTRIBUTE_TABLE = {
  POSITION: 'aPosition',
  NORMAL: 'aNormal',
  TEXCOORD: 'aTexCoord',
  TANGENT: 'aTangent',
  COLOR: 'aColor'
};

const MATERIAL_FIELDS = ['emission', 'ambient', 'diffuse', 'specular',
  'reflective', 'transparent'];

function arrayToObject(array, callback) {
  let result = {};
  array.forEach((v, i) => {
    result[v.id || v.name || i] = callback(v);
  });
  return result;
}

export default {
  document(data) {
    let result = {};
    this.flipAxis = data.asset.upAxis !== 'Y_UP';
    result.geometries = arrayToObject(data.geometries || [],
      this.process.bind(this, 'geometry'));
    result.materials = arrayToObject(data.materials || [],
{'fraction_non_alphanumeric': 0.17513736263736263, 'fraction_numerical': 0.0, 'mean_word_length': 4.222222222222222, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3719352', 'n_tokens_mistral': 528, 'n_tokens_neox': 513, 'n_words': 96}