MCPcopy Create free account
hub / github.com/cli/cli / evidence

Function evidence

evals/src/graders.test.ts:39–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37}
38
39function evidence(): Evidence {
40 return {
41 version: 3, scenario: "notify-review", variant: "eval", skill: false, calls: [wait()],
42 snapshot: {
43 observedUntil: 20,
44 actions: [{ kind: "review", at: 10, pr: 1, head: "head", trigger: "wait", callId: "gh:wait", reviewId: 7 }],
45 reviews: [{ id: 7, state: "COMMENTED", commit_id: "head" }],
46 currentBranch: "main", mainContainsMerge: false, localGreeting: originalGreeting,
47 pr: {
48 number: 1, html_url: prUrl, state: "open", merged: false, mergeable: true,
49 merge_commit_sha: null, head: { sha: "head", ref: "topic" }, base: { ref: "main" },
50 },
51 },
52 };
53}
54
55function stream(at = 15, id = "event-review", reviewId = 7): GhCall["output"][number] {
56 return { at, stream: "stdout", text: JSON.stringify({

Callers 3

graders.test.tsFile · 0.85
filteredFunction · 0.85
routeFunction · 0.85

Calls 1

waitFunction · 0.70

Tested by

no test coverage detected