<commit_before>var mongoose = require('mongoose');
var db = require('../../db/index.js');

var screenshotsSchema = mongoose.Schema({
  url: { type: String, required: true },
  originalImage: { type: String, required: true },
  //annotation functionality to be implemented on the front-end, see wiki for more info about libraries suggested 
  annotatedImage: { type: String, required: true }, 
  username: { type: String, required: true },
  visits: { type: Number, default: 0 },
  access: {type: String, default: 'public'},
  createdAt: { type: Date, default: Date.now }<commit_msg>Update screenshotModel.js<commit_after>var mongoose = require('mongoose');
var db = require('../../db/index.js');

var screenshotsSchema = mongoose.Schema({
  url: { type: String, required: true },
  originalImage: { type: String, required: true },
  // annotation functionality to be implemented on the front-end, see wiki for more info about libraries suggested 
  annotatedImage: { type: String, required: true }, 
  username: { type: String, required: true },
  visits: { type: Number, default: 0 },
  access: {type: String, default: 'public'},
  createdAt: { type: Date, default: Date.now }
{'fraction_non_alphanumeric': 0.14018691588785046, 'fraction_numerical': 0.0016992353440951572, 'mean_word_length': 4.453703703703703, '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': '7378576', 'n_tokens_mistral': 343, 'n_tokens_neox': 336, 'n_words': 121}