<commit_before>import React from 'react';

import Row from '../components/Row';
import Col from '../components/Col';

import Item from '../components/Item';
import Heading from '../components/Heading';

const ItemContainer = React.createClass({
    render() {
        return (
            <div>
                <Row>
                    <Col xs={12}>
                        <Heading>Presets</Heading>
                        <Item
                            preset={true}
                            language={this.props.language}
                            formats={{
                                js: 'dddd, MMMM D YYYY',
                                php: 'l, F j Y',
                                ruby: '%A, %B %e %Y',
                                python: '%A, %B %d %Y',
                            }}
                            onClick={this.props.selectItem}
                        />
                        <Item
                            preset={true}
                            language={this.props.language}
                            formats={{
                                js: 'MM/DD/YYYY',
                                php: 'm/d/Y',
                                ruby: '%m/%d/%Y',
                                python: '%m/%d/%Y',
                            }}
                            onClick={this.props.selectItem}
                        />
                        <Item
                            preset={true}
                            language={this.props.language}
                            formats={{
                                js: 'MMMM YYYY',
                                php: 'F Y',
                                ruby: '%B %Y',
                                python: '%B %Y',
                            }}
                            onClick={this.props.selectItem}
                        />
                        <Item
                            preset={true}
                            language={this.props.language}
                            formats={{
                                js: 'MMM D, YYYY',
                                php: 'M j, Y',
                                ruby: '%B %e, %Y',
                                python: '%B %d, %Y',
                            }}
                            onClick={this.props.selectItem}
                        />
                        <Item
                            preset={true}
                            live={true} language={this.props.language}
                            formats={{
                                js: 'YYYY-MM-DD HH:mm:ss',
                                php: 'Y-m-d H:i:s',
                                ruby: '%Y-%m-%d %H:%M:%S',
                                python: '%Y-%m-%d %H:%M:%S',
                            }}
                            onClick={this.props.selectItem}
                        />
                    </Col>
                </Row>
                <Row>
                    <Col xs={12}>
                        <Heading>Day of Month</Heading>
                        <Row>
                            <Item
                                language={this.props.language}
                                desc='2 digits with leading zeros'
                                formats={{
                                    js: 'D',
                                    php: 'j',
                                    ruby: '%e',
                                }}
                                colWrapper={true}
                                onClick={this.props.selectItem}
                            />
                            <Item
                                language={this.props.language}
                                desc='without leading zeros with suffix'
                                formats={{
                                    js: 'Do',
                                    php: 'jS',
                                }}
                                colWrapper={true}
                                onClick={this.props.selectItem}
                            />
                            <Item
                                language={this.props.language}
                                desc='2 digits with leading zeros'
                                formats={{
                                    js: 'DD',
                                    php: 'd',
                                    ruby: '%d',
                                    python: '%d',
                                }}
                                colWrapper={true}
                                onClick={this.props.selectItem}
                            /><commit_msg>fix typo<commit_after>import React from 'react';

import Row from '../components/Row';
import Col from '../components/Col';

import Item from '../components/Item';
import Heading from '../components/Heading';

const ItemContainer = React.createClass({
    render() {
        return (
            <div>
                <Row>
                    <Col xs={12}>
                        <Heading>Presets</Heading>
                        <Item
                            preset={true}
                            language={this.props.language}
                            formats={{
                                js: 'dddd, MMMM D YYYY',
                                php: 'l, F j Y',
                                ruby: '%A, %B %e %Y',
                                python: '%A, %B %d %Y',
                            }}
                            onClick={this.props.selectItem}
                        />
                        <Item
                            preset={true}
                            language={this.props.language}
                            formats={{
                                js: 'MM/DD/YYYY',
                                php: 'm/d/Y',
                                ruby: '%m/%d/%Y',
                                python: '%m/%d/%Y',
                            }}
                            onClick={this.props.selectItem}
                        />
                        <Item
                            preset={true}
                            language={this.props.language}
                            formats={{
                                js: 'MMMM YYYY',
                                php: 'F Y',
                                ruby: '%B %Y',
                                python: '%B %Y',
                            }}
                            onClick={this.props.selectItem}
                        />
                        <Item
                            preset={true}
                            language={this.props.language}
                            formats={{
                                js: 'MMM D, YYYY',
                                php: 'M j, Y',
                                ruby: '%B %e, %Y',
                                python: '%B %d, %Y',
                            }}
                            onClick={this.props.selectItem}
                        />
                        <Item
                            preset={true}
                            live={true} language={this.props.language}
                            formats={{
                                js: 'YYYY-MM-DD HH:mm:ss',
                                php: 'Y-m-d H:i:s',
                                ruby: '%Y-%m-%d %H:%M:%S',
                                python: '%Y-%m-%d %H:%M:%S',
                            }}
                            onClick={this.props.selectItem}
                        />
                    </Col>
                </Row>
                <Row>
                    <Col xs={12}>
                        <Heading>Day of Month</Heading>
                        <Row>
                            <Item
                                language={this.props.language}
                                desc='2 digits without leading zeros'
                                formats={{
                                    js: 'D',
                                    php: 'j',
                                    ruby: '%e',
                                }}
                                colWrapper={true}
                                onClick={this.props.selectItem}
                            />
                            <Item
                                language={this.props.language}
                                desc='without leading zeros with suffix'
                                formats={{
                                    js: 'Do',
                                    php: 'jS',
                                }}
                                colWrapper={true}
                                onClick={this.props.selectItem}
                            />
                            <Item
                                language={this.props.language}
                                desc='2 digits with leading zeros'
                                formats={{
                                    js: 'DD',
                                    php: 'd',
                                    ruby: '%d',
                                    python: '%d',
                                }}
                                colWrapper={true}
                                onClick={this.props.selectItem}
                            />
{'fraction_non_alphanumeric': 0.0946378978850673, 'fraction_numerical': 0.001281777397991882, 'mean_word_length': 0.49473180076628354, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 36, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6251869', 'n_tokens_mistral': 1999, 'n_tokens_neox': 1866, 'n_words': 363}