<commit_before>require 'sinatra/base'

require_relative 'app/controllers/application_controller'

map('/') { run ApplicationController }<commit_msg>Update config.ru. Load the mongoid configuration and require user model, register and login controllers<commit_after>require 'sinatra/base'
require 'mongoid'

require_relative 'app/models/user'

require_relative 'app/controllers/application_controller'
require_relative 'app/controllers/register_controller'
require_relative 'app/controllers/login_controller'

Mongoid.load!('mongoid.yml')

map('/') { run ApplicationController }
map('/register') { run RegisterController }
{'fraction_non_alphanumeric': 0.10466988727858294, 'fraction_numerical': 0.0, 'mean_word_length': 8.014492753623188, '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': '4952387', 'n_tokens_mistral': 171, 'n_tokens_neox': 168, 'n_words': 39}