Machine learning for package versioning and use
AssigneeCapital One Services, LLC
InventorsMohamed SECK, Sesha Sowmya NADIMINTI
Life of this patent
Estimating the term…
Abstract
In some implementations, a user device may transmit, to the package repository, a request for a code package. The user device may receive, from the package repository, an indication of a plurality of versions of the code package. The user device may receive, from the package repository, an indication of a suggested version from the plurality of versions. The suggested version is based on automatic testing of the code package by the package repository. The user device may transmit, to the package repository, a request for the suggested version. The user device may receive, from the package repository, at least one file included in the suggested version.
Claims20
A system for using a machine learning model on code packages, the system comprising:
- one or more memories;
- and
- one or more processors, communicatively coupled to the one or more memories, configured to:
- receive a first version of a first code package;
- compile, and perform a first set of tests on, the first version of the first code package;
- provide a first set of results from the first set of tests to the machine learning model in order to generate a first score for the first version of the first code package;
- receive a second version of the first code package;
- compile, and perform the first set of tests on, the second version of the first code package;
- provide a second set of results from the first set of tests to the machine learning model in order to generate a second score for the second version of the first code package, wherein the second score is worse than the first score;
- receive, from a first user device, a request for the first code package;
- transmit, to the first user device and in response to the request for the first code package, an indication to use the first version of the first code package based on the second score being worse than the first score;
- receive a first version of a second code package;
- compile, and perform a second set of tests on, the first version of the second code package in order to determine that the first version of the second code package is defective;
- and
- transmit, to a second user device, a message indicating that the first version of the second code package is defective.
A method of selecting versions from a package repository, comprising:
- transmitting, to the package repository and from a user device, a request for a code package;
- receiving, from the package repository and at the user device, an indication of a plurality of versions of the code package;
- receiving, from the package repository and at the user device, an indication of a suggested version from the plurality of versions, wherein the suggested version is based on automatic testing of the code package by the package repository;
- transmitting, to the package repository and from the user device, a request for the suggested version;
- and
- receiving, from the package repository and at the user device, at least one file included in the suggested version.
A non-transitory computer-readable medium storing a set of instructions for submitting to a package repository, the set of instructions comprising:
- one or more instructions that, when executed by one or more processors of a device, cause the device to:
- transmit, to the package repository, a request to store a first version of a code package;
- receive, from the package repository, a message indicating that the first version of the code package is defective based on first test results at the package repository;
- transmit, to the package repository, a request to re-assess a second version of the code package;
- and
- receive, from the package repository, a message indicating that the second version of the code package is accepted based on second test results at the package repository.
Dependencies are inferred from the claim text.