% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/diagnostics.R
\name{wf_diagnose}
\alias{wf_diagnose}
\title{Diagnose calibrated weights}
\usage{
wf_diagnose(w, target = NULL, sample = NULL, deff_ok = 3, deff_caveat = 10)
}
\arguments{
\item{w}{A \code{wf_weights} object.}

\item{target}{Optional \code{wf_target} object for residual margin checks.}

\item{sample}{Reserved for future diagnostics.}

\item{deff_ok}{Design-effect threshold for an OK verdict.}

\item{deff_caveat}{Design-effect threshold for caveat verdict.}
}
\value{
A \code{wf_diagnostics} object.
}
\description{
Computes per-group quality metrics for a \code{wf_weights} object.
}
