<commit_before>import React from 'react';
import RaisedButton from 'material-ui/lib/raised-button';

const pStyle = {
    textAlign:'center', 
    marginTop:'2%'
};

var EndPage = React.createClass({
    buttonStyle: {
        display: 'block',
        marginLeft: 'auto',
        marginRight: 'auto',
        width: '50%',
        marginTop:'10%'
    },
    labelStyle: {
        textTransform: 'none'
    },
  	render:function() {   
        var self = this;
        var relaunchButton = <RaisedButton 
            label="Lancer un autre quizz" 
            onMouseDown={self.props.redirect} 
            style={self.buttonStyle}
            labelStyle={self.labelStyle}/>
  		var message = "Le quizz est terminé";
  		return (<div>
                    <p style={pStyle}>{message}</p>
                    {relaunchButton}
                </div>
        );
	}
});

export default EndPage;<commit_msg>change endpage<commit_after>import React from 'react';
import RaisedButton from 'material-ui/lib/raised-button';

const pStyle = {
    textAlign:'center', 
    marginTop:'2%'
};

var EndPage = React.createClass({
    buttonStyle: {
        display: 'block',
        marginLeft: 'auto',
        marginRight: 'auto',
        width: '50%',
        marginTop:'10%'
    },
    labelStyle: {
        textTransform: 'none'
    },
  	render:function() {   
        var self = this;
        var relaunchButton = <RaisedButton 
            label="Lancer un autre quizz" 
            onMouseDown={self.props.redirect} 
            style={self.buttonStyle}
            labelStyle={self.labelStyle}/>
        var commentariesButton = <RaisedButton 
            label="Demander une adresse mail" 
            onMouseDown={self.props.goToMail} 
            style={self.buttonStyle}
            labelStyle={self.labelStyle}/>
  		var message = "Le quizz est terminé";
  		return (<div>
                    <p style={pStyle}>{message}</p>
                    {relaunchButton}
                    {commentariesButton}
                </div>
        );
	}
});

export default EndPage;
{'fraction_non_alphanumeric': 0.12294288480154889, 'fraction_numerical': 0.00484027105517909, 'mean_word_length': 1.9194915254237288, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, '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': '6858729', 'n_tokens_mistral': 631, 'n_tokens_neox': 598, 'n_words': 125}