MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / inPass

Function inPass

libatomic/src/review/viewer.js:73–73  ·  view source on GitHub ↗
(finding, pass)

Source from the content-addressed store, hash-verified

71 return subjects.length > 1 ? subjects.length + ' source subjects' : subjects[0] || 'File-level facts';
72 };
73 const inPass = (finding, pass) => finding.passes.includes(pass === 'slop' ? 'anti_slop' : pass === 'risk' ? 'blast_radius_risk' : 'intent_conformance');
74 const regionFindings = region => region.findings.map(number => findings.get(number)).filter(Boolean);
75 const numberText = region => region.findings.map(number => 'F' + number).join(', ');
76 const changes = new Map(report.changes.map(change => [change.hash, change]));

Callers 4

selectionFunction · 0.85
eligibleFunction · 0.85
renderAuditOverviewFunction · 0.85
viewer.jsFile · 0.85

Calls 1

includesMethod · 0.80

Tested by

no test coverage detected