<commit_before>module Travis::API::V3
  class Renderer::Cache < Renderer::ModelRenderer
    representation(:minimal,  :repository_id, :size, :name, :branch, :last_modified)
    representation(:standard, *representations[:minimal], :repo)
  end
end<commit_msg>override caches attributes in renderer<commit_after>module Travis::API::V3
  class Renderer::Cache < Renderer::ModelRenderer
    representation(:minimal,  :repository_id, :size, :name, :branch, :last_modified)
    representation(:standard, *representations[:minimal], :repo)

    def self.available_attributes
      [:branch, :name]
    end

  end
end
{'fraction_non_alphanumeric': 0.12459016393442623, 'fraction_numerical': 0.003278688524590164, 'mean_word_length': 6.188235294117647, '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': '1539859', 'n_tokens_mistral': 185, 'n_tokens_neox': 173, 'n_words': 40}