<commit_before>#Client Module
require "pivit/authentication"
require "pivit/connection"
require "pivit/request"

require "pivit/client/project"
module Pivit
  class Client
    attr_accessor(*Configuration::VALID_OPTIONS_KEYS)

    def initialize(options = {})
      options = Pivit.options.merge(options)

      Configuration::VALID_OPTIONS_KEYS.each do |key|
        send("#{key}=", options[key])
      end

      authenticate(options)
    end

    include Pivit::Authentication
    include Pivit::Connection
    include Pivit::Request
    include Pivit::Client::Project
  end
end<commit_msg>add story and membership to client<commit_after>#Client Module
require "pivit/authentication"
require "pivit/connection"
require "pivit/request"

require "pivit/client/project"
require "pivit/client/story"
require "pivit/client/membership"
module Pivit
  class Client
    attr_accessor(*Configuration::VALID_OPTIONS_KEYS)

    def initialize(options = {})
      options = Pivit.options.merge(options)

      Configuration::VALID_OPTIONS_KEYS.each do |key|
        send("#{key}=", options[key])
      end

      authenticate(options)
    end

    include Pivit::Authentication
    include Pivit::Connection
    include Pivit::Request
    include Pivit::Client::Project
    include Pivit::Client::Story
    include Pivit::Client::Membership
  end
end
{'fraction_non_alphanumeric': 0.10141685309470544, 'fraction_numerical': 0.0, 'mean_word_length': 4.2015503875969, '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': '6158092', 'n_tokens_mistral': 421, 'n_tokens_neox': 413, 'n_words': 86}