<commit_before>/**
 * @module Privacy
 * Privacy agreement component
 *
 **/
import styles from './style.css';

import React, { PropTypes } from 'react';
import PureComponent from 'react-pure-render/component';
import classNames from 'classnames';
import Button from '../Button';
import I18Next from 'i18next';
import Error from '../Error';

class Privacy extends PureComponent {

    constructor(props) {
        super(props);
        let email = '';
        if (props.prefillData && props.prefillData.email) {
            email = props.prefillData.email;
        }
        this.state = {
            email,
            terms: false,
            error: '',
            participate: false
        };
        this._onChange = this._onChange.bind(this);
        this._participate = this._participate.bind(this);<commit_msg>Checkbox in policy default to checked<commit_after>/**
 * @module Privacy
 * Privacy agreement component
 *
 **/
import styles from './style.css';

import React, { PropTypes } from 'react';
import PureComponent from 'react-pure-render/component';
import classNames from 'classnames';
import Button from '../Button';
import I18Next from 'i18next';
import Error from '../Error';

class Privacy extends PureComponent {

    constructor(props) {
        super(props);
        let email = '';
        if (props.prefillData && props.prefillData.email) {
            email = props.prefillData.email;
        }
        this.state = {
            email,
            terms: true,
            error: '',
            participate: false
        };
        this._onChange = this._onChange.bind(this);
        this._participate = this._participate.bind(this);
{'fraction_non_alphanumeric': 0.12012012012012012, 'fraction_numerical': 0.004804804804804805, 'mean_word_length': 2.4421487603305785, 'pattern_counts': {'":': 0, '<': 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': '1669937', 'n_tokens_mistral': 455, 'n_tokens_neox': 442, 'n_words': 122}