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

Function simplifyMutation

src/webui/observer/runs.js:76–87  ·  view source on GitHub ↗
(mutation)

Source from the content-addressed store, hash-verified

74}
75
76function simplifyMutation(mutation) {
77 if (!mutation || typeof mutation !== 'object') return null;
78 return {
79 id: mutation.id || null,
80 category: mutation.category || null,
81 triggerSignals: mutation.trigger_signals || [],
82 targetType: mutation.target_type || null,
83 summary: mutation.summary || null,
84 strategySteps: Array.isArray(mutation.strategy) ? mutation.strategy.length : null,
85 constraints: mutation.constraints || null,
86 };
87}
88
89function buildRuns() {
90 const paths = getObserverPaths();

Callers 1

buildRunDetailFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected