<commit_before>Technicity::Application.routes.draw do



  devise_for :users, controllers: {omniauth_callbacks: "omniauth_callbacks"}


  resources :region_set_memberships


  resources :region_sets

  get "home", to: 'static_pages#home'
  get "help", to: 'static_pages#help'
  get "about", to: 'static_pages#about'
  get "denied", to: 'static_pages#denied'
  get "notify", to: 'notifications#new'
  get "policies", to: 'static_pages#policies'

  resources :comparisons do
    member do
      post 'new'
    end
  end

  resources :locations


  resources :regions


  resources :studies do
    get :vote,           :on => :member
    get :curate,         :on => :member
    get :results,        :on => :member
    get :full_results,   :on => :member
    get :region_results, :on => :member
    get :heatmap,        :on => :member
    get :download,       :on => :member
    get :status,         :on => :member
    put :open,           :on => :member
    put :close,          :on => :member
  end

  resources :users

  resources :notifications

  # The priority is based upon order of creation:<commit_msg>added routes for promote/demote<commit_after>Technicity::Application.routes.draw do



  devise_for :users, controllers: {omniauth_callbacks: "omniauth_callbacks"}


  resources :region_set_memberships


  resources :region_sets

  get "home", to: 'static_pages#home'
  get "help", to: 'static_pages#help'
  get "about", to: 'static_pages#about'
  get "denied", to: 'static_pages#denied'
  get "notify", to: 'notifications#new'
  get "policies", to: 'static_pages#policies'

  resources :comparisons do
    member do
      post 'new'
    end
  end

  resources :locations


  resources :regions


  resources :studies do
    get :vote,           :on => :member
    get :curate,         :on => :member
    get :results,        :on => :member
    get :full_results,   :on => :member
    get :region_results, :on => :member
    get :heatmap,        :on => :member
    get :download,       :on => :member
    get :status,         :on => :member
    put :open,           :on => :member
    put :close,          :on => :member
    put :promote,        :on => :member
    put :demote,         :on => :member
  end

  resources :users

  resources :notifications

  # The priority is based upon order of creation:
{'fraction_non_alphanumeric': 0.11721453287197232, 'fraction_numerical': 0.0, 'mean_word_length': 2.7427184466019416, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1824950', 'n_tokens_mistral': 769, 'n_tokens_neox': 726, 'n_words': 218}