<commit_before><%inherit file="layout.html"/>

<a href="/integration/${job.job_group.integration.id}">${job.job_group.integration.version}</a>
<h2>Job Id: ${job.id} - ${job.name}</h2>

State: ${job.state}<br/>
Result: <span class="${job.result}">${job.result}</span><br/>
Type: ${job.type}<br/>
Elapsed time: ${job.elapsed}<br/>

Job log:<br/>
<pre style="white-space: -moz-pre-wrap;">
${job.log | h}
</pre>


<div id="elapsed-graph" class="elapsed-graph"></div>
<div class="elapsed-graph-label">Revision number</div>

<script id="source" language="javascript" type="text/javascript">
$(function () {
    var data = ${history};
    var this_rev = [[${job.job_group.integration.version}, ${job.elapsed}]];
    $.plot($("#elapsed-graph"), [ {data: data, label: 'runtime in sec'},
                                  {data: this_rev, points: { show: true }}]);
});
</script>
<commit_msg>websod. fix another None issue on templates.<commit_after><%inherit file="layout.html"/>

<a href="/integration/${job.job_group.integration.id}">${job.job_group.integration.version}</a>
<h2>Job Id: ${job.id} - ${job.name}</h2>

State: ${job.state}<br/>
Result: <span class="${job.result}">${job.result}</span><br/>
Type: ${job.type}<br/>
Elapsed time: ${job.elapsed}<br/>

Job log:<br/>
<pre style="white-space: -moz-pre-wrap;">
${job.log | h}
</pre>


<div id="elapsed-graph" class="elapsed-graph"></div>
<div class="elapsed-graph-label">Revision number</div>

<script id="source" language="javascript" type="text/javascript">
$(function () {
    var data = ${history};
    var this_elapsed = '${job.elapsed}';
    if(this_elapsed != 'None'){ // yes thats an ungly hack
        this_elapsed = parseFloat(this_elapsed);
    }
    else{
        this_elapsed = 0;
    }
    var this_rev = [[${job.job_group.integration.version}, this_elapsed]];
    $.plot($("#elapsed-graph"), [ {data: data, label: 'runtime in sec'},
                                  {data: this_rev, points: { show: true }}]);
});
</script>

{'fraction_non_alphanumeric': 0.2271356783919598, 'fraction_numerical': 0.002512562814070352, 'mean_word_length': 3.989974937343358, 'pattern_counts': {'":': 0, '<': 43, '<?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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2728977', 'n_tokens_mistral': 710, 'n_tokens_neox': 686, 'n_words': 135}