Jump to content

Microsoft technology licensing, llc (20250138816). REFACTORING NON-COMPLIANT CODE INTO COMPLIANT CODE

From WikiPatents


REFACTORING NON-COMPLIANT CODE INTO COMPLIANT CODE

Organization Name

microsoft technology licensing, llc

Inventor(s)

Justin Allen Hutchings of Sammamish WA US

Ryan Joseph Salva of Palm Springs CA US

REFACTORING NON-COMPLIANT CODE INTO COMPLIANT CODE

This abstract first appeared for US patent application 20250138816 titled 'REFACTORING NON-COMPLIANT CODE INTO COMPLIANT CODE

Original Abstract Submitted

techniques for intelligently prompting an llm to refactor code are disclosed. a code snippet is accessed. this code is identified as potentially comprising a reference to an out-of-compliance library. context for the code snippet is generated. an llm prompt is then built. this prompt will be fed to the llm, and the prompt instructs the llm to refactor the code snippet into modified code, which calls a compliant library. output of the llm is displayed. this output is based on the llm operating in response to the llm prompt. the output includes a proposed rewritten version of the code snippet.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.