<commit_before>require 'satsolverx'

module Satsolverx
#  class Solvable
#     def to_s
#       "#{id_2str(self.source.pool, name)}-#{id_2str(self.source.pool, vr)}-#{id_2str(self.source.pool, arch)}"
#     end
#  end
  class Solvable
    def Solvable.method_missing(meth, *args)
      puts "Method missing"
      puts "Solvable #{meth.id2name}"
    end
  end
end

module SatSolver
  include Satsolverx
end<commit_msg>method_missing: default to attribute name for unknown Solvable properties<commit_after>require 'satsolverx'

module Satsolverx
#  class Solvable
#     def to_s
#       "#{id_2str(self.source.pool, name)}-#{id_2str(self.source.pool, vr)}-#{id_2str(self.source.pool, arch)}"
#     end
#  end
  class Solvable
    def method_missing(meth, *args)
      attr meth.id2name
#      puts "Method missing"
#      puts "Solvable #{meth.id2name}"
    end
  end
end

module SatSolver
  include Satsolverx
end
{'fraction_non_alphanumeric': 0.11500547645125958, 'fraction_numerical': 0.009857612267250822, 'mean_word_length': 3.592964824120603, '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': '5185813', 'n_tokens_mistral': 342, 'n_tokens_neox': 341, 'n_words': 75}