<commit_before>
//  (c) 2012 <NAME>
//  MIT Licensed
//  For all details and documentation:
//  https://github.com/tblobaum/mongoose-troop

// Pagination
// ----------

// Plugin
function pagination (schema, options) {
  options || (options = {})

  // Options
  var defaultLimit = options.defaultLimit || 10
    , defaultQuery = options.defaultQuery || {}
    , defaultFields = options.defaultFields || []
    , remember = options.remember || false
    , defaultPage = 1<commit_msg>fix options flag for consistency<commit_after>
//  (c) 2012 <NAME>
//  MIT Licensed
//  For all details and documentation:
//  https://github.com/tblobaum/mongoose-troop

// Pagination
// ----------

// Plugin
function pagination (schema, options) {
  options = options || {}

  // Options
  var defaultLimit = options.defaultLimit || 10
    , defaultQuery = options.defaultQuery || {}
    , defaultFields = options.defaultFields || []
    , remember = options.remember || false
    , defaultPage = 1
{'fraction_non_alphanumeric': 0.15462868769074262, 'fraction_numerical': 0.014242115971515769, 'mean_word_length': 2.8287937743190663, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '4466018', 'n_tokens_mistral': 302, 'n_tokens_neox': 280, 'n_words': 71}