<commit_before>var Promise = require('promise');

module.exports = Update;

function Update() {
}

Update.updateCount = 0;

Update.exec = function(db, table, stats) {
  return new Promise(function(resolve, reject) {
    Update.updateCount++;
    var requestId = id();
    console.log(requestId, 'update start');
    db.updateItem(makeParams(table, stats), function(err, data) {
      console.log(requestId, 'update stop');
      if (err) {
        console.log(err, err.stack);
        reject(err);
      } else {
        resolve(stats.ids);
      }
    });
  });
};<commit_msg>Remove update log.<commit_after>var Promise = require('promise');

module.exports = Update;

function Update() {
}

Update.updateCount = 0;

Update.exec = function(db, table, stats) {
  return new Promise(function(resolve, reject) {
    Update.updateCount++;
    var requestId = id();
    db.updateItem(makeParams(table, stats), function(err, data) {
      if (err) {
        console.log(err, err.stack);
        reject(err);
      } else {
        resolve(stats.ids);
      }
    });
  });
};
{'fraction_non_alphanumeric': 0.1560747663551402, 'fraction_numerical': 0.001869158878504673, 'mean_word_length': 3.026315789473684, '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': '4958884', 'n_tokens_mistral': 339, 'n_tokens_neox': 336, 'n_words': 72}