<commit_before>class Subscription
  attr_accessor :subscription_id
  attr_accessor :subscription_name
  attr_accessor :management_certificate
  attr_accessor :default
  attr_accessor :registered_providers
  attr_accessor :environment_name
  attr_accessor :management_endpoint
  attr_accessor :source

  DEFAULT_MANAGEMENT_ENDPOINT = "https://management.core.windows.net"

  def initialize
    yield self if block_given?
  end
end<commit_msg>Set a default endpoint in the constructor if one isn't set.<commit_after>class Subscription
  attr_accessor :subscription_id
  attr_accessor :subscription_name
  attr_accessor :management_certificate
  attr_accessor :default
  attr_accessor :registered_providers
  attr_accessor :environment_name
  attr_accessor :management_endpoint
  attr_accessor :source

  DEFAULT_MANAGEMENT_ENDPOINT = "https://management.core.windows.net"

  def initialize
    yield self if block_given?
    @management_endpoint ||= DEFAULT_MANAGEMENT_ENDPOINT
  end
end
{'fraction_non_alphanumeric': 0.048730964467005075, 'fraction_numerical': 0.0, 'mean_word_length': 5.99290780141844, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '648536', 'n_tokens_mistral': 295, 'n_tokens_neox': 292, 'n_words': 67}