<commit_before>

  'use strict';

  var ENTER_KEY = 13;
  var newTodoDom = document.getElementById('new-todo');
  var syncDom = document.getElementById('sync-wrapper');

  // EDITING STARTS HERE (you dont need to edit anything above this line)

  var db =  new PouchDB('test');
  var remoteCouch = 'https://tuanphong.couchappy.com/todos';

  db.info(function(err, info) {
    db.changes({
      since: info.update_seq,
      live: true
    }).on('change', showTodos);
  });

  // We have to create a new todo document and enter it in the database
  function addTodo(text) {
    var todo = {
      _id: new Date().toISOString(),
      title: text,
      completed: false
    };
    db.put(todo, function callback(err, result) {
      if (!err) {
        console.log('Successfully posted a todo!');
      }
    });
  }<commit_msg>Change remote url to iriscouch<commit_after>

  'use strict';

  var ENTER_KEY = 13;
  var newTodoDom = document.getElementById('new-todo');
  var syncDom = document.getElementById('sync-wrapper');

  // EDITING STARTS HERE (you dont need to edit anything above this line)

  var db =  new PouchDB('test');
  var remoteCouch = 'https://tuanphong.iriscouch.com/todos';

  db.info(function(err, info) {
    db.changes({
      since: info.update_seq,
      live: true
    }).on('change', showTodos);
  });

  // We have to create a new todo document and enter it in the database
  function addTodo(text) {
    var todo = {
      _id: new Date().toISOString(),
      title: text,
      completed: false
    };
    db.put(todo, function callback(err, result) {
      if (!err) {
        console.log('Successfully posted a todo!');
      }
    });
  }
{'fraction_non_alphanumeric': 0.13269575612671847, 'fraction_numerical': 0.002390914524805738, 'mean_word_length': 2.8132118451025057, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '5031778', 'n_tokens_mistral': 559, 'n_tokens_neox': 537, 'n_words': 154}