<commit_before>Rails.application.routes.draw do
  root 'projects#index'

  devise_for :users

  # API

  namespace :api, defaults: { format: 'json' } do
    get '/' => redirect('/api/v1')

    resources :docs, only: [:index]

    namespace :v1 do
      get '/' => 'base#who_are_you'
    end
  end

  # Services

  resources :services, only: [:index, :create]

  put '/services/:id',
      to: 'services#update',
      constraints: { id: /[0-9]+/ },
      as: 'service'
  patch '/services/:id',
        to: 'services#update',
        constraints: { id: /[0-9]+/ }
  delete '/services/:id',
        to: 'services#destroy',
        constraints: { id: /[0-9]+/ }
  get '/services/:id/edit',
        to: 'services#edit',
        constraints: { id: /[0-9]+/ },
        as: 'edit_service'<commit_msg>updating who are you controller route<commit_after>Rails.application.routes.draw do
  root 'projects#index'

  devise_for :users

  # API

  namespace :api, defaults: { format: 'json' } do
    get '/' => redirect('/api/v1')

    resources :docs, only: [:index]

    namespace :v1 do
      get '/' => 'who_are_you#who_are_you'
    end
  end

  # Services

  resources :services, only: [:index, :create]

  put '/services/:id',
      to: 'services#update',
      constraints: { id: /[0-9]+/ },
      as: 'service'
  patch '/services/:id',
        to: 'services#update',
        constraints: { id: /[0-9]+/ }
  delete '/services/:id',
        to: 'services#destroy',
        constraints: { id: /[0-9]+/ }
  get '/services/:id/edit',
        to: 'services#edit',
        constraints: { id: /[0-9]+/ },
        as: 'edit_service'
{'fraction_non_alphanumeric': 0.18181818181818182, 'fraction_numerical': 0.012368583797155226, 'mean_word_length': 2.4279661016949152, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '6838912', 'n_tokens_mistral': 569, 'n_tokens_neox': 570, 'n_words': 132}