<commit_before>module Hatokura
  # A card is the main component of games.
  #
  # A card has several characteristics.
  # Cards can have some or all of the characteristics.
  # Characteristics are usually not changed.
  #
  # A card has also several status.
  # Status are often changed during a game.
  #
  # Original term: カード
  class Card
    class << self
      def constant_name(name)
        name.to_s.gsub(/([a-z])([a-z]*)/) {$1.upcase + $2}
      end
<commit_msg>Fix inference rule of Card.constant_name<commit_after>module Hatokura
  # A card is the main component of games.
  #
  # A card has several characteristics.
  # Cards can have some or all of the characteristics.
  # Characteristics are usually not changed.
  #
  # A card has also several status.
  # Status are often changed during a game.
  #
  # Original term: カード
  class Card
    class << self
      def constant_name(name)
        name.to_s.gsub(/_?([a-z])([a-z]*)/) {$1.upcase + $2}
      end

{'fraction_non_alphanumeric': 0.09886714727085479, 'fraction_numerical': 0.004119464469618949, 'mean_word_length': 2.7674418604651163, 'pattern_counts': {'":': 0, '<': 7, '<?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': '6396840', 'n_tokens_mistral': 314, 'n_tokens_neox': 309, 'n_words': 114}