<commit_before>import PropTypes from 'prop-types';
import React from 'react';
import { injectIntl } from 'react-intl';
import { Helmet } from 'react-helmet';
import AppContainer from '../AppContainer';
import messages from '../../resources/messages';

const SourcesApp = (props) => {
  const { formatMessage } = props.intl;
  const titleHandler = parentTitle => `${formatMessage(messages.sourcesToolName)} | ${parentTitle}`;
  return (
    <div>
      <Helmet><title>{titleHandler()}</title></Helmet>
      <AppContainer
        name="sources"
        title={formatMessage(messages.sourcesToolName)}
        description={formatMessage(messages.sourcesToolDescription)}
      >
        {props.children}
      </AppContainer>
    </div>
  );
};

SourcesApp.propTypes = {
  children: PropTypes.node,
  intl: PropTypes.object.isRequired,<commit_msg>better source mgr homepage title<commit_after>import PropTypes from 'prop-types';
import React from 'react';
import { injectIntl } from 'react-intl';
import { Helmet } from 'react-helmet';
import AppContainer from '../AppContainer';
import messages from '../../resources/messages';

const SourcesApp = (props) => {
  const { formatMessage } = props.intl;
  return (
    <div>
      <Helmet>
        <title>
          {`${formatMessage(messages.sourcesToolName)} | ${formatMessage(messages.suiteName)}`}
        </title>
      </Helmet>
      <AppContainer
        name="sources"
        title={formatMessage(messages.sourcesToolName)}
        description={formatMessage(messages.sourcesToolDescription)}
      >
        {props.children}
      </AppContainer>
    </div>
  );
};

SourcesApp.propTypes = {
  children: PropTypes.node,
  intl: PropTypes.object.isRequired,
{'fraction_non_alphanumeric': 0.14068884997081144, 'fraction_numerical': 0.0, 'mean_word_length': 3.5343915343915344, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 22, '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': '3611604', 'n_tokens_mistral': 486, 'n_tokens_neox': 491, 'n_words': 103}