<commit_before>module ClaimsHelper
  def format(text)
    markdown.render(text).html_safe
  end

  def claim_header
    I18n.t("claims.#{current_step}.header")
  end

  private def markdown
    @@markdown ||= Redcarpet::Markdown.new(Redcarpet::Render::HTML)
  end
end<commit_msg>Class variables smell<commit_after>module ClaimsHelper
  def format(text)
    markdown.render(text).html_safe
  end

  def claim_header
    I18n.t("claims.#{current_step}.header")
  end

  private def markdown
    @markdown ||= Redcarpet::Markdown.new(Redcarpet::Render::HTML)
  end
end
{'fraction_non_alphanumeric': 0.11504424778761062, 'fraction_numerical': 0.007079646017699115, 'mean_word_length': 4.603960396039604, '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': '5689901', 'n_tokens_mistral': 208, 'n_tokens_neox': 188, 'n_words': 35}