<commit_before>import React from 'react';
import { makeStyles } from '@material-ui/styles';
import Paper from '@material-ui/core/Paper';
import Typography from '@material-ui/core/Typography';
import Grid from '@material-ui/core/Grid';
import Button from '@material-ui/core/Button';
import { Link } from 'react-router-dom';


const useStyles = makeStyles({
    root: {
        margin: '0 auto',
        marginTop: 50,
        flexGrow: 1,
        width: '50%',
        height: 400,
        textAlign: 'center',
    },
    item: {
        padding: "40px !important",
    },
    block: {
        backgroundColor: '#4e4e4e',
        height: '100%',
        width: '100%',
        padding: 40,
        '&:hover': {
            backgroundColor: 'black',
        }
    },
})

const Main = (props) => {

    const classes = useStyles();

    return (
        <Paper elevation={4} className={classes.root} >
            <Typography variant={"h4"}>
                Welcome to Katib
            </Typography>
            <Typography variant={"h6"}>
                Choose type of experiment
            </Typography>
            <br />
            <Grid container spacing={40} alignContent={"center"}>
                <Grid item xs={6} className={classes.item} component={Link} to="/katib/hp/">
                    <Paper className={classes.block}>
                        <Typography variant={"h6"} color={"secondary"}>
                            Hyperparameter Tuning
                        </Typography> 
                    </Paper>
                </Grid>
                <Grid item xs={6} className={classes.item} component={Link} to="/katib/nas/">
                    <Paper className={classes.block}>
                        <Typography variant={"h6"} color={"secondary"}>
                            Neural Architecture Search
                        </Typography> 
                    </Paper>
                </Grid>
            </Grid>
            <br />
            <Typography variant={"h6"}>
                For additional information on Kubeflow visit <a href="https://kubeflow.org" target="_blank" className={classes.link}>website</a>
            </Typography>
            <Typography variant={"h6"}>
                For additional information on Katib visit <a href="https://github.com/kubeflow/katib/" target="_blank" className={classes.link}>github</a>
            </Typography>
        </Paper>
    )
}

export default Main;
<commit_msg>Updated links to docs/github on Katib dashboard. (#1003)<commit_after>import React from 'react';
import { makeStyles } from '@material-ui/styles';
import Paper from '@material-ui/core/Paper';
import Typography from '@material-ui/core/Typography';
import Grid from '@material-ui/core/Grid';
import Button from '@material-ui/core/Button';
import { Link } from 'react-router-dom';


const useStyles = makeStyles({
    root: {
        margin: '0 auto',
        marginTop: 50,
        flexGrow: 1,
        width: '50%',
        height: 400,
        textAlign: 'center',
    },
    item: {
        padding: "40px !important",
    },
    block: {
        backgroundColor: '#4e4e4e',
        height: '100%',
        width: '100%',
        padding: 40,
        '&:hover': {
            backgroundColor: 'black',
        }
    },
})

const Main = (props) => {

    const classes = useStyles();

    return (
        <Paper elevation={4} className={classes.root} >
            <Typography variant={"h4"}>
                Welcome to Katib
            </Typography>
            <Typography variant={"h6"}>
                Choose type of experiment
            </Typography>
            <br />
            <Grid container spacing={40} alignContent={"center"}>
                <Grid item xs={6} className={classes.item} component={Link} to="/katib/hp/">
                    <Paper className={classes.block}>
                        <Typography variant={"h6"} color={"secondary"}>
                            Hyperparameter Tuning
                        </Typography> 
                    </Paper>
                </Grid>
                <Grid item xs={6} className={classes.item} component={Link} to="/katib/nas/">
                    <Paper className={classes.block}>
                        <Typography variant={"h6"} color={"secondary"}>
                            Neural Architecture Search
                        </Typography> 
                    </Paper>
                </Grid>
            </Grid>
            <br />
            <Typography variant={"h6"}>
                For usage instructions, see the <a href="https://www.kubeflow.org/docs/components/hyperparameter-tuning/" target="_blank" className={classes.link}>Kubeflow docs</a>
            </Typography>
            <Typography variant={"h6"}>
                To contribute to Katib, visit <a href="https://github.com/kubeflow/katib/" target="_blank" className={classes.link}>GitHub</a>
            </Typography>
        </Paper>
    )
}

export default Main;

{'fraction_non_alphanumeric': 0.13716012084592144, 'fraction_numerical': 0.014098690835850957, 'mean_word_length': 1.7003806416530722, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 65, 'https://': 4, 'lorem ipsum': 0, 'www.': 1, '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': '368205', 'n_tokens_mistral': 1417, 'n_tokens_neox': 1312, 'n_words': 314}