<commit_before>import React, { Component } from 'react';
import { DataTable, TableHeader }  from 'react-mdl';
import { Link } from 'react-router';

class ClientStrategies extends Component {

    componentDidMount () {
        this.props.fetchClientStrategies();
    }

    render () {
        const source = this.props.clientStrategies
        // temp hack for ignoring dumb data
        .filter(item => item.strategies)
        .map(item => (
            {
                appName: <Link to={`/applications/${item.appName}`}>{item.appName}</Link>,
                strategies: item.strategies && item.strategies.map(name => (<Link to={`/strategies/${name}`}>{name}</Link>)),
            })
        );

        return (
            <DataTable
                style={{ width: '100%' }}
                rows={source}
                selectable={false}
            >
                <TableHeader name="appName">Application name</TableHeader><commit_msg>add spacing<commit_after>import React, { Component } from 'react';
import { DataTable, TableHeader }  from 'react-mdl';
import { Link } from 'react-router';

class ClientStrategies extends Component {

    componentDidMount () {
        this.props.fetchClientStrategies();
    }

    render () {
        const source = this.props.clientStrategies
        // temp hack for ignoring dumb data
        .filter(item => item.strategies)
        .map(item => (
            {
                appName: <Link to={`/applications/${item.appName}`}>{item.appName}</Link>,
                strategies: item.strategies && item.strategies.map(name => (<Link key={name} style={{ marginRight: '5px' }} to={`/strategies/${name}`}>{name}</Link>)),
            })
        );

        return (
            <DataTable
                style={{ width: '100%' }}
                rows={source}
                selectable={false}
            >
                <TableHeader name="appName">Application name</TableHeader>
{'fraction_non_alphanumeric': 0.14278350515463917, 'fraction_numerical': 0.0036082474226804126, 'mean_word_length': 2.0470957613814758, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 23, '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': '6981692', 'n_tokens_mistral': 548, 'n_tokens_neox': 537, 'n_words': 106}