<commit_before>json.extract! @dvd,
              :id,
              :title,
              :rating,
              :abstract_txt,
              :abstract_source,
              :abstract_url,
              :file_url,
              :playback_time,
              :created_at,
              :updated_at

json.image_url 'http://' + request.host_with_port + @dvd.image.url if @dvd.image
json.url dvd_url(@dvd, format: :json)
json.episodes @dvd.episodes if @dvd.episodes<commit_msg>Added url attribute to Episode objects.<commit_after>json.extract! @dvd,
              :id,
              :title,
              :rating,
              :abstract_txt,
              :abstract_source,
              :abstract_url,
              :file_url,
              :playback_time,
              :created_at,
              :updated_at


json.image_url 'http://' + request.host_with_port + @dvd.image.url if @dvd.image
json.url dvd_url(@dvd, format: :json)

json.episodes @dvd.episodes do |episode|
  json.extract! episode,
                :id,
                :name,
                :file_url,
                :playback_time,
                :created_at
  json.url episode_url(episode, format: :json)
end
{'fraction_non_alphanumeric': 0.10450297366185217, 'fraction_numerical': 0.0, 'mean_word_length': 1.5278969957081545, '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': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5778391', 'n_tokens_mistral': 372, 'n_tokens_neox': 363, 'n_words': 68}