Get the newsletter
Microsoft · AI / ML · Filed May 30, 2025 · USPTO published Dec 3, 2026 · This week's release

Microsoft Patents an AI Coach That Grades How Well Engineers Test Software Updates

Before a software update reaches millions of users, someone has to decide whether it was tested enough. Microsoft's patent hands part of that judgment call to an AI that grades the testing and writes back with advice.

An automated review setup that grades how thoroughly engineers test software changes and recommends better checks before code goes live. Drawing from patent filing US 2026/0386817 A1.
An automated review setup that grades how thoroughly engineers test software changes and recommends better checks before code goes live.All 5 drawings ↓
Publication number
US 2026/0386817 A1(US20260386817A1)
USPTO patent title:
AI-Powered Testing Recommendations for Software Changes
Applicant
MICROSOFT TECHNOLOGY LICENSING, LLC
Filed · Published
May 30, 2025 · Dec 3, 2026
Inventors
Nidhi VERMA, Chandra Sekhar INGUVA, Michael John NEUBURGER, Marc-Andrea KLIMASCHEWSKI, Amy Leigh JOSEFCZYK
Status when we published
Waiting for an examiner
Document
20 claims
US classification
717/172

What Microsoft's test-plan grader actually does

You've just finished a small fix to an app that millions of people rely on, and now you have to decide which tests to run before it goes live. Nobody on your team remembers the outage from a decade ago that makes one corner of the code risky, and the rules differ for every customer.

Microsoft's patent describes an AI helper for that moment. It grades your testing plan by checking it against the history of past updates, past outages and required security reviews. Then it writes you a plain-English note, something like "add this extra test, because a similar change broke things before."

You can accept the advice, tweak it or ignore it. If you change the plan, the system runs everything again and gives fresh advice, until you say you're done. Only then does the update go out.

From the filing · CLAIM 1
… determining, by a first AI model system, a test rating of the current test plan for the pull request based on the build artifacts and the database of prior deployments of the online service, the test rating indicative of an effectiveness of the current test plan with respect to the pull request; …

Translation: An artificial intelligence system grades how well your testing plan covers the new code updates.

How Microsoft's AI grades and rewrites a test plan

The claimed method starts with a pull request (a proposed code change submitted to the shared source code) and a test plan (the list of checks the change must pass before it ships). The system builds and tests the service, producing build artifacts (logs, test results and an analysis of which code paths the change touches).

A first AI system then gives the plan a test rating, an effectiveness score, by comparing those artifacts with a database of prior deployments. That database can hold past outages, security audit requirements and customer-specific incidents. A second system runs several independent AI models that each propose suggestions, then combines them. The description says that could mean averaging, or keeping only the suggestions the models agree on.

A large language model (the same kind of AI behind chatbots) turns the result into a plain-English recommendation on screen. The engineer can accept, alter or reject it. In the filing's example, the AI suggests 90% code coverage and the engineer changes it to 75%. The system records that edit, and can stop repeating advice that keeps getting rejected.

The loop repeats, with new builds, ratings and advice, until the engineer signals there are no more changes. Then the update deploys.

From the filing · THE ABSTRACT
Improved software deployment systems include a natural language recommendation for improvements to a current test plan for deployment of a software service resulting from a pull request (PR).

Translation: The system uses everyday language to suggest ways engineers can improve their testing process.

Why remembering past outages could shape testing

Most of us only notice software testing when it fails: an outage, or a bug that arrives with an update. This patent targets the human gap behind many of those failures. Big services run on code written by thousands of people over decades, and no single person knows every rule about what must be tested before a change goes out. An AI that remembers past incidents, audit rules and customer-specific problems could flag a missing check before your service breaks.

It also shows AI helpers moving from writing code to reviewing the safety net around it. The human stays in charge: the engineer accepts, tweaks or rejects each suggestion, and the system learns from those choices. For ordinary users the payoff would be fewer bad updates, though the filing gives no figures for how much testing would improve.

Microsoft's 73rd filing in the Enterprise AI patents we cover since May follows earlier applications like the double-booked meetings fix and the blurry video repair.

Source: US 2026/0386817 A1 at the USPTO (PDF). Full patent text and figures are in the official publication.

Get our take in your Top Stories

Liked this breakdown? Add Patentlyze as a preferred source on Google, and our plain-English take shows up more often in your Top Stories the next time Microsoft patent news breaks.

There are more where this came from

We read the new patents from Big Tech, carmakers and more and send you the ones worth knowing. Plain English, free, every week.

The drawings · 5 sheets

5 drawing sheets from US 2026/0386817 A1 · click any drawing to enlarge

How AI reviews test plans before updates launch to users, drawing sheet 1 from US 2026/0386817 A1
Sheet 1 How AI reviews test plans before updates launch to users
Scoring a test plan against past software outages, drawing sheet 2 from US 2026/0386817 A1
Sheet 2 Scoring a test plan against past software outages
Generating written advice to help engineers improve tests, drawing sheet 3 from US 2026/0386817 A1
Sheet 3 Generating written advice to help engineers improve tests
Steps for grading tests and approving software changes, drawing sheet 4 from US 2026/0386817 A1
Sheet 4 Steps for grading tests and approving software changes
Computer hardware running the automated coaching tools, drawing sheet 5 from US 2026/0386817 A1
Sheet 5 Computer hardware running the automated coaching tools
Patent filing page

Reader comments

No comments yet

Start the discussion

Real name or a handle, either is fine. Comments are read by a person before they appear, so allow a little time. Keep it about the filing.