<commit_before><!--
Copyright 2014 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 rel="import" href="../bower_components/paper-button/paper-button.html">
<link rel="import" href="../model/tree-status.html">
<link rel="import" href="ct-failure-stream.html">
<link rel="import" href="ct-last-updated.html">
<link rel="import" href="ct-party-time.html">
<link rel="import" href="ct-tree-status.html">

<polymer-element name="ct-unexpected-failures" attributes="tree commitLog failures">
  <template>
    <style>
      ct-tree-status {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 5px;
        padding: 3px;
      }

      ct-tree-status[state=open] {
        margin: 0;
        padding: 0;
      }

      .toolbar {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        padding: 0 5px;
      }
    </style>
    <div class="toolbar">
      <a href="https://code.google.com/p/chromium/wiki/UsefulURLs">Useful URLs</a><commit_msg>sheriff-o-matic: add a help link Adds a link in the toolbar to http://www.chromium.org/developers/tree-sheriffs/sheriff-details-chromium<commit_after><!--
Copyright 2014 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 rel="import" href="../bower_components/paper-button/paper-button.html">
<link rel="import" href="../model/tree-status.html">
<link rel="import" href="ct-failure-stream.html">
<link rel="import" href="ct-last-updated.html">
<link rel="import" href="ct-party-time.html">
<link rel="import" href="ct-tree-status.html">

<polymer-element name="ct-unexpected-failures" attributes="tree commitLog failures">
  <template>
    <style>
      ct-tree-status {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 5px;
        padding: 3px;
      }

      ct-tree-status[state=open] {
        margin: 0;
        padding: 0;
      }

      .toolbar {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        padding: 0 5px;
      }
    </style>
    <div class="toolbar">
      <a href="https://code.google.com/p/chromium/wiki/UsefulURLs">Useful URLs</a>
      <a href="http://www.chromium.org/developers/tree-sheriffs/sheriff-details-chromium">How to Sheriff</a>
{'fraction_non_alphanumeric': 0.1481629392971246, 'fraction_numerical': 0.007987220447284345, 'mean_word_length': 2.926332288401254, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, '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': '4818388', 'n_tokens_mistral': 832, 'n_tokens_neox': 791, 'n_words': 185}