<commit_before>// dependencies -------------------------------------------------------

import React      from 'react'
import {Link} from 'react-router';
import {RouteHandler, State} from 'react-router';
import { Nav,DropdownButton, MenuItem, TabbedArea, TabPane, PanelGroup, Accordion, Panel } from 'react-bootstrap';

class Dashboard extends React.Component {
	mixins: [State]

// life cycle events --------------------------------------------------

	constructor (props) {
		super(props);
		this.state = {
			notifications: true,
			datasets: false,
			jobs: false
		};
	}

	render () {
		// Alert bsStyle: danger, warning, success, info
		let filters = (
			<DropdownButton eventKey={4} title='filters' navItem={true} className="navbar-right">
				<MenuItem eventKey='4.0'>By title</MenuItem>
			</DropdownButton>
		);


		return (
	
				<div className="fadeIn inner-route dashboard">
				<ul className="nav nav-pills dash-tab-link">
					<li><Link to="notifications" className="btn-blue">Notifications<span className="unread-badge">2</span></Link></li>
					<li><Link to="datasets" className="btn-blue">My Datasets</Link></li>
					<li><Link to="jobs" className="btn-blue">My Results</Link></li>
					
					<li className="navbar-right"><a href="#"><i className="fa fa-refresh"></i></a></li>
					<li className="navbar-right"><a href="#"><i className="fa fa-search"></i></a></li>
					{filters}
				</ul>
				<div>
				<RouteHandler/>
				</div>
				</div>
		
    	);
	
	};

// custom methods -----------------------------------------------------
	_notifications () {
		this.setState({
			notifications: true,
			datasets: false,
			jobs: false
		});
	};
	_datasets () {
		this.setState({
			notifications: false,
			datasets: true,
			jobs: false
		});
	};
	_jobs () {
		this.setState({
			notifications: false,
			datasets: false,
			jobs: true
		});
	};

}

export default Dashboard;



<commit_msg>removed unused code and dependencies<commit_after>// dependencies -------------------------------------------------------

import React                      from 'react';
import {RouteHandler, Link}       from 'react-router';
import {DropdownButton, MenuItem} from 'react-bootstrap';

class Dashboard extends React.Component {

// life cycle events --------------------------------------------------

	render () {
		return (
			<div className="fadeIn inner-route dashboard">
				<ul className="nav nav-pills dash-tab-link">
					<li><Link to="notifications" className="btn-blue">Notifications<span className="unread-badge">2</span></Link></li>
					<li><Link to="datasets" className="btn-blue">My Datasets</Link></li>
					<li><Link to="jobs" className="btn-blue">My Results</Link></li>
					<li className="navbar-right"><a href="#"><i className="fa fa-refresh"></i></a></li>
					<li className="navbar-right"><a href="#"><i className="fa fa-search"></i></a></li>
					<DropdownButton eventKey={4} title='filters' navItem={true} className="navbar-right">
						<MenuItem eventKey='4.0'>By title</MenuItem>
					</DropdownButton>
				</ul>
				<div>
					<RouteHandler/>
				</div>
			</div>
    	);
	}

}

export default Dashboard;




{'fraction_non_alphanumeric': 0.24355300859598855, 'fraction_numerical': 0.0025469595670168737, 'mean_word_length': 2.522421524663677, 'pattern_counts': {'":': 0, '<': 77, '<?xml version=': 0, '>': 77, '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': '7382745', 'n_tokens_mistral': 1102, 'n_tokens_neox': 925, 'n_words': 204}