<commit_before>import Ember from 'ember';

export default Ember.ObjectController.extend({
  netVotes: function() {
    var model = this.get('model');
    return model.get('upVotes') - model.get('downVotes');
  }.property('downVotes', 'upVotes')
});<commit_msg>Refactor getting model properties.<commit_after>import Ember from 'ember';

export default Ember.ObjectController.extend({
  netVotes: function() {
    return this.get('model.upVotes') - this.get('model.downVotes');
  }.property('downVotes', 'upVotes')
});
{'fraction_non_alphanumeric': 0.16666666666666666, 'fraction_numerical': 0.0, 'mean_word_length': 5.628205128205129, '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': '4403911', 'n_tokens_mistral': 166, 'n_tokens_neox': 163, 'n_words': 34}