<commit_before>module Origen
  module Errata
    class HwErratum 

      # ID number used to identify erratum 
      attr_reader :id
   
      # Erratum Title
      attr_accessor :title
  
      # Description of erratum 
      attr_accessor  :description

      # Description of the hardware workaround for the erratum
      attr_accessor :hw_workaround_description

      # How the errata is to be distributed ex:
      #  --Internal Only
      #  --Customer visible
      #  --Other: 3rd party, etc.
      attr_accessor :disposition

      # Impact of erratum to customer
      attr_accessor :impact

      # When/if the erratum will be fixed
      attr_accessor :fix_plan

      # Lists which SoCs or hw blocks are affected by erratum
      attr_accessor :affected_items

      # Software workaround object associated with erratum
      attr_accessor :sw_workaround

      def initialize(id, overview  = {}, status = {}, affected_items = {}, sw_workaround = {})
	@id = id
	@title = overview[:title]
	@description = overview[:description]
        @hw_workaround_description = overview[:hw_workaround_description]
        @disposition = status[:disposition]
        @impact = status[:impact]
        @fix_plan = status[:fix_plan]
        @affected_items = affected_items
	@sw_workaround = sw_workaround
      end

    end
  end
end<commit_msg>Make affected_items an arrary instead of hash<commit_after>module Origen
  module Errata
    class HwErratum 

      # ID number used to identify erratum 
      attr_reader :id
   
      # Erratum Title
      attr_accessor :title
  
      # Description of erratum 
      attr_accessor  :description

      # Description of the hardware workaround for the erratum
      attr_accessor :hw_workaround_description

      # How the errata is to be distributed ex:
      #  --Internal Only
      #  --Customer visible
      #  --Other: 3rd party, etc.
      attr_accessor :disposition

      # Impact of erratum to customer
      attr_accessor :impact

      # When/if the erratum will be fixed
      attr_accessor :fix_plan

      # Lists which SoCs or hw blocks are affected by erratum
      attr_accessor :affected_items

      # Software workaround object associated with erratum
      attr_accessor :sw_workaround

      def initialize(id, overview  = {}, status = {}, affected_items = [], sw_workaround = {})
	@id = id
	@title = overview[:title]
	@description = overview[:description]
        @hw_workaround_description = overview[:hw_workaround_description]
        @disposition = status[:disposition]
        @impact = status[:impact]
        @fix_plan = status[:fix_plan]
        @affected_items = affected_items
	@sw_workaround = sw_workaround
      end

    end
  end
end
{'fraction_non_alphanumeric': 0.06544117647058824, 'fraction_numerical': 0.0007352941176470588, 'mean_word_length': 2.6621803499327052, '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': '4645806', 'n_tokens_mistral': 810, 'n_tokens_neox': 747, 'n_words': 233}