<commit_before>/**
* Questions.js
*
* @description :: TODO: You might write a short summary of how this model works and what it represents here.
* @docs        :: http://sailsjs.org/#!documentation/models
*/

module.exports = {

  attributes: {
        text: 'string',
        type: {
            type: 'string', 
            enum: ['email', 'range', 'freetext']
        },
  }
};
<commit_msg>Modify question type to allow the following type: string, text or range<commit_after>/**
* Questions.js
*
* @description :: TODO: You might write a short summary of how this model works and what it represents here.
* @docs        :: http://sailsjs.org/#!documentation/models
*/

module.exports = {

  attributes: {
        text: 'string',
        type: {
            type: 'string', 
            enum: ['string', 'text', 'range']
        },
  }
};

{'fraction_non_alphanumeric': 0.1450653983353151, 'fraction_numerical': 0.0, 'mean_word_length': 2.368, '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': '4862814', 'n_tokens_mistral': 249, 'n_tokens_neox': 242, 'n_words': 77}