<commit_before><!DOCTYPE html>
<!--
Copyright 2017 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->

<link type="text/css" rel="stylesheet" href="/dashboard/static/base.css">

<link rel="import" href="/components/polymer/polymer.html">

<link rel="import" href="/dashboard/static/simple_xhr.html">
<link rel="import" href="/dashboard/static/uri.html">

<dom-module id="job-page-header">
  <template>
    <style>
      #data {
        border-collapse: collapse;
        border-spacing: 0;
        font-size: small;
        table-layout: fixed;
      }

      #data tbody td {
        border: 1px solid #BBBBBB;
        padding: 5px;
        font-size: small;
      }

      #data tbody tr:first-child {
        font-weight: bold;
      }
    </style>

    <div id="content">
      <table id="data">
        <tbody>
          <tr>
            <template is="dom-repeat" items="[[getDisplayItems(jobInfo.data)]]" as="item">
              <td>[[item.name]]</td>
            </template>
          </tr>
          <tr>
            <template is="dom-repeat" items="[[getDisplayItems(jobInfo.data)]]" as="item">
              <td>[[item.value]]</td>
            </template>
          </tr>
        </tbody>
      </table>
    </div>
  </template>
  <script>
    'use strict';
    Polymer({
      is: 'job-page-header',

      ready() {
      },

      getDisplayItems(jobInfo) {
        let tuples = [];<commit_msg>Pinpoint - Transpose header table.<commit_after><!DOCTYPE html>
<!--
Copyright 2017 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->

<link type="text/css" rel="stylesheet" href="/dashboard/static/base.css">

<link rel="import" href="/components/polymer/polymer.html">

<link rel="import" href="/dashboard/static/simple_xhr.html">
<link rel="import" href="/dashboard/static/uri.html">

<dom-module id="job-page-header">
  <template>
    <style>
      #data {
        border-collapse: collapse;
        border-spacing: 0;
        font-size: small;
        table-layout: fixed;
      }

      #data tbody td {
        border: 1px solid #BBBBBB;
        padding: 5px;
        font-size: small;
      }

      #data tbody td:first-child {
        font-weight: bold;
      }
    </style>

    <div id="content">
      <table id="data">
        <tbody>
          <template is="dom-repeat" items="[[getDisplayItems(jobInfo.data)]]" as="item">
            <tr>
              <td>[[item.name]]</td>
              <td>[[item.value]]</td>
            </tr>
          </template>
        </tbody>
      </table>
    </div>
  </template>
  <script>
    'use strict';
    Polymer({
      is: 'job-page-header',

      ready() {
      },

      getDisplayItems(jobInfo) {
        let tuples = [];
{'fraction_non_alphanumeric': 0.15873567210837097, 'fraction_numerical': 0.004862799583188607, 'mean_word_length': 2.103448275862069, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 59, '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': '6124934', 'n_tokens_mistral': 934, 'n_tokens_neox': 900, 'n_words': 210}