<commit_before>class RootController < ApplicationController

  caches_page :page_caching

  def page_caching
    @time = params[:time]
  end

  def expire_page_cache
    format = request.format.json? ? 'json' : 'html'
    expire_page :action => :page_caching, :format => format
    render :index
  end

end
<commit_msg>Get rid of a view rendering error in the page cache expiration integ<commit_after>class RootController < ApplicationController

  caches_page :page_caching

  def page_caching
    @time = params[:time]
  end

  def expire_page_cache
    format = request.format.json? ? 'json' : 'html'
    expire_page :action => :page_caching, :format => format
    @time = Time.now.to_f
    render :page_caching
  end

end

{'fraction_non_alphanumeric': 0.08539944903581267, 'fraction_numerical': 0.0, 'mean_word_length': 3.8466666666666667, 'pattern_counts': {'":': 0, '<': 5, '<?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': '7489230', 'n_tokens_mistral': 240, 'n_tokens_neox': 230, 'n_words': 64}