<commit_before>(function () {
    "use strict";
    angular.module('app').factory('dataService', dataService);
    function dataService() {
        function getAllBooks() {
            return [
                {
                    book_id: 1,
                    title: 'Harry Potter and the Deathly Hallows',
                    author: '<NAME>',
                    yearPublished: 2000
                },
                {
                    book_id: 2,
                    title: 'The Cat in the Hat',
                    author: 'Dr. Seuss',
                    yearPublished: 1957
                },
                {
                    book_id: 3,
                    title: 'Encyclopedia Brown, Boy Detective',
                    author: '<NAME>',
                    yearPublished: 1963
                }
            ];
        };

        function getAllReaders() {
            return [
                {
                    reader_id: 1,
                    name: 'Marie',
                    weeklyReadingGoal: 315,
                    totalMinutesRead: 5600
                },
                {
                    reader_id: 2,
                    name: 'Daniel',
                    weeklyReadingGoal: 210,
                    totalMinutesRead: 3000
                },
                {
                    reader_id: 3,
                    name: 'Lanier',
                    weeklyReadingGoal: 140,
                    totalMinutesRead: 600
                }
            ];
        }

        return {
            getAllBooks: getAllBooks,
            getAllReaders: getAllReaders
        };
    }
}());<commit_msg>using $inject property annotation<commit_after>(function () {
    "use strict";
    angular.module('app')
        .factory('dataService', dataService);
    function dataService(logger) {
        function getAllBooks() {
            logger.output('getting all books');
            return [
                {
                    book_id: 1,
                    title: 'Harry Potter and the Deathly Hallows',
                    author: '<NAME>',
                    yearPublished: 2000
                },
                {
                    book_id: 2,
                    title: 'The Cat in the Hat',
                    author: 'Dr. Seuss',
                    yearPublished: 1957
                },
                {
                    book_id: 3,
                    title: 'Encyclopedia Brown, Boy Detective',
                    author: '<NAME>',
                    yearPublished: 1963
                }
            ];
        };

        function getAllReaders() {
            logger.output('getting all readers');            
            return [
                {
                    reader_id: 1,
                    name: 'Marie',
                    weeklyReadingGoal: 315,
                    totalMinutesRead: 5600
                },
                {
                    reader_id: 2,
                    name: 'Daniel',
                    weeklyReadingGoal: 210,
                    totalMinutesRead: 3000
                },
                {
                    reader_id: 3,
                    name: 'Lanier',
                    weeklyReadingGoal: 140,
                    totalMinutesRead: 600
                }
            ];
        }

        return {
            getAllBooks: getAllBooks,
            getAllReaders: getAllReaders
        };
    }

    dataService.$inject = ['logger'];
}());
{'fraction_non_alphanumeric': 0.0836711059640996, 'fraction_numerical': 0.022003474232773594, 'mean_word_length': 0.8165089379600421, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '4808730', 'n_tokens_mistral': 925, 'n_tokens_neox': 748, 'n_words': 170}