<commit_before>Archangel::Engine.routes.draw do
  # Pagination
  concern :paginatable do
    get "(page/:page)", action: :index, on: :collection, as: ""
  end

  namespace :admin, path: Archangel.configuration.admin_path do
    # GET /admin/posts
    # GET /admin/posts/page/[PAGE]
    # GET /admin/posts
    # POST /admin/posts
    # GET /admin/posts/new
    # GET /admin/posts/[ID]/edit
    # GET /admin/posts/[ID]
    # PATCH /admin/posts/[ID]
    # PUT /admin/posts/[ID]
    # DELETE /admin/posts/[ID]
    resources :posts, concerns: [:paginatable]
  end

  # scope Archangel.configuration.posts_path do
  scope "blog" do
    # GET /blog
    # GET /blog/page/[PAGE]
    get "/", to: "posts#index", as: :posts, concerns: [:paginatable]

    # GET /blog/[YYYY]
    # GET /blog/[YYYY]/page/[PAGE]
    get "/:year", to: "posts#index",
                  as: :posts_year,
                  constraints: { year: /\d{4}/ },
                  concerns: [:paginatable]

    # GET /blog/[YYYY]/[MM]
    # GET /blog/[YYYY]/[MM]/page/[PAGE]
    get "/:year/:month", to: "posts#index",
                         as: :posts_year_month,
                         constraints: { year: /\d{4}/, month: /\d{2}/ },
                         concerns: [:paginatable]

    # GET /blog/[YYYY]/[MM]/[SLUG]
    get "/:year/:month/:slug", to: "posts#show",
                               as: :post,
                               constraints: { year: /\d{4}/, month: /\d{2}/ }
    # GET /blog/categories
    # GET /blog/categories/page/[PAGE]
    # GET /blog/categories/[SLUG]
    resources :categories, only: [:index, :show], concerns: [:paginatable]

    # GET /blog/tags
    # GET /blog/tags/page/[PAGE]
    # GET /blog/tags/[SLUG]
    resources :tags, only: [:index, :show], concerns: [:paginatable]
  end
end<commit_msg>Remove categories and tags.<commit_after>Archangel::Engine.routes.draw do
  # Pagination
  concern :paginatable do
    get "(page/:page)", action: :index, on: :collection, as: ""
  end

  namespace :admin, path: Archangel.configuration.admin_path do
    # GET /admin/posts
    # GET /admin/posts/page/[PAGE]
    # GET /admin/posts
    # POST /admin/posts
    # GET /admin/posts/new
    # GET /admin/posts/[ID]/edit
    # GET /admin/posts/[ID]
    # PATCH /admin/posts/[ID]
    # PUT /admin/posts/[ID]
    # DELETE /admin/posts/[ID]
    resources :posts, concerns: [:paginatable]
  end

  # scope Archangel.configuration.posts_path do
  scope "blog" do
    # GET /blog
    # GET /blog/page/[PAGE]
    get "/", to: "posts#index", as: :posts, concerns: [:paginatable]

    # GET /blog/[YYYY]
    # GET /blog/[YYYY]/page/[PAGE]
    get "/:year", to: "posts#index",
                  as: :posts_year,
                  constraints: { year: /\d{4}/ },
                  concerns: [:paginatable]

    # GET /blog/[YYYY]/[MM]
    # GET /blog/[YYYY]/[MM]/page/[PAGE]
    get "/:year/:month", to: "posts#index",
                         as: :posts_year_month,
                         constraints: { year: /\d{4}/, month: /\d{2}/ },
                         concerns: [:paginatable]

    # GET /blog/[YYYY]/[MM]/[SLUG]
    get "/:year/:month/:slug", to: "posts#show",
                               as: :post,
                               constraints: { year: /\d{4}/, month: /\d{2}/ }
  end
end
{'fraction_non_alphanumeric': 0.17432309096440524, 'fraction_numerical': 0.0030422878004259203, 'mean_word_length': 1.9252669039145907, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6047788', 'n_tokens_mistral': 1153, 'n_tokens_neox': 1105, 'n_words': 244}