<commit_before># Copyright (c) 2011 - 2013, SoundCloud Ltd., <NAME>, <NAME>, Tobias
# Schmidt

require 'lhm/intersection'

module Lhm
  class Migration
    attr_reader :origin, :destination, :conditions

    def initialize(origin, destination, conditions = nil, time = Time.now)
      @origin = origin
      @destination = destination
      @conditions = conditions
      @start = time
    end

    def archive_name
      "lhma_#{ startstamp }_#{ @origin.name }"[0...64]
    end

    def intersection
      Intersection.new(@origin, @destination)
    end

    def startstamp
      @start.strftime "%Y_%m_%d_%H_%M_%S_#{ "%03d" % (@start.usec / 1000) }"
    end

    def conditions
      @conditions
    end
  end
end<commit_msg>Have attribute reader, no need for method<commit_after># Copyright (c) 2011 - 2013, SoundCloud Ltd., <NAME>, <NAME>, Tobias
# Schmidt

require 'lhm/intersection'

module Lhm
  class Migration
    attr_reader :origin, :destination, :conditions

    def initialize(origin, destination, conditions = nil, time = Time.now)
      @origin = origin
      @destination = destination
      @conditions = conditions
      @start = time
    end

    def archive_name
      "lhma_#{ startstamp }_#{ @origin.name }"[0...64]
    end

    def intersection
      Intersection.new(@origin, @destination)
    end

    def startstamp
      @start.strftime "%Y_%m_%d_%H_%M_%S_#{ "%03d" % (@start.usec / 1000) }"
    end
  end
end
{'fraction_non_alphanumeric': 0.11838440111420613, 'fraction_numerical': 0.023676880222841225, 'mean_word_length': 2.9262295081967213, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '878161', 'n_tokens_mistral': 498, 'n_tokens_neox': 454, 'n_words': 127}