<commit_before>declare var BASE_URL: string

import * as angular from 'angular'
import 'moment'
import 'angular-moment'
import * as interfaces from './services/interfaces'

var app = angular.module('app', ['angularMoment'])
app.config(['$httpProvider', function ($httpProvider: angular.IHttpProvider)
{
  $httpProvider.defaults.xsrfCookieName = "csrftoken"
  $httpProvider.defaults.xsrfHeaderName = "X-CSRFToken"
}])

//start the currentEntry service
app.run((CurrentEntryService:interfaces.ICurrentEntryService ) => {
  
  if (window['jasmine'] === undefined) {CurrentEntryService.current();}
});<commit_msg>Add explanatory comment<commit_after>declare var BASE_URL: string

import * as angular from 'angular'
import 'moment'
import 'angular-moment'
import * as interfaces from './services/interfaces'

var app = angular.module('app', ['angularMoment'])
app.config(['$httpProvider', function ($httpProvider: angular.IHttpProvider)
{
  $httpProvider.defaults.xsrfCookieName = "csrftoken"
  $httpProvider.defaults.xsrfHeaderName = "X-CSRFToken"
}])

//start the currentEntry service
app.run((CurrentEntryService:interfaces.ICurrentEntryService ) => {
  // are we running in the tester? If so, don't run current
  if (window['jasmine'] === undefined) {CurrentEntryService.current();}
});
{'fraction_non_alphanumeric': 0.13929961089494164, 'fraction_numerical': 0.0, 'mean_word_length': 6.390804597701149, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6495374', 'n_tokens_mistral': 391, 'n_tokens_neox': 381, 'n_words': 91}