<commit_before>get '/' do

  erb :index

end

post '/signup' do

  redirect('/profile')

end

post '/login' do

  redirect('/profile')

end

get '/profile' do

  erb :profile

end

post '/tweet' do

  redirect('/profile')

end

get '/users' do

  erb :users

end

get '/user/:id' do

  erb :user

end

<commit_msg>Added comments to each route on index.rb controller<commit_after>get '/' do # Homepage

  erb :index

end

post '/signup' do # Handles signup form

  redirect('/profile')

end

post '/login' do # Handles login form

  redirect('/profile')

end

get '/profile' do # Displays users personal profile

  erb :profile

end

post '/tweet' do # Handles posting of tweet

  redirect('/profile')

end

get '/users' do # List of all users

  erb :users

end

get '/user/:id' do # Displays specific users profile page

  erb :user

end


{'fraction_non_alphanumeric': 0.11666666666666667, 'fraction_numerical': 0.0, 'mean_word_length': 3.0047619047619047, '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': '1324892', 'n_tokens_mistral': 311, 'n_tokens_neox': 294, 'n_words': 107}