<commit_before>/**
 * Add the collection
 */
_.extend(Users, {
  /**
   * Add the collection
   * @type {Meteor}
   */
  collection:  Meteor.users
});<commit_msg>Added get/getProfile to users model<commit_after>/**
 * Add the collection
 */
_.extend(Users, {
  /**
   * Add the collection
   * @type {Meteor}
   */
  collection:  Meteor.users,


  /**
   * Fetch a user account
   */
  get: function(id, callback) {
    return Users.collection.findOne({_id: id}, {}, callback);
  },

  /**
   * Fetch a user account
   */
  getProfile: function(id, callback) {
    return Users.get(id, callback).profile;
  }
});
{'fraction_non_alphanumeric': 0.1650326797385621, 'fraction_numerical': 0.0, 'mean_word_length': 2.7607361963190185, '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': '3926793', 'n_tokens_mistral': 214, 'n_tokens_neox': 206, 'n_words': 49}