<commit_before>var t = require('tape');
var sc = require('skale-engine').context();
t.onFinish(sc.end);

t.test('coGroup', function (t) {
  t.plan(1);

  var data = [['hello', 1], ['world', 2], ['cedric', 3], ['cedric', 4]];
  var data2 = [['cedric', 3], ['world', 4], ['test', 5]];
  var nPartitions = 2;

  var a = sc.parallelize(data, nPartitions);
  var b = sc.parallelize(data2, nPartitions);

  a.coGroup(b).collect(function (err, res) {
    t.deepEqual(res.sort(), [
      ["cedric", [[3, 4], [3]]],
      ["hello", [[1], []]],
      ["test", [[], [5]]],
      ["world", [[2], [4]]],
    ]);
  });
});<commit_msg>fix lint<commit_after>var t = require('tape');
var sc = require('skale-engine').context();
t.onFinish(sc.end);

t.test('coGroup', function (t) {
  t.plan(1);

  var data = [['hello', 1], ['world', 2], ['cedric', 3], ['cedric', 4]];
  var data2 = [['cedric', 3], ['world', 4], ['test', 5]];
  var nPartitions = 2;

  var a = sc.parallelize(data, nPartitions);
  var b = sc.parallelize(data2, nPartitions);

  a.coGroup(b).collect(function (err, res) {
    t.deepEqual(res.sort(), [
      ['cedric', [[3, 4], [3]]],
      ['hello', [[1], []]],
      ['test', [[], [5]]],
      ['world', [[2], [4]]],
    ]);
  });
});
{'fraction_non_alphanumeric': 0.28502024291497974, 'fraction_numerical': 0.029149797570850202, 'mean_word_length': 3.611940298507463, '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': '7619340', 'n_tokens_mistral': 513, 'n_tokens_neox': 482, 'n_words': 111}