<commit_before>var cheerio = require('cheerio');
var extname = require('path').extname;
var _ = require('lodash');
var Identity = require('fake-identity');
var moment = require('moment');
var faker = require('faker');

var createIdentity = function() {

  var mock = Identity.generate();

  // person
  mock.fullName = mock.firstName + ' ' + mock.lastName;
  mock.fullNameReverse = mock.lastName + ', ' + mock.firstName;
  mock.sexShort = mock.sex.charAt(0).toUpperCase();
  mock.dob = moment(mock.dateOfBirth).format('DD/MM/YYYY');
  mock.memberId = faker.finance.account(9);
  mock.customerId = faker.finance.account(10);
  mock.groupNumber = faker.finance.account(12);<commit_msg>update date of birth format<commit_after>var cheerio = require('cheerio');
var extname = require('path').extname;
var _ = require('lodash');
var Identity = require('fake-identity');
var moment = require('moment');
var faker = require('faker');

var createIdentity = function() {

  var mock = Identity.generate();

  // person
  mock.fullName = mock.firstName + ' ' + mock.lastName;
  mock.fullNameReverse = mock.lastName + ', ' + mock.firstName;
  mock.sexShort = mock.sex.charAt(0).toUpperCase();
  mock.dob = moment(mock.dateOfBirth).format('MM/DD/YYYY');
  mock.memberId = faker.finance.account(9);
  mock.customerId = faker.finance.account(10);
  mock.groupNumber = faker.finance.account(12);
{'fraction_non_alphanumeric': 0.16666666666666666, 'fraction_numerical': 0.008695652173913044, 'mean_word_length': 4.876595744680851, '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': '4280007', 'n_tokens_mistral': 471, 'n_tokens_neox': 458, 'n_words': 83}