EstimateEffect.run#

EstimateEffect.run(context)[source]#

Instantiate, fit, and register the experiment.

The experiment constructor receives context.data as its first positional argument, followed by all captured keyword arguments. Constructors no longer fit; EstimateEffect.run() calls .fit() explicitly on the freshly constructed experiment.

Parameters:

context (PipelineContext) – Pipeline context. context.data is forwarded to the experiment constructor as the first positional argument.

Returns:

Updated context with experiment, experiment_config, and (if available) effect_summary populated.

Return type:

PipelineContext