<commit_before>class GroundDecorator < BaseDecorator
  def editor
    {
      theme: h.session[:theme] ||= GroundEditor.default_option(:theme),
      indent: h.session[:indent] ||= GroundEditor.default_option(:indent),
      language:  self.language,
      error: I18n.t('editor.error') 
    }
  end

  def themes
    GroundEditor.options(:theme)
  end<commit_msg>Update ground_decorator.rb<commit_after>class GroundDecorator < BaseDecorator
  def editor
    {
      theme: h.session[:theme] ||= GroundEditor.default_option(:theme),
      indent: h.session[:indent] ||= GroundEditor.default_option(:indent),
      language: self.language,
      error: I18n.t('editor.error') 
    }
  end

  def themes
    GroundEditor.options(:theme)
  end
{'fraction_non_alphanumeric': 0.12567567567567567, 'fraction_numerical': 0.005405405405405406, 'mean_word_length': 3.63125, 'pattern_counts': {'":': 0, '<': 5, '<?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': '6123180', 'n_tokens_mistral': 236, 'n_tokens_neox': 231, 'n_words': 40}