<commit_before>import React from 'react';
import PropTypes from 'prop-types';
import strings from 'lang';
import {
  XAxis,
  YAxis,
  Tooltip,
  Line,
  LineChart,
  CartesianGrid,
  Legend,
  Label, ResponsiveContainer, Brush,
} from 'recharts';
import constants from 'components/constants';
import styled from 'styled-components';

const StyledGraphArea = styled.div`
user-select: none;
`;

const filterZeroValues = (column) => {
  const c = column;
  return {
    ...column,
    solo_competitive_rank: c.solo_competitive_rank || null,
    competitive_rank: c.competitive_rank || null,
  };
};

const formatXTick = (time) => {<commit_msg>removed const c<commit_after>import React from 'react';
import PropTypes from 'prop-types';
import strings from 'lang';
import {
  XAxis,
  YAxis,
  Tooltip,
  Line,
  LineChart,
  CartesianGrid,
  Legend,
  Label, ResponsiveContainer, Brush,
} from 'recharts';
import constants from 'components/constants';
import styled from 'styled-components';

const StyledGraphArea = styled.div`
user-select: none;
`;

const filterZeroValues = column => ({
  ...column,
  solo_competitive_rank: column.solo_competitive_rank || null,
  competitive_rank: column.competitive_rank || null,
});

const formatXTick = (time) => {
{'fraction_non_alphanumeric': 0.11900958466453675, 'fraction_numerical': 0.0, 'mean_word_length': 4.747706422018348, 'pattern_counts': {'":': 0, '<': 3, '<?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': '668691', 'n_tokens_mistral': 407, 'n_tokens_neox': 411, 'n_words': 108}