github / github/scientist

Per-experiment sampling?

未关闭
#70 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Ruby
星标
7.8k
派生
505
PR 合并指标
30 天内没有已合并 PR

描述

When using the `science` method in the `Scientist` module, I want to supply an extra parameter that would be used inside the `enabled?` method to determine whether to run the experiment.

The intention is to be able to control, on a per-experiment basis, the percentage of time that the experiment will actually run.

Is something like this possible?

贡献指南

打开贡献指南

调研方向

首先阅读 Scientist 模块中的 `science` 方法和 `enabled?` 方法,以了解如何选择要执行的实验。在实现之前定义每个实验的采样行为及其 API;完成时应包括覆盖率,以证明配置的百分比控制着实验是否运行。

由索引模型根据 Issue 内容生成。

评估

技术栈
ruby
领域
backend-api-design
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。