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

Function renderMeasurementPlan

plugins/plugin-eval/src/renderers/html.js:97–108  ·  view source on GitHub ↗
(plan)

Source from the content-addressed store, hash-verified

95}
96
97function renderMeasurementPlan(plan) {
98 if (!plan) {
99 return "<p>No measurement plan available.</p>";
100 }
101
102 return `<p>${escapeHtml(plan.summary)}</p><ul>${plan.toolsets
103 .map(
104 (toolset) =>
105 `<li><strong>${escapeHtml(toolset.label)}</strong> [${escapeHtml(toolset.priority)}] ${escapeHtml(toolset.goal)}</li>`,
106 )
107 .join("")}</ul>`;
108}
109
110function renderWorkflowGuide(guide) {
111 if (!guide) {

Callers 1

renderHtmlFunction · 0.70

Calls 2

mapMethod · 0.80
escapeHtmlFunction · 0.70

Tested by

no test coverage detected