Method and apparatus for determining code generation quality and efficiency evaluation values based on multiple indicators

    公开(公告)号:US12141549B2

    公开(公告)日:2024-11-12

    申请号:US17873178

    申请日:2022-07-26

    Abstract: The disclosure discloses a method and an apparatus for determining code generation quality and efficiency evaluation values based on multiple indicators. The method includes that: an object code is acquired; an interactive data set is acquired; a multidimensional evaluation indicators is determined and characteristic values corresponding to each piece of data in the interactive data set are extracted; characteristic values corresponding to each piece of data in the interactive data set are determined as a characteristic data set; a multidimensional syntax tree is constructed; feature learning is performed on the multidimensional syntax tree to obtain feature parameters; the evaluation parameter model is controlled to output an evaluation value. According to the disclosure, the evaluation method in a related art is to evaluate a static automatic code generation result, ignoring the influence of code changes on the evaluation result, resulting in low reliability of the evaluation result is solved.

Patent Agency Ranking