<commit_before>import React from 'react'
import _ from 'underscore'

export default React.createClass({

  renderCues: function () {
    if (this.props.getQuestion().cues && this.props.getQuestion().cues.length > 0 && this.props.getQuestion().cues[0] !== "") {
      const cueDivs = this.props.getQuestion().cues.map((cue) => {
        return (
          <div className="cue">
            {cue}
          </div>
        )
      })
      return (
        <div className="cues">
          {cueDivs}
        </div>
      )
    }
  },

  render: function() {
    return <div>{this.renderCues()}</div>
  }<commit_msg>each child in cue has a unique key prop<commit_after>import React from 'react'
import _ from 'underscore'

export default React.createClass({

  renderCues: function () {
    if (this.props.getQuestion().cues && this.props.getQuestion().cues.length > 0 && this.props.getQuestion().cues[0] !== "") {
      const cueDivs = this.props.getQuestion().cues.map((cue) => {
        return (
          <div key={cue} className="cue">
            {cue}
          </div>
        )
      })
      return (
        <div className="cues">
          {cueDivs}
        </div>
      )
    }
  },

  render: function() {
    return <div>{this.renderCues()}</div>
  }
{'fraction_non_alphanumeric': 0.16428571428571428, 'fraction_numerical': 0.0031746031746031746, 'mean_word_length': 2.1683417085427137, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 19, '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': '120930', 'n_tokens_mistral': 419, 'n_tokens_neox': 397, 'n_words': 77}