The invention discloses an intelligent Bug management method and platform based on an AI
large model. The method comprises the steps that structured error codes, unstructured log texts and development communication records are collected; standardized Bug features are obtained after preprocessing;
semantic matching is performed based on a CodeBERT
large model to generate a historical similar Bug case set, and a problem
code segment is analyzed and positioned in combination with an AST
abstract syntax tree; according to the project
technology stack features, the historical similar Bug case set and the problem
code segment, generating a repair scheme including code modification suggestions, automatically generated repair code snippets and implementation
risk assessment; constructing and optimizing a triple
knowledge graph; and finally, associating the standardized Bug features, the problem
code segment, the repair scheme and the
knowledge graph to obtain a Bug diagnosis result, and outputting the Bug diagnosis result. According to the method, intelligent positioning and accurate repairing of the Bug are achieved, the average Bug solving time is remarkably shortened, and meanwhile automatic
precipitation of development experience is achieved through the continuously optimized
knowledge graph.