<commit_before>import React from 'react';
import ReactDOM from 'react-dom';

Meteor.startup(() => {
  ReactDOM.render((
    <div>Hello world 2!</div>
  ), document.getElementById('root'));
});<commit_msg>refactor root react component<commit_after>import React from 'react';
import ReactDOM from 'react-dom';
import Snippet from './Snippet';


Meteor.startup(() => {
  ReactDOM.render((
    <App />
  ), document.getElementById('root'));
});

class App extends React.Component {
  render() {
    return (
      <div>
        <Snippet />
      </div>
    );
  }
}
{'fraction_non_alphanumeric': 0.1711229946524064, 'fraction_numerical': 0.0017825311942959, 'mean_word_length': 3.532258064516129, 'pattern_counts': {'":': 0, '<': 9, '<?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': '2523237', 'n_tokens_mistral': 181, 'n_tokens_neox': 178, 'n_words': 42}