% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Game.R
\name{.html_on_ice_matches_late_empty_net}
\alias{.html_on_ice_matches_late_empty_net}
\title{Check HTML on-ice state against a late empty-net heuristic}
\usage{
.html_on_ice_matches_late_empty_net(
  play_by_play,
  reconstruction,
  idx,
  home_goalie_player_id,
  away_goalie_player_id,
  home_skater_player_ids,
  away_skater_player_ids
)
}
\arguments{
\item{play_by_play}{data.frame cleaned internal play-by-play object}

\item{reconstruction}{data.frame from \code{.reconstruct_skater_counts_from_penalties()}}

\item{idx}{row index in the play-by-play}

\item{home_goalie_player_id}{parsed home goalie player ID}

\item{away_goalie_player_id}{parsed away goalie player ID}

\item{home_skater_player_ids}{parsed home skater IDs}

\item{away_skater_player_ids}{parsed away skater IDs}
}
\value{
logical scalar
}
\description{
\code{.html_on_ice_matches_late_empty_net()} accepts late-game 6-on-5 HTML rows
when the trailing team has clearly pulled its goalie and there are no active
reconstructed penalties that would already explain the manpower mismatch.
}
\keyword{internal}
