<commit_before>@charset "UTF-8";

/// Get index of separator.
///
/// @access private
///
/// @param {String} $string - Name of selector, where we should find separator
///
/// @returns {Number} - Index of separators

@function bem-index($string) {
	$e_index: null;
	$m_index: null;

	//
	@if (str-index($string, unquote("#{$bem-element-separator}")) != null) {
		$e_index: str-index($string, unquote("#{$bem-element-separator}"));
	}

	//
	@if (str-index($string, unquote("#{$bem-modifier-separator}")) != null) {
		$m_index: str-index($string, unquote("#{$bem-modifier-separator}"));
	}

	//
	@if (str-index($string, ".is") != null) {
		$m_index: str-index($string, ".is"));
	}

	//
	@if (str-index($string, ".js") != null) {
		$m_index: str-index($string, ".js");
	}

	//
	@if (str-index($string, ".has") != null) {
		$m_index: str-index($string, ".has");
	}

	//
	@if (str-index($string, ":") != null) {
		$m_index: str-index($string, ":");
	}

	//
	@return math-min($e_index, $m_index, 0);
}<commit_msg>mechanical error<commit_after>@charset "UTF-8";

/// Get index of separator.
///
/// @access private
///
/// @param {String} $string - Name of selector, where we should find separator
///
/// @returns {Number} - Index of separators

@function bem-index($string) {
	$e_index: null;
	$m_index: null;

	//
	@if (str-index($string, unquote("#{$bem-element-separator}")) != null) {
		$e_index: str-index($string, unquote("#{$bem-element-separator}"));
	}

	//
	@if (str-index($string, unquote("#{$bem-modifier-separator}")) != null) {
		$m_index: str-index($string, unquote("#{$bem-modifier-separator}"));
	}

	//
	@if (str-index($string, ".is") != null) {
		$m_index: str-index($string, ".is");
	}

	//
	@if (str-index($string, ".js") != null) {
		$m_index: str-index($string, ".js");
	}

	//
	@if (str-index($string, ".has") != null) {
		$m_index: str-index($string, ".has");
	}

	//
	@if (str-index($string, ":") != null) {
		$m_index: str-index($string, ":");
	}

	//
	@return math-min($e_index, $m_index, 0);
}
{'fraction_non_alphanumeric': 0.2591674925668979, 'fraction_numerical': 0.0019821605550049554, 'mean_word_length': 3.5472972972972974, 'pattern_counts': {'":': 4, '<': 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': '6479210', 'n_tokens_mistral': 832, 'n_tokens_neox': 789, 'n_words': 149}