<commit_before># This is for convenice.  The defacto Sinatra standard
# is to name your application file after it's parent
# directory
parent_directory = File.expand_path(File.dirname(__FILE__) + '/..')
application_name = parent_directory.split("/").last
require "#{parent_directory}/#{application_name}.rb"

# You can optionally just say
#
# require File.dirname(__FILE__) + '/../heroku-sample-app'

# This is a must.  You will get a 500 if these
# are enabled on Heroku.
disable :run, :reload

# Finally, let's jam!
run Sinatra::Application<commit_msg>How did I miss this?!<commit_after>require File.dirname(__FILE__) + '/../heroku-sinatra-app'

# This is a must.  You will get a 500 if these
# are enabled on Heroku.  A newer version of sinatra will
# remove the need for this.
disable :run, :reload

# Finally, let's jam!
run Sinatra::Application
{'fraction_non_alphanumeric': 0.11647058823529412, 'fraction_numerical': 0.007058823529411765, 'mean_word_length': 4.562091503267974, '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': '6911628', 'n_tokens_mistral': 266, 'n_tokens_neox': 256, 'n_words': 96}