<commit_before>{{define "Title"}}{{if .Trace.ID.Parent}}span {{.Trace.ID.Span}} - {{end}} trace {{.Trace.ID.Trace}} - apptrace{{end}}

{{define "Main"}}
<h1>Trace {{.Trace.ID.Trace}}</h1>
{{if .Trace.ID.Parent}}<h2>Sub-span {{.Trace.ID.Span}}</h2>{{end}}

<div>
<div id="#trace-{{.Trace.ID.Trace}}" class="trace-timeline"></div>
<div id="hoverRes">
  <div class="coloredDiv"></div>
  <div id="name"></div>
  <div id="scrolled_date"></div>
</div>
</div>

<style type="text/css">
 .axis path,
 .axis line {
   fill: none;
   stroke: black;
   shape-rendering: crispEdges;
 }
 .axis text {
   font-family: sans-serif;
   font-size: 10px;
 }
 .timeline-label {
   font-family: sans-serif;
   font-size: 12px;
 }
 #timeline2 .axis {
   transform: translate(0px,30px);
   -ms-transform: translate(0px,30px); /* IE 9 */
   -webkit-transform: translate(0px,30px); /* Safari and Chrome */
   -o-transform: translate(0px,30px); /* Opera */
   -moz-transform: translate(0px,30px); /* Firefox */
 }
 .coloredDiv {
   height:20px; width:20px; float:left;
 }
</style>

<script type="text/javascript">
 var data = {{.VisData}};
 var width = $(".container").width();

 // em converts the input (in em units) to pixels units and returns it.
 function em(emUnits) {
   var fontSize = parseFloat($('body').css('font-size'));
   return fontSize * emUnits;
 }

 // numFromEnd returns the number from the end of the potentially garbage
 // string, e.g. "timelineItem_1443" -> 1443
 function numFromEnd(str) {<commit_msg>traceapp: pad the text displayed on the hover resolver<commit_after>{{define "Title"}}{{if .Trace.ID.Parent}}span {{.Trace.ID.Span}} - {{end}} trace {{.Trace.ID.Trace}} - apptrace{{end}}

{{define "Main"}}
<h1>Trace {{.Trace.ID.Trace}}</h1>
{{if .Trace.ID.Parent}}<h2>Sub-span {{.Trace.ID.Span}}</h2>{{end}}

<div>
<div id="#trace-{{.Trace.ID.Trace}}" class="trace-timeline"></div>
<div id="hoverRes">
  <div class="coloredDiv"></div>
  <div id="name"></div>
  <div id="scrolled_date"></div>
</div>
</div>

<style type="text/css">
 .axis path,
 .axis line {
   fill: none;
   stroke: black;
   shape-rendering: crispEdges;
 }
 .axis text {
   font-family: sans-serif;
   font-size: 10px;
 }
 .timeline-label {
   font-family: sans-serif;
   font-size: 12px;
 }
 #timeline2 .axis {
   transform: translate(0px,30px);
   -ms-transform: translate(0px,30px); /* IE 9 */
   -webkit-transform: translate(0px,30px); /* Safari and Chrome */
   -o-transform: translate(0px,30px); /* Opera */
   -moz-transform: translate(0px,30px); /* Firefox */
 }
 #hoverRes .coloredDiv {
   height:20px; width:20px; float:left;
 }
 #hoverRes #name {
   display: inline-block;
   margin-left: 0.3em;
 }
</style>

<script type="text/javascript">
 var data = {{.VisData}};
 var width = $(".container").width();

 // em converts the input (in em units) to pixels units and returns it.
 function em(emUnits) {
   var fontSize = parseFloat($('body').css('font-size'));
   return fontSize * emUnits;
 }

 // numFromEnd returns the number from the end of the potentially garbage
 // string, e.g. "timelineItem_1443" -> 1443
 function numFromEnd(str) {
{'fraction_non_alphanumeric': 0.20173187940987813, 'fraction_numerical': 0.024374599101988453, 'mean_word_length': 3.805855161787365, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 43, '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': '739603', 'n_tokens_mistral': 1176, 'n_tokens_neox': 1118, 'n_words': 259}