<commit_before>(function () {
  "use strict";

  var consumerKey = "<KEY>";
  var consumerSecret = "<KEY>";
  var REFRESH_INTERVAL_MS = 10 * 60 * 1000; // 10 mins

  class Twitter {
    constructor(token, token_secret) {
      this.client = new Codebird();
      this.client.setConsumerKey(consumerKey, consumerSecret);
      this.setToken(token, token_secret);
      this.promises = {};
    }

    start() {
      // Refresh channels every 60s
      var task_factory = () => {
        this.refresh();
        setTimeout(task_factory, REFRESH_INTERVAL_MS);
      };
      console.debug('twitter.start');
      task_factory(); // call it immediately
    }<commit_msg>update api key<commit_after>(function () {
  "use strict";

  var consumerKey = "<KEY>";
  var consumerSecret = "<KEY>";
  var REFRESH_INTERVAL_MS = 10 * 60 * 1000; // 10 mins

  class Twitter {
    constructor(token, token_secret) {
      this.client = new Codebird();
      this.client.setConsumerKey(consumerKey, consumerSecret);
      this.setToken(token, token_secret);
      this.promises = {};
    }

    start() {
      // Refresh channels every 60s
      var task_factory = () => {
        this.refresh();
        setTimeout(task_factory, REFRESH_INTERVAL_MS);
      };
      console.debug('twitter.start');
      task_factory(); // call it immediately
    }
{'fraction_non_alphanumeric': 0.13353338334583645, 'fraction_numerical': 0.01800450112528132, 'mean_word_length': 2.715877437325905, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, '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': '2926481', 'n_tokens_mistral': 431, 'n_tokens_neox': 393, 'n_words': 88}