<commit_before>require 'mac-network'
include Mac::Network

class Mac::Network::Protocol

  # do not remove or tests will fail for unknown reason!
  PROTOCOL_TYPES = [
    OSX::KSCNetworkProtocolTypeAppleTalk,
    OSX::KSCNetworkProtocolTypeDNS,
    OSX::KSCNetworkProtocolTypeIPv4,
    OSX::KSCNetworkProtocolTypeIPv6,
    OSX::KSCNetworkProtocolTypeProxies,
    OSX::KSCNetworkProtocolTypeSMB
  ]

  attr_accessor :sc_protocol_ref

  def initialize(sc_protocol_ref)
    @sc_protocol_ref = sc_protocol_ref
  end

  def configuration
    OSX::SCNetworkProtocolGetConfiguration(self.sc_protocol_ref)<commit_msg>remove appletalk constant<commit_after>require 'mac-network'
include Mac::Network

class Mac::Network::Protocol

  PROTOCOL_TYPES = [
    OSX::KSCNetworkProtocolTypeDNS,
    OSX::KSCNetworkProtocolTypeIPv4,
    OSX::KSCNetworkProtocolTypeIPv6,
    OSX::KSCNetworkProtocolTypeProxies,
    OSX::KSCNetworkProtocolTypeSMB
  ]

  attr_accessor :sc_protocol_ref

  def initialize(sc_protocol_ref)
    @sc_protocol_ref = sc_protocol_ref
  end

  def configuration
    OSX::SCNetworkProtocolGetConfiguration(self.sc_protocol_ref)
{'fraction_non_alphanumeric': 0.07338638373121131, 'fraction_numerical': 0.0035366931918656055, 'mean_word_length': 5.86060606060606, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4524459', 'n_tokens_mistral': 382, 'n_tokens_neox': 372, 'n_words': 56}