<commit_before>module Bluecap
  class Report
    # Generates a cohort report for the client. Finds the time between when
    # a person has tracked two events (e.g.: created an account then logged
    # back in).
    #
    # data - A Hash containing report options.
    #        :events     -
    #        :dates      -
    #        :attributes -
    #        :buckets    -
    #        :across     -
    #
    # Examples<commit_msg>Flesh out method documentation for report handling<commit_after>module Bluecap
  class Report
    # Generates a cohort report for the client. Finds the time between when
    # a person has tracked two events (e.g.: created an account then logged
    # back in).
    #
    # data - A Hash containing options to scope the report by.
    #        :events     - The Hash events to report from and to.
    #        :dates      - The Hash dates to report from and to.
    #        :attributes - The Hash attributes of users (optional).
    #        :buckets    - The String to group users by (e.g.: monthly).
    #        :across     - The String frequency to check event tracking
    #                      (e.g.: weekly).
    #
    # Examples
{'fraction_non_alphanumeric': 0.07344150298889837, 'fraction_numerical': 0.0, 'mean_word_length': 1.7447306791569086, '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': '1053489', 'n_tokens_mistral': 318, 'n_tokens_neox': 308, 'n_words': 132}