<commit_before><!DOCTYPE html>
<html ng-app="app">
  <head>
    <meta charset="utf-8">
    <title>{{ 'LANTERN' | translate }}</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="Lantern">
    <meta name="author" content="<NAME>">

    <!-- uncomment this to use firebug lite
    <script src="http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js"></script>
    -->
    <!-- build:css style/app.css -->
    <link rel="stylesheet" href="_css/bookmark.css">
    <link href="bower_components/select2/select2.css" rel="stylesheet">
    <link href="_css/app.css" rel="stylesheet">
    <link href="bower_components/normalize.css/normalize.css" rel="stylesheet">
    <!-- endbuild -->

    <!-- build:js js/lib.js -->
    <script src="bower_components/jquery/dist/jquery.min.js"></script>
    <script src="bower_components/jsonpatch/lib/jsonpatch.js"></script>
    <script src="bower_components/d3/d3.min.js"></script>
    <script src="bower_components/lodash/lodash.min.js"></script>
    <script src="bower_components/select2/select2.js"></script>
    <script src="bower_components/cssesc/cssesc.js"></script>

    <script src="bower_components/angular/angular.js"></script>
    <script src="bower_components/angular-translate/angular-translate.min.js"></script>
    <script src="bower_components/angular-translate-loader-static-files/angular-translate-loader-static-files.min.js"></script>
    <script src="bower_components/angular-sanitize/angular-sanitize.js"></script>
    <script src="bower_components/angular-resource/angular-resource.min.js"></script>
    <script src="bower_components/angular-ui-utils/ui-utils.min.js"></script>
    <script src="bower_components/angular-websocket/angular-websocket.min.js"></script>
    <script src="bower_components/angular-local-storage/dist/angular-local-storage.min.js"></script>
    <script src="lib/angular-ui-bootstrap-tpls.js"></script>

    <!-- we host a copy of google's analytics.js locally -->
    <script src="lib/analytics.js"></script>
    <!--<script src="bower_components/ui-bootstrap/src/tooltip/tooltip.js"></script>-->
    <!-- XXX see "XXX" in js/vis.js before switching to more recent topojson -->
    <script src="lib/topojson.js"></script>
    <!-- endbuild -->

    <!-- build:js2 js/app.js -->
    <script src="js/app.js"></script>
    <script src="js/constants.js"></script>
    <script src="js/helpers.js"></script>
    <script src="js/filters.js"></script>
    <script src="js/services.js"></script>
    <script src="js/controllers.js"></script>
    <script src="js/directives.js"></script>
    <script src="js/vis.js"></script>
    <!-- endbuild -->

    <link rel="shortcut icon" href="img/favicon.ico">
    <link rel="icon" type="image/png" href="img/favicon.png">
  </head>
<!--[if lt IE 10]>
  <body>
          <p class="chromeframe">You are using an outdated browser. Please <a href="https://www.google.com/chrome/">upgrade your browser</a> and try again.</p>
  </body>
<![endif]-->
<!--[if (!IE)|(gte IE 10)]><!-->
  <body ng-controller="RootCtrl" ng-cloak lang="{{ lang }}" dir="{{ langDirection }}"
    ng-class="{showVis: model.showVis, getMode: inGetMode, giveMode: inGiveMode}">
    <div id="fb-root"></div>
    <div ng-include src="'partials/modals.html'"></div><commit_msg>restore code to display notification when backend is gone<commit_after><!DOCTYPE html>
<html ng-app="app">
  <head>
    <meta charset="utf-8">
    <title>{{ 'LANTERN' | translate }}</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="Lantern">
    <meta name="author" content="<NAME>">

    <!-- uncomment this to use firebug lite
    <script src="http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js"></script>
    -->
    <!-- build:css style/app.css -->
    <link rel="stylesheet" href="_css/bookmark.css">
    <link href="bower_components/select2/select2.css" rel="stylesheet">
    <link href="_css/app.css" rel="stylesheet">
    <link href="bower_components/normalize.css/normalize.css" rel="stylesheet">
    <!-- endbuild -->

    <!-- build:js js/lib.js -->
    <script src="bower_components/jquery/dist/jquery.min.js"></script>
    <script src="bower_components/jsonpatch/lib/jsonpatch.js"></script>
    <script src="bower_components/d3/d3.min.js"></script>
    <script src="bower_components/lodash/lodash.min.js"></script>
    <script src="bower_components/select2/select2.js"></script>
    <script src="bower_components/cssesc/cssesc.js"></script>

    <script src="bower_components/angular/angular.js"></script>
    <script src="bower_components/angular-translate/angular-translate.min.js"></script>
    <script src="bower_components/angular-translate-loader-static-files/angular-translate-loader-static-files.min.js"></script>
    <script src="bower_components/angular-sanitize/angular-sanitize.js"></script>
    <script src="bower_components/angular-resource/angular-resource.min.js"></script>
    <script src="bower_components/angular-ui-utils/ui-utils.min.js"></script>
    <script src="bower_components/angular-websocket/angular-websocket.min.js"></script>
    <script src="bower_components/angular-local-storage/dist/angular-local-storage.min.js"></script>
    <script src="lib/angular-ui-bootstrap-tpls.js"></script>

    <!-- we host a copy of google's analytics.js locally -->
    <script src="lib/analytics.js"></script>
    <!--<script src="bower_components/ui-bootstrap/src/tooltip/tooltip.js"></script>-->
    <!-- XXX see "XXX" in js/vis.js before switching to more recent topojson -->
    <script src="lib/topojson.js"></script>
    <!-- endbuild -->

    <!-- build:js2 js/app.js -->
    <script src="js/app.js"></script>
    <script src="js/constants.js"></script>
    <script src="js/helpers.js"></script>
    <script src="js/filters.js"></script>
    <script src="js/services.js"></script>
    <script src="js/controllers.js"></script>
    <script src="js/directives.js"></script>
    <script src="js/vis.js"></script>
    <!-- endbuild -->

    <link rel="shortcut icon" href="img/favicon.ico">
    <link rel="icon" type="image/png" href="img/favicon.png">
  </head>
<!--[if lt IE 10]>
  <body>
          <p class="chromeframe">You are using an outdated browser. Please <a href="https://www.google.com/chrome/">upgrade your browser</a> and try again.</p>
  </body>
<![endif]-->
<!--[if (!IE)|(gte IE 10)]><!-->
  <body ng-controller="RootCtrl" ng-cloak lang="{{ lang }}" dir="{{ langDirection }}"
    ng-class="{showVis: model.showVis, getMode: inGetMode, giveMode: inGiveMode}">
    <div id="fb-root"></div>
    <div id="waiting" ng-show="!wsConnected">       
    <div ng-show="!backendIsGone">       
        <div>{{ 'WAITING_FOR_LANTERN' | translate }}</div>     
        <img src="img/spinner.gif">        
        </div>       
        <div ng-show="backendIsGone">        
        <div>{{ 'LANTERN_GONE' | translate }}</div>        
        <button type="button" class="btn btn-primary" ng-click="$window.close();">{{ 'CLOSE_WINDOW' | translate }}</button>      
    </div>       
    </div>
    <div ng-include src="'partials/modals.html'"></div>
{'fraction_non_alphanumeric': 0.19925020827547904, 'fraction_numerical': 0.004443210219383505, 'mean_word_length': 3.7294812869336833, 'pattern_counts': {'":': 0, '<': 208, '<?xml version=': 0, '>': 208, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '6714725', 'n_tokens_mistral': 2418, 'n_tokens_neox': 2355, 'n_words': 383}