MCPcopy Index your code
hub / github.com/github/docs / sendSuccess

Function sendSuccess

components/lib/experiment.ts:15–22  ·  view source on GitHub ↗
(test: string)

Source from the content-addressed store, hash-verified

13}
14
15export function sendSuccess(test: string) {
16 return sendEvent({
17 type: EventType.experiment,
18 experiment_name: test,
19 experiment_variation: bucket(test).toLowerCase(),
20 experiment_success: true,
21 })
22}
23
24export function initializeExperiments() {
25 if (initialized) return

Callers

nothing calls this directly

Calls 2

sendEventFunction · 0.90
bucketFunction · 0.85

Tested by

no test coverage detected