<commit_before>class PagesController < ApplicationController
  def home
    @snapshot_exports="#{ENV['FILESERVER_ENDPOINT']}/snapshots"
  end

  def snapshots
    @files=Util::FileManager.snapshot_files
    @most_recent=@files.last
  end

  def pipe_files
    @files=Util::FileManager.pipe_delimited_files
    @most_recent=@files.last<commit_msg>try to be consistent with naming of flat (pipe-delimited) files.<commit_after>class PagesController < ApplicationController
  def home
    @snapshot_exports="#{ENV['FILESERVER_ENDPOINT']}/snapshots"
  end

  def snapshots
    @files=Util::FileManager.snapshot_files
    @most_recent=@files.last
  end

  def pipe_files
    @files=Util::FileManager.flat_files
    @most_recent=@files.last
{'fraction_non_alphanumeric': 0.09822646657571624, 'fraction_numerical': 0.0, 'mean_word_length': 5.220338983050848, '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': '109739', 'n_tokens_mistral': 237, 'n_tokens_neox': 229, 'n_words': 40}