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

Claim 10:
11. One or more non-transitory computer readable media comprising instructions which, when executed on or across one or more processors, cause the one or more processors to:
receive a learning test definition by an application learner which is implemented by one or more processors and memory, the learning test definition prescribing a sequence of operations of the application resulting in a goal state for completing a learning test;
train the application learner based on a reinforcement learning algorithm to develop knowledge of operations of the application, 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

receive a functional test definition which prescribes a sequence of operations of an application under a functional test;
execute the functional test of the application following the sequence of operations of the application prescribed by the functional test definition;
detect a failure of the functional test; and
responsive to detecting the failure of the functional test, identify a sequence of operations that is alternative to the sequence of operations prescribed by the functional test definition to repair the functional test, based on the knowledge of operations of the application developed by the application learner, 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.