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

Function recommendMeasures

plugins/plugin-eval/src/core/analyze.js:162–172  ·  view source on GitHub ↗
(targetPath, options = {})

Source from the content-addressed store, hash-verified

160}
161
162export async function recommendMeasures(targetPath, options = {}) {
163 const result = await analyzePath(targetPath, options);
164 const payload = {
165 ...result.measurementPlan,
166 workflowGuide: await buildWorkflowGuide(result.target.path, {
167 goal: "measure",
168 }),
169 };
170 payload.nextAction = payload.nextAction || createMeasurementPlanNextAction(payload);
171 return payload;
172}

Callers 1

runCliFunction · 0.90

Calls 3

buildWorkflowGuideFunction · 0.90
analyzePathFunction · 0.85

Tested by

no test coverage detected