<commit_before>import React from 'react';
import packageJSON from '../../package.json';

let Mycomponent = React.createClass({
  render: function() {
    let version = packageJSON.version,
        deps, devDeps;

    deps = Object.keys(packageJSON.dependencies).map((dep, i) => <li key={i}>{dep}</li>);
    devDeps = Object.keys(packageJSON.devDependencies).map((dep, i) => <li key={i + 10}>{dep}</li>);

    return (
      <div>
        <h1 className="Mycomponent">Welcome to &#9883; React Starterify</h1>
        <span>version {version}</span>
        <p>Powered by:</p>
        <ul>
          {deps.concat(devDeps)}
        </ul>
      </div>
    );
  }
});

export default Mycomponent;<commit_msg>moved from concat() to spread operator<commit_after>import React from 'react';
import packageJSON from '../../package.json';

let Mycomponent = React.createClass({
  render: function() {
    let version = packageJSON.version,
        deps, devDeps;

    deps = Object.keys(packageJSON.dependencies).map((dep, i) => <li key={i}>{dep}</li>);
    devDeps = Object.keys(packageJSON.devDependencies).map((dep, i) => <li key={i + 10}>{dep}</li>);

    return (
      <div>
        <h1 className="Mycomponent">Welcome to &#9883; React Starterify</h1>
        <span>version {version}</span>
        <p>Powered by:</p>
        <ul>
          {[...deps, ...devDeps]}
        </ul>
      </div>
    );
  }
});

export default Mycomponent;
{'fraction_non_alphanumeric': 0.18067226890756302, 'fraction_numerical': 0.011204481792717087, 'mean_word_length': 2.8413978494623655, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 35, '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': '2957635', 'n_tokens_mistral': 484, 'n_tokens_neox': 465, 'n_words': 101}