<commit_before>function(head, req) {
  var row;
  start({
    headers: {
      'Content-Type': 'application/json'
    }
  });
  send('[');

  var last = [-1e3, -1e3],
      first = true;

  while (row = getRow()) {
    var current = row.value.loc;
    if (current[0] == last[0] && current[1] == last[1]) continue;

    last = current;<commit_msg>[spatial index] added lowest date limit (2w)<commit_after>function(head, req) {
  var row;
  start({
    headers: {
      'Content-Type': 'application/json'
    }
  });
  send('[');

  var last = [-1e3, -1e3],
      lowestDate = +new Date - 14 * 24 * 3600 * 1000,
      first = true;

  while (row = getRow()) {
    if (row.value.created_at < lowestDate) continue;

    var current = row.value.loc;
    if (current[0] == last[0] && current[1] == last[1]) continue;

    last = current;
{'fraction_non_alphanumeric': 0.18170878459687123, 'fraction_numerical': 0.03489771359807461, 'mean_word_length': 2.6814159292035398, 'pattern_counts': {'":': 0, '<': 4, '<?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': '3693117', 'n_tokens_mistral': 319, 'n_tokens_neox': 297, 'n_words': 74}