<commit_before>import React from 'react'
import GraphEditor from 'components/repo_editor/base'
import ampersandMixin from 'ampersand-react-mixin'
import Icon from'react-fa'

export default React.createClass({
  mixins: [ampersandMixin],

  displayName: 'RepoDetailPage',

  render () {
    let repo = <Icon spin name="spinner"/>
    if (app.me.repos.models.length != 0) {
      let rep = app.me.repos.getByName(this.props.repo)
      repo = <GraphEditor repo={rep} savable={true} />
    }
    return (
      <div className='repo-page'>
        {repo}
      </div>
    )
  }
})
<commit_msg>Added key to repo editor so repos would change<commit_after>import React from 'react'
import GraphEditor from 'components/repo_editor/base'
import ampersandMixin from 'ampersand-react-mixin'
import Icon from'react-fa'

export default React.createClass({
  mixins: [ampersandMixin],

  displayName: 'RepoDetailPage',

  render () {
    let repo = <Icon spin name="spinner"/>
    if (app.me.repos.models.length != 0) {
      let rep = app.me.repos.getByName(this.props.repo)
      repo = <GraphEditor repo={rep} savable={true} key={this.props.repo} />
    }
    return (
      <div className='repo-page'>
        {repo}
      </div>
    )
  }
})

{'fraction_non_alphanumeric': 0.1354420113544201, 'fraction_numerical': 0.0016220600162206002, 'mean_word_length': 3.2847222222222223, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '6309309', 'n_tokens_mistral': 416, 'n_tokens_neox': 408, 'n_words': 95}