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.

- 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.
… 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.
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.
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

No comments yet