<commit_before>import React from 'react';
import { connect } from 'react-redux';

const Dashboard = _ => (
    <div id="dashboard">
        <section className="AltWrapper">
            <div className="Altitude">
                <h1 id="RelativeAltitude">467m</h1>
                <h2 id="Estimate">landing in 37s</h2>
            </div>
        </section>
    </div>
);

export default connect(store => ({

}))(Dashboard);<commit_msg>Add testing button to Dashboard<commit_after>import React from 'react';
import { connect } from 'react-redux';
import { addPacket } from '../helpers';

const ex_packet = '5,16.8,997,420,50,N,60,E,4,-55,3,2000,0.5,0,1,2,4,8,16,32,64';

const Dashboard = _ => (
    <div id="dashboard">
        <button onClick={e => addPacket(ex_packet)}>Generate</button>
        <section className="AltWrapper">
            <div className="Altitude">
                <h1 id="RelativeAltitude">467m</h1>
                <h2 id="Estimate">landing in 37s</h2>
            </div>
        </section>
    </div>
);

export default connect(store => ({

}))(Dashboard);
{'fraction_non_alphanumeric': 0.17145505097312327, 'fraction_numerical': 0.04911955514365153, 'mean_word_length': 2.7630662020905925, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 30, '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': '6244909', 'n_tokens_mistral': 376, 'n_tokens_neox': 354, 'n_words': 71}