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

Function iso

test/approach-recall.test.ts:85–85  ·  view source on GitHub ↗
(d: number)

Source from the content-addressed store, hash-verified

83 it('on near-equal relevance, the more RECENT approach surfaces first', () => {
84 const now = Date.parse('2026-07-01T00:00:00Z');
85 const iso = (d: number) => new Date(now - d * 86_400_000).toISOString();
86 const two = [
87 { kind: 'episode' as const, text: 'add login auth flow', when: 'old', at: iso(200) }, // stale
88 { kind: 'episode' as const, text: 'add login auth flow', when: 'new', at: iso(2) }, // recent

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected