<commit_before>import React, { Component } from 'react';
import MineBox from './ui/MineBox';
import ResourceBox from './ui/ResourceBox';
import ResourceStack from './ui/ResourceStack';

class App extends Component {
  render() {
    return (
        <div>
            <MineBox bg_color="green" fg_color="white" >
                <ResourceBox count="1" bg_color="red" fg_color="white" size="16px" />
                <ResourceBox count="2" bg_color="blue" fg_color="white" size="16px" />
                <ResourceBox count="3" bg_color="darkgreen" fg_color="white" size="16px" />
                <ResourceBox count="4" bg_color="black" fg_color="white" size="16px" />
                <ResourceBox count="0" bg_color="white" fg_color="black" size="16px" />
            </MineBox>
            <ResourceStack bgColor="red" stackSize={4} />
            <ResourceStack bgColor="blue" stackSize={0} />
            <ResourceStack bgColor="green" stackSize={2} />
        </div>
    );
  }
}

export default App;<commit_msg>Adding initial version of the ResourcePanel. Styling to be submitted later.<commit_after>import React, { Component } from 'react';
import MineBox from './ui/MineBox';
import ResourceBox from './ui/ResourceBox';
import ResourcePanel from './ui/ResourcePanel';

class App extends Component {
  render() {
    return (
        <div>
            <MineBox bg_color="green" fg_color="white" >
                <ResourceBox count="1" bg_color="red" fg_color="white" size="16px" />
                <ResourceBox count="2" bg_color="blue" fg_color="white" size="16px" />
                <ResourceBox count="3" bg_color="darkgreen" fg_color="white" size="16px" />
                <ResourceBox count="4" bg_color="black" fg_color="white" size="16px" />
                <ResourceBox count="0" bg_color="white" fg_color="black" size="16px" />
            </MineBox>
            <ResourcePanel initialValue={4} />
        </div>
    );
  }
}

export default App;
{'fraction_non_alphanumeric': 0.14846938775510204, 'fraction_numerical': 0.017346938775510204, 'mean_word_length': 2.771153846153846, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, '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': '2787083', 'n_tokens_mistral': 615, 'n_tokens_neox': 591, 'n_words': 134}