<commit_before>import Ember from 'ember';
import DS from 'ember-data';

export default DS.Model.extend({

	discussion: DS.belongsTo('discussion', {inverse: null}),
	number: DS.attr('number'),

	time: DS.attr('string'),
	user: DS.belongsTo('user'),
	type: DS.attr('string'),
	content: DS.attr('string'),
	contentHtml: DS.attr('string'),

	editTime: DS.attr('string'),
	editUser: DS.belongsTo('user'),
	edited: Ember.computed.notEmpty('editTime'),

	deleteTime: DS.attr('string'),
	deleteUser: DS.belongsTo('user'),
	deleted: Ember.computed.notEmpty('deleteTime'),
	
	replyTo: DS.belongsTo('post', {inverse: 'replies'}),
	replyToNumber: DS.attr('number'),
	replyToUser: DS.belongsTo('user'),

	replies: DS.hasMany('post', {inverse: 'replyTo'}),
	repliesCount: DS.attr('number'),

	canEdit: DS.attr('boolean'),
	canDelete: DS.attr('boolean'),

	likes: function() {
		return Math.floor(Math.random() * (Math.random() < 0.3 ? 10 : 1));
	}.property()

});<commit_msg>Get rid of old properties<commit_after>import Ember from 'ember';
import DS from 'ember-data';

export default DS.Model.extend({

	discussion: DS.belongsTo('discussion', {inverse: null}),
	number: DS.attr('number'),

	time: DS.attr('string'),
	user: DS.belongsTo('user'),
	type: DS.attr('string'),
	content: DS.attr('string'),
	contentHtml: DS.attr('string'),

	editTime: DS.attr('string'),
	editUser: DS.belongsTo('user'),
	edited: Ember.computed.notEmpty('editTime'),

	deleteTime: DS.attr('string'),
	deleteUser: DS.belongsTo('user'),
	deleted: Ember.computed.notEmpty('deleteTime'),

	canEdit: DS.attr('boolean'),
	canDelete: DS.attr('boolean')

});
{'fraction_non_alphanumeric': 0.20260223048327136, 'fraction_numerical': 0.0030978934324659233, 'mean_word_length': 6.146017699115045, 'pattern_counts': {'":': 0, '<': 4, '<?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': '4298740', 'n_tokens_mistral': 590, 'n_tokens_neox': 565, 'n_words': 113}