<commit_before>(function() {
  "use strict";
  
  App.AboutController = Ember.Controller.extend({
    needs: [ "application" ],
    
    pkg: function() {
      return this.get('controllers.application.pkg');
    }.property('controllers.application.pkg'),
    versionLinkToGithub: function() {
      var version = this.get('pkg.version');
      return "https://github.com/sgade/hgots-node/releases/tag/v" + version;
    }.property('pkg')
  });
}());
<commit_msg>Added fallback for zero version.<commit_after>(function() {
  "use strict";
  
  App.AboutController = Ember.Controller.extend({
    needs: [ "application" ],
    
    pkg: function() {
      return this.get('controllers.application.pkg');
    }.property('controllers.application.pkg'),
    versionLinkToGithub: function() {
      var version = this.get('pkg.version');
      if ( version === '0.0.0' ) {
        return "https://github.com/sgade/hgots-node/releases";
      }
      return "https://github.com/sgade/hgots-node/releases/tag/v" + version;
    }.property('pkg')
  });
}());

{'fraction_non_alphanumeric': 0.1801715919923737, 'fraction_numerical': 0.002859866539561487, 'mean_word_length': 3.150197628458498, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, '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': '4888007', 'n_tokens_mistral': 343, 'n_tokens_neox': 327, 'n_words': 51}