<commit_before>import React from "react";
import ReactDOM from "react-dom";
import { HashRouter as Router } from "react-router-dom";
import { App } from "@playnode/music-website";

const xhr = new XMLHttpRequest();
xhr.open('GET', 'playnode.json', true);
xhr.onload = () => {
    if (xhr.status === 200) {
        ReactDOM.render(
            <Router>
                <App data={JSON.parse(xhr.responseText)}/>
            </Router>,
            document.getElementById('root'));
    }
};

xhr.send();<commit_msg>Moving router to App component in package<commit_after>import React from "react";
import ReactDOM from "react-dom";
import { App } from "@playnode/music-website";

const xhr = new XMLHttpRequest();
xhr.open('GET', 'playnode.json', true);
xhr.onload = () => {
    if (xhr.status === 200) {
        ReactDOM.render(
            <App data={JSON.parse(xhr.responseText)}/>,
            document.getElementById('root'));
    }
};

xhr.send();
{'fraction_non_alphanumeric': 0.16842105263157894, 'fraction_numerical': 0.00631578947368421, 'mean_word_length': 3.0641025641025643, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, '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': '2428059', 'n_tokens_mistral': 309, 'n_tokens_neox': 298, 'n_words': 69}