<commit_before>define(function(require, exports, module){
    var Achievement = require('./achievement'),
        config = require('../config'),
        _ = require('../vendor/lodash.min'),
        locale = require('../services/locale'),
        ExtensionsService = require('../services/extensions');

    function AdobeAchievement(){
        this.calculate = function(extensions){
            var regexp = /adobe/;
                _.each(extensions, _.bind(function(extension){
                if (regexp.test(extension.homepage)){
                    this.writeBadge(null, extension);
                }
            }, this));
        }

        this.getTag = function(rating, element){
            return _.template('<span title="${title}" class="ext-badge ext-badge-adobe">${badge}</span>',{
                badge: locale.get('badgeAdobe'),
                title: locale.get('badgeAdobeTitle')
            });
        }
    }

    AdobeAchievement.prototype = Achievement;
    module.exports = AdobeAchievement;
});<commit_msg>fix for Adobe badge<commit_after>define(function(require, exports, module){
    var Achievement = require('./achievement'),
        config = require('../config'),
        _ = require('../vendor/lodash.min'),
        locale = require('../services/locale'),
        ExtensionsService = require('../services/extensions');

    function AdobeAchievement(){
        this.calculate = function(extensions){
            var regexp = /adobe/;
                _.each(extensions, _.bind(function(extension){
                if (regexp.test(extension.homepage) || extension.author.toLowerCase().indexOf('adobe') >= 0){
                    this.writeBadge(null, extension);
                }
            }, this));
        }

        this.getTag = function(rating, element){
            return _.template('<span title="${title}" class="ext-badge ext-badge-adobe">${badge}</span>',{
                badge: locale.get('badgeAdobe'),
                title: locale.get('badgeAdobeTitle')
            });
        }
    }

    AdobeAchievement.prototype = Achievement;
    module.exports = AdobeAchievement;
});
{'fraction_non_alphanumeric': 0.15221489161168708, 'fraction_numerical': 0.000471253534401508, 'mean_word_length': 2.1545319465081723, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 8, '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': '6516394', 'n_tokens_mistral': 582, 'n_tokens_neox': 552, 'n_words': 91}