MCPcopy Create free account
hub / github.com/anomalyco/opencode-bench / createUserPrompt

Function createUserPrompt

src/metrics/integration-points.ts:166–168  ·  view source on GitHub ↗
(context: Metric.Context)

Source from the content-addressed store, hash-verified

164Return JSON with 'score' (0 or 1) and detailed rationale listing all integration mismatches found.`;
165
166export function createUserPrompt(context: Metric.Context) {
167 return `Reference diff:\n${context.expectedDiff}\n\nCandidate diff:\n${context.actualDiff}\n\nCompare ONLY the integration points (imports, function calls, call locations, timing). Ignore implementation details. Respond with JSON.`;
168}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected