<commit_before>require 'multi_json'

require 'restless_router'

require 'dotenv'
Dotenv.load

require "automatic/client/version"

require "automatic/client/request"
require "automatic/client/error"

require "automatic/client/response"

require "automatic/client/polyline"

require "automatic/client/trips"
require "automatic/client/trip"

require "automatic/client/vehicles"
require "automatic/client/vehicle"

require "automatic/client/users"
require "automatic/client/user"

require "automatic/client/locations"
require "automatic/client/location"

require "automatic/core_extension"

module Automatic
  module Client
    def self.scopes
      %w( scope:location scope:vehicle scope:trip_summary scope:ignition:on scope:ignition:off scope:notification:speeding scope:notification:hard_brake scope:notification:hard_accel scope:region:changed scope:parking:changed scope:mil:on scope:mil:off )
    end

    def self.routes
      routes = RestlessRouter::Routes.new
      routes.add_route(RestlessRouter::Route.new('trips', 'https://api.automatic.com/v1/trips/{?page,per_page}', templated: true))
      routes.add_route(RestlessRouter::Route.new('trip', 'https://api.automatic.com/v1/trips/{id}', templated: true))
      routes.add_route(RestlessRouter::Route.new('vehicles', 'https://api.automatic.com/v1/vehicles/{?page,per_page}', templated: true))
      routes.add_route(RestlessRouter::Route.new('vehicle', 'https://api.automatic.com/v1/vehicles/{id}', templated: true))
      routes
    end
  end
end
<commit_msg>Update routes <commit_after>require 'multi_json'

require 'restless_router'

require 'dotenv'
Dotenv.load

require "automatic/client/version"

require "automatic/client/request"
require "automatic/client/error"

require "automatic/client/response"

require "automatic/client/polyline"

require "automatic/client/trips"
require "automatic/client/trip"

require "automatic/client/vehicles"
require "automatic/client/vehicle"

require "automatic/client/users"
require "automatic/client/user"

require "automatic/client/locations"
require "automatic/client/location"

require "automatic/core_extension"

module Automatic
  module Client
    def self.scopes
      %w( scope:location scope:vehicle scope:trip_summary scope:ignition:on scope:ignition:off scope:notification:speeding scope:notification:hard_brake scope:notification:hard_accel scope:region:changed scope:parking:changed scope:mil:on scope:mil:off )
    end

    def self.routes
      routes = RestlessRouter::Routes.new
      routes.add_route(RestlessRouter::Route.new('trips', 'https://api.automatic.com/trip/{?page,per_page}', templated: true))
      routes.add_route(RestlessRouter::Route.new('trip', 'https://api.automatic.com/trip/{id}', templated: true))
      routes.add_route(RestlessRouter::Route.new('vehicles', 'https://api.automatic.com/vehicle/{?page,per_page}', templated: true))
      routes.add_route(RestlessRouter::Route.new('vehicle', 'https://api.automatic.com/vehicle/{id}', templated: true))
      routes
    end
  end
end

{'fraction_non_alphanumeric': 0.13033410519351638, 'fraction_numerical': 0.0013231888852133643, 'mean_word_length': 5.795505617977528, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, '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': '6576902', 'n_tokens_mistral': 974, 'n_tokens_neox': 945, 'n_words': 160}