<commit_before>Rails.application.routes.draw do
  resources :api_keys
  require 'sidekiq/web'
  mount Sidekiq::Web => '/sidekiq'

  # The priority is based upon order of creation: first created -> highest priority.
  # See how all your routes lay out with "rake routes".

  # You can have the root of your site routed with "root"

  #get 'uploads/upload' => 'uploads#upload', as: :upload_upload
  match 'uploads/upload' => 'uploads#upload', as: :upload_upload, via: [:get, :post, :options]
  get 'uploads/progress' => 'uploads#progress', as: :upload_progress
  get 'uploads/data' => 'uploads#data', as: :upload_data
  resources :uploads

  root 'dashboard#index'
  resources :words
  devise_for :users
  resources :charges

  # Example of regular route:
  #   get 'products/:id' => 'catalog#view'<commit_msg>Only run resque web in development.<commit_after>Rails.application.routes.draw do
  resources :api_keys

  if Rails.env.development?
    require 'sidekiq/web'
    mount Sidekiq::Web => '/sidekiq'
  end

  # The priority is based upon order of creation: first created -> highest priority.
  # See how all your routes lay out with "rake routes".

  # You can have the root of your site routed with "root"

  #get 'uploads/upload' => 'uploads#upload', as: :upload_upload
  match 'uploads/upload' => 'uploads#upload', as: :upload_upload, via: [:get, :post, :options]
  get 'uploads/progress' => 'uploads#progress', as: :upload_progress
  get 'uploads/data' => 'uploads#data', as: :upload_data
  resources :uploads

  root 'dashboard#index'
  resources :words
  devise_for :users
  resources :charges

  # Example of regular route:
  #   get 'products/:id' => 'catalog#view'
{'fraction_non_alphanumeric': 0.12403100775193798, 'fraction_numerical': 0.0, 'mean_word_length': 4.2933753943217665, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, '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': '3899098', 'n_tokens_mistral': 546, 'n_tokens_neox': 518, 'n_words': 173}