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

  namespace :admin do
    resources :notes
    resources :expectations, :except => [:edit, :update, :destroy]

    resources :editions do
      member do
        post 'duplicate'
        post 'progress'
        post 'start_work', to: 'editions#progress',
          activity: { request_type: 'start_work' }
        post 'skip_fact_check', to: 'editions#progress',
          activity: { request_type: 'skip_fact_check', comment: "Fact check skipped by request."}
        post 'clone', to: 'editions#clone'
      end
    end

    match 'user_search' => 'user_search#index'

    resources :publications
    match 'overview' => 'overview#index'
    root :to => 'root#index'
  end

  resources :publications, :only => :show do
    post :verify_snac, :on => :member
  end
  resources :licences, :only => :index, :defaults => { :format => 'json' }

  post "/local_transactions/verify_snac", :to => "publications#verify_snac"

  get "/local_transactions/find_by_snac", :to => "local_transactions#find_by_snac"
  get "/local_transactions/find_by_council_name", :to => "local_transactions#find_by_council_name"

  root to: redirect("/admin")
end
<commit_msg>editions#clone doesn't exist; remove the route<commit_after>Publisher::Application.routes.draw do

  namespace :admin do
    resources :notes
    resources :expectations, :except => [:edit, :update, :destroy]

    resources :editions do
      member do
        post 'duplicate'
        post 'progress'
        post 'start_work', to: 'editions#progress',
          activity: { request_type: 'start_work' }
        post 'skip_fact_check', to: 'editions#progress',
          activity: { request_type: 'skip_fact_check', comment: "Fact check skipped by request."}
      end
    end

    match 'user_search' => 'user_search#index'

    resources :publications
    match 'overview' => 'overview#index'
    root :to => 'root#index'
  end

  resources :publications, :only => :show do
    post :verify_snac, :on => :member
  end
  resources :licences, :only => :index, :defaults => { :format => 'json' }

  post "/local_transactions/verify_snac", :to => "publications#verify_snac"

  get "/local_transactions/find_by_snac", :to => "local_transactions#find_by_snac"
  get "/local_transactions/find_by_council_name", :to => "local_transactions#find_by_council_name"

  root to: redirect("/admin")
end

{'fraction_non_alphanumeric': 0.12792642140468227, 'fraction_numerical': 0.0, 'mean_word_length': 3.766932270916335, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 27, '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': '3168404', 'n_tokens_mistral': 776, 'n_tokens_neox': 746, 'n_words': 187}