<commit_before>// ATTENTION: Please keep these entries organized in alphabetical order

/**
 * Formats a message for the error that occurs when a document includes an attachment when they are not allowed for the document type.
 */
exports.allowAttachmentsViolation = function() {
  return 'document type does not support attachments';
};

exports.cannotDeleteDocViolation = function() {
  return 'documents of this type cannot be deleted';
};

exports.cannotReplaceDocViolation = function() {
  return 'documents of this type cannot be replaced';
};

/**
 * Formats a message for the error that occurs when the format for a date without time and timezone (i.e. a date) is invalid.
 *
 * @param {string} itemPath The full path of the property or element in which the error occurs (e.g. "objectProp.arrayProp[2].dateProp")
 */<commit_msg>Issue #39: Inline documentation for cannotDelete and cannotReplace validation error formatters<commit_after>// ATTENTION: Please keep these entries organized in alphabetical order

/**
 * Formats a message for the error that occurs when a document includes an attachment when they are not allowed for the document type.
 */
exports.allowAttachmentsViolation = function() {
  return 'document type does not support attachments';
};

/**
 * Formats a message for the error that occurs when there is an attempt to delete a document that cannot be deleted.
 */
exports.cannotDeleteDocViolation = function() {
  return 'documents of this type cannot be deleted';
};

/**
 * Formats a message for the error that occurs when there is an attempt to replace a document that cannot be replaced.
 */
exports.cannotReplaceDocViolation = function() {
  return 'documents of this type cannot be replaced';
};

/**
 * Formats a message for the error that occurs when the format for a date without time and timezone (i.e. a date) is invalid.
 *
 * @param {string} itemPath The full path of the property or element in which the error occurs (e.g. "objectProp.arrayProp[2].dateProp")
 */
{'fraction_non_alphanumeric': 0.07680798004987531, 'fraction_numerical': 0.00199501246882793, 'mean_word_length': 4.378016085790884, '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': '1547997', 'n_tokens_mistral': 517, 'n_tokens_neox': 506, 'n_words': 264}