<commit_before>/**
 * User
 *
 * @module      :: Model
 * @description :: A short summary of how this model works and what it represents.
 * @docs		:: http://sailsjs.org/#!documentation/models
 */

module.exports = {

  attributes: {
    email: 'STRING',
    name: 'STRING'  	
  	/* e.g.
  	nickname: 'string'
  	*/
    
  }

};
<commit_msg>Add some validation to my model<commit_after>/**
 * User
 *
 * @module      :: Model
 * @description :: A short summary of how this model works and what it represents.
 * @docs		:: http://sailsjs.org/#!documentation/models
 */

module.exports = {

  attributes: {
    email: {
        type: 'email',
        required: true
    }
    name: 'STRING'  	
  	/* e.g.
  	nickname: 'string'
  	*/
    
  }

};

{'fraction_non_alphanumeric': 0.1532258064516129, 'fraction_numerical': 0.0, 'mean_word_length': 2.1974248927038627, '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': '1411172', 'n_tokens_mistral': 259, 'n_tokens_neox': 254, 'n_words': 64}