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

define(
  [
    'react',
    'components/common/Time.react'
  ],
  function (React, Time) {

    return React.createClass({

      propTypes: {
        instance: React.PropTypes.instanceOf(Backbone.Model).isRequired
      },

      render: function () {

        return (
          <div className="instance-info-section">

            <div className="instance-image">
              <a href="/application/images/9ab516c9-c39f-595e-a990-977642da4c0e">
                <img src="//www.gravatar.com/avatar/918bf82f238c6c264fc7701e1ff61363?d=identicon&amp;s=100" width="100" height="100"/>
              </a>
            </div>

            <div className="instance-info">
              <h4 className="instance-name">{this.props.instance.get('name')}</h4>
              <div className="instance-launch-date">Launched on <Time date={this.props.instance.get('start_date')}/></div>
              <div className="instance-tags">Instance Tags:</div>
              <ul className="tags">
                <li className="tag"><a href="#">Batman</a></li>
                <li className="tag"><a href="#">Bruce Wayne</a></li>
                <li className="tag"><a href="#">Superman</a></li>
                <li className="tag"><a href="#">Ironman</a></li>
                <li className="tag"><a href="#">Black Widow</a></li>
                <li className="tag"><a href="#">HULK SMASH!!</a></li>
              </ul>
            </div>

            <div className="edit-instance-link">
              <a href="#">Edit Instance Info</a>
            </div>

          </div>
        );
      }

    });

  });<commit_msg>import instance tags<commit_after>/** @jsx React.DOM */

define(
  [
    'react',
    'components/common/Time.react'
  ],
  function (React, Time) {

    return React.createClass({

      propTypes: {
        instance: React.PropTypes.instanceOf(Backbone.Model).isRequired
      },

      render: function () {

        var tags = this.props.instance.get('tags').map(function(tag){
          return (
            <li key={tag} className="tag"><a href="#">{tag}</a></li>
          );
        });

        return (
          <div className="instance-info-section clearfix">

            <div className="instance-image">
              <a href="/application/images/9ab516c9-c39f-595e-a990-977642da4c0e">
                <img src="//www.gravatar.com/avatar/918bf82f238c6c264fc7701e1ff61363?d=identicon&amp;s=100" width="100" height="100"/>
              </a>
            </div>

            <div className="instance-info">
              <h4 className="instance-name">{this.props.instance.get('name')}</h4>
              <div className="instance-launch-date">Launched on <Time date={this.props.instance.get('start_date')}/></div>
              <div className="instance-tags">Instance Tags:</div>
              <ul className="tags">
                {tags}
              </ul>
            </div>

            <div className="edit-instance-link">
              <a href="#">Edit Instance Info</a>
            </div>

          </div>
        );
      }

    });

  });
{'fraction_non_alphanumeric': 0.1753875968992248, 'fraction_numerical': 0.03488372093023256, 'mean_word_length': 1.9299905392620624, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 0, '>': 75, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '2371901', 'n_tokens_mistral': 1021, 'n_tokens_neox': 926, 'n_words': 139}