<commit_before>import React from "react";

export default React.createClass({
  propTypes: {
    user: React.PropTypes.object.isRequired,
    size: React.PropTypes.number
  },
  getDefaultProps() {
    return {
      size: 40
    };
  },
  render() {
    return (
      <a className="github-avatar" href={`https://github.com/${this.props.user.github_username}`}>
        <img className="circle" srcSet={`${this.props.user.avatar_url}&s=${this.props.size}, ${this.props.user.avatar_url}&s=${this.props.size*2} 2x`} width={this.props.size} height={this.props.size} alt={this.props.user.name} />
      </a>
    );
  }
});<commit_msg>GithubAvatar: Make changes for es6 migrations<commit_after>import React from "react";

export default class GithubAvatar extends React.Component {

  render() {

    return (
      <a className="github-avatar" href={`https://github.com/${this.props.user.github_username}`}>
        <img className="circle" srcSet={`${this.props.user.avatar_url}&s=${this.props.size}, ${this.props.user.avatar_url}&s=${this.props.size*2} 2x`} width={this.props.size} height={this.props.size} alt={this.props.user.name} />
      </a>
    );
  }
}

GithubAvatar.propTypes = {
  user: React.PropTypes.object.isRequired,
  size: React.PropTypes.number
};

GithubAvatar.defaultProps = {
  size: 40
};
{'fraction_non_alphanumeric': 0.180566182096404, 'fraction_numerical': 0.006885998469778117, 'mean_word_length': 3.9358490566037734, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, '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': '7584534', 'n_tokens_mistral': 456, 'n_tokens_neox': 452, 'n_words': 67}