<commit_before>var LogApp = React.createClass({

  componentDidMount: function() {
    this._startSpinner();
    var username = localStorage.getItem('username');
    var authToken = localStorage.getItem('auth_token');

    if (username !== '' && authToken !== '') {
      console.log('started');
      $.ajax({
        url: '/service/' + this.props.service_id,
        method: 'GET',
        headers: {
          'Authorization': 'Basic ' + btoa(username + ':' + authToken)
        },
        dataType: 'json',
        success: function(service) {
          $(".title").html(service.name);
          this.setState({ service: service });
          this._connectWebsocket("ws://" + window.location.hostname + ":4001", service);
        }.bind(this)
      });
    } else {
      window.location.hash = 'settings';
    }
  },

  getInitialState: function() {
    return {
      searchText: "",
      logList: []
    };<commit_msg>Remove debug console.log message<commit_after>var LogApp = React.createClass({

  componentDidMount: function() {
    this._startSpinner();
    var username = localStorage.getItem('username');
    var authToken = localStorage.getItem('auth_token');

    if (username !== '' && authToken !== '') {
      $.ajax({
        url: '/service/' + this.props.service_id,
        method: 'GET',
        headers: {
          'Authorization': 'Basic ' + btoa(username + ':' + authToken)
        },
        dataType: 'json',
        success: function(service) {
          $(".title").html(service.name);
          this.setState({ service: service });
          this._connectWebsocket("ws://" + window.location.hostname + ":4001", service);
        }.bind(this)
      });
    } else {
      window.location.hash = 'settings';
    }
  },

  getInitialState: function() {
    return {
      searchText: "",
      logList: []
    };
{'fraction_non_alphanumeric': 0.17001629549158065, 'fraction_numerical': 0.0043454644215100485, 'mean_word_length': 2.3674588665447898, 'pattern_counts': {'":': 2, '<': 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': '303474', 'n_tokens_mistral': 535, 'n_tokens_neox': 533, 'n_words': 98}