<commit_before># -*- encoding : utf-8 -*-
Openlibrary::Application.routes.draw do
  resources :reports do
    collection do
      post :reportabuse
      post :notifyabuser
      get :count
    end
  end

  resources :blacklistings, :departments, :sb_keywords, :targetgroups, :agegroups, :keywords, :signums

  resources :taggings do
    collection do
      get :count
    end
  end

  resources :tags do
    collection do
      get :count
    end
  end

  resources :assessments do
    collection do
      get :count
    end
  end

  resources :descriptions do
    collection do
      get :count
    end
  end

  resources :counties do
    resources :libraries
  end

  resources :libraries do
    resources :users
    member do
      get :dynurl
    end
    collection do
      get :librarysearch
      post :librarysearch
    end
  end

  resources :users do
    resources :assessments, :taggings
    collection do
      get :byusername
      get :usersearch
      post :usersearch
      get :dbdump
    end
  end

  resources :descriptions do
    collection do
      get :bybookproperty
    end
  end

  resources :editions do
    resources :descriptions, :assessments, :tags
  end

  resources :books do
    resources :assessments, :tags
    collection do
      get :search
      get :authors
    end
    resources :editions do<commit_msg>Fixed error in routes.rb, this makes bybookproperty working again.<commit_after># -*- encoding : utf-8 -*-
Openlibrary::Application.routes.draw do
  resources :reports do
    collection do
      post :reportabuse
      post :notifyabuser
      get :count
    end
  end

  resources :blacklistings, :departments, :sb_keywords, :targetgroups, :agegroups, :keywords, :signums

  resources :taggings do
    collection do
      get :count
    end
  end

  resources :tags do
    collection do
      get :count
    end
  end

  resources :assessments do
    collection do
      get :count
    end
  end

  resources :descriptions do
    collection do
      get :bybookproperty
      get :count
    end
  end

  resources :counties do
    resources :libraries
  end

  resources :libraries do
    resources :users
    member do
      get :dynurl
    end
    collection do
      get :librarysearch
      post :librarysearch
    end
  end

  resources :users do
    resources :assessments, :taggings
    collection do
      get :byusername
      get :usersearch
      post :usersearch
      get :dbdump
    end
  end

  resources :editions do
    resources :descriptions, :assessments, :tags
  end

  resources :books do
    resources :assessments, :tags
    collection do
      get :search
      get :authors
    end
    resources :editions do
{'fraction_non_alphanumeric': 0.05375139977603583, 'fraction_numerical': 0.0007465472191116088, 'mean_word_length': 2.329192546583851, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1406587', 'n_tokens_mistral': 796, 'n_tokens_neox': 766, 'n_words': 274}