<commit_before># frozen_string_literal: true

require 'sidekiq/web'

Rails.application.routes.draw do

  get 'application_status' => "status#application_status"
  # config/routes.rb
  authenticate :user, lambda { |u| u.admin? } do
    mount Sidekiq::Web => '/sidekiq'
  end

  resources :custom_report_templates
  get 'tags.json' => "application#tags"
  get 'geoname_summaries.json' => "application#geoname_summaries"

  resources :frame_types
  resources :reminders
  resources :stages
  get 'offline/work_form'

  get 'offline/offline'

  get 'offline/collections'

  get 'offline/collection'

  namespace :api do
    namespace :v1 do
      resources :collections, only: [] do
        resources :works, only: [:index, :show]
      end<commit_msg>secret key base for sidekiq<commit_after># frozen_string_literal: true

require 'sidekiq/web'
Sidekiq::Web.set :session_secret, Rails.application.credentials[:secret_key_base]

Rails.application.routes.draw do

  get 'application_status' => "status#application_status"
  # config/routes.rb
  authenticate :user, lambda { |u| u.admin? } do
    mount Sidekiq::Web => '/sidekiq'
  end

  resources :custom_report_templates
  get 'tags.json' => "application#tags"
  get 'geoname_summaries.json' => "application#geoname_summaries"

  resources :frame_types
  resources :reminders
  resources :stages
  get 'offline/work_form'

  get 'offline/offline'

  get 'offline/collections'

  get 'offline/collection'

  namespace :api do
    namespace :v1 do
      resources :collections, only: [] do
        resources :works, only: [:index, :show]
      end
{'fraction_non_alphanumeric': 0.11055276381909548, 'fraction_numerical': 0.001256281407035176, 'mean_word_length': 4.222950819672131, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '5238885', 'n_tokens_mistral': 540, 'n_tokens_neox': 526, 'n_words': 124}