<commit_before>function BonuslyDashboard(options) {
  this.config = {
    accessToken: '',
    messageInterval: Util.seconds(10),
    refreshInterval: Util.seconds(60),
    bonusLimit: '50',
    apiUri: '/api/v1/bonuses',
    analyticsApiUri: '/api/v1/analytics'
  };

  $.extend(this.config, options);

  if (this.config.accessToken) {
    this.bonusManager = new Manager(this);
    this.bonusManager.load();
  } else {
    alert('Access token not set, unable to access API.');
  }
}<commit_msg>Changed url for api log call<commit_after>function BonuslyDashboard(options) {
  this.config = {
    accessToken: '',
    messageInterval: Util.seconds(10),
    refreshInterval: Util.seconds(60),
    bonusLimit: '50',
    apiUri: '/api/v1/bonuses',
    analyticsApiUri: '/api/v1/analytics/engagement/log_event'
  };

  $.extend(this.config, options);

  if (this.config.accessToken) {
    this.bonusManager = new Manager(this);
    this.bonusManager.load();
  } else {
    alert('Access token not set, unable to access API.');
  }
}
{'fraction_non_alphanumeric': 0.14785992217898833, 'fraction_numerical': 0.01556420233463035, 'mean_word_length': 3.59375, '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': '2754501', 'n_tokens_mistral': 349, 'n_tokens_neox': 345, 'n_words': 67}