blob: 7662b4f120dab8e8e2484bd521e6e79cd051f89d [file] [log] [blame]
<div xmlns:py="http://genshi.edgewall.org/">
<h1>Verdicts</h1>
<table class="datatable test_verdicts">
<tr>
<th class="wide"></th>
<th>Value</th>
<th>Maximum allowed</th>
<th class="Narrow">Pass/Fail</th>
</tr>
<tr>
<td class="vertical_header_th">Average Max Jitter</td>
<td>${"N/A" if results.avg_max_jitter is None else "%.3f mm" % results.avg_max_jitter}</td>
<td>${"%.3f" % settings['maxstationaryjitter'] if results.noise_status == "" else settings['maxstationaryjitter_with_noise']} mm</td>
<td class="${'passed' if results.verdict == 'Pass' else 'failed'}" >${results.verdict}</td>
</tr>
<tr>
<td class="vertical_header_th">Average Mean Jitter</td>
<td>${"N/A" if results.avg_mean_jitter is None else "%.3f mm" % results.avg_mean_jitter}</td>
<td>-</td>
<td>-</td>
</tr>
<tr>
<td class="vertical_header_th">Total Standard Deviation Jitter</td>
<td>${"N/A" if results.total_stdev_jitter is None else "%.3f mm" % results.total_stdev_jitter}</td>
<td>-</td>
<td>-</td>
</tr>
<tr>
<td class="vertical_header_th">Maximum of Maximum Jitter</td>
<td>${"N/A" if results.max_max_jitter is None else "%.3f mm" % results.max_max_jitter}</td>
<td>-</td>
<td>-</td>
</tr>
<tr>
<td class="vertical_header_th">Missing inputs:</td>
<td>${"%.1f" % results.missing_points_percentage} %</td>
<td>${"%.1f" % settings['jitter_missing_points']} %</td>
<td class="${'passed' if results.missing_inputs_verdict == 'Pass' else 'failed'}">${"Pass" if results.missing_inputs_verdict == "Pass" else "Fail"}</td>
</tr>
</table>
<h1>Details</h1>
<div py:if="'noimages' not in kwargs" class="preview">
<a href="${detailed_figure}">
<img src="${figure}" width="800" height="600" alt="Preview image"/>
</a>
</div>
<!--! Preview table -->
<div class="dtable no_print">
<div class="dtable_row subplot_selector">
<div class="dtable_header narrow_cell">Toggle:
</div><div class="dtable_header narrow_cell subplot_button"><button class="all_lines_button">All</button>
</div><div class="dtable_header narrow_cell subplot_button"><button class="failed_lines_button">Failed</button>
</div><div class="dtable_header narrow_cell subplot_button"><button class="passed_lines_button">Passed</button></div>
</div>
</div>
<div class="dtable subplot_table">
<div class="dtable_header_row">
<div class="dtable_header narrow_cell">Point ID
</div><div class="dtable_header narrow_cell">Max Jitter
</div><div class="dtable_header">Maximum allowed
</div><div class="dtable_header narrow_cell">Pass/Fail
</div><div class="dtable_header no_print">Detailed plot</div>
</div>
<div py:for="point in results.points" class="dtable_row plot_header">
<div class="dtable_cell narrow_cell">${point[0]}
</div><div class="dtable_cell narrow_cell"> ${"%.3f mm" % point[1] if point[1] is not None else "N/A"}
</div><div class="dtable_cell"> ${"%.3f" % settings['maxstationaryjitter'] if results.noise_status == "" else settings['maxstationaryjitter_with_noise']} mm
</div><div class="dtable_cell narrow_cell ${'passed' if point[2]=='Pass' else 'failed'}"> ${point[2]}
</div><div py:if="point[3] is not None" class="dtable_cell no_print"><button type="button" class="show_plot">Show/Hide</button>
</div><div py:if="point[3] is not None" class="plot" data-src="${point[3]}"/>
</div>
</div>
</div>