Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

1969results about "Program documentation" patented technology

Gap identification and solution recommendation for complex software architecture

An example operation may include one or more of receiving a plurality of architecture documents of a plurality of different domains of a software architecture, identifying a missing component that is missing from within the software architecture between a first domain and a second domain among the plurality of domains based on execution of a generative artificial intelligence (GenAI) model based on the plurality of architecture documents of the software architecture, generating a recommended modification to the software architecture based on the identified missing component, and displaying the recommended modification via a user interface.
Owner:THE TORONTO DOMINION BANK

Systems, methods, and graphical user interfaces for training a code generation model for low-resource languages

A system, method, and computer-program product includes identifying a plurality of code synthesis items for a target programming language, generating a code synthesis prompt based on a first sampling of the plurality of code synthesis items, synthesizing, via a large language model, a plurality of raw code segments using the code synthesis prompt, executing the plurality of raw code segments with a code interpreter associated with the target programming language, determining one or more valid code segments of the plurality of raw code segments that the code interpreter successfully executed, aggregating, via a second sampling, the one or more valid code segments into one or more validated code synthesis training samples, and training a code generation model using the one or more validated code synthesis training samples. User interfaces may be provided to allow target coding tasks to be specified via text or speech.
Owner:SAS INSTITUTE INC

Code generation method and system based on heterogeneous multi-agent cooperation and electronic equipment

The invention relates to a code generation method and system based on heterogeneous multi-agent collaboration and electronic equipment. According to the method, a special commentator agent instantiated by a heterogeneous large language model is added into a multi-agent collaboration process; according to the method, consistency and feasibility verification is carried out on a demand document given by an analyst agent by adopting a commentator agent, a modification suggestion is proposed in an early stage, deviation and problems are found in time in the early stage of a task, the cost and complexity of later correction are reduced, the robustness and reliability of codes are improved, and the method is suitable for large-scale popularization and application. And the generated result can still maintain high-level correctness under extreme conditions or specific boundary conditions. And the method has practical significance in improving software development efficiency, reducing project risks and improving the quality of an intelligent automatic solution.
Owner:NAT UNIV OF DEFENSE TECH

Systems and methods for generating code using language models trained on computer code

Disclosed herein are methods, systems, and computer-readable media for generating computer code based on natural language input. In an embodiment, a method may comprise one or more of: receiving a docstring representing natural language text specifying a digital programming result; generating, using a trained machine learning model, and based on the docstring, a computer code sample configured to produce respective candidate results; causing the computer code sample to be executed; identifying, based on the executing, a computer code sample configured to produce a particular candidate result associated with the digital programming result; performing at least one of outputting, via a user interface, the identified computer code sample, compiling the identified computer code sample, transmitting the identified computer code sample to a recipient device, storing the identified computer code sample, and / or re-executing the identified computer code sample.
Owner:OPENAI OPCO LLC

Adaptive code annotation updating method and system, terminal and storage medium

The invention relates to the technical field of software development, and particularly provides a self-adaptive code annotation updating method and system, a terminal and a storage medium, and the method comprises the following steps: confirming that codes are updated, extracting an updated code set, and combining and constructing an abstract syntax tree for the codes; performing semantic analysis on the abstract syntax tree by using a deep learning model to generate a semantic vector, and constructing a program dependency graph based on the semantic vector; analyzing a dependency relationship among code elements in the program dependency graph by utilizing a graph neural network; and generating a code annotation based on the semantic vector and the dependency relationship between the code elements by using a natural language generation model. According to the method, the real-time performance and the accuracy of the code document are ensured, the readability and the maintainability of the code are greatly improved, and the maintenance cost is reduced.
Owner:浪潮智慧科技有限公司 +1

Automatic Binary Code Understanding

The description relates to automated binary code summarization. In one example, a binary code summarization tool receives binary code and combines the received binary code with natural language in a prompt for a large language model (LLM). The binary code summarization tool receives a semantic summarization from the LLM relating to the received binary code and evaluates the new semantic summarization for malicious functionality in the received binary code.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Pre-computation for intermediate-representation infused search and retrieval augmented generation

Provided is a process including: obtaining, with a computer system, access to a code base; decomposing, with the computer system, the code base into parts; generating, with the computer system, documentation for the parts with a language model; associating, with the computer system, the documentation with the parts; indexing, with the computer system, the documentation; obtaining, with the computer system, a query searching for content in the code base; searching, with the computer system, using the index, the code base based on the generated documentation to identify documentation corresponding to the query and, then, content in the code base associated with the identified documentation; and responding, with the computer system, to the query, by identifying the content in the code base associated with the identified documentation.
Owner:DRIVER AI INC

PLC program generator / copilot using generative ai

PendingUS20250147737A1Programme controlProgram documentationProgram instructionFunctional specification
An integrated development environment (IDE) for uses a generative artificial intelligence (AI) model to generate industrial control code in accordance with functional requirements provided to the industrial IDE system as natural language prompts. The system's generative AI model leverages both a code repository storing sample control code and a document repository that stores device or software manuals, program instruction manuals, functional specification documents, or other technical documents. These repositories are synchronized by digitizing selected portions of document text from the document repository into control code for storage in the code repository, as well as contextualizing control code from the code repository into text-based documentation for storage in the document repository.
Owner:ROCKWELL AUTOMATION TECH INC

Inline conversation with artificial intelligence within code editor user interface

A computer system provides a context for a source code document to an artificial intelligence (AI) model and obtains a first suggested edit at a first source code location. At a code editor user interface (UI), the computer system presents a first chat indicator at the first source code location. Based on user interaction with the first chat indicator, the computer system presents the first suggested edit and receives a user response. The computer system provides an updated context to the AI model. The updated context comprises the context and the user response. The computer system obtains a second suggested edit at a second source code location. At the code editor UI, the computer system presents a second chat indicator at the second source code location. Based on user interaction with the second chat indicator, the computer system presents the second suggested edit.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Code review comment generation via retrieval-augmented transformer with chunk cross-attention

A retrieval-augmented neural transformer model with chunk cross-attention predicts a code review given a proposed source code change, represented as a code diff hunk, and a set of historical code review comments. The code diff hunk represents proposed edits to a source code snippet with its surrounding context that has not been changed. The historical code review comments are associated with code edits that are semantically similar to the proposed source code changes. The code diff hunk is partitioned into chunks which are used to find semantically similar historical code review comments. The set of historical code review comments is aggregated and used to guide the model in makings its predictions.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Transpiler to extract and use intermediate representations of a code base

Provided is a process including: obtaining, with a computer system, access to a code base; decomposing, with the computer system, the code base into parts; classifying, with the computer system, the parts according to content type; selecting, with the computer system, processing templates based on the content types, with at least some different content types having different selected processing templates; and generating natural language documentation for the parts, with one or more generative language models, using the processing templates selected for the parts.
Owner:DRIVER AI INC

Artificial intelligence (AI) assisted end-to-end workflow integration for software development in digital model platforms

PCT designated stage expiredWO2025072894A1Biological neural network modelsProgram documentation
Systems and methods for artificial intelligence (Al) assisted workflow integration for software development in a digital model platform are provided. In one embodiment, the methods receive a user selection of a target digital tool from a plurality of digital tools that are not directly interoperable with each other. Receive a user request comprising a description of a function script executable by the digital model platform on a target digital model type associated with the target digital tool. Fine-tune a scripting Al agent on prior user actions involving the target digital tool and on a resource-capability mapping of the digital model platform. Generate the function script and generate a unit test script, where the unit test script when interpreted tests the function script against the description. Finally, interpret the unit test script to generate a verification result for the function script; and, generate a test report based on the verification result.
Owner:ISTARI DIGITAL INC

Cross-platform low-code application development system based on Flutter architecture

The invention provides a cross-platform low-code application development system based on a Flutter framework. Comprising a login registration module, a project management module, an interface design module, a state management module, a route management module, a team management module, a help document module, an AI page design module, a development document generation module, a hardware integration module, a code generation module, a multi-user collaborative development module, a communication module, an online simulator module, an AI generation application module and an interface management module. An asset management module, a developer forum module, an application market module and an application packaging module. The communication module supports various communication protocols and secure transmission modes, and ensures that data exchange applied to cross-platform and cross-system environments is secure and reliable. Through component dragging and graphical configuration, the low-code platform automatically analyzes configuration data to generate an App, a development document and a source code. And meanwhile, multi-person collaborative development is supported, so that the development threshold is reduced and the development speed is increased.
Owner:NANJING NINE-SIDED TECH CO LTD

Electrode program design method and device, electronic equipment and storage medium

The invention discloses an electrode program design method and device, electronic equipment and a storage medium, and relates to the mechanical manufacturing technology, the method comprises the steps that a target model file is loaded, parameter information of a target workpiece is determined from the target model file, and the parameter information at least comprises a shape parameter, a structure parameter, a size parameter and a technological parameter; the number of machining electrodes is determined, and the target workpiece is divided into at least one machining area according to the number of the electrodes; for any machining electrode, the electrode shape is determined according to the shape parameters and the structure parameters corresponding to the machining area, and an electrode subprogram is determined according to the size parameters and the process parameters corresponding to the machining area; and an electrode machining file is generated according to the electrode subprogram corresponding to each machining electrode, so that the machining machine tool controls the machining electrodes set to be in the corresponding electrode shapes through the electrode machining file, the target workpiece is obtained after operation of the machining machine tool is finished, and the beneficial effect of improving the workpiece machining precision is achieved.
Owner:MAKINO MACHINE TOOL CHINA CO LTD

Log quality detection method and system, electronic equipment and storage medium

The invention discloses a log quality detection method and system, electronic equipment and a storage medium. The method comprises the following steps: acquiring a multi-modal input source; performing reverse anchoring operation in a dynamic analysis stage of the running log to establish direct mapping between the running log and the source code; compiling the abstract syntax tree based on the source code, establishing a grammar dependence graph according to the abstract syntax tree, and traversing the abstract syntax tree to construct a structured data set; based on the running log, obtaining a quality detection result through structured analysis, and generating a semantic detection result by using a large language model; performing cooperative operation on the structured data set and the grammar dependency graph to generate a code log coverage score, and performing arrangement according to a quality detection result and a semantic detection result to obtain an abnormal mode feature; and performing feedback adjustment based on the code log coverage score and the abnormal mode feature in combination with a preset correction rule. The method can efficiently and accurately realize log quality detection, and can be widely applied to the technical field of data processing.
Owner:SUN YAT SEN UNIV

Large model driving type API document automatic generation system oriented to legacy system

PendingCN121092211AProgram documentationBiological modelsPython (programming language)Model extraction
The invention provides a legacy system-oriented large-model-driven API document automatic generation system, belongs to the crossing field of artificial intelligence and software development, and provides a multi-modal data fusion and closed-loop verification mechanism aiming at the defects of a traditional API document generation method in the aspects of semantic comprehension, dynamic context capture and multi-technology stack adaptation. A code static feature and a dynamic track during operation are analyzed through a multi-source data acquisition module, and an interface semantic feature is extracted in combination with a field self-adaptive large model of a semantic enhancement analysis module; deducing an implicit service rule by fusing static / dynamic characteristics through a graph neural network, and generating a standardized document conforming to an OpenAPI specification through a parameterized template generative adversarial network (PT-GAN); and finally, performing three-level verification and closed-loop optimization through a sandbox environment. The method supports a heterogeneous system of 16 programming languages such as Java / C + + / Python, interface version changes can be automatically recognized, document patches are generated, the problems of missing and outdated system documents and low maintenance efficiency are solved, and maintainability and integration efficiency of enterprise-level systems are remarkably improved.
Owner:SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD

Machine learning model based ranking of generated code

A generative AI based pipeline has been created that ranks generated responses that are candidate software patches. The ranking is based on predicted quality measures of code fragments within a corresponding prompt to a generated AI model. The predicted quality measures are generated by a machine learning model that has been trained based on features that are values / measures of similarity metrics between code fragments, between code fragment changes, between code structures, and / or between changes of code structures.
Owner:VERACODE INC

Chip register description document generation method and device, storage medium and terminal equipment

The embodiment of the invention discloses a chip register description document generation method and device, a storage medium and terminal equipment, and relates to the field of document processing. The method comprises the following steps: analyzing a register attribute table file of a chip, and determining each functional module included in the chip and a register included in each functional module according to an analysis result; querying an associated register description template document according to the model of the chip; extracting field values corresponding to fields in the register list display area and the register description display area from the register attribute table file, and filling the read field values into a register description template document to generate a register description document of the chip, the problems that in the prior art, compiling of the chip register description document is low in efficiency, prone to errors and poor in timeliness are effectively solved, and a more efficient, accurate and reliable method is provided for compiling and managing the chip document.
Owner:ZHUHAI TAIWEI ELECTRONICS CO LTD

Code review comment generation via instruction prompting with intent

A code review is automatically generated by a large language model given a prompt that includes code changes made to a source code program, an associated intent, and an extended context. The intent represents an issue with the code changes from a code reviewer's perspective and is predicted from a neural classifier given the code changes in a code diff format. The neural classifier is a neural encoder transformer model pre-trained on various code review datasets and fine-tuned on code diff hunks of code changes labeled with an intent.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Standardized document automatic generation method for software development

The invention relates to the technical field of data processing, and discloses a standardized document automatic generation method for software development, which comprises the following steps: establishing a document template library which comprises a plurality of document templates formulated according to software engineering standards; the method comprises the following steps: acquiring project data based on a project management system, wherein the project data comprises structured project data and unstructured project data; according to a preset rule engine, automatically filling the project data into the document template to generate a standardized project document; and performing version control and dynamic updating on the standardized project document. According to the method, the document generation efficiency and consistency are improved, redundancy and errors in the manual processing process are avoided, and transparent and standardized management of the whole process of project data is achieved.
Owner:INSPUR WORLDWIDE SERVICES LTD

Integrated design environment in-line generative ai code editor

An integrated development environment (IDE) leverages a generative AI model to generate industrial control code in accordance with specified functional requirements, which can be provided to the industrial IDE system as intuitive natural language spoken or written text. The industrial IDE can also analyze written code in response to natural language prompts submitted against the code, generate answers to user-submitted questions about the code, and offer recommendations for improving the code in response to specific questions or requests submitted by the user.
Owner:ROCKWELL AUTOMATION TECH INC

Fixed function shared accelerator

Systems and methods for generating fixed function shared accelerators (FFSAs) implement and / or comprise operations of receiving source code, the source code indicating a plurality of workloads to be performed by an electronic circuit; generating a plurality of abstract syntax trees (ASTs) based on the source code, wherein respective ones of the plurality of ASTs include a plurality of nodes corresponding to function instructions; generating a plurality of fingerprinting vectors corresponding to the plurality of ASTs, wherein respective ones of the plurality of fingerprinting vectors encode at least one of a number of nodes, a number of edges, a density, a computation intensity, an operands percentage, a control, or a data dependency; and providing the plurality of fingerprinting vectors to a machine learning (ML) model, wherein the ML model is configured to predict similarities between different ones of the plurality of workloads and to output at least one candidate FFSA.
Owner:TRUSTEES OF TUFTS COLLEGE

Systems and methods for a bifurcated model architecture for generating concise, natural language summaries of blocks of code

Systems and methods are described for generating code summaries using bifurcated model architectures. The bifurcated model architecture may comprise a first model that generates code summaries based on native code script, and the second model may compare, de-duplicate, and / or categorize the code summaries into clusters that perform the same or similar functions. That is, the systems and methods may comprise a first model (e.g., a large language model) to predict new content (e.g., a code summary for a given native script code). The outputs of the first model are then inputted into a natural language processing (NLP) model to compare the code summaries. For example, the first model of the bifurcated architecture performs a crucial pre-processing step that prevents the NLP model from generating cluster descriptions that are specific to semantic structures, programming languages, and / or code formatting.
Owner:CAPITAL ONE SERVICES LLC

Source code history generation

A system and method for automatically generating a change history of source code using a generative artificial intelligence (“AI”) system. In examples, a generative AI system receives a request inquiring about one or more changes made to software code of a software service or application. In response to receiving the request, the generative AI system navigates one or more information sources to collect code change context relevant to history of the code change(s). The generative AI system generates an instruction corresponding to the received request, where the instruction and the code change context are provided as input to a language model (LM) (e.g., a generative AI model). Based on the inquiry of the request, the LM processes the input, generates, and provides a corresponding output. The generative AI system then uses the output to generates and provide an explanation about the code change(s) to a requestor of the request.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Methods and systems for scoring quality of open source software documentation

Systems and methods of scoring quality of open source software documentation are disclosed. In one aspect, a method includes downloading the open source software project code and documentation of the open source software project code, analyzing the open source software project code and the documentation, parsing the open source software project documentation into sections, validating the sections of the documentation with project or stack metrics, assessing a quality of sections of the documentation, assessing a quality of language of the documentation; and computing the quality score of the documentation based on the assessed quality of sections and assessed quality of language.
Owner:OPEN WEAVER INC

Industrial PLC code generation system and method based on artificial intelligence

The invention provides an industrial PLC code generation system and method based on artificial intelligence, and the system comprises an input module, a model optimization module, a code generation module and a deployment module, the input module is used for receiving and analyzing a natural language, a flow chart and an I / O configuration table, and generating a structured logic constraint; the model optimization module is used for supporting low-precision reasoning and dynamic expert network load balancing by adopting an artificial intelligence model of industrial control field data fine tuning; the code generation module is used for outputting PLC codes meeting industrial standards and supporting simulation verification and error correction; and the deployment module is used for downloading the generated code to target PLC equipment or integrating the generated code to engineering software. According to the industrial PLC code generation system and method based on the artificial intelligence, a tool for generating the PLC code based on the natural language of the artificial intelligence is provided, the code development efficiency is improved, and the error rate is reduced.
Owner:BEIJING ENGINEERING DIGITAL INTELLIGENCE (BEIJING) TECHNOLOGY CO LTD

Code generation method and related equipment

The invention discloses a code generation method, which comprises the following steps that: a code development platform receives input information of a user in a first code file in a project, acquires a context in the file and a first cross-file context according to a static structure of the project, and acquires a second cross-file context according to behavior characteristics of the user in a development project, obtaining a third cross-file context according to the evolution coupling degree of at least one second code file in a code warehouse of the project and the first code file, and generating prompt information according to the input information, the context in the file, the first cross-file context, the second cross-file context and the third cross-file context, and inputting the prompt information into the code generation model for reasoning to obtain at least one group of generation codes, and displaying the at least one group of generation codes to the user. According to the method, the multi-dimensional item-level context and the user input serve as the input of the code generation model, the capability of the code generation model for utilizing the cross-file context in the code generation process is improved, and the code generation effect is improved.
Owner:HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD

Dynamic field verification method and system based on user-defined annotation

The invention discloses a dynamic field verification method and system based on user-defined annotations, belongs to the technical field of computer software, and aims to solve the technical problem of how to realize flexible and efficient parameter verification, improve development efficiency and reduce duplicated codes. The technical scheme adopted by the invention comprises the following steps: creating a user-defined annotation: defining a user-defined annotation (at) ValidateFields, and setting up a ValidateFields set in the ValidateFields set in the ValidateFields set in the ValidateFields set in the ValidateFields set in the ValidateFields set; the parameter name list receiving module is used for being marked on an input parameter of a Controller layer and receiving a character string array as a parameter name list; a field verification annotation is created, wherein an annotation (at) ValidateField used for being labeled on an entity class field is defined; creating a verification tool class: creating a verification tool class Validation Util, reading the annotation by using a reflection mechanism, and executing verification logic; and automatic logic verification: using Spring AOP to realize automatic logic verification, intercepting a method of adding (at) Validate Fields annotations in parameters, performing parameter verification through a verification tool class, executing a target method if the verification passes, and returning failure information if the verification fails without manually calling the verification tool class.
Owner:INSPUR ZHUOSHU BIG DATA IND DEV CO LTD

Parallel software testing based on annotations

Annotations associated with test cases written to test a software application can allow related test cases to be dynamically distributed among different sets of test cases that can be executed simultaneously in different parallel threads, thereby speeding up testing relative to executing the test cases sequentially in a single thread. The annotations can also allow test cases to be identified that are relevant to code changes, such that testing times can be further reduced by executing a subset of test cases relevant to code changes instead of a full set of test cases.
Owner:STATE FARM MUTAL AUTOMOBILE INSURANCE COMPANY

Automated code activity graph generation system and method

The invention relates to an automatic code activity graph generation system and method, and the system comprises a plurality of modules. The source code analysis module extracts source codes from the code file and generates an abstract syntax tree corresponding to the source codes. The model conversion engine is based on query view conversion specification operation, analyzes a method calling relation and an execution sequence in the abstract syntax tree by utilizing a group of analysis rules, and converts the source code into a programming language abstract model. And the model warehouse is used for storing the abstract model, identifying the language type through the extension name of the source code file, and matching the corresponding programming language model. The activity graph generator then generates an activity graph according to the abstract model, including an activity graph reflecting code logic and an activity graph generated based on code annotations. The layout module determines the position, the size and the shape of each node in the activity graph through an analysis method calling relation and an execution path, and generates a connecting line between the nodes. The system can visually display the code process and improve the efficiency of developers.
Owner:HUNAN SANXIANG BANK CO LTD