<commit_before>import React from 'react';
import {Link} from 'react-router';


export default class Sidebar extends React.Component {

    logout(){
        sessionStorage.removeItem('token');
    }

    render() {
        return (
            <div>

                <div id="sidebar-wrapper">
            <ul className="sidebar-nav nav-pills nav-stacked" id="menu">

                <li class="active">
                    <Link to="/dashboard/" activeStyle={{ color: '#315561'}}><span className="fa-stack fa-lg pull-left"><i className="fa fa-dashboard fa-stack-1x " /></span> Dashboard</Link>
                       <ul className="nav-pills nav-stacked bunny" >
                        <li><a href="simple_sidebar_menu.html#">link1</a></li>
                        <li><a href="simple_sidebar_menu.html#">link2</a></li>
                    </ul>
                </li>
                <li>
                    <a href="simple_sidebar_menu.html#"><span className="fa-stack fa-lg pull-left"><i className="fa fa-flag fa-stack-1x "/></span> Shortcut</a>
                    <ul className="nav-pills nav-stacked bunny">
                        <li><a href="simple_sidebar_menu.html#"><span className="fa-stack fa-lg pull-left"><i className="fa fa-flag fa-stack-1x "/></span>link1</a></li>
                        <li><a href="simple_sidebar_menu.html#"><span className="fa-stack fa-lg pull-left"><i className="fa fa-flag fa-stack-1x " /></span>link2</a></li>

                    </ul>
                </li>
                <li>
                     <Link to="/dashboard/tags" activeStyle={{ color: '#315561'}}> <span className="fa-stack fa-lg pull-left"><i className="fa fa-tags fa-stack-1x "/></span> Tags</Link>
                </li>
                <li>
                     <Link to="/" activeStyle={{ color: '#315561'}} onclick= { this.logout }> <span className="fa-stack fa-lg pull-left"><i className="fa fa-sign-out fa-stack-1x "/></span> Log Out</Link>
                </li>
            </ul>
        </div>

            </div><commit_msg>added static scripts<commit_after>import React from 'react';
import {Link} from 'react-router';


export default class Sidebar extends React.Component {

    logout(){
        sessionStorage.removeItem('token');
        sessionStorage.removeItem('key');
    }

    render() {
        return (
            <div>

                <div id="sidebar-wrapper">
                    <ul className="sidebar-nav nav-pills nav-stacked" id="menu">

                        <li class="active">
                            <Link to="/dashboard/" activeStyle={{ color: '#315561'}}><span className="fa-stack fa-lg pull-left"><i className="fa fa-dashboard fa-stack-1x " /></span> Dashboard</Link>
                        </li>
                        <li>
                            <a href="simple_sidebar_menu.html#"><span className="fa-stack fa-lg pull-left"><i className="fa fa-flag fa-stack-1x "/></span> Shortcut</a>
                            <ul className="nav-pills nav-stacked bunny">
                                <li><a href="simple_sidebar_menu.html#"><span className="fa-stack fa-lg pull-left"><i className="fa fa-flag fa-stack-1x "/></span>link1</a></li>
                                <li><a href="simple_sidebar_menu.html#"><span className="fa-stack fa-lg pull-left"><i className="fa fa-flag fa-stack-1x " /></span>link2</a></li>

                            </ul>
                        </li>
                        <li>
                            <Link to="/dashboard/tags" activeStyle={{ color: '#315561'}}> <span className="fa-stack fa-lg pull-left"><i className="fa fa-tags fa-stack-1x "/></span> Tags</Link>
                        </li>
                        <li>
                            <Link to="/" activeStyle={{ color: '#315561'}} onclick= { this.logout }> <span className="fa-stack fa-lg pull-left"><i className="fa fa-sign-out fa-stack-1x "/></span> Log Out</Link>
                        </li>
                    </ul>
                </div>

            </div>
{'fraction_non_alphanumeric': 0.1650966782350025, 'fraction_numerical': 0.013386217154189391, 'mean_word_length': 1.6989966555183946, 'pattern_counts': {'":': 0, '<': 113, '<?xml version=': 0, '>': 113, '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': '2994745', 'n_tokens_mistral': 1207, 'n_tokens_neox': 1130, 'n_words': 241}