<commit_before>module Domgen
  module Generator
    def self.define_iris_templates(template_set)
      template_set.per_schema << Template.new('iris/module',
                                              '#{schema.java.package.gsub(".","/")}/#{schema.name}Module.java',
                                              'iris',
                                              'schema.iris.generate?')
      template_set.per_object_type << Template.new('iris/model',
                                                   '#{object_type.java.fully_qualified_name.gsub(".","/")}Bean.java',
                                                   'iris',
                                                   'object_type.iris.generate?')
      template_set.per_schema << Template.new('iris/visitor',
                                              '#{schema.java.package.gsub(".","/")}/visitor/Visitor.java',
                                              'iris',
                                              'schema.iris.generate?')
      template_set.per_schema << Template.new('iris/abstract_visitor',
                                              '#{schema.java.package.gsub(".","/")}/visitor/AbstractVisitor.java',
                                              'iris',
                                              'schema.iris.generate?')
      template_set.per_schema << Template.new('iris/filter',
                                              '#{schema.java.package.gsub(".","/")}/visitor/Filter.java',
                                              'iris',
                                              'schema.iris.generate?')
      template_set.per_schema << Template.new('iris/abstract_filter',
                                              '#{schema.java.package.gsub(".","/")}/visitor/AbstractFilter.java',
                                              'iris',
                                              'schema.iris.generate?')
      template_set.per_schema << Template.new('iris/chain_filter',
                                              '#{schema.java.package.gsub(".","/")}/visitor/ChainFilter.java',
                                              'iris',
                                              'schema.iris.generate?')
      template_set.per_schema << Template.new('iris/traverser',
                                              '#{schema.java.package.gsub(".","/")}/visitor/Traverser.java',
                                              'iris',
                                              'schema.iris.generate?')
    end
  end
end<commit_msg>Generate to src dir to match existing iris generator<commit_after>module Domgen
  module Generator
    def self.define_iris_templates(template_set)
      template_set.per_schema << Template.new('iris/module',
                                              '#{schema.java.package.gsub(".","/")}/#{schema.name}Module.java',
                                              'src',
                                              'schema.iris.generate?')
      template_set.per_object_type << Template.new('iris/model',
                                                   '#{object_type.java.fully_qualified_name.gsub(".","/")}Bean.java',
                                                   'src',
                                                   'object_type.iris.generate?')
      template_set.per_schema << Template.new('iris/visitor',
                                              '#{schema.java.package.gsub(".","/")}/visitor/Visitor.java',
                                              'src',
                                              'schema.iris.generate?')
      template_set.per_schema << Template.new('iris/abstract_visitor',
                                              '#{schema.java.package.gsub(".","/")}/visitor/AbstractVisitor.java',
                                              'src',
                                              'schema.iris.generate?')
      template_set.per_schema << Template.new('iris/filter',
                                              '#{schema.java.package.gsub(".","/")}/visitor/Filter.java',
                                              'src',
                                              'schema.iris.generate?')
      template_set.per_schema << Template.new('iris/abstract_filter',
                                              '#{schema.java.package.gsub(".","/")}/visitor/AbstractFilter.java',
                                              'src',
                                              'schema.iris.generate?')
      template_set.per_schema << Template.new('iris/chain_filter',
                                              '#{schema.java.package.gsub(".","/")}/visitor/ChainFilter.java',
                                              'src',
                                              'schema.iris.generate?')
      template_set.per_schema << Template.new('iris/traverser',
                                              '#{schema.java.package.gsub(".","/")}/visitor/Traverser.java',
                                              'src',
                                              'schema.iris.generate?')
    end
  end
end
{'fraction_non_alphanumeric': 0.12414866705584744, 'fraction_numerical': 0.0, 'mean_word_length': 0.9143389199255121, 'pattern_counts': {'":': 0, '<': 35, '<?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': 96, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5028354', 'n_tokens_mistral': 1044, 'n_tokens_neox': 1043, 'n_words': 105}