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

Function createCheck

plugins/plugin-eval/src/core/schema.js:57–81  ·  view source on GitHub ↗
({
  id,
  category,
  severity,
  status,
  message,
  evidence = [],
  remediation = [],
  source = "core",
  targetPath = null,
  why = null,
})

Source from the content-addressed store, hash-verified

55}
56
57export function createCheck({
58 id,
59 category,
60 severity,
61 status,
62 message,
63 evidence = [],
64 remediation = [],
65 source = "core",
66 targetPath = null,
67 why = null,
68}) {
69 return {
70 id,
71 category,
72 severity,
73 status,
74 message,
75 evidence,
76 remediation,
77 source,
78 ...(why ? { why } : {}),
79 ...(targetPath ? { targetPath } : {}),
80 };
81}
82
83export function createMetric({
84 id,

Callers 8

addBudgetFindingsFunction · 0.90
analyzePathFunction · 0.90
evaluatePluginFunction · 0.90
analyzeCoverageArtifactsFunction · 0.90
analyzePythonFilesFunction · 0.90
analyzeTypeScriptFilesFunction · 0.90
evaluateSkillFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected