<commit_before>import React, { Component } from 'react';
import axios from 'axios';
import Section from 'shared/components/section/section';
import QuoteBanner from 'shared/components/quoteBanner/quoteBanner';
import TeamCard from 'shared/components/teamCard/teamCard';
import BoardCard from 'shared/components/boardCard/boardCard';
import BoardMembers from './boardMembers';
import styles from './team.css';

class Team extends Component {
  state = {
    members: [],
  };

  componentDidMount() {
    axios
      .get('https://api.operationcode.org/api/v1/team_members.json')
      .then((response) => {
        this.setState({ members: response.data });
      });
  }

  render() {
    const team = this.state.members.map(member => (
      <TeamCard
        key={`${Math.random()} + ${member.name}`}
        name={member.name}
        role={member.role}
      />
    ));

    const boardMembers = BoardMembers.map(boardMember => (
      <BoardCard
        key={`${Math.random()} + ${boardMember.name}`}
        name={boardMember.name}
        role={boardMember.role}
        description={boardMember.description}
        src={boardMember.src}
      />
    ));

    return (
      <div>
        <QuoteBanner
          author="<NAME>"
          quote="To care for him who shall have borne the battle and for his widow, and his orphan."
        />

        <Section title="Our Board" theme="white">
          <div className={styles.boardMembers}>{boardMembers}</div>
          <div className={styles.foundingMembers}>
            <p>
              Operation Code deeply appreciates the time, energy, and hard work
              of our <b>Founding Board Members</b>: <NAME>, <NAME>,
              <NAME>, <NAME>, and <NAME>.
            </p>

            <p style={{ textAlign: 'center' }}><commit_msg>Change keys to avoid function call<commit_after>import React, { Component } from 'react';
import axios from 'axios';
import Section from 'shared/components/section/section';
import QuoteBanner from 'shared/components/quoteBanner/quoteBanner';
import TeamCard from 'shared/components/teamCard/teamCard';
import BoardCard from 'shared/components/boardCard/boardCard';
import BoardMembers from './boardMembers';
import styles from './team.css';

class Team extends Component {
  state = {
    members: [],
  };

  componentDidMount() {
    axios
      .get('https://api.operationcode.org/api/v1/team_members.json')
      .then((response) => {
        this.setState({ members: response.data });
      });
  }

  render() {
    const team = this.state.members.map(member => (
      <TeamCard
        key={`${member.name} + ${member.role}`}
        name={member.name}
        role={member.role}
      />
    ));

    const boardMembers = BoardMembers.map(boardMember => (
      <BoardCard
        key={`${boardMember.name} + ${boardMember.role}`}
        name={boardMember.name}
        role={boardMember.role}
        description={boardMember.description}
        src={boardMember.src}
      />
    ));

    return (
      <div>
        <QuoteBanner
          author="<NAME>"
          quote="To care for him who shall have borne the battle and for his widow, and his orphan."
        />

        <Section title="Our Board" theme="white">
          <div className={styles.boardMembers}>{boardMembers}</div>
          <div className={styles.foundingMembers}>
            <p>
              Operation Code deeply appreciates the time, energy, and hard work
              of our <b>Founding Board Members</b>: <NAME>, <NAME>,
              <NAME>, <NAME>, and <NAME>.
            </p>

            <p style={{ textAlign: 'center' }}>
{'fraction_non_alphanumeric': 0.14009928295642582, 'fraction_numerical': 0.0005515719801434088, 'mean_word_length': 2.5419921875, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 47, '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': '3369570', 'n_tokens_mistral': 1024, 'n_tokens_neox': 1013, 'n_words': 247}