<commit_before>import React from 'react';
import Container from 'components/container';
import { LineChart } from 'react-d3';

const lineData = [
  {
    name: "series1",
    values: [ { x: 0, y: 1.75 }, { x: 1, y: 1.783 },  { x: 2, y: 1.76 }, { x: 5, y: 1.81 } ]
  }
];

export default class Analytics extends React.Component {

  constructor(props, context){
    super(props, context);
    this.state = {
      tearoff: false
    };
  }

  tearOff(state){
    this.setState({
      tearoff: state
    });
  }

  render(){
    return <Container title='analytics' className='analytics-container animated slideInRight' onTearoff={(state) => this.tearOff(state)}
               tearoff={this.state.tearoff} width={400} height={400} options={{maximizable:true}}>

      <LineChart data={lineData}
                 legend={!true}
                 width={400}<commit_msg>size tweaks<commit_after>import React from 'react';
import Container from 'components/container';
import { LineChart } from 'react-d3';

const lineData = [
  {
    name: "series1",
    values: [ { x: 0, y: 1.75 }, { x: 1, y: 1.783 },  { x: 2, y: 1.76 }, { x: 5, y: 1.81 } ]
  }
];

export default class Analytics extends React.Component {

  constructor(props, context){
    super(props, context);
    this.state = {
      tearoff: false
    };
  }

  tearOff(state){
    this.setState({
      tearoff: state
    });
  }

  render(){
    return <Container title='analytics' className='analytics-container animated slideInRight' onTearoff={(state) => this.tearOff(state)}
               tearoff={this.state.tearoff} width={400} height={800} options={{maximizable:true}}>

      <LineChart data={lineData}
                 legend={!true}
                 width={380}
{'fraction_non_alphanumeric': 0.15491329479768787, 'fraction_numerical': 0.03236994219653179, 'mean_word_length': 2.8466666666666667, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '510993', 'n_tokens_mistral': 603, 'n_tokens_neox': 565, 'n_words': 134}