<commit_before>module Healthy
  class Server < Sinatra::Base
    dir = File.dirname(File.expand_path(__FILE__))

    set :views,  "#{dir}/views"
    set :public, "#{dir}/public"
    set :static, true
    
    get '/', :provides => 'html' do
      @checks   = Diagnostic.checks<commit_msg>changed public -> public_folder due to sinatra deprecation (warning was getting annoying)<commit_after>module Healthy
  class Server < Sinatra::Base
    dir = File.dirname(File.expand_path(__FILE__))

    set :views,         "#{dir}/views"
    set :public_folder, "#{dir}/public"
    set :static,        true
    
    get '/', :provides => 'html' do
      @checks   = Diagnostic.checks
{'fraction_non_alphanumeric': 0.1337295690936107, 'fraction_numerical': 0.0, 'mean_word_length': 3.084848484848485, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, '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': '6398679', 'n_tokens_mistral': 216, 'n_tokens_neox': 205, 'n_words': 53}