<commit_before><%=
<<-TEMPLATE
require 'cuba'

# If you need extra protection.
# require 'rack/protection'
# Cuba.use Rack::Protection
# Cuba.use Rack::Protection::RemoteReferrer

Cuba.use Rack::Session::Cookie, :secret => "#{SecureRandom.base64(64)}"

# Cuba includes a plugin called Cuba::Render that provides a couple of helper methods for rendering templates.
# require "cuba/render"
# Cuba.plugin(Cuba::Render)

# This plugin uses Tilt, which serves as an interface to a bunch of different Ruby template engines
# (ERB, Haml, Sass, CoffeeScript, etc.), so you can use the template engine of your choice.

# require 'erb'
# Cuba.settings[:render][:template_engine] = "erb"
# Cuba.settings[:render][:views] = "./views"

# To launch just type: 'rackup' in your console
Cuba.define do
  on get do

    on root do
      res.write "Hello #{project_name}"
    end
  
  end
end
TEMPLATE
%><commit_msg>Update app.erb<commit_after><%=
<<-TEMPLATE
require 'cuba'

Cuba.use Rack::Session::Cookie, :secret => "#{SecureRandom.base64(64)}"

# If you need extra protection.
# require 'rack/protection'
# Cuba.use Rack::Protection
# Cuba.use Rack::Protection::RemoteReferrer

# Cuba includes a plugin called Cuba::Render that provides a couple of helper methods for rendering templates.
# require "cuba/render"
# Cuba.plugin(Cuba::Render)

# This plugin uses Tilt, which serves as an interface to a bunch of different Ruby template engines
# (ERB, Haml, Sass, CoffeeScript, etc.), so you can use the template engine of your choice.

# require 'erb'
# Cuba.settings[:render][:template_engine] = "erb"
# Cuba.settings[:render][:views] = "./views"

# To launch just type: 'rackup' in your console
Cuba.define do
  on get do

    on root do
      res.write "Hello #{project_name}"
    end
  
  end
end
TEMPLATE
%>
{'fraction_non_alphanumeric': 0.1229827490261547, 'fraction_numerical': 0.004451864218141347, 'mean_word_length': 4.532307692307692, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, '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': '5599370', 'n_tokens_mistral': 586, 'n_tokens_neox': 571, 'n_words': 199}