<commit_before><!DOCTYPE html>
<html>
<head>
  <title>Quantified Dev {ALPHA}</title>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1">
  <meta name="description" content="Quantified Dev Dashboard" />
  <meta name="keywords" content="Quantified Dev Development QuantifiedSelf Quantified Self" />
  <meta name="author" content="Quantified Dev" />
  <link rel="shortcut icon" href="/img/quantified-dev-favicon.ico">
  <link href="/css/twitter.css" rel="stylesheet">
  <link href="/css/import.css" rel="stylesheet" media="screen">
  <link href="/fonts/font-awesome.css" rel="stylesheet">
  <script>
    (function(i, s, o, g, r, a, m) {
      i['GoogleAnalyticsObject'] = r;
      i[r] = i[r] || function() {
        (i[r].q = i[r].q || []).push(arguments)
      }, i[r].l = 1 * new Date();
      a = s.createElement(o),
      m = s.getElementsByTagName(o)[0];
      a.async = 1;
      a.src = g;
      m.parentNode.insertBefore(a, m)
    })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
    ga('create', 'UA-49828181-1', 'quantifieddev.org');
    ga('send', 'pageview');
    /*
    var mc_embedded_subscribe_click = document.getElementById('mc-embedded-subscribe');
    addListener(mc_embedded_subscribe_click, 'click', function() {
    alert('sup click');
    ga('send', 'event', 'signup_button', 'click', 'mc-embedded-subscribe');
  });*/
    /**
    * Utility to wrap the different behaviors between W3C-compliant browsers
    * and IE when adding event handlers.
    *
    * @param {Object} element Object on which to attach the event listener.
    * @param {string} type A string representing the event type to listen for
    *     (e.g. load, click, etc.).
    * @param {function()} callback The function that receives the notification.
    
    function addListener(element, type, callback) {
    if (element.addEventListener) element.addEventListener(type, callback);
    else if (element.attachEvent) element.attachEvent('on' + type, callback);
  }*/
</script>
</head>
<body class="animated fadeInDown" ng-app>
  {% include "./templates/_qd_header.html" %}

  <!-- Top Bar End -->
  <!-- Left sidebar start -->
  <aside id="sidebar">
    <div>
      {% include "./templates/_menu.html" %}
    </div>
  </aside>
  <!-- Left sidebar end -->
  <div class="dashboard-wrapper">
    <div class="container">

      <div>
        {% include "./templates/_link_datasource.html" %}
      </div>
      <div class="row page-title">
        <div class="col-lg-3 col-md-4 col-sm-12 col-xs-12">
          <h2>Comparison</h2>
          <ul class="breadcrumb">
            <li>Home</li>
            <li>Comparison</li>
          </ul>
        </div>
        <div class="col-lg-3 col-md-3 col-sm-12 col-xs-12">
          <button data-toggle="modal" class="btn btn-info" id="compare-btn">Send Comparison Request</button>
          <div class="modal fade modal-overflow in" id="compare-modal" tabindex="-1" role="dialog" aria-hidden="false" style="display: none; margin-top: 0px;">
            <div class="modal-dialog">
              <div class="modal-content">
                <div class="modal-header">
                  <button type="button" class="close" data-dismiss="modal" data-original-title="" title=""><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                  <h3 class="header-text text-center">Request Comparison</h3>
                </div>
                <div class="modal-body">
                  <div id="request-comparison" name="input">
                    <form id="request-comparision-form">
                      <div class="row">
                        <div class="col-md-5">
                          Enter your friend’s QuantifiedDev username:
                        </div>
                        <div class="col-md-7">
                          <input class="form-control" type="text" id="friend-name1">
                        </div>
                      </div>
                      <div class="row text-center" style="margin: 10px 0px;">
                        <div class="col-md-12">
                          -- OR --
                        </div>
                      </div>
                      <div class="row">
                        <div class="col-md-5">
                          Enter your friend’s email
                        </div>
                        <div class="col-md-7">
                          <input class="form-control" type="text" id="friend-email">
                        </div>
                      </div>
                      <div class="top-buffer-20">
                      </div>
                      <div class="row compare_error_message" style="display:none;">
                        <div class="class-md-12 alert alert-danger" role="alert">
                          Please enter QuantifiedDev username or Email Id
                        </div>
                      </div>
                      <div class="row text-center">
                        <input type="button" id="submit-compare-details" class="btn btn-info" value="Next">
                      </div>
                    </form>
                  </div>

                  <div id="comparison-email" name="input" style="display:none">
                    <form id="comparision-email-form">
                      <div class="row">
                        <div class="col-md-6">
                          Your name 
                        </div>
                        <div class="col-md-6">
                          <input class="form-control" type="text" id="your-name" disabled="true">
                        </div>
                      </div>

                      <div  style="margin-top:10px;" >
                      </div>

                      <div class="row">
                        <div class="col-md-6">
                          Friend's QD username / Email Id
                        </div>
                        <div class="col-md-6">
                          <input class="form-control" type="text" id="friend-name2" disabled="true">
                        </div>
                      </div>

                      <div class="row" style="margin-top:10px;" >
                        <div class="col-md-12">Email invite preview</div>
                      </div>
                      
                      <div class="row" style="margin-top:15px;">
                        <div class="col-md-12">
                          
                          <pre id ="email-message">
Hi friend-name,

I’d like to compare our build history and development environment activity on QuantifiedDev.org.
Please hit “Start Comparing” below and we can start comparing!

Thanks!
your-name 
                          </pre>
                        </div>
                      </div>
                      
                      <div class="text-center">
                        <input type="button" id="send-compare-request-email" class="btn btn-info" value="Send Comparison Request">
                      </div>
                  </div>
                    </form>
                </div>
                </div>
              </div>
            </div>
          </div>
          <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
            <div class="row">
              <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">

             <!--  <div class="btn-group">
                <button class="btn btn-success">{{friendsUsername}}</button>
                <button class="btn dropdown-toggle" data-toggle="dropdown">
                  <span class="caret"></span>
                </button>
                <ul class="dropdown-menu">

                 
                </ul>
              </div> -->
              {% if friends %}
              <select name="friendList" class="btn btn-default" onChange="combo(this, 'theinput')" onMouseOut="comboInit(this, 'theinput')" >
                <!-- <option>Select Friend</option> -->
                {% if friendsUsername %}
                <option>{{friendsUsername}}</option>
                {% endif %}
                {% for friend in friends %}
                <option><commit_msg>fixed a bug where friend name was showing twice<commit_after><!DOCTYPE html>
<html>
<head>
  <title>Quantified Dev {ALPHA}</title>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1">
  <meta name="description" content="Quantified Dev Dashboard" />
  <meta name="keywords" content="Quantified Dev Development QuantifiedSelf Quantified Self" />
  <meta name="author" content="Quantified Dev" />
  <link rel="shortcut icon" href="/img/quantified-dev-favicon.ico">
  <link href="/css/twitter.css" rel="stylesheet">
  <link href="/css/import.css" rel="stylesheet" media="screen">
  <link href="/fonts/font-awesome.css" rel="stylesheet">
  <script>
    (function(i, s, o, g, r, a, m) {
      i['GoogleAnalyticsObject'] = r;
      i[r] = i[r] || function() {
        (i[r].q = i[r].q || []).push(arguments)
      }, i[r].l = 1 * new Date();
      a = s.createElement(o),
      m = s.getElementsByTagName(o)[0];
      a.async = 1;
      a.src = g;
      m.parentNode.insertBefore(a, m)
    })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
    ga('create', 'UA-49828181-1', 'quantifieddev.org');
    ga('send', 'pageview');
    /*
    var mc_embedded_subscribe_click = document.getElementById('mc-embedded-subscribe');
    addListener(mc_embedded_subscribe_click, 'click', function() {
    alert('sup click');
    ga('send', 'event', 'signup_button', 'click', 'mc-embedded-subscribe');
  });*/
    /**
    * Utility to wrap the different behaviors between W3C-compliant browsers
    * and IE when adding event handlers.
    *
    * @param {Object} element Object on which to attach the event listener.
    * @param {string} type A string representing the event type to listen for
    *     (e.g. load, click, etc.).
    * @param {function()} callback The function that receives the notification.
    
    function addListener(element, type, callback) {
    if (element.addEventListener) element.addEventListener(type, callback);
    else if (element.attachEvent) element.attachEvent('on' + type, callback);
  }*/
</script>
</head>
<body class="animated fadeInDown" ng-app>
  {% include "./templates/_qd_header.html" %}

  <!-- Top Bar End -->
  <!-- Left sidebar start -->
  <aside id="sidebar">
    <div>
      {% include "./templates/_menu.html" %}
    </div>
  </aside>
  <!-- Left sidebar end -->
  <div class="dashboard-wrapper">
    <div class="container">

      <div>
        {% include "./templates/_link_datasource.html" %}
      </div>
      <div class="row page-title">
        <div class="col-lg-3 col-md-4 col-sm-12 col-xs-12">
          <h2>Comparison</h2>
          <ul class="breadcrumb">
            <li>Home</li>
            <li>Comparison</li>
          </ul>
        </div>
        <div class="col-lg-3 col-md-3 col-sm-12 col-xs-12">
          <button data-toggle="modal" class="btn btn-info" id="compare-btn">Send Comparison Request</button>
          <div class="modal fade modal-overflow in" id="compare-modal" tabindex="-1" role="dialog" aria-hidden="false" style="display: none; margin-top: 0px;">
            <div class="modal-dialog">
              <div class="modal-content">
                <div class="modal-header">
                  <button type="button" class="close" data-dismiss="modal" data-original-title="" title=""><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                  <h3 class="header-text text-center">Request Comparison</h3>
                </div>
                <div class="modal-body">
                  <div id="request-comparison" name="input">
                    <form id="request-comparision-form">
                      <div class="row">
                        <div class="col-md-5">
                          Enter your friend’s QuantifiedDev username:
                        </div>
                        <div class="col-md-7">
                          <input class="form-control" type="text" id="friend-name1">
                        </div>
                      </div>
                      <div class="row text-center" style="margin: 10px 0px;">
                        <div class="col-md-12">
                          -- OR --
                        </div>
                      </div>
                      <div class="row">
                        <div class="col-md-5">
                          Enter your friend’s email
                        </div>
                        <div class="col-md-7">
                          <input class="form-control" type="text" id="friend-email">
                        </div>
                      </div>
                      <div class="top-buffer-20">
                      </div>
                      <div class="row compare_error_message" style="display:none;">
                        <div class="class-md-12 alert alert-danger" role="alert">
                          Please enter QuantifiedDev username or Email Id
                        </div>
                      </div>
                      <div class="row text-center">
                        <input type="button" id="submit-compare-details" class="btn btn-info" value="Next">
                      </div>
                    </form>
                  </div>

                  <div id="comparison-email" name="input" style="display:none">
                    <form id="comparision-email-form">
                      <div class="row">
                        <div class="col-md-6">
                          Your name 
                        </div>
                        <div class="col-md-6">
                          <input class="form-control" type="text" id="your-name" disabled="true">
                        </div>
                      </div>

                      <div  style="margin-top:10px;" >
                      </div>

                      <div class="row">
                        <div class="col-md-6">
                          Friend's QD username / Email Id
                        </div>
                        <div class="col-md-6">
                          <input class="form-control" type="text" id="friend-name2" disabled="true">
                        </div>
                      </div>

                      <div class="row" style="margin-top:10px;" >
                        <div class="col-md-12">Email invite preview</div>
                      </div>
                      
                      <div class="row" style="margin-top:15px;">
                        <div class="col-md-12">
                          
                          <pre id ="email-message">
Hi friend-name,

I’d like to compare our build history and development environment activity on QuantifiedDev.<EMAIL>.
Please hit “Start Comparing” below and we can start comparing!

Thanks!
your-name 
                          </pre>
                        </div>
                      </div>
                      
                      <div class="text-center">
                        <input type="button" id="send-compare-request-email" class="btn btn-info" value="Send Comparison Request">
                      </div>
                  </div>
                    </form>
                </div>
                </div>
              </div>
            </div>
          </div>
          <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
            <div class="row">
              <div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">

             <!--  <div class="btn-group">
                <button class="btn btn-success">{{friendsUsername}}</button>
                <button class="btn dropdown-toggle" data-toggle="dropdown">
                  <span class="caret"></span>
                </button>
                <ul class="dropdown-menu">

                 
                </ul>
              </div> -->
              {% if friends %}
              <select name="friendList" class="btn btn-default" onChange="combo(this, 'theinput')" onMouseOut="comboInit(this, 'theinput')" >
                <!-- <option>Select Friend</option> -->
                {% for friend in friends %}
                <option>
{'fraction_non_alphanumeric': 0.14718482252141982, 'fraction_numerical': 0.009302325581395349, 'mean_word_length': 1.4759090909090908, 'pattern_counts': {'":': 0, '<': 296, '<?xml version=': 0, '>': 296, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2731116', 'n_tokens_mistral': 4622, 'n_tokens_neox': 4300, 'n_words': 995}