<commit_before>module Pivit
  class Client
    # Project management
    # 
    # @see http://www.pivotaltracker.com/help/api?version=v3#getting_projects
    module Project
      # Retrieve a single project from your account
      #
      # @see http://www.pivotaltracker.com/help/api?version=v3#getting_projects
      #
      # @param [Integer] project_id the id of the project that you want to
      # retrieve
      #
      # @return [Hashie::Mash] project response
      #
      # @example 
      #   Pivit::Client.project(123456)
      #
      # @author <NAME>
      def project(project_id, options = {})
        get("projects/#{project_id}", options).project
      end

      # Retrieve all projects from your account
      #
      # @see http://www.pivotaltracker.com/help/api?version=v3#getting_projects
      #
      # @return [Hashie::Mash] projects response
      #
      # @example 
      #   Pivit::Client.project      
      # 
      # @author <NAME>
      def projects(options = {})
        get("projects", options).projects
      end

      # Create a Project
      # 
      # Provide the parameters you wantt to use for the project via the options
      # hash 
      #
      # @see http://www.pivotaltracker.com/help/api?version=v3#create_project
      #
      # @return [Hashie::Mash] project created response
      #
      # @example 
      #   Pivit::Client.create_project({:name => "Test Project", :iteration_length
      #   => "2"})
      # 
      # @author <NAME>
      def create_project(options = {})
        options = { :project => options }
        post("projects", options).project
      end
    end
  end
end
<commit_msg>fix project documentation<commit_after>module Pivit
  class Client
    # Project management
    #
    # @see http://www.pivotaltracker.com/help/api?version=v3#getting_projects
    module Project
      # Retrieve a single project from your account
      #
      # @see https://www.pivotaltracker.com/help/api?version=v3#get_project_info
      #
      # @param [Integer] project_id the id of the project that you want to retrieve
      #
      # @return [Hashie::Mash] project response
      #
      # @example 
      #   Pivit::Client.project(123456)
      #
      # @author <NAME>
      def project(project_id, options = {})
        get("projects/#{project_id}", options).project
      end

      # Retrieve all projects from your account
      #
      # @see https://www.pivotaltracker.com/help/api?version=v3#get_project_all_projects
      #
      # @return [Hashie::Mash] projects response
      #
      # @example
      #   Pivit::Client.projects
      #
      # @author <NAME>
      def projects(options = {})
        get("projects", options).projects
      end

      # Create a Project
      #
      # Provide the parameters you wantt to use for the project via the options hash
      #
      # @see http://www.pivotaltracker.com/help/api?version=v3#create_project
      #
      # @return [Hashie::Mash] project created response
      #
      # @example
      #   Pivit::Client.create_project({:name => "Test Project", :iteration_length => "2"})
      #
      # @author <NAME>
      def create_project(options = {})
        options = { :project => options }
        post("projects", options).project
      end
    end
  end
end

{'fraction_non_alphanumeric': 0.11290322580645161, 'fraction_numerical': 0.006695069993913573, 'mean_word_length': 2.194363459669582, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 15, 'https://': 2, 'lorem ipsum': 0, 'www.': 8, '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': '5080286', 'n_tokens_mistral': 1009, 'n_tokens_neox': 987, 'n_words': 222}