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

Function fresh

test/autoDistillConv.test.js:48–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46});
47
48function fresh() {
49 for (const m of ['paths', 'skillDistiller', 'assetStore', 'autoDistillLlm', 'execBridge', 'policyCheck', 'autoDistillConv']) {
50 try { delete require.cache[require.resolve('../src/gep/' + m)]; } catch (_) {}
51 }
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 {}; } }

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected