<commit_before># Library is a group of classes and settings which can be exposed as a group
class Library
  def initialize(name, path="", exportMacro=nil)
    @name = name
    @namespaceName = name
    @root = path
    @includePaths = []
    @files = []
    @dependencies = []
    @exportMacro = exportMacro ? exportMacro : name.upcase() + "_EXPORT"
  end

  attr_reader :name, :files, :exportMacro
  attr_accessor :namespaceName, :root, :includePaths, :dependencies

  # The path which should hold auto gen files for the library
  def autogenPath
    return "#{root}/autogen_#{name}"<commit_msg>allow customisation of more parts of libraries<commit_after># Library is a group of classes and settings which can be exposed as a group
class Library
  def initialize(name, path="", exportMacro=nil)
    @name = name
    @namespaceName = name
    @root = path
    @includePaths = []
    @files = []
    @dependencies = []
    @exportMacro = exportMacro ? exportMacro : name.upcase() + "_EXPORT"

  end

  attr_reader :name, :files
  attr_accessor :namespaceName, :root, :includePaths, :dependencies, :exportMacro

  def setAutogenPath(path)
    @autogenPath = path
  end

  # The path which should hold auto gen files for the library
  def autogenPath
    if (@autogenPath)
      return @autogenPath
    end

    return "#{root}/autogen_#{name}"
{'fraction_non_alphanumeric': 0.09843400447427293, 'fraction_numerical': 0.0, 'mean_word_length': 3.6759581881533103, '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': '185161', 'n_tokens_mistral': 410, 'n_tokens_neox': 398, 'n_words': 137}