<commit_before>// # AnnualCosts Component
'use strict';

// Loads React
import React, {Component} from 'react';
import ChartistGraph from 'react-chartist';
import {formatMoney as format} from 'accounting';

// Sets up a logger
import debug from 'debug';
const log = debug('components/AnnualCosts');

class AnnualCosts extends Component {

  displayName: 'AnnualCosts'

  constructor (props) {
    super(props);
  }

  render () {
    log('this.props.travel', this.props.travel);
    log('this.props.lease', this.props.lease);

    const props = {
      data: {
        labels: this.props.months,
        series: [
          {
            className: 'series-lease',
            name: 'Cost of a Lease',
            data: this.props.lease,
          },
          {
            className: 'series-travel',
            name: 'Cost of World Travel',
            data: this.props.travel,
          },
        ],
      },
      options: {
        stretch: true,
        low: 0,
        showArea: true,
        fullWidth: true,
        axisX: {
          labelInterpolationFnc: function(value, index) {
            return index % 2 === 0 ? value : ' ';
          },
        },
        axisY: {
          low: 0,<commit_msg>feat(logging): removed noisy logging<commit_after>// # AnnualCosts Component
'use strict';

// Loads React
import React, {Component} from 'react';
import ChartistGraph from 'react-chartist';
import {formatMoney as format} from 'accounting';

class AnnualCosts extends Component {

  render () {
    const props = {
      data: {
        labels: this.props.months,
        series: [
          {
            className: 'series-lease',
            name: 'Cost of a Lease',
            data: this.props.lease,
          },
          {
            className: 'series-travel',
            name: 'Cost of World Travel',
            data: this.props.travel,
          },
        ],
      },
      options: {
        stretch: true,
        low: 0,
        showArea: true,
        fullWidth: true,
        axisX: {
          labelInterpolationFnc: function(value, index) {
            return index % 2 === 0 ? value : ' ';
          },
        },
        axisY: {
          low: 0,
{'fraction_non_alphanumeric': 0.1212259835315645, 'fraction_numerical': 0.0036596523330283625, 'mean_word_length': 1.7167701863354037, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3086622', 'n_tokens_mistral': 641, 'n_tokens_neox': 620, 'n_words': 166}