Enriching code for code explainability
AssigneeFujitsu Limited
InventorsMehdi Bahrami, Wei-Peng Chen
Life of this patent
Estimating the term…
Loading patent…
AssigneeFujitsu Limited
InventorsMehdi Bahrami, Wei-Peng Chen
Estimating the term…
According to an aspect of an embodiment, operations include receiving, as an output of a code generation tool, a file that includes a computer-executable code and a non-executable description. The operations further include modifying blocks of the computer-executable code into modular code blocks and determining a set of trigger conditions from the modified computer-executable code and the non-executable description. The operations further include matching the set of trigger conditions with template conditions in a set of revision rules and determining, based on the match, a set of changes applicable to portions of the modified computer-executable code and the non-executable description. The operations further include updating the modified computer-executable code and the non-executable description based on the set of changes and generating a tutorial-style code file that includes the updated computer-executable code and the updated non-executable description.
A method, executed by a processor, comprising:
A non-transitory computer-readable storage medium configured to store instructions that, in response to being executed, causes a system to perform operations, the operations comprising:
A system, comprising:
Dependencies are inferred from the claim text.