<commit_before>import React, {Component, PropTypes} from 'react';
import Relay from 'react-relay';
import {Link} from 'react-router';
import {capitalize} from 'lodash';
import {browserHistory} from 'react-router';

/*
 * This is the index page. It shows a list of movies and their genres filterable by a genre dropdown.
 * */
class Home extends Component {
  static propTypes = {
    movieList: PropTypes.object.isRequired,
    params: PropTypes.object.isRequired,
    relay: PropTypes.object.isRequired
  };

  onChangeGenre = ({target: {value}}) => {
    //TODO:
    // this.props.relay.setVariables({
    //   genre: value
    // });

    // programmatically update route to new value
    browserHistory.push(`/home/${value}`);
  };
<commit_msg>Removed redundant comments.<commit_after>import React, {Component, PropTypes} from 'react';
import Relay from 'react-relay';
import {Link} from 'react-router';
import {capitalize} from 'lodash';
import {browserHistory} from 'react-router';

/*
 * This is the index page. It shows a list of movies and their genres filterable by a genre dropdown.
 * */
class Home extends Component {
  static propTypes = {
    movieList: PropTypes.object.isRequired,
    params: PropTypes.object.isRequired,
    relay: PropTypes.object.isRequired
  };

  onChangeGenre = ({target: {value}}) => {
    browserHistory.push(`/home/${value}`);
  };

{'fraction_non_alphanumeric': 0.13018181818181818, 'fraction_numerical': 0.0, 'mean_word_length': 3.8967971530249113, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '655995', 'n_tokens_mistral': 408, 'n_tokens_neox': 410, 'n_words': 126}