<commit_before>'use strict';

/* Services */


// Demonstrate how to register services
// In this case it is a simple value service.
var app = angular.module('myApp.services', []);

app.value('version', '0.1');
app.value('baseurl', 'http://localhost:8003');
<commit_msg>replace hardcoded hostname with location.hostname<commit_after>'use strict';

/* Services */


// Demonstrate how to register services
// In this case it is a simple value service.
var app = angular.module('myApp.services', []);

app.value('version', '0.1');
app.value('baseurl', 'http://'+ location.hostname + ':8003');

{'fraction_non_alphanumeric': 0.17597292724196278, 'fraction_numerical': 0.02030456852791878, 'mean_word_length': 4.584905660377358, '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': '1023443', 'n_tokens_mistral': 189, 'n_tokens_neox': 180, 'n_words': 54}