Code generation method based on machine learning, code editing system and storage medium

A code generation and editing system technology, applied in machine learning, creating/generating source code, instruments, etc., can solve the problems of a large number of codes, time-consuming test cases, poor test case writing efficiency, etc., to improve intelligence , the effect of improving coding efficiency

Active Publication Date: 2021-12-17
PING AN BANK CO LTD
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiment of the present application provides a machine learning-based code generation method, a code editing system, and a storage medium to solve the problem that there are a large number of codes for building various test cases, and there are a certain number of gaps between various test cases. The same code, resulting in too much time spent writing test cases and writing the same code repeatedly, the problem of poor test case writing efficiency

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Code generation method based on machine learning, code editing system and storage medium
  • Code generation method based on machine learning, code editing system and storage medium
  • Code generation method based on machine learning, code editing system and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.

[0032] It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude one or more other Presence or addition of features, wholes, steps, operations, elements, components and / or collections thereof.

[0033] It should...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention is suitable for the technical field of artificial intelligence, and provides a code generation method based on machine learning, a code editing system and a storage medium. According to the code generation method, the interface type of the new interface is obtained through the code editing system, the index relation corresponding to the interface type is obtained, the prediction code which is usually matched with the current input code for use is predicted through the index relation, and the prediction code can be inserted in a specified position, high-correlation code prediction and automatic input are realized, so that the workload of a developer for writing the same code in different test cases is reduced, the writing efficiency of the test cases is improved, and the code test efficiency is further improved.

Description

technical field [0001] The present application relates to the technical field of artificial intelligence, and in particular to a code generation method based on machine learning, a code editing system and a storage medium. Background technique [0002] After the developer completes the writing of the source code, the source code needs to be tested (Code Test). The code test needs to be inspected (Review), troubleshooting (Debug) and run the test case (TestCase) in order. , where inspection tests and troubleshooting tests can usually be completed through code editing systems or test components that come with the development environment, and running test cases requires developers to build test cases according to the actual application scenarios of the source code. [0003] When the source code can work in a variety of application scenarios, developers need to build a variety of corresponding test cases according to different application scenarios, and the number of codes to bu...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/30G06F11/36G06N20/00
CPCG06F8/30G06F11/3684G06N20/00Y02D10/00
Inventor 胡安丽谢琳
Owner PING AN BANK CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products