<commit_before>// Copyright 2014 <NAME>
//
// Use of this source code is governed by the MIT license.

package irc

// Various prefixes extracted from RFC1459.
const (
	Channel     = '#' // Normal channel
	Distributed = '&' // Distributed channel

	Owner        = '~' // Channel owner +q (non-standard)
	Admin        = '&' // Channel admin +a (non-standard)
	Operator     = '@' // Channel operator +o
	HalfOperator = '%' // Channel half operator +h (non-standard)
	Voice        = '+' // User has voice +v
)

// User modes as defined by RFC1459 section 4.2.3.2.
const (
	UserModeInvisible     = 'i' // User is invisible
	UserModeServerNotices = 's' // User wants to receive server notices
	UserModeWallops       = 'w' // User wants to receive Wallops
	UserModeOperator      = 'o' // Server operator
)

// Channel modes as defined by RFC1459 section 4.2.3.1
const (
	ModeOperator   = 'o' // Operator privileges
	ModeVoice      = 'v' // Ability to speak on a moderated channel
	ModePrivate    = 'p' // Private channel
	ModeSecret     = 's' // Secret channel
	ModeInviteOnly = 'i' // Users can't join without invite
	ModeTopic      = 't' // Topic can only be set by an operator
	ModeModerated  = 'm' // Only voiced users and operators can talk
	ModeLimit      = 'l' // User limit
	ModeKey        = 'k' // Channel password

	ModeOwner        = 'q' // Owner privileges (non-standard)
	ModeAdmin        = 'a' // Admin privileges (non-standard)
	ModeHalfOperator = 'h' // Half-operator privileges (non-standard)
)

// IRC commands extracted from RFC2812 section 3 and RFC2813 section 4.
const (
	PASS     = "<PASSWORD>"
	NICK     = "NICK"
	USER     = "USER"
	OPER     = "OPER"
	MODE     = "MODE"
	SERVICE  = "SERVICE"
	QUIT     = "QUIT"
	SQUIT    = "SQUIT"
	JOIN     = "JOIN"
	PART     = "PART"
	TOPIC    = "TOPIC"
	NAMES    = "NAMES"
	LIST     = "LIST"
	INVITE   = "INVITE"
	KICK     = "KICK"
	PRIVMSG  = "PRIVMSG"
	NOTICE   = "NOTICE"
	MOTD     = "MOTD"
	LUSERS   = "LUSERS"
	VERSION  = "VERSION"
	STATS    = "STATS"
	LINKS    = "LINKS"
	TIME     = "TIME"
	CONNECT  = "CONNECT"
	TRACE    = "TRACE"
	ADMIN    = "ADMIN"
	INFO     = "INFO"
	SERVLIST = "SERVLIST"
	SQUERY   = "SQUERY"
	WHO      = "WHO"
	WHOIS    = "WHOIS"
	WHOWAS   = "WHOWAS"
	KILL     = "KILL"
	PING     = "PING"
	PONG     = "PONG"
	ERROR    = "ERROR"
	AWAY     = "AWAY"
	REHASH   = "REHASH"
	DIE      = "DIE"
	RESTART  = "RESTART"
	SUMMON   = "SUMMON"
	USERS    = "USERS"
	WALLOPS  = "WALLOPS"
	USERHOST = "USERHOST"
	ISON     = "ISON"
	SERVER   = "SERVER"
	NJOIN    = "NJOIN"
)

// Numeric IRC replies extracted from RFC2812 section 5.
const (
	RPL_WELCOME           = "001"
	RPL_YOURHOST          = "002"
	RPL_CREATED           = "003"
	RPL_MYINFO            = "004"
	RPL_BOUNCE            = "005"
	RPL_USERHOST          = "302"
	RPL_ISON              = "303"
	RPL_AWAY              = "301"
	RPL_UNAWAY            = "305"
	RPL_NOWAWAY           = "306"
	RPL_WHOISUSER         = "311"
	RPL_WHOISSERVER       = "312"
	RPL_WHOISOPERATOR     = "313"<commit_msg>Adds a constant for the RPL_ISUPPORT numeric reply.<commit_after>// Copyright 2014 <NAME>
//
// Use of this source code is governed by the MIT license.

package irc

// Various prefixes extracted from RFC1459.
const (
	Channel     = '#' // Normal channel
	Distributed = '&' // Distributed channel

	Owner        = '~' // Channel owner +q (non-standard)
	Admin        = '&' // Channel admin +a (non-standard)
	Operator     = '@' // Channel operator +o
	HalfOperator = '%' // Channel half operator +h (non-standard)
	Voice        = '+' // User has voice +v
)

// User modes as defined by RFC1459 section 4.2.3.2.
const (
	UserModeInvisible     = 'i' // User is invisible
	UserModeServerNotices = 's' // User wants to receive server notices
	UserModeWallops       = 'w' // User wants to receive Wallops
	UserModeOperator      = 'o' // Server operator
)

// Channel modes as defined by RFC1459 section 4.2.3.1
const (
	ModeOperator   = 'o' // Operator privileges
	ModeVoice      = 'v' // Ability to speak on a moderated channel
	ModePrivate    = 'p' // Private channel
	ModeSecret     = 's' // Secret channel
	ModeInviteOnly = 'i' // Users can't join without invite
	ModeTopic      = 't' // Topic can only be set by an operator
	ModeModerated  = 'm' // Only voiced users and operators can talk
	ModeLimit      = 'l' // User limit
	ModeKey        = 'k' // Channel password

	ModeOwner        = 'q' // Owner privileges (non-standard)
	ModeAdmin        = 'a' // Admin privileges (non-standard)
	ModeHalfOperator = 'h' // Half-operator privileges (non-standard)
)

// IRC commands extracted from RFC2812 section 3 and RFC2813 section 4.
const (
	PASS     = "<PASSWORD>"
	NICK     = "NICK"
	USER     = "USER"
	OPER     = "OPER"
	MODE     = "MODE"
	SERVICE  = "SERVICE"
	QUIT     = "QUIT"
	SQUIT    = "SQUIT"
	JOIN     = "JOIN"
	PART     = "PART"
	TOPIC    = "TOPIC"
	NAMES    = "NAMES"
	LIST     = "LIST"
	INVITE   = "INVITE"
	KICK     = "KICK"
	PRIVMSG  = "PRIVMSG"
	NOTICE   = "NOTICE"
	MOTD     = "MOTD"
	LUSERS   = "LUSERS"
	VERSION  = "VERSION"
	STATS    = "STATS"
	LINKS    = "LINKS"
	TIME     = "TIME"
	CONNECT  = "CONNECT"
	TRACE    = "TRACE"
	ADMIN    = "ADMIN"
	INFO     = "INFO"
	SERVLIST = "SERVLIST"
	SQUERY   = "SQUERY"
	WHO      = "WHO"
	WHOIS    = "WHOIS"
	WHOWAS   = "WHOWAS"
	KILL     = "KILL"
	PING     = "PING"
	PONG     = "PONG"
	ERROR    = "ERROR"
	AWAY     = "AWAY"
	REHASH   = "REHASH"
	DIE      = "DIE"
	RESTART  = "RESTART"
	SUMMON   = "SUMMON"
	USERS    = "USERS"
	WALLOPS  = "WALLOPS"
	USERHOST = "USERHOST"
	ISON     = "ISON"
	SERVER   = "SERVER"
	NJOIN    = "NJOIN"
)

// Numeric IRC replies extracted from RFC2812 section 5.
const (
	RPL_WELCOME           = "001"
	RPL_YOURHOST          = "002"
	RPL_CREATED           = "003"
	RPL_MYINFO            = "004"
	RPL_BOUNCE            = "005"
	RPL_ISUPPORT          = "005"
	RPL_USERHOST          = "302"
	RPL_ISON              = "303"
	RPL_AWAY              = "301"
	RPL_UNAWAY            = "305"
	RPL_NOWAWAY           = "306"
	RPL_WHOISUSER         = "311"
	RPL_WHOISSERVER       = "312"
	RPL_WHOISOPERATOR     = "313"
{'fraction_non_alphanumeric': 0.1218274111675127, 'fraction_numerical': 0.026035696741444243, 'mean_word_length': 2.151702786377709, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '1008304', 'n_tokens_mistral': 2442, 'n_tokens_neox': 2264, 'n_words': 622}