<commit_before>setLabels = function () {
  // name Session.prototype.send
  var originalSend = MeteorX.Session.prototype.send;
  MeteorX.Session.prototype.send = function kadira_Session_send (msg) {
    return originalSend.call(this, msg);
  }

  // name mongodb.Connection.createDataHandler
  var mongodb = MongoInternals.NpmModule;
  var originalCreateDataHandler = mongodb.Connection.createDataHandler;
  mongodb.Connection.createDataHandler = function (self) {
    var originalHandler = originalCreateDataHandler.call(this, self);
    return function kadira_MongoDB_dataHandler (data) {
      return originalHandler.call(this, data);
    }
  }

  // name Multiplexer initial adds
  var originalSendAdds = MeteorX.Multiplexer.prototype._sendAdds;
  MeteorX.Multiplexer.prototype._sendAdds = function kadira_Multiplexer_sendAdds (handle) {
    return originalSendAdds.call(this, handle);
  }

  // name MongoConnection insert
  var originalMongoInsert = MeteorX.MongoConnection.prototype._insert;
  MeteorX.MongoConnection.prototype._insert = function kadira_MongoConnection_insert (coll, doc, cb) {
    return originalMongoInsert.call(this, coll, doc, cb);
  }

  // name MongoConnection update
  var originalMongoUpdate = MeteorX.MongoConnection.prototype._update;<commit_msg>Fix potential crash issue due to CPU labeling.<commit_after>setLabels = function () {
  // name Session.prototype.send
  var originalSend = MeteorX.Session.prototype.send;
  MeteorX.Session.prototype.send = function kadira_Session_send (msg) {
    return originalSend.call(this, msg);
  }

  // name mongodb.Connection.createDataHandler
  var mongodb = MongoInternals.NpmModule;
  // Sometimes, createDataHandler is not there. In that case, we don't need
  // to crash the app.
  if (mongodb.Connection.createDataHandler) {
    var originalCreateDataHandler = mongodb.Connection.createDataHandler;
    mongodb.Connection.createDataHandler = function (self) {
      var originalHandler = originalCreateDataHandler.call(this, self);
      return function kadira_MongoDB_dataHandler (data) {
        return originalHandler.call(this, data);
      }
    }
  }

  // name Multiplexer initial adds
  var originalSendAdds = MeteorX.Multiplexer.prototype._sendAdds;
  MeteorX.Multiplexer.prototype._sendAdds = function kadira_Multiplexer_sendAdds (handle) {
    return originalSendAdds.call(this, handle);
  }

  // name MongoConnection insert
  var originalMongoInsert = MeteorX.MongoConnection.prototype._insert;
  MeteorX.MongoConnection.prototype._insert = function kadira_MongoConnection_insert (coll, doc, cb) {
    return originalMongoInsert.call(this, coll, doc, cb);
  }

  // name MongoConnection update
  var originalMongoUpdate = MeteorX.MongoConnection.prototype._update;
{'fraction_non_alphanumeric': 0.08780841799709724, 'fraction_numerical': 0.0, 'mean_word_length': 4.558467741935484, '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': '1746257', 'n_tokens_mistral': 854, 'n_tokens_neox': 797, 'n_words': 169}