<commit_before>(function (angular) {
    var app = angular.module('DataServices', []);

    app.factory('DataService', function () {

        var roles = {
            Tank: {role: 'Tank', id: 'Tank', label: 'Tanks'},
            RangedDPS: {role: 'DPS', id: 'RangedDPS', label: 'Ranged DPS'},
            MeleeDPS: {role: 'DPS', id: 'MeleeDPS', label: 'Melee DPS'},
            Heal: {role: 'Heal', id: 'Heal', label: 'Heals'}
        };

        var buffs = {
            StatsMultiply: {
                id: 'stats',
                name: 'Statistics',
                desc: '+5% Strength, Agility, and Intellect'
            },
            Stamina: {
                id: 'stamina',
                name: 'Stamina',
                desc: '+10% Stamina'
            },
            AttackPower: {
                id: 'atkpower',
                name: 'Attack Power',
                desc: '+10% Attack Power'
            },
            SpellPower: {
                id: 'spellpower',
                name: 'Spell Power',
                desc: '+10% Stamina'
            },
            BurstHaste: {
                id: 'bl',
                name: 'Bloodlust',
                desc: 'Temporary +30% Haste (Heroism/Time warp)'
            },
            Mastery: {
                id: 'mastery',
                name: 'Mastery',
                desc: '+550 Mastery'
            },
            Haste: {
                id: 'haste',
                name: 'Haste',
                desc: '+5% Haste'
            },
            CriticalStrike: {
                id: 'crit',
                name: 'Critical Strike',
                desc: '+5% Critical Strike Chance'
            },
            MultiStrike: {
                id: 'mstrike',
                name: 'Multistrike',
                desc: '+5% Critical Strike Chance'
            },
            Versatility: {
                id: 'versatility',
                name: 'Versatility',
                desc: '+3% Versatility'
            },
            MortalWounds: {
                id: 'mortalwounds',
                name: 'Mortal wounds',
                desc: '-25% Healing Received (boss)'
            }
        };

        var cooldowns = {
            tranquility: {
                id: 'tranq',
                name: 'Tranquility',
                desc: 'Healing all party and raid members within 40 yards for (250.2% of Spell' +
                'power) every 2 sec.',
                cd: 3
            },
            ironbark: {
                id: 'ironb',
                name: 'Ironbark',
                desc: 'Reducing all damage taken by 20%.  Lasts 12 sec.',
                cd: 1
            },
            ampMagic: {
                id: 'ampMagic',
                name: 'Amplify Magic',
                desc: 'Amplify the effects of helpful magic, increasing all healing received' +
                'by 10% for all party and raid members within 100 yards. Lasts 6 sec.',
                cd: 2
            },
            aotf: {
                id: 'aotf',
                name: 'Aspect of the Fox',
                desc: 'Able to move while casting all spells',
                cd: 3
            },
            revival: {
                id: 'revival',
                name: 'Revival',
                desc: 'Heals all party and raid members within 100 yards for (1193.25% of Spell' +
                'power) and clears them of all harmful Magical, Poison, and Disease effects.',
                cd: 3
            },
            lifeCocoon: {
                id: 'lifeCocoon',
                name: '<NAME>',
                desc: 'Absorbing 0 damage, and periodic healing received increased by 50%.',
                cd: 2
            },
            devo: {
                id: 'devo',
                name: '<NAME>',
                desc: 'Immune to Silence and Interrupt effects. Magic damage taken reduced by 20%.',
                cd: 3
            },
            barrier: {
                id: 'barrier',
                name: 'Power Word: Barrier',
                desc: 'Summons a holy barrier on the target location that reduces all damage' +
                'done to friendly targets by 25%. While within the barrier, spellcasting' +
                'will not be interrupted by damage. The barrier lasts for 10 sec.',
                cd: 3
            },
            painSup: {
                id: 'painSup',
                name: '<NAME>',
                desc: 'Damage reduction on target',
                cd: 3
            },
            lightWell: {
                id: 'lightWell',
                name: '<NAME>',
                desc: 'Friendly players can click the Lightwell to restore' +
                ' health over 6 sec.  Lightwell lasts for 3 min or 15 charges.',
                cd: 3
            },
            dHymn: {
                id: 'dHymn',
                name: '<NAME>',
                desc: 'Heals all party or raid members within 40 yards for 4 over 8' +
                'sec, and increases healing done to them by 10% for 8 sec.',
                cd: 3
            },
            guardianSpirit: {
                id: 'guardianSpirit',
                name: '<NAME>',
                desc: 'Heals the target for damage taken',
                cd: 3
            },
            smokebomb: {
                id: 'smokebomb',
                name: '<NAME>',
                desc: 'Damage reduction',
                cd: 3
            },
            healingTide: {
                id: 'healingTide',
                name: '<NAME>',
                desc: 'a totem that heals',
                cd: 3
            },
            sLink: {
                id: 'sLink',
                name: '<NAME>',
                desc: 'circle of reduc',
                cd: 3
            },
            rCry: {
                id: 'rCry',
                name: '<NAME>',
                desc: 'Banner that increases raid hp by 20%',
                cd: 3
            },
            vigil: {
                id: 'vigil',
                name: 'Vigilance',
                desc: 'Reduces damage on target by 40%',
                cd: 3
            }
        };

        var classes = {
            1: {
                name: 'Warrior',<commit_msg>fixed grammar for cooldown tooltip descriptions<commit_after>(function (angular) {
    var app = angular.module('DataServices', []);

    app.factory('DataService', function () {

        var roles = {
            Tank: {role: 'Tank', id: 'Tank', label: 'Tanks'},
            RangedDPS: {role: 'DPS', id: 'RangedDPS', label: 'Ranged DPS'},
            MeleeDPS: {role: 'DPS', id: 'MeleeDPS', label: 'Melee DPS'},
            Heal: {role: 'Heal', id: 'Heal', label: 'Heals'}
        };

        var buffs = {
            StatsMultiply: {
                id: 'stats',
                name: 'Statistics',
                desc: '+5% Strength, Agility, and Intellect'
            },
            Stamina: {
                id: 'stamina',
                name: 'Stamina',
                desc: '+10% Stamina'
            },
            AttackPower: {
                id: 'atkpower',
                name: 'Attack Power',
                desc: '+10% Attack Power'
            },
            SpellPower: {
                id: 'spellpower',
                name: 'Spell Power',
                desc: '+10% Stamina'
            },
            BurstHaste: {
                id: 'bl',
                name: 'Bloodlust',
                desc: 'Temporary +30% Haste (Heroism/Time warp)'
            },
            Mastery: {
                id: 'mastery',
                name: 'Mastery',
                desc: '+550 Mastery'
            },
            Haste: {
                id: 'haste',
                name: 'Haste',
                desc: '+5% Haste'
            },
            CriticalStrike: {
                id: 'crit',
                name: 'Critical Strike',
                desc: '+5% Critical Strike Chance'
            },
            MultiStrike: {
                id: 'mstrike',
                name: 'Multistrike',
                desc: '+5% Critical Strike Chance'
            },
            Versatility: {
                id: 'versatility',
                name: 'Versatility',
                desc: '+3% Versatility'
            },
            MortalWounds: {
                id: 'mortalwounds',
                name: 'Mortal wounds',
                desc: '-25% Healing Received (boss)'
            }
        };

        var cooldowns = {
            tranquility: {
                id: 'tranq',
                name: 'Tranquility',
                desc: 'Healing all party and raid members within 40 yards for (250.2% of Spell' +
                'power) every 2 sec.',
                cd: 3
            },
            ironbark: {
                id: 'ironb',
                name: 'Ironbark',
                desc: 'Reducing all damage taken by 20%.  Lasts 12 sec.',
                cd: 1
            },
            ampMagic: {
                id: 'ampMagic',
                name: 'Amplify Magic',
                desc: 'Amplify the effects of helpful magic, increasing all healing received' +
                'by 10% for all party and raid members within 100 yards. Lasts 6 sec.',
                cd: 2
            },
            aotf: {
                id: 'aotf',
                name: 'Aspect of the Fox',
                desc: 'Able to move while casting all spells',
                cd: 3
            },
            revival: {
                id: 'revival',
                name: 'Revival',
                desc: 'Heals all party and raid members within 100 yards for (1193.25% of Spell' +
                'power) and clears them of all harmful Magical, Poison, and Disease effects.',
                cd: 3
            },
            lifeCocoon: {
                id: 'lifeCocoon',
                name: '<NAME>',
                desc: 'Absorbing 0 damage, and periodic healing received increased by 50%.',
                cd: 2
            },
            devo: {
                id: 'devo',
                name: '<NAME>',
                desc: 'Immune to Silence and Interrupt effects. Magic damage taken reduced by 20%.',
                cd: 3
            },
            barrier: {
                id: 'barrier',
                name: 'Power Word: Barrier',
                desc: 'Summons a holy barrier on the target location that reduces all damage' +
                'done to friendly targets by 25%. While within the barrier, spellcasting' +
                'will not be interrupted by damage. The barrier lasts for 10 sec.',
                cd: 3
            },
            painSup: {
                id: 'painSup',
                name: '<NAME>',
                desc: 'All damage taken reduced by 40%',
                cd: 3
            },
            lightWell: {
                id: 'lightWell',
                name: '<NAME>',
                desc: 'Friendly players can click the Lightwell to restore' +
                ' health over 6 sec.  Lightwell lasts for 3 min or 15 charges.',
                cd: 3
            },
            dHymn: {
                id: 'dHymn',
                name: '<NAME>',
                desc: 'Heals all party or raid members within 40 yards for 4 over 8' +
                'sec, and increases healing done to them by 10% for 8 sec.',
                cd: 3
            },
            guardianSpirit: {
                id: 'guardianSpirit',
                name: '<NAME>',
                desc: 'Increased healing received by 40% and will prevent 1 killing blow.',
                cd: 3
            },
            smokebomb: {
                id: 'smokebomb',
                name: '<NAME>',
                desc: 'A smoke cloud interferes with targeting. Allies take 20% less damage.',
                cd: 3
            },
            healingTide: {
                id: 'healingTide',
                name: '<NAME>',
                desc: 'Summons a Water Totem with 10% of the casters health at the feet of the' +
                'caster for 10 sec. The Healing Tide Totem pulses every 2 sec, healing all party' +
                'or raid members within 40 yards for (60% of Spell power).',
                cd: 3
            },
            sLink: {
                id: 'sLink',
                name: '<NAME>',
                desc: 'Summons an Air Totem with 5 health at the feet of the caster. The totem' + 
                'reduces damage taken by all party and raid members within 10 yards by 10%.' + 
                'Every 1 sec, the health of all affected players is redistributed, such that all' + 
                'players are at the same percentage of maximum health. Lasts 6 sec.',
                cd: 3
            },
            rCry: {
                id: 'rCry',
                name: '<NAME>',
                desc: 'Banner that increases raid hp by 20%',
                cd: 3
            },
            vigil: {
                id: 'vigil',
                name: 'Vigilance',
                desc: 'Reduces damage on target by 40%',
                cd: 3
            }
        };

        var classes = {
            1: {
                name: 'Warrior',
{'fraction_non_alphanumeric': 0.10338017470565894, 'fraction_numerical': 0.014812001519179644, 'mean_word_length': 1.0174685871897027, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '5602108', 'n_tokens_mistral': 3814, 'n_tokens_neox': 3349, 'n_words': 1131}