Merge "Add the time at which this page was generated"
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
|
||||
import argparse
|
||||
import collections
|
||||
import datetime
|
||||
import operator
|
||||
import re
|
||||
import time
|
||||
@@ -148,7 +149,8 @@ def classifying_rate(fails, data, engine):
|
||||
"uncounted": total - count,
|
||||
"jobs": sort,
|
||||
"total_job_failures": total_job_failures,
|
||||
"urls": bad_job_urls
|
||||
"urls": bad_job_urls,
|
||||
"generated_at": datetime.datetime.utcnow().strftime("%Y-%m-%dT%H:%M")
|
||||
}
|
||||
return engine.render(tvars)
|
||||
|
||||
|
||||
@@ -20,6 +20,9 @@ Overall Categorization Rate: {{ rate['overall'] }}%
|
||||
<p>
|
||||
Total: {{ total }} - Found: {{ count }} = Unclassifed: {{ uncounted }}
|
||||
</p>
|
||||
<p>
|
||||
Generated at: {{ generated_at }}%
|
||||
</p>
|
||||
{% for job in jobs %}
|
||||
<a name="{{job[0]}}"></a>
|
||||
<a href="#top"><i>back to top</i></a>
|
||||
|
||||
Reference in New Issue
Block a user