<commit_before>module TRecs
  module Strategy
    attr_accessor :recorder

    def stop
    end

    private

    attr_accessor :__time
    attr_accessor :__content

    def current_time(time)
      @__time = time
    end

    def current_content(content)
      @__content = content
    end

    def save_frame
      recorder.current_frame(time: __time, content: __content)
    end
  end
end<commit_msg>Fixed current_time and current_content on strategy<commit_after>module TRecs
  module Strategy
    attr_accessor :recorder

    def stop
    end

    private

    attr_accessor :__time
    attr_accessor :__content

    def current_time(time=nil)
      if time
        @__time = time
      end
      @__time
    end

    def current_content(content=nil)
      if content
        @__content = content
      end
      @__content
    end

    def save_frame
      recorder.current_frame(time: __time, content: __content)
    end
  end
end
{'fraction_non_alphanumeric': 0.04695837780149413, 'fraction_numerical': 0.0, 'mean_word_length': 2.398550724637681, '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': '3858677', 'n_tokens_mistral': 300, 'n_tokens_neox': 285, 'n_words': 78}