CPC G06N 5/04 (2013.01) [G06F 8/77 (2013.01); G06N 5/022 (2013.01); G06F 8/65 (2013.01); G06F 11/3664 (2013.01); G06F 11/3688 (2013.01)] | 20 Claims |
1. A system for predicting code quality prior to deployment, the system comprising:
one or more memories; and
one or more processors of a device that includes computing hardware used in a cloud computing environment, coupled to the one or more memories, configured to:
obtain, from a project management tool, data related to an impending code change;
extract, based on the obtained data and based on performing natural language processing, one or more feature sets related to the impending code change,
wherein the one or more feature sets include one or more features that relate to an impact that the impending code change has on an existing code base and one or more features that relate to a historical code quality for a developer associated with the impending code change or a quality of a development session associated with the impending code change,
wherein the one or more feature sets include one or more timestamps associated with one or more commit times associated with the impending code change, and
wherein the one or more feature sets include calendar data associated with the impending code change;
provide the one or more feature sets to a machine learning model trained to indicate one or more recommended actions for the impending code change based on a predicted risk associated with deploying the impending code change,
wherein the predicted risk associated with deploying the impending code change is based on one or more of a first probability that deploying the impending code change will cause code breakage, a second probability that deploying the impending code change will cause functionality breakage, or a third probability that deploying the impending code change will cause support issues, and
wherein the predicted risk is based on cross-referencing the one or more commit times with the calendar data;
trigger, based on providing the one or more feature sets to the machine learning model and based on determining application program interface (API) endpoints that will be impacted by the impending code change the one or more recommended actions for the impending code change;
configure, based on triggering the one or more recommended actions, a deployment pattern associated with deploying the impending code change;
deploy, based on the deployment pattern, the impending code change to change the existing code; and
control, based on the deployment pattern, network traffic routed to new instances associated with the impending code change.
|