MCPcopy Create free account
hub / github.com/SethGammon/Citadel / criterion

Function criterion

scripts/usefulness-trial.js:58–60  ·  view source on GitHub ↗
(id, label, status, detail, evidence = [])

Source from the content-addressed store, hash-verified

56}
57
58function criterion(id, label, status, detail, evidence = []) {
59 return { id, label, status, detail, evidence };
60}
61
62function statusFromCheck(check, options = {}) {
63 if (options.acceptPartial && check.status === 'partial') return 'pass';

Callers 1

buildCriteriaFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected