<commit_before><!DOCTYPE html>
<!--
Copyright (c) 2013 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="/base/base.html">
<script>
'use strict';

/**
 * @fileoverview Helper functions for use in selection_analysis files.
 */
tv.exportTo('tv.c.analysis', function() {
  function tsRound(ts) {
    return Math.round(ts * 1000.0) / 1000.0;
  }

  return {
    tsRound: tsRound
  };
});
</script><commit_msg>Nicer number formatting for tsRound.<commit_after><!DOCTYPE html>
<!--
Copyright (c) 2013 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="/base/base.html">
<script>
'use strict';

/**
 * @fileoverview Helper functions for use in selection_analysis files.
 */
tv.exportTo('tv.c.analysis', function() {
  function tsRound(ts) {
    return Number(parseFloat(Math.round(ts * 1000.0) / 1000.0).toFixed(3)).toLocaleString();
  }

  return {
    tsRound: tsRound
  };
});
</script>
{'fraction_non_alphanumeric': 0.14362176628010706, 'fraction_numerical': 0.025869759143621766, 'mean_word_length': 3.9210526315789473, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '5433623', 'n_tokens_mistral': 385, 'n_tokens_neox': 349, 'n_words': 115}