MCPcopy Create free account
hub / github.com/openai/plugins / renderChecks

Function renderChecks

plugins/plugin-eval/src/renderers/html.js:20–31  ·  view source on GitHub ↗
(checks)

Source from the content-addressed store, hash-verified

18}
19
20function renderChecks(checks) {
21 if (checks.length === 0) {
22 return "<p>No checks recorded.</p>";
23 }
24
25 return `<ul>${checks
26 .map(
27 (check) =>
28 `<li><strong>${escapeHtml(check.id)}</strong> [${escapeHtml(check.status)}] ${escapeHtml(check.message)}</li>`,
29 )
30 .join("")}</ul>`;
31}
32
33function renderMetrics(metrics) {
34 if (metrics.length === 0) {

Callers 1

renderHtmlFunction · 0.70

Calls 2

mapMethod · 0.80
escapeHtmlFunction · 0.70

Tested by

no test coverage detected