<commit_before>// @flow
import React, { Component, PropTypes } from 'react';
import { observer } from 'mobx-react';
import { defineMessages, intlShape } from 'react-intl';
import moment from 'moment';
import StakingChartTooltipItem from './StakingChartTooltipItem';
import styles from './StakingChartTooltip.scss';

const dateFormat = 'YYYY-MM-DD-HH:mm';

const messages = defineMessages({
  slot: {
    id: 'staking.chart.tooltip.slot.label',
    defaultMessage: '!!!slot',
    description: '"slit" label on staking chart tooltip.'
  },
  transactions: {
    id: 'staking.chart.tooltip.transactions.label',
    defaultMessage: '!!!transactions',
    description: '"transactions" label on staking chart tooltip.'
  },
  mpcPhase: {
    id: 'staking.chart.tooltip.mpc.phase.label',
    defaultMessage: '!!!MPC phase',
    description: '"MPC phase" label on staking chart tooltip.'
  },
  commitments: {
    id: 'staking.chart.tooltip.commitments.label',
    defaultMessage: '!!!commitments',
    description: '"commitments" label on staking chart tooltip.'
  },
  openings: {
    id: 'staking.chart.tooltip.openings.label',
    defaultMessage: '!!!openings',
    description: '"openings" label on staking chart tooltip.'
  },
  shares: {<commit_msg>Fix typo<commit_after>// @flow
import React, { Component, PropTypes } from 'react';
import { observer } from 'mobx-react';
import { defineMessages, intlShape } from 'react-intl';
import moment from 'moment';
import StakingChartTooltipItem from './StakingChartTooltipItem';
import styles from './StakingChartTooltip.scss';

const dateFormat = 'YYYY-MM-DD-HH:mm';

const messages = defineMessages({
  slot: {
    id: 'staking.chart.tooltip.slot.label',
    defaultMessage: '!!!slot',
    description: '"slot" label on staking chart tooltip.'
  },
  transactions: {
    id: 'staking.chart.tooltip.transactions.label',
    defaultMessage: '!!!transactions',
    description: '"transactions" label on staking chart tooltip.'
  },
  mpcPhase: {
    id: 'staking.chart.tooltip.mpc.phase.label',
    defaultMessage: '!!!MPC phase',
    description: '"MPC phase" label on staking chart tooltip.'
  },
  commitments: {
    id: 'staking.chart.tooltip.commitments.label',
    defaultMessage: '!!!commitments',
    description: '"commitments" label on staking chart tooltip.'
  },
  openings: {
    id: 'staking.chart.tooltip.openings.label',
    defaultMessage: '!!!openings',
    description: '"openings" label on staking chart tooltip.'
  },
  shares: {
{'fraction_non_alphanumeric': 0.1437173825772782, 'fraction_numerical': 0.0, 'mean_word_length': 4.2133891213389125, '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': '3511305', 'n_tokens_mistral': 762, 'n_tokens_neox': 773, 'n_words': 197}