<commit_before>const mongoose = require('mongoose');
var bcrypt = require('bcrypt-nodejs');
mongoose.Promise = require('bluebird');

const UserSchema = new mongoose.Schema(***REMOVED***
  username: ***REMOVED***
     type: String,
     unique: true,
     required: true
   ***REMOVED***,
   password: ***<PASSWORD>***
     type: String,
     required: true
   ***REMOVED***,
   name: ***REMOVED***
     type: String,
     required: true,
     default: 'John Doe' //probs best to remove this in production
   ***REMOVED***
   role: ***REMOVED***
     type: String,
     required: true,
     default: 'user'
   ***REMOVED***<commit_msg>Fleshing out users more<commit_after>const mongoose = require('mongoose');
var bcrypt = require('bcrypt-nodejs');
mongoose.Promise = require('bluebird');

const UserSchema = new mongoose.Schema(***REMOVED***
  username: ***REMOVED***
     type: String,
     unique: true,
     required: true
   ***REMOVED***,
   password: ***<PASSWORD>***
     type: String,
     required: true
   ***REMOVED***,
   name: ***REMOVED***
     type: String,
     required: true,
     default: 'John Doe' //probs best to remove this in production
   ***REMOVED***,
   role: ***REMOVED***
     type: String,
     required: true,
     default: 'user'
   ***REMOVED***
{'fraction_non_alphanumeric': 0.17591868647380765, 'fraction_numerical': 0.0, 'mean_word_length': 3.4755244755244754, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '7340833', 'n_tokens_mistral': 411, 'n_tokens_neox': 416, 'n_words': 110}