<commit_before>import React from 'react';
import { browserHistory, Link} from 'react-router';
import { Jumbotron, Button, Grid, Row, Col } from 'react-bootstrap';
import axios from 'axios';

class Home extends React.Component {
  constructor(props) {
    super(props);
    this.state = {
      userName: this.props.userName,
      userPhoto: this.props.userPhoto,
      interested: this.props.interested
    }
  }

  render() {
    return (
      <div>
        <div>

          <Jumbotron bsClass="jumbotron motivate">

            <h1>TEST, you've got this.<br/>
            <small>What would you like to do?</small>
            </h1>

            <Grid>
              <Row>
                <Col sm={2}/>
                <Col sm={8}> <Button bsSize="large" block>Complete Your Profile</Button> </Col>
                <Col sm={2}/>
              </Row>
            </Grid>

          </Jumbotron>

        </div>
        <div>
          {this.props.children}
        </div>
      </div>
    )
  }
}

module.exports = Home;<commit_msg>makes the name in jumbotron match username prop<commit_after>import React from 'react';
import { browserHistory, Link} from 'react-router';
import { Jumbotron, Button, Grid, Row, Col } from 'react-bootstrap';
import axios from 'axios';

class Home extends React.Component {
  constructor(props) {
    super(props);
    this.state = {
      userName: this.props.userName,
      userPhoto: this.props.userPhoto,
      interested: this.props.interested
    }
  }

  render() {
    let name = this.props.userName.split(' ')[0];
    return (
      <div>
        <div>

          <Jumbotron bsClass="jumbotron motivate">

            <h1>{name}, you've got this.<br/>
            <small>What would you like to do?</small>
            </h1>

            <Grid>
              <Row>
                <Col sm={2}/>
                <Col sm={8}> <Button bsSize="large" block>Complete Your Profile</Button> </Col>
                <Col sm={2}/>
              </Row>
            </Grid>

          </Jumbotron>

        </div>
        <div>
          {this.props.children}
        </div>
      </div>
    )
  }
}

module.exports = Home;
{'fraction_non_alphanumeric': 0.13788300835654596, 'fraction_numerical': 0.00510677808727948, 'mean_word_length': 1.7557544757033248, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 49, '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': '4854715', 'n_tokens_mistral': 688, 'n_tokens_neox': 657, 'n_words': 162}