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

Function workflowLabel

plugins/plugin-eval/src/core/workflow-guide.js:165–182  ·  view source on GitHub ↗
(goal, target)

Source from the content-addressed store, hash-verified

163}
164
165function workflowLabel(goal, target) {
166 if (goal === "analysis") {
167 return target.kind === "plugin" ? "Full Plugin Analysis" : "Full Skill Analysis";
168 }
169 if (goal === "evaluate") {
170 return target.kind === "plugin" ? "Evaluate Plugin" : "Evaluate Skill";
171 }
172 if (goal === "budget") {
173 return "Explain Token Budget";
174 }
175 if (goal === "measure") {
176 return "Measure Real Token Usage";
177 }
178 if (goal === "benchmark") {
179 return "Benchmark With Starter Scenarios";
180 }
181 return "Start Here";
182}
183
184function commandsForGoal(goal, target, status) {
185 const commandTargetPath = formatCommandPath(target.path);

Callers 1

createEntryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected