<commit_before>using Gee;

namespace yrcd {
  class yrcd_numeric_wrapper : Object {
    public HashMap<int,string> numerics = new HashMap<int,string>();
    public yrcd_numeric_wrapper()   {
      numerics[RPL_WELCOME] = "Welcome to the Internet Relay Network %s!%s@%s";
      numerics[RPL_YOURHOST] = "Your host is %s, running %s version %s";
      numerics[RPL_CREATED] = "This server was created %s";
      numerics[RPL_MYINFO] = "%s %s %s %s";
      numerics[ERR_UNKNOWNCOMMAND] = "%s :Unkown command";
      numerics[ERR_NONICKNAMEGIVEN] = "No nickname given";
      numerics[ERR_NICKNAMEINUSE] = "%s :Nickname is already in use";
      numerics[ERR_ERRONEOUSNICKNAME] = "%s :Erroneous nickname";
      numerics[ERR_ALREADYREGISTRED] = "You may not reregister";
    }
  }
  /*
      Numerics are purposely defined in the global namespace.
      the reasoning behind this is to make the sytax when firing numerics easier.
      Ex: user.fire_numeric(ERR_ALREADYREGISTERED).
      Easy.
  */
  public const int RPL_WELCOME = 001;
  public const int RPL_YOURHOST = 002;
  public const int RPL_CREATED = 003;
  public const int RPL_MYINFO = 004;
  public const int ERR_UNKNOWNCOMMAND = 421;
  public const int ERR_NONICKNAMEGIVEN = 431;
  public const int ERR_ERRONEOUSNICKNAME = 432;
  public const int ERR_NICKNAMEINUSE = 433;
  public const int ERR_ALREADYREGISTRED = 462;

}<commit_msg>grammer<commit_after>using Gee;

namespace yrcd {
  class yrcd_numeric_wrapper : Object {
    public HashMap<int,string> numerics = new HashMap<int,string>();
    public yrcd_numeric_wrapper()   {
      numerics[RPL_WELCOME] = "Welcome to the Internet Relay Network %s!%s@%s";
      numerics[RPL_YOURHOST] = "Your host is %s, running %s version %s";
      numerics[RPL_CREATED] = "This server was created %s";
      numerics[RPL_MYINFO] = "%s %s %s %s";
      numerics[ERR_UNKNOWNCOMMAND] = "%s :Unkown command";
      numerics[ERR_NONICKNAMEGIVEN] = "No nickname given";
      numerics[ERR_NICKNAMEINUSE] = "%s :Nickname is already in use";
      numerics[ERR_ERRONEOUSNICKNAME] = "%s :Erroneous nickname";
      numerics[ERR_ALREADYREGISTRED] = "You may not reregister";
    }
  }
  /*
      Numerics are purposely defined in the global namespace.
      the reasoning behind this is to make the syntax when firing numerics easier.
      Ex: user.fire_numeric(ERR_ALREADYREGISTERED).
      Easy.
  */
  public const int RPL_WELCOME = 001;
  public const int RPL_YOURHOST = 002;
  public const int RPL_CREATED = 003;
  public const int RPL_MYINFO = 004;
  public const int ERR_UNKNOWNCOMMAND = 421;
  public const int ERR_NONICKNAMEGIVEN = 431;
  public const int ERR_ERRONEOUSNICKNAME = 432;
  public const int ERR_NICKNAMEINUSE = 433;
  public const int ERR_ALREADYREGISTRED = 462;

}
{'fraction_non_alphanumeric': 0.09146561037090385, 'fraction_numerical': 0.019445444724522868, 'mean_word_length': 3.7979274611398965, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '64867', 'n_tokens_mistral': 1018, 'n_tokens_neox': 961, 'n_words': 270}