<commit_before>import Ember from 'ember';

export default Ember.Mixin.create({
  timeRemaining: function() {
    return (this.get("project.endsAt") - (new Date())) / 1000;
  }.property("clock.second"),
  secondsRemaining: function() {
    return Math.floor(this.get("timeRemaining") % 60);
  }.property("timeRemaining"),
  minutesRemaining: function() {
    return Math.floor((this.get("timeRemaining") / 60) % 60);
  }.property("timeRemaining"),
  hoursRemaining: function() {
    return Math.floor(this.get("timeRemaining") / 3600);
  }.property("timeRemaining"),
  expectedFixed: function() {
    var elapsedTime = ((new Date()) - this.get("project.startedAt")) / 1000;
    return Math.floor(elapsedTime / this.get("project.spaceBetweenProposals"));
  }.property("timeRemaining", "project.startedAt", "project.spaceBetweenProposals"),
  differenceFromExpected: function() {
    return this.get("expectedFixed") - this.get("project.fixedTargetsCount");
  }.property("expectedFixed", "project.fixedTargetsCount"),<commit_msg>difference should be negative<commit_after>import Ember from 'ember';

export default Ember.Mixin.create({
  timeRemaining: function() {
    return (this.get("project.endsAt") - (new Date())) / 1000;
  }.property("clock.second"),
  secondsRemaining: function() {
    return Math.floor(this.get("timeRemaining") % 60);
  }.property("timeRemaining"),
  minutesRemaining: function() {
    return Math.floor((this.get("timeRemaining") / 60) % 60);
  }.property("timeRemaining"),
  hoursRemaining: function() {
    return Math.floor(this.get("timeRemaining") / 3600);
  }.property("timeRemaining"),
  expectedFixed: function() {
    var elapsedTime = ((new Date()) - this.get("project.startedAt")) / 1000;
    return Math.floor(elapsedTime / this.get("project.spaceBetweenProposals"));
  }.property("timeRemaining", "project.startedAt", "project.spaceBetweenProposals"),
  differenceFromExpected: function() {
    return this.get("project.fixedTargetsCount") - this.get("expectedFixed");
  }.property("expectedFixed", "project.fixedTargetsCount"),
{'fraction_non_alphanumeric': 0.17117988394584138, 'fraction_numerical': 0.017408123791102514, 'mean_word_length': 5.385802469135802, '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': '1186149', 'n_tokens_mistral': 667, 'n_tokens_neox': 609, 'n_words': 112}