<commit_before>$:.unshift('lib')
require 'dolphy'

DolphyApp.app do
  DolphyApp.router do
    get '/hello' do
      haml :index, body: "hello"
    end

    get '/wat' do
      erb :what, body: "wat"
    end

    get '/greeting' do
      erb :what, body: "Hello #{params["name"]}"
    end

    get '/' do
      haml :index, body: "index"
    end

    post '/post' do
      haml :post, body: "hello #{params["message"]["name"]}"
    end
  end<commit_msg>Pass a title to the index view.<commit_after>$:.unshift('lib')
require 'dolphy'

DolphyApp.app do
  DolphyApp.router do
    get '/' do
      haml :index, { title: "Hello!", body: "index" }
    end

    get '/wat' do
      erb :what, body: "wat"
    end

    get '/greeting' do
      erb :what, body: "Hello #{params["name"]}"
    end

    post '/post' do
      haml :post, body: "hello #{params["message"]["name"]}"
    end
  end
{'fraction_non_alphanumeric': 0.16345062429057888, 'fraction_numerical': 0.0, 'mean_word_length': 2.3923076923076922, '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': '7601644', 'n_tokens_mistral': 332, 'n_tokens_neox': 328, 'n_words': 97}