<commit_before>/**
 * Comments js
 * @jsx React.DOM
 */

  /**
   * Comment itself
   */
  var Comment = React.createClass({
    render: function () {
      return (
        <div className='comment'>
          <h2 className='comment-author'>
            {this.props.author}
          </h2>
          <section className='comment-text'>
            {this.props.comment}
          </section>
        </div>
      );
    }
  });

  /**
   * Comment's list
   */
  var CommentList = React.createClass({
    render: function () {
      var commentNodes = this.props.comments.map(function (comment, index) {
        return (
          <Comment author={comment.author} comment={comment.comment} key={index} />
        );
      });

      return (
        <div className='comment-list'>
          {commentNodes}
        </div>
      );
    }
  });
  var fakeComments = [
    { author: "Lucas", comment: "Hell yeah!" },
    { author: "Lucas", comment: "Hell yeah, again!" }
  ];

  window.onload = function () {
    React.renderComponent(
      <CommentList comments={fakeComments} />,
      document.getElementById('comments')
    );
  };<commit_msg>Update comments.js.jsx<commit_after>/**
 * Comments js
 * @jsx React.DOM
 */

/**
 * Comment itself
 */
var Comment = React.createClass({
  render: function () {
    return (
      <div className='comment'>
        <h2 className='comment-author'>
          {this.props.author}
        </h2>
        <section className='comment-text'>
          {this.props.comment}
        </section>
      </div>
    );
  }
});

/**
 * Comment's list
 */
var CommentList = React.createClass({
  render: function () {
    var commentNodes = this.props.comments.map(function (comment, index) {
      return (
        <Comment author={comment.author} comment={comment.comment} key={index} />
      );
    });

    return (
      <div className='comment-list'>
        {commentNodes}
      </div>
    );
  }
});
var fakeComments = [
  { author: "Lucas", comment: "Hell yeah!" },
  { author: "Lucas", comment: "Hell yeah, again!" }
];

window.onload = function () {
  React.renderComponent(
    <CommentList comments={fakeComments} />,
    document.getElementById('comments')
  );
};
{'fraction_non_alphanumeric': 0.1625056740807989, 'fraction_numerical': 0.0018157058556513845, 'mean_word_length': 2.1942028985507247, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '959842', 'n_tokens_mistral': 671, 'n_tokens_neox': 657, 'n_words': 131}