% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Clean.R
\name{.repair_public_pbp_sequence}
\alias{.repair_public_pbp_sequence}
\title{Repair public play-by-play clock/order defects in boundary-row feeds}
\usage{
.repair_public_pbp_sequence(play_by_play)
}
\arguments{
\item{play_by_play}{data.frame of play-by-play(s); see \code{\link[=gc_play_by_play]{gc_play_by_play()}} and/or \code{\link[=wsc_play_by_play]{wsc_play_by_play()}} for reference}
}
\value{
data.frame with repaired clocks and ordering where feasible
}
\description{
\code{.repair_public_pbp_sequence()} removes rows with impossible clocks and
reorders explicit-boundary feeds into a more coherent public sequence. The
repair is intentionally scoped to the modern boundary-row era, where the
audited issues are dominated by stale sort-order markers, early \code{period-end}
rows, and opening faceoffs that arrive after live-play rows.
}
\keyword{internal}
