<commit_before>exports.BOX_VISIBILITIES = ['listed', 'unlisted'];
exports.DEFAULT_BOX_VISIBILITY_SETTING = 'listed';
exports.POKEMON_VISIBILITIES = ['private', 'public', 'viewable'];
exports.DEFAULT_POKEMON_VISIBILITY_SETTING = 'viewable';

exports.MAX_BOX_NAME_LENGTH = 300;
exports.MAX_BOX_DESCRIPTION_LENGTH = 1000;
exports.MAX_POKEMON_NOTE_LENGTH = 2000;
exports.BOX_PAGE_SIZE = 50;

/* This defines the preferences that are allowed to be changed by the user. Having them here is
* better than simply referencing the UserPreferences model, because that model also contains
* attributes which should not be modifyable by the user (e.g. the `user` attribute of a
* UserPreferences record). */
exports.CHANGEABLE_PREFERENCES = {
  defaultBoxVisibility: {
    enum: exports.BOX_VISIBILITIES,
    defaultsTo: exports.DEFAULT_BOX_VISIBILITY_SETTING
  },
  defaultPokemonVisibility: {
    enum: exports.POKEMON_VISIBILITIES,
    defaultsTo: exports.DEFAULT_POKEMON_VISIBILITY_SETTING
  }
};

// The number of milliseconds for which deleted boxes/pokemon should be cached before they are permanently deleted.
exports.BOX_DELETION_DELAY = 300000; // (i.e. 5 minutes)
exports.POKEMON_DELETION_DELAY = 300000;<commit_msg>Try out 30 for box page size<commit_after>exports.BOX_VISIBILITIES = ['listed', 'unlisted'];
exports.DEFAULT_BOX_VISIBILITY_SETTING = 'listed';
exports.POKEMON_VISIBILITIES = ['private', 'public', 'viewable'];
exports.DEFAULT_POKEMON_VISIBILITY_SETTING = 'viewable';

exports.MAX_BOX_NAME_LENGTH = 300;
exports.MAX_BOX_DESCRIPTION_LENGTH = 1000;
exports.MAX_POKEMON_NOTE_LENGTH = 2000;
exports.BOX_PAGE_SIZE = 30;

/* This defines the preferences that are allowed to be changed by the user. Having them here is
* better than simply referencing the UserPreferences model, because that model also contains
* attributes which should not be modifyable by the user (e.g. the `user` attribute of a
* UserPreferences record). */
exports.CHANGEABLE_PREFERENCES = {
  defaultBoxVisibility: {
    enum: exports.BOX_VISIBILITIES,
    defaultsTo: exports.DEFAULT_BOX_VISIBILITY_SETTING
  },
  defaultPokemonVisibility: {
    enum: exports.POKEMON_VISIBILITIES,
    defaultsTo: exports.DEFAULT_POKEMON_VISIBILITY_SETTING
  }
};

// The number of milliseconds for which deleted boxes/pokemon should be cached before they are permanently deleted.
exports.BOX_DELETION_DELAY = 300000; // (i.e. 5 minutes)
exports.POKEMON_DELETION_DELAY = 300000;
{'fraction_non_alphanumeric': 0.08350388866148178, 'fraction_numerical': 0.022103970528039297, 'mean_word_length': 5.732782369146006, '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': '1428440', 'n_tokens_mistral': 803, 'n_tokens_neox': 759, 'n_words': 203}