-
公开(公告)号:US20240111843A1
公开(公告)日:2024-04-04
申请号:US17937438
申请日:2022-09-30
Applicant: Amazon Technologies, Inc.
Inventor: Pramod Chandra Samudrala , Sri Ranga Akhilesh Bontala , Matthew Lee , Yanitsa Donchev , Zijian Wang , Yuchen Tian , Himani Amrish Shah , Rama Krishna Sandeep Pokkunuri
Abstract: A system for providing code suggestions according to licensing criteria is described. The system comprises computing devices that implement a code suggestion service. The code suggestion service receives a request that specifies licensing criteria via an interface of the code suggestion service. The code suggestion service determines respective licenses for respective source code files according to a source code attribution database from parsing the plurality of source code files that are applicable to the plurality of source code files. The code suggestion service generates a set of candidate code suggestions based, at least in part, on the plurality of source code files. The code suggestion service determines code suggestions from the set of candidate code suggestions that satisfy the licensing criteria based on the respective licenses. The code suggestion service provides the code suggestions determined from the set of candidate source code files that satisfy the licensing criteria.