<commit_before>var db = require('../models/db');

db.User
  .build({
    username: 'johndoe',
    email: '<EMAIL>',
    name: '<NAME>',
    password: 'password',
  })
  .digest()
  .genApiKey()
  .save()
  .success(function(user){
    console.log('user =>' + user.username + ' stored');
  })
  .error(function(err){
    console.log('error ====>', err);
  })

db.User
  .build({
    username: 'janedoe',
    email: '<EMAIL>',
    name: '<NAME>',
    password: 'password',
  })
  .digest()
  .genApiKey()
  .save()
  .success(function(user){
    console.log('user =>' + user.username + ' stored');
  })
  .error(function(err){
    console.log('error ====>', err);
  })<commit_msg>Add password confirmation to user seeds.<commit_after>var db = require('../models/db');

db.User
  .build({
    username: 'johndoe',
    email: '<EMAIL>',
    name: '<NAME>',
    password: 'password',
    passwordConfirmation: 'password'
  })
  .confirmPassword()
  .digest()
  .genApiKey()
  .save()
  .success(function(user){
    console.log('user =>' + user.username + ' stored');
  })
  .error(function(err){
    console.log('error ====>', err);
  })

db.User
  .build({
    username: 'janedoe',
    email: '<EMAIL>',
    name: '<NAME>',
    password: 'password',
    passwordConfirmation: 'password'
  })
  .confirmPassword()
  .digest()
  .genApiKey()
  .save()
  .success(function(user){
    console.log('user =>' + user.username + ' stored');
  })
  .error(function(err){
    console.log('error ====>', err);
  })
{'fraction_non_alphanumeric': 0.22348232154769845, 'fraction_numerical': 0.0, 'mean_word_length': 3.1095890410958904, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 19, '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': '3460969', 'n_tokens_mistral': 534, 'n_tokens_neox': 541, 'n_words': 97}