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

Function seedQueue

test/autoDistillConv.test.js:54–54  ·  view source on GitHub ↗
(mod, cands)

Source from the content-addressed store, hash-verified

52 return require('../src/gep/autoDistillConv');
53}
54function seedQueue(mod, cands) { mod.enqueueCandidate(cands); }
55function genesOnDisk() { try { return JSON.parse(fs.readFileSync(path.join(tmpRoot, '.evolver', 'gep', 'genes.json'), 'utf8')).genes || []; } catch (_) { return []; } }
56function convState() { try { return (JSON.parse(fs.readFileSync(path.join(tmpRoot, 'memory', 'distiller_state.json'), 'utf8')).conv_distill) || {}; } catch (_) { return {}; } }
57function fullState() { try { return JSON.parse(fs.readFileSync(path.join(tmpRoot, 'memory', 'distiller_state.json'), 'utf8')); } catch (_) { return {}; } }

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected