<commit_before>import React from 'react'
import { Link } from 'react-router'
import UserContainer from '../containers/user_container'

class Header extends React.Component {
  render() {
    return(
      <div>
        <header className='app-header'>
          <div>
            <h1 className='game-title'><Link to='/' onlyActiveOnIndex>Fix It</Link></h1>
            <span className='score delta'>0</span>
            <ul className='app-navigation'>
              <li><Link activeClassName="active" to="leaderboard">
                  <svg className='nav-icon' viewBox="0 0 200 200">
                    <title>Leader Board</title>
                    <rect x="11.4" y="56" width="24" height="144"/><commit_msg>addition of transition group for score in the header and hooked up score to store<commit_after>import React from 'react'
import { Link } from 'react-router'
import UserContainer from '../containers/user_container'
import ReactCSSTransitionGroup from 'react-addons-css-transition-group'

class Header extends React.Component {
  render() {
    return(
      <div>
        <header className='app-header'>
          <div>
            <h1 className='game-title'><Link to='/' onlyActiveOnIndex>Fix It</Link></h1>
            <ReactCSSTransitionGroup 
              component="span"
              className="score delta"
              transitionName="score"
              transitionEnterTimeout={250}
              transitionLeaveTimeout={250}
            >
            <span key={this.props.score.totalScore}>{this.props.score.totalScore}</span>
            </ReactCSSTransitionGroup>
            <ul className='app-navigation'>
              <li><Link activeClassName="active" to="leaderboard">
                  <svg className='nav-icon' viewBox="0 0 200 200">
                    <title>Leader Board</title>
                    <rect x="11.4" y="56" width="24" height="144"/>
{'fraction_non_alphanumeric': 0.12838196286472148, 'fraction_numerical': 0.02493368700265252, 'mean_word_length': 2.373881932021467, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, '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': '3101669', 'n_tokens_mistral': 540, 'n_tokens_neox': 499, 'n_words': 120}