<commit_before>import React, { Component } from 'react';
import PropTypes from 'prop-types';
import styles from './boardCard.css';

class BoardCard extends Component {
  render() {
    return (
      <div className={styles.boardCard}>
        <img className={styles.img} src={this.props.src} alt={this.props.alt} />
        <span className={styles.name}>
          {this.props.name}
        </span>
        <hr className={styles.hr} />
        <span className={styles.item}>
          <span className={styles.upper}>Role: </span> {this.props.role}
        </span>
      </div>
    );
  }
}

BoardCard.propTypes = {
  name: PropTypes.string.isRequired,
  src: PropTypes.string.isRequired,
  alt: PropTypes.string.isRequired,
  role: PropTypes.string.isRequired
};<commit_msg>converts boardCard to SFC<commit_after>import React from 'react';
import PropTypes from 'prop-types';
import styles from './boardCard.css';

const BoardCard = ({
  alt,
  name,
  role,
  src
}) => (
  <div className={styles.boardCard}>
    <img className={styles.img} src={src} alt={alt} />
    <span className={styles.name}>
      {name}
    </span>
    <hr className={styles.hr} />
    <span className={styles.item}>
      <span className={styles.upper}>Role: </span> {role}
    </span>
  </div>
);

BoardCard.propTypes = {
  name: PropTypes.string.isRequired,
  src: PropTypes.string.isRequired,
  alt: PropTypes.string.isRequired,
  role: PropTypes.string.isRequired
};
{'fraction_non_alphanumeric': 0.15687629578438148, 'fraction_numerical': 0.0, 'mean_word_length': 3.271386430678466, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 24, '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': '5821561', 'n_tokens_mistral': 452, 'n_tokens_neox': 461, 'n_words': 98}