14 lines
651 B
TypeScript
14 lines
651 B
TypeScript
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
import type { AdaptiveExperimentationConfig } from "./AdaptiveExperimentationConfig";
|
|
import type { StaticExperimentationConfig } from "./StaticExperimentationConfig";
|
|
|
|
/**
|
|
* Runtime experimentation config — only two variants (plus test-only AlwaysFails).
|
|
* Legacy types (`Uniform`, `StaticWeights`, `TrackAndStop`) are converted to these
|
|
* during `load()`.
|
|
*/
|
|
export type ExperimentationConfig =
|
|
| { type: "default" }
|
|
| ({ type: "static" } & StaticExperimentationConfig)
|
|
| ({ type: "adaptive" } & AdaptiveExperimentationConfig);
|