<commit_before>require 'rubygems'
require 'bundler'
Bundler.require

require 'sass/plugin/rack'
require 'redis'
require 'rack/session/redis'
require 'jinx/helpers/log'
require 'scat'

# the logger
use Rack::CommonLogger, Jinx.logger('/var/log/scat.log', :debug)

# the cache
use Rack::Session::Redis

# the style-sheet parser
use Sass::Plugin::Rack

# start the application
run Scat::App

<commit_msg>Let the logger find a writable app log file.<commit_after>require 'rubygems'
require 'bundler'
Bundler.require

require 'fileutils'
require 'sass/plugin/rack'
require 'redis'
require 'rack/session/redis'
require 'jinx/helpers/log'
require 'scat'

# the logger
use Rack::CommonLogger, Jinx.logger(:app => 'Scat', :debug => true)

# the cache
use Rack::Session::Redis

# the style-sheet parser
use Sass::Plugin::Rack

# start the application
run Scat::App


{'fraction_non_alphanumeric': 0.12850467289719625, 'fraction_numerical': 0.0, 'mean_word_length': 5.6953125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '848508', 'n_tokens_mistral': 307, 'n_tokens_neox': 303, 'n_words': 82}