<commit_before>import * as React from 'react'
import * as _ from 'lodash'

let Toolbar = React.createClass({
	render() {
		return React.createElement('ul', {className: 'toolbar'},
			_.map(this.props.tools, tool => React.createElement('li', {className: 'toolbar-item'}, tool)))
	}
})

export default Toolbar
<commit_msg>Give each toolbar item a key based on it's name<commit_after>import * as React from 'react'
import * as _ from 'lodash'

let Toolbar = React.createClass({
	render() {
		return React.createElement('ul', {className: 'toolbar'},
			_.map(this.props.tools, tool => React.createElement('li', {className: 'toolbar-item', key: tool}, tool)))
	}
})

export default Toolbar

{'fraction_non_alphanumeric': 0.1562043795620438, 'fraction_numerical': 0.0, 'mean_word_length': 5.125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '7358465', 'n_tokens_mistral': 222, 'n_tokens_neox': 210, 'n_words': 63}