code patterns that record, compare, or restore a previous/“last” state or selection in programming snippets (e.g., assignments, resets, and checks of prior values)
variable assignments that track or store previous values or states, particularly for variables with names like "last", "old", or subscript patterns indicating previous time steps.