Skip to content

Commit

Permalink
updates xpath validator
Browse files Browse the repository at this point in the history
  • Loading branch information
Kolea PLESCO authored and Kolea PLESCO committed Apr 9, 2024
1 parent a43cf60 commit f156429
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,16 +88,6 @@
{% if template_metadata.grouping %}
<li><b>Grouping:</b> {{ template_metadata.grouping }}</li>
{% endif %}
<li>
<div><hr></div>
<h4>Overall coverage</h4>
<h3>{{ "%.2f"|format((validation_result.coverage|float * 100)) }}%</h3>
<p>(Number of Conceptual XPATHs found in notices) / (Total number of unique XPATHs in provided notices)</p>
<li><div><hr></div>
<h4>Conceptual coverage</h4>
<h3>{{ "%.2f"|format((validation_result.conceptual_coverage|float * 100)) }}%</h3>
<p>(Number of Conceptual XPATHs found in notices) / (Total number of unique Conceptual XPATHs)</p>
</li>
{% set nr_notices = notices|length %}
<li><div><hr></div>
{% if nr_notices > 1 %}
Expand Down

0 comments on commit f156429

Please sign in to comment.