<commit_before>import Ember from 'ember';

export function venueShort(params) {
  if (params[0].city) {
    return params[0].city + ', ' + params[0].state;
  } else {
    return "";
  }
}

export default Ember.Helper.helper(venueShort);
<commit_msg>Fix helper<commit_after>import Ember from 'ember';

export function venueShort(params) {
  if (params[0].get('city')) {
    return params[0].get('city') + ', ' + params[0].get('state');
  } else {
    return "";
  }
}

export default Ember.Helper.helper(venueShort);

{'fraction_non_alphanumeric': 0.1744186046511628, 'fraction_numerical': 0.011627906976744186, 'mean_word_length': 4.17, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5738788', 'n_tokens_mistral': 175, 'n_tokens_neox': 174, 'n_words': 35}