<commit_before>import React, { PropTypes } from 'react';
import { Link } from 'react-router';
import Moment from 'moment';

const Event = ({ eventName, description, eventStartDateTime, eventEndDateTime, eventContractAddress, price, addressLine1, addressLine2, city, state, zipPostalCode, country }) => (
  <li>
    <Link
      to={{ pathname:
      '/events/' + eventName,
      query: {
        eventName,
        description,
        eventStartDateTime,
        eventEndDateTime,
        eventContractAddress,
        price,
        addressLine1,
        addressLine2,
        city,
        state,
        zipPostalCode,
        country,
      },
    }}
    ><img src="http://tctechcrunch2011.files.wordpress.com/2008/04/linux-penguin-small.png" /></Link>
    <h2><Link
      to={{ pathname:
      '/events/' + eventName,
      query: {
        eventName,
        description,
        eventStartDateTime,
        eventEndDateTime,
        eventContractAddress,
        price,
        addressLine1,
        addressLine2,
        city,
        state,
        zipPostalCode,
        country,
      },
    }}
    >{eventName}</Link></h2>
    <p>Date: {Moment().format('MMMM Do YYYY, h:mm A')}</p>
    <p>Price: {price}</p>
    <p>City: {city}</p>
  </li>
);

export default Event;
<commit_msg>Change event listing to location instead of city<commit_after>import React, { PropTypes } from 'react';
import { Link } from 'react-router';
import Moment from 'moment';

const Event = ({ eventName, description, eventStartDateTime, eventEndDateTime, eventContractAddress, price, addressLine1, addressLine2, city, state, zipPostalCode, country }) => (
  <li>
    <Link
      to={{ pathname:
      '/events/' + eventName,
      query: {
        eventName,
        description,
        eventStartDateTime,
        eventEndDateTime,
        eventContractAddress,
        price,
        addressLine1,
        addressLine2,
        city,
        state,
        zipPostalCode,
        country,
      },
    }}
    ><img src="http://tctechcrunch2011.files.wordpress.com/2008/04/linux-penguin-small.png" /></Link>
    <h2><Link
      to={{ pathname:
      '/events/' + eventName,
      query: {
        eventName,
        description,
        eventStartDateTime,
        eventEndDateTime,
        eventContractAddress,
        price,
        addressLine1,
        addressLine2,
        city,
        state,
        zipPostalCode,
        country,
      },
    }}
    >{eventName}</Link></h2>
    <p>Date: {Moment().format('MMMM Do YYYY, h:mm A')}</p>
    <p>Price: {price}</p>
    <p>Location: {city + ', ' + state}</p>
  </li>
);

export default Event;

{'fraction_non_alphanumeric': 0.13012139605462822, 'fraction_numerical': 0.013657056145675266, 'mean_word_length': 2.18863361547763, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 35, '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': '6795484', 'n_tokens_mistral': 817, 'n_tokens_neox': 802, 'n_words': 172}