<commit_before>define(function() {

  'use strict';
  
  return function(item) {
    return item.getBytes().then(function(bytes) {
      if (bytes.data.length !== 10) {
        return Promise.reject('SIZE: expected length 10, got ' + bytes.length);
      }
      var dv = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
      item.setDataObject({
        flags: dv.getUint16(0, false),
        preferredMemorySize: dv.getUint32(2, false),
        minimumMemorySize: dv.getUint32(6, false),
      });
    });
  }

});<commit_msg>bytes.data should just be bytes<commit_after>define(function() {

  'use strict';
  
  return function(item) {
    return item.getBytes().then(function(bytes) {
      if (bytes.length !== 10) {
        return Promise.reject('SIZE: expected length 10, got ' + bytes.length);
      }
      var dv = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
      item.setDataObject({
        flags: dv.getUint16(0, false),
        preferredMemorySize: dv.getUint32(2, false),
        minimumMemorySize: dv.getUint32(6, false),
      });
    });
  }

});
{'fraction_non_alphanumeric': 0.14532243415077203, 'fraction_numerical': 0.023614895549500452, 'mean_word_length': 2.893992932862191, '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': '4302266', 'n_tokens_mistral': 359, 'n_tokens_neox': 344, 'n_words': 70}