<commit_before>import React, { Component, PropTypes } from 'react';
import IconBox from './IconBox.jsx';
import EmojiMaster from '../utils/emojiMaster';
import Notification from 'react-notification';

export default class MainSection extends Component {
  constructor (props, context) {
    super(props, context);
    this.state = {
      notification: {
        isActive: false
      }
    };
  }

  render () {
    const { emojis, actions } = this.props;

    return (
      <section className='main'>
        {this.renderNotification()}
        <IconBox
          key='recent'
          category='recent'
          icons={emojis}
          actions={actions}
          toggleNotification={this.toggleNotification.bind(this)}
          />
        {this.renderEmojisWithCategories()}
      </section>
    );
  }

  renderEmojisWithCategories () {
    const { actions } = this.props;
    const categories = [ 'people', 'nature', 'objects', 'places', 'symbols' ];
    const master = new EmojiMaster();

    return (
      <div>
        {categories.map(category =>
          <IconBox
            key={category}<commit_msg>chore(structure): use article instead of section<commit_after>import React, { Component, PropTypes } from 'react';
import IconBox from './IconBox.jsx';
import EmojiMaster from '../utils/emojiMaster';
import Notification from 'react-notification';

export default class MainSection extends Component {
  constructor (props, context) {
    super(props, context);
    this.state = {
      notification: {
        isActive: false
      }
    };
  }

  render () {
    const { emojis, actions } = this.props;

    return (
      <article className='main'>
        {this.renderNotification()}
        <IconBox
          key='recent'
          category='recent'
          icons={emojis}
          actions={actions}
          toggleNotification={this.toggleNotification.bind(this)}
          />
        {this.renderEmojisWithCategories()}
      </article>
    );
  }

  renderEmojisWithCategories () {
    const { actions } = this.props;
    const categories = [ 'people', 'nature', 'objects', 'places', 'symbols' ];
    const master = new EmojiMaster();

    return (
      <div>
        {categories.map(category =>
          <IconBox
            key={category}
{'fraction_non_alphanumeric': 0.12538495380554335, 'fraction_numerical': 0.0, 'mean_word_length': 2.477064220183486, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '4601327', 'n_tokens_mistral': 636, 'n_tokens_neox': 626, 'n_words': 144}