MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / ev

Function ev

test/skill-learning-phase1.test.ts:32–33  ·  view source on GitHub ↗
(event: LearningEvent['event'], name: string, extra: Partial<LearningEvent> = {})

Source from the content-addressed store, hash-verified

30
31describe('learning ledger aggregation — the metrics dashboard', () => {
32 const ev = (event: LearningEvent['event'], name: string, extra: Partial<LearningEvent> = {}): LearningEvent =>
33 ({ ts: `2026-06-25T00:00:0${name.length}Z`, event, name, ...extra });
34 it('aggregates counts, promotion rate, and avg confidence', () => {
35 const events: LearningEvent[] = [
36 ev('capture', 'a', { confidence: 80 }),

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected