% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mascot.R
\name{mascot_state}
\alias{mascot_state}
\title{Compute the mascot emotional state for a run snapshot.}
\usage{
mascot_state(progress, best_p = NA_real_, escalating = FALSE)
}
\arguments{
\item{progress}{Numeric fraction of the run budget used (0 to 1).}

\item{best_p}{Numeric smallest p-value found so far in the run,
or \code{NA} if none. Currently unused; retained for back-compat.}

\item{escalating}{Logical: is the derived-metric escalation phase
currently active.}
}
\value{
One of \code{"composed"}, \code{"uncertain"}, \code{"worried"}, \code{"anxious"},
\code{"panicked"}, \code{"desperate"}.
}
\description{
Walks the progress ladder regardless of \code{best_p} so the player sees
the full emotional arc unfold during a run. The \code{resolved} face is
reserved for the final frame after a shippable run -- it isn't
returned mid-flight from this function. \code{best_p} is kept on the
signature for back-compat callers but no longer short-circuits the
ladder.
}
\keyword{internal}
