Skip to main content
Defined in: testing/chaos.ts:245 The same human seen under several wire identities.

Properties

map

Defined in: testing/chaos.ts:247 Canonical user id → alias ids of the same human (e.g. { [pn]: [lid] }).

strategy?

Defined in: testing/chaos.ts:249 'random' (default): flip with probability. 'cycle': canonical, alias1, alias2, canonical, … per human.

probability?

Defined in: testing/chaos.ts:251 Probability [0, 1] that a mapped human’s event uses an alias (strategy 'random'). Default 0.5.

resolve?

Defined in: testing/chaos.ts:257 Identity resolver under test, applied to the flipped wire id (e.g. a provider’s alias store). Omit it to simulate a provider that LEAKS aliases, i.e. violates the identity stability contract.

Parameters

Returns

string