<commit_before>module TicketMaster::Provider
  module Lighthouse
    # Project class for ticketmaster-lighthouse
    # 
    # 
    class Project < TicketMaster::Provider::Base::Project
      attr_accessor :prefix_options
      API = LighthouseAPI::Project  
      # Delete this project
      def destroy
        result = super
        result.is_a?(Net::HTTPOK)
      end

    end
  end
end
<commit_msg>Project copy<commit_after>module TicketMaster::Provider
  module Lighthouse
    # Project class for ticketmaster-lighthouse
    # 
    # 
    class Project < TicketMaster::Provider::Base::Project
      attr_accessor :prefix_options
      API = LighthouseAPI::Project  
      # Delete this project
      def destroy
        result = super
        result.is_a?(Net::HTTPOK)
      end
      
      # copy from this.copy(that) copies that into this
      def copy(project)
        project.tickets.each do |ticket|
          copy_ticket = self.ticket!(:title => ticket.title, :description => ticket.body)
          ticket.comments.each do |comment|
            copy_ticket.comment!(:title => comment.body)
            sleep 1
          end
        end
      end

    end
  end
end

{'fraction_non_alphanumeric': 0.07809847198641766, 'fraction_numerical': 0.0008488964346349745, 'mean_word_length': 2.2659279778393353, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, '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': '3913869', 'n_tokens_mistral': 353, 'n_tokens_neox': 334, 'n_words': 82}