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

Function createUserPrompt

src/metrics/test-coverage.ts:163–165  ·  view source on GitHub ↗
(context: Metric.Context)

Source from the content-addressed store, hash-verified

161Return JSON with 'score' (0 or 1) and detailed rationale listing all missing scenarios or assertion mismatches.`;
162
163export function createUserPrompt(context: Metric.Context) {
164 return `Reference diff:\n${context.expectedDiff}\n\nCandidate diff:\n${context.actualDiff}\n\nCompare ONLY the test coverage (test scenarios, assertions). Ignore test structure and framework. Respond with JSON.`;
165}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected