<commit_before>const Errors = require('common-errors');
const ld = require('lodash');
const validator = require('../validator.js');
const isProduction = process.env.NODE_ENV === 'production';

const STATUS_MAP = {
  1: 'pending',
  2: 'uploaded',
  3: 'processed',
};

/**
 * Defines default user class
 */
module.exports = function getFileClass(config) {
  const host = config.host;
  const web = config.web;

  /**
   * @class User
   */
  return class File {

    static dataWhiteList = [
      'public',
      'contentLength',
      'name',
      'description',
      'website',
      'files',
      'parts',
      'tags',
    ];

    static int = [<commit_msg>added uploadedAt to white list<commit_after>const Errors = require('common-errors');
const ld = require('lodash');
const validator = require('../validator.js');
const isProduction = process.env.NODE_ENV === 'production';

const STATUS_MAP = {
  1: 'pending',
  2: 'uploaded',
  3: 'processed',
};

/**
 * Defines default user class
 */
module.exports = function getFileClass(config) {
  const host = config.host;
  const web = config.web;

  /**
   * @class User
   */
  return class File {

    static dataWhiteList = [
      'public',
      'contentLength',
      'name',
      'description',
      'website',
      'files',
      'parts',
      'tags',
      'uploadedAt',
    ];

    static int = [
{'fraction_non_alphanumeric': 0.1572787125091441, 'fraction_numerical': 0.0043891733723482075, 'mean_word_length': 2.7790055248618786, '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': '7347531', 'n_tokens_mistral': 444, 'n_tokens_neox': 429, 'n_words': 107}