<commit_before>module Api
  module V2

    class ItinerarySerializer < ActiveModel::Serializer
      
      attributes :trip_type,
        :cost,
        :walk_time,
        :transit_time,
        :walk_distance,
        :wait_time,
        :legs
    
      belongs_to :service
      
    end
    
  end
end<commit_msg>Add itinerary duration to serializer<commit_after>module Api
  module V2

    class ItinerarySerializer < ActiveModel::Serializer
      
      attributes :trip_type,
        :cost,
        :walk_time,
        :transit_time,
        :walk_distance,
        :wait_time,
        :legs,
        :duration
    
      belongs_to :service
      
    end
    
  end
end
{'fraction_non_alphanumeric': 0.061764705882352944, 'fraction_numerical': 0.0029411764705882353, 'mean_word_length': 1.7459677419354838, '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': '7311984', 'n_tokens_mistral': 211, 'n_tokens_neox': 209, 'n_words': 44}