1. A method for replay of program executions, the method comprising: identifying a first sequence of decision points, wherein the first sequence represents a first execution of a logic code; identifying a second sequence of decision points, wherein the second sequence represents a second execution of the logic code; computing, using one or more processors, a distance between the first and second executions; and minimizing, using one or more processors, the distance between the first and second executions using cross-entropy, in response to determining that the second execution is not within a predetermined threshold distance of the first execution, wherein the computing comprises: defining a total set of decision points as the union of decision points in the first and second sequences; creating a first enumeration of the decision points in the total set that identifies the decision points included in the first sequence; creating a second enumeration of the decision points in the total set that identifies the decision points included in the second sequence; and applying a Hamming algorithm to the first and second enumerations.