% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pipeline.R
\name{wf_run}
\alias{wf_run}
\title{Run a production weighting pipeline}
\usage{
wf_run(
  spec,
  sample,
  dims = NULL,
  population = NULL,
  reference = NULL,
  base_weight = NULL
)
}
\arguments{
\item{spec}{A \code{wf_pipeline} object.}

\item{sample}{An unchanged \code{wf_design_data} object.}

\item{dims}{Optional \code{wf_dims} used to verify target dimensions.}

\item{population}{A verified population target for population mode.}

\item{reference}{A verified reference target for reference mode.}

\item{base_weight}{Deprecated runtime base-weight input. WFC 2.0 requires
the base-weight role to be declared in \code{sample}; supplying this argument
raises a safety error.}
}
\value{
A \code{wf_weights} object with pipeline provenance and optional
\verb{$pipeline_validation}.
}
\description{
Executes a \code{wf_pipeline()} specification against verified design and target
objects, records provenance, and evaluates declared validation thresholds.
}
