# US 2026/0087270 A1 · Method to use history of persisted facts to improve automation accuracy

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0087270 A1
- Document ID: US20260087270A1
- Status: Published application
- Kind: A1
- Application number: 19/396,266
- Filed: 2025-11-20
- Published: 2026-03-26
- Earliest claimed: 2020-10-23
- Assignees: Kognitos, Inc.
- Applicants: Kognitos, Inc.
- Inventors: Binny Sher Gill; Rupesh Mehta; Vihang Agarwal; Vansh Khanna
- Web page: https://patentgrep.com/patent/US20260087270A1

## CPC

- G06F 40/40: Processing or translation of natural language (natural language analysis G06F40/20; semantic analysis G06F40/30)
- G06F 8/30: Creation or generation of source code
- G06F 8/33: Intelligent editors
- G06N 5/022: Knowledge engineering; Knowledge acquisition
- G06N 5/04: Inference or reasoning models
- G06F 8/60: Software deployment
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Disclosed is an improved approach to implement automations in a computing system. An approach is provided to implement auto-testing of automations. An approach is also provided to implement auto-debugging of software-based automations.

## Claims

### Claim 1

A method, comprising:
operating an automation, wherein a history of executed steps is maintained along with a corresponding fact for a step of the automation;
identifying one or more lines and one or more facts from the automation; and
creating a test suite based upon the one or more lines and the one or more facts identified from the automation, wherein the one or more lines and the one or more facts identified from the automation are identified for validation during a subsequent automation run.

### Claim 2 (depends on 1)

The method of claim 1, wherein the automation, the one or more lines, and the one or more facts are saved as content for the test suite.

### Claim 3 (depends on 1)

The method of claim 1, wherein the test suite is manually created by having a user manually select the one or more lines and the one or more facts for the test suite.

### Claim 4 (depends on 1)

The method of claim 1, wherein the one or more lines and the one or more facts for the test suite are automatically selected for the test suite by an LLM.

### Claim 5 (depends on 1)

The method of claim 1, wherein an edit is made to a line for the automation, and the subsequent automation is run with the edit to the line of the automation and a new output is compared to the test suite to identify any possible errors.

### Claim 6 (depends on 1)

The method of claim 1, wherein an identifier is associated with each line to track a line across different versions of the automation.

### Claim 7

A system, comprising:
a processor;
a memory for holding programmable code; and
wherein the programmable code includes instructions for operating an automation, wherein a history of executed steps is maintained along with a corresponding fact for a step of the automation; identifying one or more lines and one or more facts from the automation; creating a test suite based upon the one or more lines and the one or more facts identified from the automation, wherein the one or more lines and the one or more facts identified from the automation are identified for validation during a subsequent automation run.

### Claim 8 (depends on 7)

The system of claim 7, wherein the automation, the one or more lines, and the one or more facts are saved as content for the test suite.

### Claim 9 (depends on 7)

The system of claim 7, wherein the test suite is manually created by having a user manually select the one or more lines and the one or more facts for the test suite.

### Claim 10 (depends on 7)

The system of claim 7, wherein the one or more lines and the one or more facts for the test suite are automatically selected for the test suite by an LLM.

### Claim 11 (depends on 7)

The system of claim 7, wherein an edit is made to a line for the automation, and the subsequent automation is run with the edit to the line of the automation and a new output is compared to the test suite to identify any possible errors.

### Claim 12 (depends on 7)

The system of claim 7, wherein an identifier is associated with each line to track a line across different versions of the automation.

### Claim 13

A non-transitory computer program product embodied on a computer readable medium, the computer readable medium having stored thereon a sequence of instructions which, when executed by a processor, performs:
operating an automation, wherein a history of executed steps is maintained along with a corresponding fact for a step of the automation;
identifying one or more lines and one or more facts from the automation; and
creating a test suite based upon the one or more lines and the one or more facts identified from the automation, wherein the one or more lines and the one or more facts identified from the automation are identified for validation during a subsequent automation run.

### Claim 14 (depends on 13)

The computer program product of claim 13, wherein the automation, the one or more lines, and the one or more facts are saved as content for the test suite.

### Claim 15 (depends on 13)

The computer program product of claim 13, wherein the test suite is manually created by having a user manually select the one or more lines and the one or more facts for the test suite.

### Claim 16 (depends on 13)

The computer program product of claim 13, wherein the one or more lines and the one or more facts for the test suite are automatically selected for the test suite by an LLM.

### Claim 17 (depends on 13)

The computer program product of claim 13, wherein an edit is made to a line for the automation, and the subsequent automation is run with the edit to the line of the automation and a new output is compared to the test suite to identify any possible errors.

### Claim 18 (depends on 13)

The computer program product of claim 13, wherein an identifier is associated with each line to track a line across different versions of the automation.

### Claim 19

A method, comprising:
operating an automation, wherein a history of executed steps is maintained along with a corresponding fact for a step of the automation;
identifying an error that occurs for the automation;
analyzing a current and a historical execution of the automation to analyze the error, wherein a LLM is used to process the current and the historical execution of the automation to provide an analysis and a possible fix for the error.
