<commit_before>angular.module('app.games.warcraft')
    .factory('WowProfile', ['$http', function($http) {
        'use strict';

        var races = ['0', '1', 'Orc', '3', '4', 'Undead', '6', '7', '8', '9', 'Blood Elf'];
        var classes = ['0', 'Warrior', 'Paladin', 'Hunter', 'Rogue', 'Priest', 'Death Knight', '7', '8', 'Warlock'];
        var genders = ['Male', 'Female'];
        var itemSlots = {
            'head': 'Head',
            'neck': 'Neck',
            'shoulder': 'Shoulder',
            'back': 'Back',
            'chest': 'Chest',
            'wrist': 'Wrist',
            'hands': 'Hands',
            'waist': 'Waist',
            'legs': 'Legs',
            'feet': 'Feet',
            'finger1': 'Finger 1',
            'finger2': 'Finger 2',
            'trinket1': 'Trinket 1',
            'trinket2': 'Trinket 2',
            'mainHand': 'Main Hand',
            'offHand': 'Off-Hand'
        };

        return {
            get: function() {
                return $http.get('/api/wow')
                .success(function(wowProfile) {
                    wowProfile.alts = [];
                    wowProfile.characters.sort(function(a, b) {
                        return parseInt(a.level) < parseInt(b.level);
                    }).forEach(function(character) {
                        // format some properties<commit_msg>filled in some class/race values<commit_after>angular.module('app.games.warcraft')
    .factory('WowProfile', ['$http', function($http) {
        'use strict';

        var races = ['0', '1', 'Orc', '3', '4', 'Undead', 'Tauren', 'Gnome', '8', '9', 'Blood Elf'];
        var classes = ['None', 'Warrior', 'Paladin', 'Hunter', 'Rogue', 'Priest', 'Death Knight', 'Shaman', 'Mage', 'Warlock', 'Monk', 'Druid'];
        var genders = ['Male', 'Female'];
        var itemSlots = {
            'head': 'Head',
            'neck': 'Neck',
            'shoulder': 'Shoulder',
            'back': 'Back',
            'chest': 'Chest',
            'wrist': 'Wrist',
            'hands': 'Hands',
            'waist': 'Waist',
            'legs': 'Legs',
            'feet': 'Feet',
            'finger1': 'Finger 1',
            'finger2': 'Finger 2',
            'trinket1': 'Trinket 1',
            'trinket2': 'Trinket 2',
            'mainHand': 'Main Hand',
            'offHand': 'Off-Hand'
        };

        return {
            get: function() {
                return $http.get('/api/wow')
                .success(function(wowProfile) {
                    wowProfile.alts = [];
                    wowProfile.characters.sort(function(a, b) {
                        return parseInt(a.level) < parseInt(b.level);
                    }).forEach(function(character) {
                        // format some properties
{'fraction_non_alphanumeric': 0.1840778097982709, 'fraction_numerical': 0.011887608069164265, 'mean_word_length': 1.600187265917603, 'pattern_counts': {'":': 0, '<': 5, '<?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': '5322107', 'n_tokens_mistral': 897, 'n_tokens_neox': 847, 'n_words': 189}