Patent ID: 11860769
Assignee: AMAZON TECHNOLOGIES, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A system, comprising:
an application learner implemented by one or more processors and memory and configured to develop knowledge of operations of an application based on a learning test definition, wherein the learning test definition prescribes a sequence of operations of the application resulting in a goal state for completing a learning test, wherein to develop the knowledge of the operations of the application, the application learner is configured to be trained using a reinforcement learning algorithm to identify one or more alternative sequences of operations by deviating from the sequence of operations prescribed by the learning test definition to complete the learning test, the reinforcement learning algorithm comprising an iterative process including:
at a state of an operation, determining a next operation for deviating from the prescribed sequence according to a probability;
generating an estimated reward based on an output produced by the application; and
repeating the iterative process for a next state of the next operation until the goal state specified by the learning test definition is reached; and

a test execution and repair manager implemented by one or more processors and memory and configured to:
execute a functional test of the application following a functional test definition, the functional test definition prescribing a sequence of operations of the application under the functional test;
detect a failure of the functional test; and
responsive to detecting the failure of the functional test, identify, using the knowledge of operations of the application developed by the application learner, a sequence of operations that is alternative to the sequence of operations prescribed by the functional test definition to repair the functional test, wherein identification of the alternative sequence of operations comprises identifying multiple sequences of operations alternative to the prescribed sequence of operations to repair the function test and comparing numbers of operations between the multiple sequences of operations to identify one with a fewest number of operations as the alternative sequence.