<commit_before>/**
 * Author : <NAME>
 */

var mongoose = require('mongoose'),
    db = mongoose.connect('mongodb://localhost/crashreport');

var UserSchema = mongoose.Schema({
    email: String,
    password: String,
});

var ErrorSchema = mongoose.Schema({
    errorMessage: String,
    className: String,
    methodName: String,
    fileName: String,
    errorLine: String,
    errorStack: String,
    osVersion: String,
    osArch: String,
    appMemTotal: String,
    appMemFree: String
    createdAt: new Date()
});

var ProjectSchema = mongoose.Schema({
    userId: String,
    name: String,
    appVersion: String,
    apiKey: String,
    error: [ ErrorSchema ]
});

db.model('User', UserSchema, 'users');
db.model('Project', ProjectSchema, 'projects');

module.exports = db;<commit_msg>Syntax error fixed<commit_after>/**
 * Author : <NAME>
 */

var mongoose = require('mongoose'),
    db = mongoose.connect('mongodb://localhost/crashreport');

var UserSchema = mongoose.Schema({
    email: String,
    password: <PASSWORD>,
});

var ErrorSchema = mongoose.Schema({
    errorMessage: String,
    className: String,
    methodName: String,
    fileName: String,
    errorLine: String,
    errorStack: String,
    osVersion: String,
    osArch: String,
    appMemTotal: String,
    appMemFree: String,
    createdAt: new Date()
});

var ProjectSchema = mongoose.Schema({
    userId: String,
    name: String,
    appVersion: String,
    apiKey: String,
    error: [ ErrorSchema ]
});

db.model('User', UserSchema, 'users');
db.model('Project', ProjectSchema, 'projects');

module.exports = db;
{'fraction_non_alphanumeric': 0.139375, 'fraction_numerical': 0.0, 'mean_word_length': 3.6405797101449275, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '6547630', 'n_tokens_mistral': 496, 'n_tokens_neox': 508, 'n_words': 125}