Patent Issued for Automated Code Validation Systems and Methods (USPTO 11138366): Allstate Insurance Company

0


[ad_1]

2021 OCT 22 (NewsRx) – By a Journalist-Staff News Editor at Daily Insurance News – Based on information from Alexandria, Virginia, by the journalists of NewsRx, a patent of the inventors Pandurangarao, Anil kumar (Buffalo Grove, Illinois, United States), Ravichander, Sudharshun (Des Plaines, Illinois, United States), filed on January 15, 2020, was published online on October 5, 2021.

The assignee of this patent, patent number 11138366, is Allstate Insurance Company (Northbrook, Illinois, United States).

Reporters obtained the following quote from background information provided by the inventors: “A variety of documents, such as the source code of computer programs, can be created by developers. Developers typically follow a set of procedures and standards defined by an organization to ensure that documents are created and tested in a consistent and repeatable manner. Documents are usually reviewed manually by developers or senior managers to ensure the quality of the documents and to verify that the correct procedures have been followed. The revision itself is often defined by revision checklists, but often the checklists are not followed by developers or reviewers.

In addition to obtaining background information on this patent, the editors of NewsRx also obtained the Inventors’ Summary Information for this patent: Aspects of the Invention. This summary is not a detailed overview of the invention. It is not intended to identify key or critical elements of the invention or to delimit the scope of the invention. The following summary simply presents certain concepts of the invention in a simplified form as a prelude to the more detailed description provided below.

“Systems and methods according to embodiments of the invention can automatically track the creation of documents, such as source code files and unit tests, as well as the development of those documents.” The document creation and development workflow can be automatically validated against a defined set of standards to ensure that documents are created correctly. Document review can also be automatically validated to ensure that the review process is properly completed. Various metrics can be generated regarding errors and issues identified during validation processes. These metrics can be used to identify common issues, automatically generate proactive suggestions to avoid issues when creating and testing documents, and / or generate developer profiles that show the performance of particular developers.

“The described arrangements may also include other elements, steps, computer-executable instructions or computer-readable data structures. In this regard, other embodiments are also described and claimed herein. Details of these and other embodiments of the present invention are set forth in the accompanying drawings and the description below. Other characteristics and advantages of the invention will emerge from the description, the drawings and the claims.

The claims provided by the inventors are:

A method, comprising: obtaining, by a computing device, document requirement data; determining, by the computing device, a set of unit tests based on the document requirement data; generating, by the computing device, a document based on the document requirement data, wherein the document includes a set of aspects corresponding to the set of unit tests; validating, by the computing device, the document by: performing the set of unit tests on the document; record the results of the set of unit tests performed; and determine that each unit test in the set of unit tests passed; calculate, by the computing device, a code coverage metric based on the unit test set and the aspect set; verify, by the computing device, that the code coverage metric exceeds a threshold value; and when the code coverage metric e is verified, transmitting, by the computer device and to a version control system, a control request comprising the document and the set of unit tests.

The method of claim 1, wherein: the document requirement data comprises an indication of a first date of creation of the document and an indication of a second date of creation of the set of unit tests; and validating the document further comprises determining that the second creation date is earlier than the first creation date.

The method of claim 1, wherein validating the document further comprises determining an amount of time spent refactoring the document.

The method of claim 1, wherein validating the document further comprises determining a number of refactorings of the document.

The method of claim 1 further comprising: determining, by the computing device, a set of encoding errors in the document by smoothing the document; and validating the document based on the set of coding errors.

The method of claim 1, further comprising: transmitting, by the computing device, validation results for the document; obtaining, by the computing device, a return determined on the basis of the validation results; and providing feedback through the computing device.

7. The method of claim 6, wherein the feedback is provided in real time.

8. A computer device, comprising: a processor; and memory in communication with the processor and storing instructions which, when executed by the processor, cause the computing device to: obtain document requirement data; determining a set of unit tests based on the requirement data of the document; generating a document based on the document requirement data, wherein the document includes a set of aspects corresponding to the set of unit tests; validate the document by: performing all the unit tests on the document; determining that each unit test in the set of unit tests has passed; calculating a code coverage metric based on the set of unit tests and the set of aspects; verify that the code coverage metric exceeds a threshold value; and when the code coverage metric is verified, transmitting, to the version control system, a registration request comprising the document and the set of unit tests.

The computing device of claim 8, wherein: the document requirement data comprises an indication of a first date of creation of the document and an indication of a second date of creation of the set of unit tests; and the instructions, when executed by the processor, further cause the computing device to validate the document by determining that the second creation date is earlier than the first creation date.

10. The computing device of claim 8, wherein the instructions, when executed by the processor, further cause the computing device to validate the document by determining an amount of time spent refactoring the document.

The computing device of claim 8, wherein the instructions, when executed by the processor, further cause the computing device to validate the document by determining a number of refactorings of the document.

A computing device according to claim 8, wherein the instructions, when executed by the processor, further cause the computing device to: determine, by the computing device, a set of encoding errors in the document in question. smoothing the document; and validating the document based on the set of coding errors.

The computing device of claim 8, wherein the instructions, when executed by the processor, further cause the computing device to: transmit validation results for the document; obtain determined feedback based on the results of the validation; and provide feedback.

14. The computing device of claim 13, wherein the feedback is provided in real time.

15. A non-transient machine-readable medium storing instructions which, when executed by one or more processors, cause the processor (s) to perform steps comprising: obtaining document requirement data; determining a set of unit tests based on the document requirement data; generating a document based on the document requirement data, wherein the document includes a set of aspects corresponding to the set of unit tests; validate the document by: performing all unit tests on the document; determining that each unit test in the set of unit tests has passed; calculating a code coverage metric based on the set of unit tests and the set of aspects; verify that the code coverage metric exceeds a threshold value; and when the code coverage metric is verified and the document validated, transmitting, to a version control system, an archive request comprising the document and the set of unit tests.

16. The non-transient machine readable medium of claim 15, wherein: the document requirement data comprises an indication of a first date of creation of the document and an indication of a second date of creation of the set. unit tests; and validating the document further comprises determining that the second creation date is earlier than the first creation date.

17. The non-transient machine readable medium of claim 15, wherein validating the document further comprises determining an amount of time spent refactoring the document.

18. The non-transient machine readable medium of claim 15, wherein validating the document further comprises determining a number of refactorings of the document.

19. The non-transient machine readable medium of claim 15, wherein the instructions, when executed by one or more processors, further cause the processor (s) to perform steps comprising: determining a set of processors. ‘coding errors in the document when smoothing the document; and validating the document based on the set of coding errors.

20. The machine-readable non-transient medium of claim 15, wherein the instructions, when executed by one or more processors, further cause the processor (s) to perform steps comprising: transmitting the validation results for. the document ; obtaining determined feedback based on the validation results; and provide feedback in real time.

For more information, see this patent: Pandurangarao, Anil kumar. Systems and methods for automated code validation. we Patent number 11138366, filed January 15, 2020, and published online at October 5, 2021. Patent URL: http://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO1&Sect2=HITOFF&d=PALL&p=1&u=%2Fnetahtml%2FPTO%2Fsrchnum.htm&r=1&f=G&l=50&s1=P11138366 = PN / 11138366RS = PN / 11138366

(Our reports provide factual information on research and discoveries from around the world.)

[ad_2]

Share.

Leave A Reply