<commit_before>Lobsters::Application.routes.draw do
  root :to => "home#index",
    :protocol => (Rails.env == "production" ? "https://" : "http://")

  get "/page/:page" => "home#index"

  get "/newest(.format)" => "home#newest"
  get "/newest/page/:page" => "home#newest"

  get "/threads" => "comments#threads"

  get "/login" => "login#index"
  post "/login" => "login#login"
  post "/logout" => "login#logout"

  get "/signup" => "signup#index"
  post "/signup" => "signup#signup"

  match "/login/forgot_password" => "<PASSWORD>",
    :as => "<PASSWORD>"
  post "/login/reset_password" => "<PASSWORD>",
    :as => "<PASSWORD>"
  match "/login/set_new_password" => "<PASSWORD>",
    :as => "<PASSWORD>"

  match "/t/:tag" => "home#tagged"
  match "/t/:tag/page/:page" => "home#tagged"

  resources :stories do
    post "upvote"
    post "downvote"
    post "unvote"
    post "undelete"
  end
  post "/stories/fetch_url_title" => "stories#fetch_url_title"

  resources :comments do
    post "upvote"
    post "downvote"
    post "unvote"

    post "edit"
    post "preview"
    post "update"
  end<commit_msg>that as => tag was needed afterall<commit_after>Lobsters::Application.routes.draw do
  root :to => "home#index",
    :protocol => (Rails.env == "production" ? "https://" : "http://")

  get "/page/:page" => "home#index"

  get "/newest(.format)" => "home#newest"
  get "/newest/page/:page" => "home#newest"

  get "/threads" => "comments#threads"

  get "/login" => "login#index"
  post "/login" => "login#login"
  post "/logout" => "login#logout"

  get "/signup" => "signup#index"
  post "/signup" => "signup#signup"

  match "/login/forgot_password" => "<PASSWORD>",
    :as => "<PASSWORD>"
  post "/login/reset_password" => "<PASSWORD>",
    :as => "<PASSWORD>"
  match "/login/set_new_password" => "<PASSWORD>",
    :as => "<PASSWORD>password"

  match "/t/:tag" => "home#tagged", :as => "tag"
  match "/t/:tag/page/:page" => "home#tagged"

  resources :stories do
    post "upvote"
    post "downvote"
    post "unvote"
    post "undelete"
  end
  post "/stories/fetch_url_title" => "stories#fetch_url_title"

  resources :comments do
    post "upvote"
    post "downvote"
    post "unvote"

    post "edit"
    post "preview"
    post "update"
  end
{'fraction_non_alphanumeric': 0.2009695901278096, 'fraction_numerical': 0.0, 'mean_word_length': 3.43359375, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 57, 'https://': 2, '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': '5766715', 'n_tokens_mistral': 838, 'n_tokens_neox': 821, 'n_words': 184}