MCPcopy Create free account
hub / github.com/EvoMap/evolver / extractErrorSignature

Function extractErrorSignature

src/gep/issueReporter.js:101–109  ·  view source on GitHub ↗
(signals)

Source from the content-addressed store, hash-verified

99}
100
101function extractErrorSignature(signals) {
102 const errSig = signals.find(function (s) { return s.startsWith('recurring_errsig'); });
103 if (errSig) {
104 return errSig.replace(/^recurring_errsig\(\d+x\):/, '').trim().slice(0, 200);
105 }
106 const banned = signals.find(function (s) { return s.startsWith('ban_gene:'); });
107 if (banned) return 'Repeated failures with gene: ' + banned.replace('ban_gene:', '');
108 return 'Persistent evolution failure';
109}
110
111function extractStreakCount(signals) {
112 for (let i = 0; i < signals.length; i++) {

Callers 2

buildIssueBodyFunction · 0.70
maybeReportIssueFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected