<commit_before>Rails.application.routes.draw do
  
  resources :variables
  resources :disciplines
  resources :multi_disciplinary_analyses, as: :mdas do
    get "openmdao_generation/new"
  end
  devise_for :users
  resources :users, only: [:show]
  resources :projects
  resources :studies
  resources :notebooks
  resources :attachments, only: [:show, :index]
  resources :openmdao_generation, only: [:new]
    
  namespace :api do
    namespace :v1, defaults: { format: :json } do
      resources :studies
      post "openmdao_checking/create" 
    end
  end

  get "/jupyterhub" => redirect("https://rdri206h.onecert.fr")
  get "/oneramdao" => redirect("http://dcps.onera/redmine/projects/oneramdao/files")
  get "/changelog" => 'infos#changelog'
  
  authenticated :user do
    root to: 'multi_disciplinary_analyses#index', as: :authenticated_root
  end
  root to: redirect('users/sign_in')
  
end<commit_msg>fix route config bug<commit_after>Rails.application.routes.draw do
  
  resources :variables
  resources :disciplines
  resources :multi_disciplinary_analyses, as: :mdas do
    get "openmdao_generation/new"
  end
  devise_for :users
  resources :users, only: [:show]
  resources :projects
  resources :studies
  resources :notebooks
  resources :attachments, only: [:show, :index]
  resources :openmdao_generation, only: [:new]
    
  namespace :api do
    namespace :v1, defaults: { format: :json } do
      resources :studies
      post "openmdao_checking", to: "openmdao_checking#create" 
    end
  end

  get "/jupyterhub" => redirect("https://rdri206h.onecert.fr")
  get "/oneramdao" => redirect("http://dcps.onera/redmine/projects/oneramdao/files")
  get "/changelog" => 'infos#changelog'
  
  authenticated :user do
    root to: 'multi_disciplinary_analyses#index', as: :authenticated_root
  end
  root to: redirect('users/sign_in')
  
end
{'fraction_non_alphanumeric': 0.11397849462365592, 'fraction_numerical': 0.004301075268817204, 'mean_word_length': 4.1551246537396125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 2, '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': '4499801', 'n_tokens_mistral': 656, 'n_tokens_neox': 629, 'n_words': 148}