<commit_before>angular.module('SpeedTestViewApp', ['SpeedTestViewModule', 'ngDialog'])

.service('SpeedTestService', function(){
    var translations = httpGet('./settings.txt');
    this.Translations = translations.status == 200 ? JSON.parse(translations.responseText).translations : {};
    this.SiteUrl = translations.status == 200 ? JSON.parse(translations.responseText).siteURL : "";
    var result = httpGet('./perf-logs/speedtest.txt');
	if (result.status == 200) {
        var speedResults = JSON.parse(result.responseText);
    	this.SpeedTestResults = SortRuleResultsByImpact(speedResults);
	} else {
		alert('Failed to get speed test data!');
	}

    this.GetKeys = GetKeys;<commit_msg>Updated file location.<commit_after>angular.module('SpeedTestViewApp', ['SpeedTestViewModule', 'ngDialog'])

.service('SpeedTestService', function(){
    var translations = httpGet('/settings.txt');
    this.Translations = translations.status == 200 ? JSON.parse(translations.responseText).translations : {};
    this.SiteUrl = translations.status == 200 ? JSON.parse(translations.responseText).siteURL : "";
    var result = httpGet('/speedtest.txt');
	if (result.status == 200) {
        var speedResults = JSON.parse(result.responseText);
    	this.SpeedTestResults = SortRuleResultsByImpact(speedResults);
	} else {
		alert('Failed to get speed test data!');
	}

    this.GetKeys = GetKeys;
{'fraction_non_alphanumeric': 0.14593817397555714, 'fraction_numerical': 0.012940330697340043, 'mean_word_length': 4.8, 'pattern_counts': {'":': 0, '<': 3, '<?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': '7014826', 'n_tokens_mistral': 421, 'n_tokens_neox': 391, 'n_words': 73}