<commit_before>/*eslint no-undef: 0*/
import React from "react";
import PropTypes from "prop-types";

import buildNumber from "../buildNumber";
import { VERSION } from "../constants";

const block = "version";

const VERSION_NAMES = {
	1:  "beta 1",
	46: "beta 2"
};

const VersionNumber = function(props) {
	let { verbose } = props;
	let hasName = !!VERSION_NAMES[buildNumber];

	var buildText;

	if (hasName) {
		buildText = VERSION_NAMES[buildNumber] +
			(verbose ? ` (build ${buildNumber})` : "");
	}
	else {
		buildText = `build ${buildNumber}`;
	}

	var text = verbose ? `${VERSION} ${buildText}` : buildText;

	if (__DEV__) {
		text += verbose ? " (dev)" : " dev";
	}

	let className = block +
		(hasName ? `${block}--named` : "");

	return <span className={className}>{ text }</span>;
};

VersionNumber.propTypes = {
	verbose: PropTypes.bool
};

export default VersionNumber;<commit_msg>Added important space<commit_after>/*eslint no-undef: 0*/
import React from "react";
import PropTypes from "prop-types";

import buildNumber from "../buildNumber";
import { VERSION } from "../constants";

const block = "version";

const VERSION_NAMES = {
	1:  "beta 1",
	46: "beta 2"
};

const VersionNumber = function(props) {
	let { verbose } = props;
	let hasName = !!VERSION_NAMES[buildNumber];

	var buildText;

	if (hasName) {
		buildText = VERSION_NAMES[buildNumber] +
			(verbose ? ` (build ${buildNumber})` : "");
	}
	else {
		buildText = `build ${buildNumber}`;
	}

	var text = verbose ? `${VERSION} ${buildText}` : buildText;

	if (__DEV__) {
		text += verbose ? " (dev)" : " dev";
	}

	let className = block +
		(hasName ? ` ${block}--named` : "");

	return <span className={className}>{ text }</span>;
};

VersionNumber.propTypes = {
	verbose: PropTypes.bool
};

export default VersionNumber;
{'fraction_non_alphanumeric': 0.17212659633536925, 'fraction_numerical': 0.006662965019433648, 'mean_word_length': 4.090395480225989, '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': '662607', 'n_tokens_mistral': 634, 'n_tokens_neox': 617, 'n_words': 161}