<commit_before>'use strict';

Firebase.enableLogging(true);

var R = require('ramda');

/*@ngInject*/
module.exports = function ($firebaseAuth, firebaseApp, firebaseUrl, empiricalBaseURL, $http, localStorageService) {
  var firebaseTokenUrl = empiricalBaseURL.replace(/\/?$/, '/firebase_tokens') + '?app=' + firebaseApp;
  var authObj, offAuth; // offAuth = handler for disabling

  function fetchToken() {
    return $http.post(firebaseTokenUrl).then(function success (response) {<commit_msg>remove firebase logging as it causes slow downs due to excessive console.log calls<commit_after>'use strict';

var R = require('ramda');

/*@ngInject*/
module.exports = function ($firebaseAuth, firebaseApp, firebaseUrl, empiricalBaseURL, $http, localStorageService) {
  var firebaseTokenUrl = empiricalBaseURL.replace(/\/?$/, '/firebase_tokens') + '?app=' + firebaseApp;
  var authObj, offAuth; // offAuth = handler for disabling

  function fetchToken() {
    return $http.post(firebaseTokenUrl).then(function success (response) {
{'fraction_non_alphanumeric': 0.1357421875, 'fraction_numerical': 0.0, 'mean_word_length': 5.699346405228758, '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': '1066533', 'n_tokens_mistral': 312, 'n_tokens_neox': 302, 'n_words': 79}