<commit_before><!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <title>To-do App in Backbone.js</title>

  <!-- ========= -->
  <!--    CSS    -->
  <!-- ========= -->
  <style type="text/css">
    ul.todolist {
      list-style-type: none; /* Hides bullet points from todo list */
    }
    .todolist input.edit {
      display: none; /* Hides input box*/
    }
    .todolist .editing label {
      display: none; /* Hides label text when .editing*/
    }
    .todolist .editing input.edit {
      display: inline; /* Shows input text box when .editing*/
    }

  </style>
  <link rel="stylesheet" type="text/css" href="../semantic/semantic.min.css">

</head>
<body>
  <div class="ui container">
    <div class="ui secondary pointing menu" id="threads">
      <a class="item active">
        Ather
      </a>
      <a class="item">
        IKP
      </a>
      <a class="item">
        Startup
      </a>
      <a class="item">
        General
      </a>
      <a class="item">
        <i class="icon plus"></i>
      </a>
      <div class="right menu">
        <a class="ui item">
          Logout
        </a>
      </div>
      <div class="right item">
        <div class="ui icon input">
          <input type="text" placeholder="Search...">
          <i class="search icon"></i>
        </div>
      </div>
    </div>
  <div class="column">
    <div class="ui segment">
      <h2 class="ui dividing header">
        Stack
        <div class="ui red label" id="stack_count">0</div>
      <div class="sub header">Things that you are working on right now</div>
    </h2>
    <section id="stack">
      <header id="header">
        <div class="ui fluid action input">
          <input id="stack-new-todo" type="text" placeholder="Add new task to stack">
          <button class="ui teal button add">Add</button>
        </div>
      </header>
      <section id="main">
        <ul id="stack-todo-list" class='todolist'></ul>
      </section>
    </section>
    </div>


    <div class="ui  segment">
      <h2 class="ui dividing header">
        Callback Queue
        <div class="ui teal label" id="callback_count">0</div>
        <div class="sub header">Tasks that needs to be done as soon as the stack is empty</div>
      </h2>
      <section id="callback">
        <header id="header">
        </header>
        <section id="main">
          <ul id="callback-todo-list" class='todolist'></ul>
        </section>
        <section >
          <!-- <input id="callback-new-todo" placeholder="What needs to be done?" autofocus> -->
          <div class="ui fluid action input">
            <input id="callback-new-todo" type="text" placeholder="Add new task to the callback">
            <button class="ui teal button add">Add</button>
          </div>
        </section>
      </section>
    </div>


    <div class="ui segment">
      <h2 class="ui dividing header">Reminder me later queue
        <div class="ui teal label" id="reminder_count">0</div>
        <div class="sub header">All important tasks that are not scheduled to be executed yet.</div>

      </h2>
      <section id="reminder">
        <header id="header">
        </header>
        <section id="main">
          <ul id="reminder-todo-list" class='todolist'></ul>
        </section>
      </section>
    </div>

  </div>






  </div>

  <!-- Templates -->
  <script type="text/template" id="item_template">
    <div class="view">
    <!--
      <button class="compact ui mini button basic ather">Ather</button>
      <button class="compact ui mini button basic ikp">IKP</button>
      <button class="compact ui mini button basic startup">Startup</button>
      -->
      <% if(section=='stack') {%>
        <input class="toggle" type="checkbox" <%= completed ? 'checked' : '' %>>
      <% } %>


      <% if(section=='reminder') {%>
        <button class="compact ui mini button basic mcq">MCQ</button>
        <button class="circular mini compact basic ui icon button destroy"><i class="icon delete"></i></button>
      <% } %>
      <% if(pos==getTopOfStackPos() && section=='stack') {%>
        <button class="ui mini button basic compact  mcq_from_stack">MCQ</button>
        <button class="ui mini button basic compact rml">RML</button>
        <button class="circular mini compact basic ui icon button destroy"><i class="icon delete"></i></button>

      <% } %>

      <label><%- pos %> -</label>
      <label><%- title %></label>
      <input class="edit" value="<%- title %>">

    </div>
  </script>
  <!-- this guy is not used -->
  <!-- this is the template for the first item on the stack -->
  <script type="text/template" id="item_template_stack_first_item">
    <div class="view">
      <input class="toggle" type="checkbox" <%= completed ? 'checked' : '' %>>
      <label><%- title %></label>
      <input class="edit" value="<%- title %>">
      <button class="destroy">remove</button>
      <button class="rml">RML</button>
    </div>
  </script>

  <script type="text/template" id="thread_template">
    <% if(active) {%>
    <a class="item active thread">
        <%- title %>
    </a>
    <% } %>
    <% if(!active) {%>
    <a class="item thread">
        <%- title %>
    </a>
    <% } %>
  </script>




  <!-- ========= -->
  <!-- Libraries -->
  <!-- ========= -->
  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js" type="text/javascript"></script>
  <script src="http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js" type="text/javascript"></script>
  <script src="http://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.3.1/backbone-min.js" type="text/javascript"></script>
  <script src="http://cdnjs.cloudflare.com/ajax/libs/backbone-localstorage.js/1.1.16/backbone.localStorage-min.js" type="text/javascript"></script>
  <script src="../semantic/semantic.min.js"></script>

  <!-- =============== -->
  <!-- Javascript code -->
  <!-- =============== -->
  <script src = '../javascripts/app.js'></script>

  <!-- ====== -->
  <!-- Models -->
  <!-- ====== -->
  <script src = '../javascripts/models/models.js'></script>

  <!-- =========== --><commit_msg>Query versions above v1.9 seems to create some issue in electron. dropping it to v1.9 temporarly<commit_after><!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <title>To-do App in Backbone.js</title>

  <!-- ========= -->
  <!--    CSS    -->
  <!-- ========= -->
  <style type="text/css">
    ul.todolist {
      list-style-type: none; /* Hides bullet points from todo list */
    }
    .todolist input.edit {
      display: none; /* Hides input box*/
    }
    .todolist .editing label {
      display: none; /* Hides label text when .editing*/
    }
    .todolist .editing input.edit {
      display: inline; /* Shows input text box when .editing*/
    }

  </style>
  <link rel="stylesheet" type="text/css" href="../semantic/semantic.min.css">

</head>
<body>
  <div class="ui container">
    <div class="ui secondary pointing menu" id="threads">
      <a class="item active">
        Ather
      </a>
      <a class="item">
        IKP
      </a>
      <a class="item">
        Startup
      </a>
      <a class="item">
        General
      </a>
      <a class="item">
        <i class="icon plus"></i>
      </a>
      <div class="right menu">
        <a class="ui item">
          Logout
        </a>
      </div>
      <div class="right item">
        <div class="ui icon input">
          <input type="text" placeholder="Search...">
          <i class="search icon"></i>
        </div>
      </div>
    </div>
  <div class="column">
    <div class="ui segment">
      <h2 class="ui dividing header">
        Stack
        <div class="ui red label" id="stack_count">0</div>
      <div class="sub header">Things that you are working on right now</div>
    </h2>
    <section id="stack">
      <header id="header">
        <div class="ui fluid action input">
          <input id="stack-new-todo" type="text" placeholder="Add new task to stack">
          <button class="ui teal button add">Add</button>
        </div>
      </header>
      <section id="main">
        <ul id="stack-todo-list" class='todolist'></ul>
      </section>
    </section>
    </div>


    <div class="ui  segment">
      <h2 class="ui dividing header">
        Callback Queue
        <div class="ui teal label" id="callback_count">0</div>
        <div class="sub header">Tasks that needs to be done as soon as the stack is empty</div>
      </h2>
      <section id="callback">
        <header id="header">
        </header>
        <section id="main">
          <ul id="callback-todo-list" class='todolist'></ul>
        </section>
        <section >
          <!-- <input id="callback-new-todo" placeholder="What needs to be done?" autofocus> -->
          <div class="ui fluid action input">
            <input id="callback-new-todo" type="text" placeholder="Add new task to the callback">
            <button class="ui teal button add">Add</button>
          </div>
        </section>
      </section>
    </div>


    <div class="ui segment">
      <h2 class="ui dividing header">Reminder me later queue
        <div class="ui teal label" id="reminder_count">0</div>
        <div class="sub header">All important tasks that are not scheduled to be executed yet.</div>

      </h2>
      <section id="reminder">
        <header id="header">
        </header>
        <section id="main">
          <ul id="reminder-todo-list" class='todolist'></ul>
        </section>
      </section>
    </div>

  </div>






  </div>

  <!-- Templates -->
  <script type="text/template" id="item_template">
    <div class="view">
    <!--
      <button class="compact ui mini button basic ather">Ather</button>
      <button class="compact ui mini button basic ikp">IKP</button>
      <button class="compact ui mini button basic startup">Startup</button>
      -->
      <% if(section=='stack') {%>
        <input class="toggle" type="checkbox" <%= completed ? 'checked' : '' %>>
      <% } %>


      <% if(section=='reminder') {%>
        <button class="compact ui mini button basic mcq">MCQ</button>
        <button class="circular mini compact basic ui icon button destroy"><i class="icon delete"></i></button>
      <% } %>
      <% if(pos==getTopOfStackPos() && section=='stack') {%>
        <button class="ui mini button basic compact  mcq_from_stack">MCQ</button>
        <button class="ui mini button basic compact rml">RML</button>
        <button class="circular mini compact basic ui icon button destroy"><i class="icon delete"></i></button>

      <% } %>

      <label><%- pos %> -</label>
      <label><%- title %></label>
      <input class="edit" value="<%- title %>">

    </div>
  </script>
  <!-- this guy is not used -->
  <!-- this is the template for the first item on the stack -->
  <script type="text/template" id="item_template_stack_first_item">
    <div class="view">
      <input class="toggle" type="checkbox" <%= completed ? 'checked' : '' %>>
      <label><%- title %></label>
      <input class="edit" value="<%- title %>">
      <button class="destroy">remove</button>
      <button class="rml">RML</button>
    </div>
  </script>

  <script type="text/template" id="thread_template">
    <% if(active) {%>
    <a class="item active thread">
        <%- title %>
    </a>
    <% } %>
    <% if(!active) {%>
    <a class="item thread">
        <%- title %>
    </a>
    <% } %>
  </script>




  <!-- ========= -->
  <!-- Libraries -->
  <!-- ========= -->
  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js" type="text/javascript"></script>
  <script src="http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js" type="text/javascript"></script>
  <script src="http://cdnjs.cloudflare.com/ajax/libs/backbone.js/1.3.1/backbone-min.js" type="text/javascript"></script>
  <script src="http://cdnjs.cloudflare.com/ajax/libs/backbone-localstorage.js/1.1.16/backbone.localStorage-min.js" type="text/javascript"></script>
  <script src="../semantic/semantic.min.js"></script>

  <!-- =============== -->
  <!-- Javascript code -->
  <!-- =============== -->
  <script src = '../javascripts/app.js'></script>

  <!-- ====== -->
  <!-- Models -->
  <!-- ====== -->
  <script src = '../javascripts/models/models.js'></script>

  <!-- =========== -->
{'fraction_non_alphanumeric': 0.19991967871485944, 'fraction_numerical': 0.004257028112449799, 'mean_word_length': 2.4121677171827898, 'pattern_counts': {'":': 0, '<': 405, '<?xml version=': 0, '>': 405, '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': '3171259', 'n_tokens_mistral': 4079, 'n_tokens_neox': 3881, 'n_words': 941}