<commit_before>/*global require: false, module: false */
'use strict';
var React = require('react');
var Select = require('./Select');
var _ = require('underscore_ext');
var {deepPureRenderMixin} = require('./react-utils');
require('react-select/dist/default.css');

var CohortSelect = React.createClass({
	mixins: [deepPureRenderMixin],
	render: function () {
		var {cohort, cohorts, callback} = this.props,
			options = _.map(cohorts, c => ({value: c, label: c}));
		return (
			<div className='form-group'>
				<label className='cohortAnchor'>Cohort</label>
				{' '}
				<Select
					event='cohort'
					callback={callback}
					value={cohort}<commit_msg>Drop unused css.<commit_after>/*global require: false, module: false */
'use strict';
var React = require('react');
var Select = require('./Select');
var _ = require('underscore_ext');
var {deepPureRenderMixin} = require('./react-utils');

var CohortSelect = React.createClass({
	mixins: [deepPureRenderMixin],
	render: function () {
		var {cohort, cohorts, callback} = this.props,
			options = _.map(cohorts, c => ({value: c, label: c}));
		return (
			<div className='form-group'>
				<label className='cohortAnchor'>Cohort</label>
				{' '}
				<Select
					event='cohort'
					callback={callback}
					value={cohort}
{'fraction_non_alphanumeric': 0.1751368256450352, 'fraction_numerical': 0.0, 'mean_word_length': 4.493562231759657, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '6093974', 'n_tokens_mistral': 480, 'n_tokens_neox': 406, 'n_words': 94}