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

import Navbar from 'react-bootstrap/lib/Navbar'
import Nav from 'react-bootstrap/lib/Nav'
import NavItem from 'react-bootstrap/lib/NavItem'
import NavDropdown from 'react-bootstrap/lib/NavDropdown'
import MenuItem from 'react-bootstrap/lib/MenuItem'

import {LinkContainer} from 'react-router-bootstrap'
import AppSearch from './components/AppSearch'
import {searchPlayersAndMaps} from './services/appsearch/actions'
import {withRouter} from 'react-router-dom'
import {Route, Link} from 'react-router-dom'

import Home from './scenes/Home'
import Maps from './scenes/Maps'
import MapOverview from './scenes/MapOverview'
import PlayerOverview from './scenes/PlayerOverview'
import PlayerLeaderboards from './scenes/PlayerLeaderboards'
import DemoOverview from './scenes/DemoOverview'

import SteamAvatar from 'root/components/SteamAvatar'
import {USERNAME, PLAYERNAME, STEAMID, PLAYERID} from '../../utils/loginData'

import './styles.styl'


class App extends React.Component {
  renderAvatar() {
    const title = (
      <span className="avatar-container">
        <SteamAvatar steamID64={STEAMID} size="small" noLink />
        <span className="playername">
          {PLAYERNAME}
        </span>
      </span>
    )
    return (
      <NavDropdown
        id="navbar-dropdown-logout"
        className="navbar-login-container"
        title={title}
        >
        <LinkContainer to={`/players/${PLAYERID}`} activeClassName={null}>
          <NavItem href="/logout">
            <i className="fa fa-fw fa-user" /> My profile
          </NavItem>
        </LinkContainer>
        <MenuItem href="/logout">
          <i className="fa fa-fw fa-sign-out" /> Sign out
        </MenuItem><commit_msg>Divider for user dropdown.<commit_after>import React from 'react'
import {connect} from 'react-redux'

import Navbar from 'react-bootstrap/lib/Navbar'
import Nav from 'react-bootstrap/lib/Nav'
import NavItem from 'react-bootstrap/lib/NavItem'
import NavDropdown from 'react-bootstrap/lib/NavDropdown'
import MenuItem from 'react-bootstrap/lib/MenuItem'

import {LinkContainer} from 'react-router-bootstrap'
import AppSearch from './components/AppSearch'
import {searchPlayersAndMaps} from './services/appsearch/actions'
import {withRouter} from 'react-router-dom'
import {Route, Link} from 'react-router-dom'

import Home from './scenes/Home'
import Maps from './scenes/Maps'
import MapOverview from './scenes/MapOverview'
import PlayerOverview from './scenes/PlayerOverview'
import PlayerLeaderboards from './scenes/PlayerLeaderboards'
import DemoOverview from './scenes/DemoOverview'

import SteamAvatar from 'root/components/SteamAvatar'
import {USERNAME, PLAYERNAME, STEAMID, PLAYERID} from '../../utils/loginData'

import './styles.styl'


class App extends React.Component {
  renderAvatar() {
    const title = (
      <span className="avatar-container">
        <SteamAvatar steamID64={STEAMID} size="small" noLink />
        <span className="playername">
          {PLAYERNAME}
        </span>
      </span>
    )
    return (
      <NavDropdown
        id="navbar-dropdown-logout"
        className="navbar-login-container"
        title={title}
        >
        <LinkContainer to={`/players/${PLAYERID}`} activeClassName={null}>
          <NavItem href="/logout">
            <i className="fa fa-fw fa-user" /> My profile
          </NavItem>
        </LinkContainer>
        <MenuItem divider />
        <MenuItem href="/logout">
          <i className="fa fa-fw fa-sign-out" /> Sign out
        </MenuItem>
{'fraction_non_alphanumeric': 0.12618121178432462, 'fraction_numerical': 0.0011117287381878821, 'mean_word_length': 3.3943833943833943, 'pattern_counts': {'":': 0, '<': 32, '<?xml version=': 0, '>': 32, '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': '6055453', 'n_tokens_mistral': 1080, 'n_tokens_neox': 1052, 'n_words': 266}