Code recommender for resolving a new issue received by an issue tracking system
Abstract
Training data identifying a plurality of pairs is received. Each pair identifies one or more separate code snippets known to resolve a respective issue of a plurality of issues. For each pair of the plurality of pairs, a respective issue representation of core content of the respective issue and a linear expression of the one or more separate code snippets in a respective code representation is constructed and a model to correlate the respective code representation as resolving the respective issue representation is trained. The model is queried with a new issue and a selected one of the one or more separate code snippets. The model returns a classification indicating whether the selected one of the one or more separate code snippets is likely to resolve the new issue.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 30 · Forward citations: 8.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising: receiving, by a computer, training data identifying a plurality of pairs, each pair identifying one or more separate code snippets known to resolve a respective issue of a plurality of issues; for each pair of the plurality of pairs: constructing, by the computer, a respective issue representation of core content of the respective issue; constructing, by the computer, a linear expression of the one or more separate code snippets in a respective code representation; and training, by the computer, a model to correlate the respective code representation as resolving the respe
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (8 of 8 total)
References Cited — Backward Prior Art (30)
Non-Patent Literature (5)
- Dam et al., “A deep tree-based model for software defect prediction”, arXiv: 1802.00921 [cs.SE], Feb. 3, 2018, 10 pages.
- Galenlson et al, “CodeHint: Dynamic and Interactive Synthesis of Code Snippets”, ACM, pp. 653-663 (Year: 2014).
- Gu et al., “Deep Code Search”, ICSE '18, Proceedings on the 40th International Conference on Software Engineering, pp. 933-944, May 27-Jun. 3, 2018, Sweden, 12 pages.
- Hajiaghayi et al., “Code Failure Prediction And Pattern Extraction Using LSTM Networks”, Cornell University Library, arXiv:1812.05237v1, pp. 1-8, Dec. 2018, 8 pages.
- Horton et al, “DockerizeMe: Automatic Inference of Environment Dependencies for Python Code Snippets”, IEEE, pp. 328-338 (Year: 2019).