<commit_before>module HyperTrack
  class Trip < HyperTrack::SharedResource
    include HyperTrack::ApiOperations::TripAPI

    API_BASE_PATH = "trips/"
    REQUIRED_FIELDS = [:driver_id, :start_location, :tasks, :has_ordered_tasks]

    VALID_ATTRIBUTE_VALUES = {
      vehicle_type: {
        allowed: HyperTrack::SharedResource::VALID_VEHICLE_TYPES
      },
      has_ordered_tasks: {
        allowed: [true, false]<commit_msg>Update required fields on trips resource<commit_after>module HyperTrack
  class Trip < HyperTrack::SharedResource
    include HyperTrack::ApiOperations::TripAPI

    API_BASE_PATH = "trips/"
    REQUIRED_FIELDS = [:driver_id]

    VALID_ATTRIBUTE_VALUES = {
      vehicle_type: {
        allowed: HyperTrack::SharedResource::VALID_VEHICLE_TYPES
      },
      has_ordered_tasks: {
        allowed: [true, false]
{'fraction_non_alphanumeric': 0.09047619047619047, 'fraction_numerical': 0.0, 'mean_word_length': 3.91812865497076, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1664011', 'n_tokens_mistral': 276, 'n_tokens_neox': 263, 'n_words': 45}