<commit_before>import React, { PropTypes, Component } from 'react'
import { Link } from 'react-router-dom'

export function renderLoginButton(onLoginClick) {
  return (<button onClick={() => onLoginClick()}>Login with Facebook</button>)
}

export function renderLogoutButton(onLogoutClick) {
  return (<button onClick={() => onLogoutClick()}>Logout</button>)
}

export class Menubar extends Component {
  constructor(props, context) {
    super(props, context)
  }

  render() {
    const { firedux, authed, onLoginClick, onLogoutClick } = this.props
    return (<div>
      <Link to="/">Leaderboard</Link><br /><commit_msg>User can click link to play quiz<commit_after>import React, { PropTypes, Component } from 'react'
import { Link } from 'react-router-dom'

export function renderLoginButton(onLoginClick) {
  return (<button onClick={() => onLoginClick()}>Login with Facebook</button>)
}

export function renderLogoutButton(onLogoutClick) {
  return (<button onClick={() => onLogoutClick()}>Logout</button>)
}

export class Menubar extends Component {
  constructor(props, context) {
    super(props, context)
  }

  render() {
    const { firedux, authed, onLoginClick, onLogoutClick } = this.props
    return (<div>
      <Link to="/">Leaderboard</Link><br />
      <a href="https://www.facebook.com/messages/t/122419575009686" target="_blank">Play Quiz</a>
      <Link to="/"></Link><br />
{'fraction_non_alphanumeric': 0.14949928469241774, 'fraction_numerical': 0.01072961373390558, 'mean_word_length': 4.757201646090535, 'pattern_counts': {'":': 0, '<': 24, '<?xml version=': 0, '>': 28, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6117096', 'n_tokens_mistral': 437, 'n_tokens_neox': 421, 'n_words': 104}