<commit_before>namespace :flappi do
  namespace :doc do

    desc 'Extract API documentation from Flappi definitions'
    task :extract => :environment do
      Flappi::Documenter.document "app/controllers",
                Flappi.configuration.definition_paths.camelize,  # TODO: multiple paths
                "app/controllers/api/v2/docs/m0", # TODO: move
                Flappi::ApiDocFormatter
    end
  end
end<commit_msg>WIP: Definition a module..<commit_after>namespace :flappi do
  namespace :doc do

    desc 'Extract API documentation from Flappi definitions'
    task :extract => :environment do
      Flappi::Documenter.document "app/controllers",
                Flappi.configuration.definition_paths.camelize.constantize,  # TODO: multiple paths
                "app/controllers/api/v2/docs/m0", # TODO: move
                Flappi::ApiDocFormatter
    end
  end
end
{'fraction_non_alphanumeric': 0.08626560726447219, 'fraction_numerical': 0.004540295119182747, 'mean_word_length': 2.753191489361702, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6589682', 'n_tokens_mistral': 256, 'n_tokens_neox': 249, 'n_words': 62}