<commit_before><link rel="import" href="sidecar-result.html">
<link rel="import" href="sidecar-err.html">

<template id="tmpl-sidecar-contents">
  <div id="container"></div>
  <script src="sidecar.js"></script>
</template>

<script>
(function () {
  var importDoc = document.currentScript.ownerDocument;

  var resultPrototype = Object.create(HTMLElement.prototype);

  resultPrototype.createdCallback = function() {
    var t = importDoc.querySelector('#tmpl-sidecar-contents');
    var clone = document.importNode(t.content, true);
    this.root = this.createShadowRoot();
    this.root.appendChild(clone);

    var ipc = require('ipc');
    var DisplayDispatch = require('./lib/display-dispatch');

    var display = new DisplayDispatch();<commit_msg>Sidecar.js is now formally in the contents area.<commit_after><link rel="import" href="sidecar-result.html">
<link rel="import" href="sidecar-err.html">

<template id="tmpl-sidecar-contents">
  <div id="container"></div>
</template>

<script>
(function () {
  var importDoc = document.currentScript.ownerDocument;

  var resultPrototype = Object.create(HTMLElement.prototype);

  resultPrototype.createdCallback = function() {
    var t = importDoc.querySelector('#tmpl-sidecar-contents');
    var clone = document.importNode(t.content, true);
    this.root = this.createShadowRoot();
    this.root.appendChild(clone);

    var ipc = require('ipc');
    var DisplayDispatch = require('./lib/display-dispatch');

    var display = new DisplayDispatch();
{'fraction_non_alphanumeric': 0.15338645418326693, 'fraction_numerical': 0.0, 'mean_word_length': 4.88671875, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '103152', 'n_tokens_mistral': 446, 'n_tokens_neox': 445, 'n_words': 90}