NORMALIZATION AND ANONYMIZATION OF COMPUTER PROGRAM CODE

Normalization and anonymization of computer program code includes obtaining a preliminary code in a computer programming language. At least one subcode is identified in the preliminary code that quantifies an authorship attribution of the preliminary code. The authorship attribution corresponds to identity information associated with a source of the preliminary code. At least one code transformation tool is determined specific to the computer programming language based on the at least one subcode. The at least one code transformation tool is applied to the preliminary code to anonymize the authorship attribution of the preliminary code. A normalized code is generated based on the application of the at least one code transformation tool to the preliminary code.

Skip to: Description  ·  Claims  · Patent History  ·  Patent History
Description
BACKGROUND

The disclosure relates to computer programs and software and, more particularly, to anonymize techniques to preserve privacy of software code.

Computer program code often retains identity and proprietary information associated with a source of the program code, which makes the source vulnerable to various types of security risks and attacks. Even the code generated using language models reflects the coding patterns and styles present in the training data used for training such models, which may lead to security risks with the generated code. Meeting the compliances and privacy standards for software development remains a challenge.

SUMMARY

In various embodiments of the disclosure, a computer-implemented method for normalization and anonymization of computer program code is described. The computer-implemented method includes obtaining, by a computer, a preliminary code in a computer programming language. The computer-implemented method further includes identifying, by the computer, at least one subcode in the preliminary code that quantifies an authorship attribution of the preliminary code. The authorship attribution corresponds to identity information associated with a source of the preliminary code. The computer-implemented method further includes determining, by the computer, at least one code transformation tool specific to the computer programming language based on the at least one subcode. The computer-implemented method further includes applying, by the computer, the at least one code transformation tool to the preliminary code. The at least one code transformation tool anonymizes the authorship attribution of the preliminary code. The computer implemented code further includes generating, by the computer, a normalized code based on the applying of the at least one code transformation tool to the preliminary code. The computer-implemented method further includes outputting, by the computer, the normalized code.

In various embodiments of the disclosure, a computer system for normalization and anonymization of computer program code is described. The computer system includes a processor set, one or more computer-readable storage media, and program instructions stored on the one or more computer-readable storage media. The program instructions are executable by the processor set to cause the processor set to obtain a preliminary code in a computer programming language. The program instructions are executable by the processor set to further cause the processor set to identify at least one subcode in the preliminary code that quantifies an authorship attribution of the preliminary code. The authorship attribution corresponds to identity information associated with a source of the preliminary code. The program instructions are executable by the processor set to further cause the processor set to determine at least one code transformation tool specific to the computer programming language based on the at least one subcode. The program instructions are executable by the processor set to further cause the processor set to apply the at least one code transformation tool to the preliminary code. The at least one code transformation tool anonymizes the authorship attribution of the preliminary code. The program instructions are executable by the processor set to further cause the processor set to generate a normalized code based on the application of the at least one code transformation tool to the preliminary code. The normalized code retains context of the preliminary code. The program instructions are executable by the processor set to further cause the processor set to output the normalized code.

In various embodiments of the disclosure, a computer program product for normalization and anonymization of computer program code is described. The computer program product includes one or more computer-readable storage media and program instructions stored on the one or more computer-readable storage media to perform operations including obtaining a preliminary code in a computer programming language. The operations further include identifying at least one subcode in the preliminary code that quantifies an authorship attribution of the preliminary code. The authorship attribution corresponds to identity information associated with a source of the preliminary code. The operations further include determining at least one code transformation tool specific to the computer programming language based on the at least one subcode. The operations further include applying the at least one code transformation tool to the preliminary code. The at least one code transformation tool anonymizes the authorship attribution of the preliminary code. The operations further include generating a normalized code based on the applying of the at least one code transformation tool to the preliminary code. The operations further include outputting the normalized code.

Additional technical features and benefits are realized through the techniques of the disclosure. Embodiments and aspects of the disclosure are described in detail herein and are considered a part of the claimed subject matter. For a better understanding, refer to the detailed description and to the drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

The following description will provide details of preferred embodiments with reference to the following figures where:

FIG. 1 is a diagram that illustrates a computing environment for normalization and anonymization of computer program code, in accordance with an embodiment of the disclosure;

FIG. 2 is a diagram that illustrates a computer system for normalization and anonymization of computer program code, in accordance with an embodiment of the disclosure;

FIG. 3 is a diagram that illustrates a flowchart of an exemplary method for normalization and anonymization of computer program code, in accordance with an embodiment of the disclosure;

FIG. 4A is a diagram that illustrates some operations of a code transformation tool for normalization and anonymization of computer program code implemented by the system of FIG. 2, in accordance with an embodiment of the disclosure;

FIG. 4B is a diagram that illustrates a flowchart of operations for identification of at least one subcode in a preliminary code, in accordance with an embodiment of the disclosure;

FIG. 4C is a diagram that illustrates a framework for fragmentation of the preliminary code, in accordance with an embodiment of the disclosure;

FIG. 4D is a diagram that illustrates a flowchart of a process for determining at least one code snippet of the preliminary code as a subcode of the preliminary code, in accordance with an embodiment of the disclosure;

FIG. 5A is a diagram that illustrates a flowchart of operations for application of one or more guidelines to the preliminary code, in accordance with an embodiment of the disclosure;

FIG. 5B is a diagram that illustrates a flowchart of operations for identifier anonymization in the preliminary code, in accordance with an embodiment of the disclosure;

FIG. 5C is a diagram that illustrates a flowchart of operations for code normalization in the preliminary code, in accordance with an embodiment of the disclosure;

FIG. 5D is a diagram that illustrates a flowchart of operations for comment removal in the preliminary code, in accordance with an embodiment of the disclosure;

FIG. 5E is a diagram that illustrates a flowchart of operations for code documentation for the preliminary code, in accordance with an embodiment of the disclosure;

FIG. 6 is a diagram that illustrates a flowchart of operations for correctness check in a normalized code, in accordance with an embodiment of the disclosure; and

FIG. 7 is a diagram that illustrates an example use case for normalization and anonymization of computer program code, in accordance with an embodiment of the disclosure.

DETAILED DESCRIPTION

Software development in the present day faces significant challenges due to privacy risks emerging out of proprietary information stored along with the code in many ways. Computer program code often retains identity and proprietary information associated with a source of the program code, which makes the source vulnerable to various types of security risks and attacks. The source of a code may include a human, a computer program, a machine learning model, or a combination thereof. In this regard, large language models (LLMs) are artificial intelligence models trained on large datasets, including source code, to generate, analyse, and improve code. LLMs have transformed modern software development by assisting with generating, refactoring, and analyzing code. LLMs generate human-like code based on natural language prompts, improving coding efficiency and reducing development time. Developers use LLM-generated code to automate repetitive coding tasks, implement design patterns, and suggest improvements, allowing to focus on higher-level problem-solving and logic.

However, generating code using LLMs introduces several challenges. Code generated by LLMs often reflects patterns, styles, and structures from the training data, increasing the risk of exposing proprietary coding styles, sensitive business logic, and internal algorithms. The training data includes proprietary patterns or confidential business logic, the generated code may inadvertently reveal the elements, raising security and privacy concerns. For example, a developer may have a distinctive coding style, such as usage of specific naming conventions or unique ways of structuring functions. An LLM trained from the code developed using such styles and patterns replicates the styles and patterns in the code generated by the LLM. The generated code inadvertently reveals the identity of the source coder or the organization's internal coding practices, thereby compromising privacy and confidentiality. Additionally, coding styles and patterns may introduce inconsistencies, reducing code readability and making maintenance more difficult. The generated code may also include identifiers, comments, or formatting styles exposing the identity or habits of the original coder, compromising privacy.

In various embodiments of the disclosure, systems and methods for code anonymization and normalization are provided. The systems and methods normalize and anonymize the code while protecting coder privacy by removal, masking, or generalization of proprietary coding patterns and sensitive information through code transformation tools and correctness verification. The system evaluates the normalized code for functional integrity and may measure the extent of modification using a similarity scoring metric. The approach reduces manual effort and enhances code consistency and security.

The system applies machine learning-based refactoring techniques, static analysis, and identifier anonymization to eliminate identifiable patterns while maintaining functional integrity. The correctness verification module compiles the modified code and analyses the code for vulnerabilities to confirm functional integrity. The system detects significant discrepancies, adjusts the modification parameters and repeats the transformation until the code achieves an acceptable balance between privacy and correctness.

In an embodiment, an automated method for generating normalized and anonymized code using LLMs while protecting coder privacy and improving consistency, is provided. A code improvement module identifies and removes proprietary coding patterns, unique identifiers, and comments that link the code to the coder. The module applies consistent formatting, improves readability, and standardizes coding styles. A correctness verification module evaluates the normalized code by compiling it and scanning for known vulnerabilities. The system measures the extent of modification using a similarity scoring metric. If the verification fails, the system rolls back certain modifications and repeats the verification step until the code passes or reaches a rollback threshold.

The disclosed systems and methods reduce the need for manual review, improving developer productivity and code quality. The automated removal of proprietary information and standardization of coding styles also protects coder privacy and ensures context maintainability with respect to the original code. The correctness verification module confirms that the modified code remains functional and secure after transformation. The system operates across different programming languages and development environments, allowing consistent code improvement and anonymization in diverse coding scenarios. Since the code transformations are determined specific to the programming language of the original code, the systems and methods eliminate the need for manual review of the code or the applicable guidelines and practices to the code, thereby improving the accuracy of the normalization and anonymization operations. The normalized code thus generated is immune to stylometry and other privacy attacks since the normalized code is anonymous with regards to proprietary information or authorship attribution of the original code.

In various embodiments of the disclosure, a computer-implemented method for normalization and anonymization of computer program code is described. The computer-implemented method includes obtaining, by a computer, a preliminary code in a computer programming language. The computer-implemented method further includes identifying, by the computer, at least one subcode in the preliminary code that quantifies an authorship attribution of the preliminary code. The authorship attribution corresponds to identity information associated with a source of the preliminary code. The computer-implemented method further includes determining, by the computer, at least one code transformation tool specific to the computer programming language based on the at least one subcode. The computer-implemented method further includes applying, by the computer, the at least one code transformation tool to the preliminary code. The at least one code transformation tool anonymizes the authorship attribution of the preliminary code. The computer implemented code further includes generating, by the computer, a normalized code based on the applying of the at least one code transformation tool to the preliminary code. The computer-implemented method further includes outputting, by the computer, the normalized code.

In various embodiments of the disclosure, the identifying of the at least one subcode in the preliminary code includes fragmenting, by the computer, the preliminary code into a plurality of code snippets based on an abstract syntax tree associated with the preliminary code. The identifying of the at least one subcode in the preliminary code further includes determining, by the computer, one or more guidelines specific to the computer programming language. The identifying of the at least one subcode in the preliminary code further includes parsing, by the computer, each code snippet of the plurality of code snippets based on the one or more guidelines. The identifying of the at least one subcode in the preliminary code further includes determining, by the computer, at least one code snippet of the plurality of code snippets that violates the one or more guidelines. The identifying of the at least one subcode in the preliminary code further includes outputting, by the computer, the at least one code snippet as the at least one subcode.

In various embodiments of the disclosure, the determining of the at least one code transformation tool includes obtaining, by the computer, one or more guidelines specific to the computer programming language. The determining of the at least one code transformation tool further includes selecting, by the computer, at least one candidate guideline of the one or more guidelines. The at least one subcode violates the at least one candidate guideline. The determining of the at least one code transformation tool further includes determining, by the computer, one or more code transform operations for the at least one subcode based on the at least one candidate guideline. The determining of the at least one code transformation tool further includes generating, by the computer, the at least one code transformation tool based on the one or more code transform operations.

In various embodiments of the disclosure, the determining of the at least one code transformation tool includes determining, by the computer, one or more stylized identifiers in the at least one subcode. Each stylized identifier of the one or more stylized identifiers corresponds to at least one of a syntax style of an author associated with the at least one subcode or a semantic style of the author. The determining of the at least one code transformation tool further includes generating, by the computer, a query prompt corresponding to each stylized identifier of the one or more stylized identifiers. The determining of the at least one code transformation tool further includes querying, by the computer, a large language model based on the query prompt corresponding to each stylized identifier of the one or more stylized identifiers. The determining of the at least one code transformation tool further includes obtaining, by the computer, a generalized identifier corresponding to each stylized identifier of the one or more stylized identifiers based on the querying. The determining of the at least one code transformation tool further includes determining, by the computer, one or more code transform operations for the at least one subcode based on the generalized identifier corresponding to each stylized identifier of the one or more stylized identifiers. The determining of the at least one code transformation tool further includes generating, by the computer, the at least one code transformation tool based on the one or more code transform operations.

In various embodiments of the disclosure, the determining of the at least one code transformation tool includes determining, by the computer, at least one documentation comment associated with the at least one subcode based on an abstract syntax tree associated with the preliminary code. The at least one documentation comment includes information associated with the authorship attribution of the preliminary code. The determining of the at least one code transformation tool further includes determining, by the computer, one or more code transform operations for the at least one subcode based on the at least one documentation comment. The determining of the at least one code transformation tool further includes generating, by the computer, the at least one code transformation tool based on the one or more code transform operations.

In various embodiments of the disclosure, the applying of the at least one code transformation tool to the preliminary code includes removing, by the computer, the at least one documentation comment from the preliminary code.

In various embodiments of the disclosure, the applying of the at least one code transformation tool to the preliminary code includes generating, by the computer, a rephrased comment for the at least one subcode based on the at least one documentation comment. The rephrased comment is anonymized with respect to the authorship attribution of the preliminary code. The applying of the at least one code transformation tool to the preliminary code further includes updating, by the computer, the preliminary code based on the rephrased comment.

In various embodiments of the disclosure, the determining of the at least one code transformation tool includes obtaining, by the computer, preliminary code documentation data associated with the at least one subcode. The determining of the at least one code transformation tool further includes generating, by the computer, augmented code documentation data for the at least one subcode based on a large language model and the preliminary code documentation data. The determining of the at least one code transformation tool further includes determining, by the computer, one or more code transform operations for the at least one subcode based on the augmented code documentation data and the preliminary code documentation data. The determining of the at least one code transformation tool further includes generating, by the computer, the at least one code transformation tool based on the one or more code transform operations.

In various embodiments of the disclosure, the applying of the at least one code transformation tool to the preliminary code includes updating, by the computer, the preliminary code documentation data based on the augmented code documentation data.

In various embodiments of the disclosure, a computer system for normalization and anonymization of computer program code is described. The computer system includes a processor set, one or more computer-readable storage media, and program instructions stored on the one or more computer-readable storage media. The program instructions are executable by the processor set to cause the processor set to obtain a preliminary code in a computer programming language. The program instructions are executable by the processor set to further cause the processor set to identify at least one subcode in the preliminary code that quantifies an authorship attribution of the preliminary code. The authorship attribution corresponds to identity information associated with a source of the preliminary code. The program instructions are executable by the processor set to further cause the processor set to determine at least one code transformation tool specific to the computer programming language based on the at least one subcode. The program instructions are executable by the processor set to further cause the processor set to apply the at least one code transformation tool to the preliminary code. The at least one code transformation tool anonymizes the authorship attribution of the preliminary code. The program instructions are executable by the processor set to further cause the processor set to generate a normalized code based on the application of the at least one code transformation tool to the preliminary code. The normalized code retains context of the preliminary code. The program instructions are executable by the processor set to further cause the processor set to output the normalized code.

In various embodiments of the disclosure, the identification of the at least one subcode includes fragmentation of the preliminary code into a plurality of code snippets based on an abstract syntax tree associated with the preliminary code, determination of one or more guidelines specific to the computer programming language, determination of at least one code snippet of the plurality of code snippets that violates the one or more guidelines, and output of the at least one code snippet as the at least one subcode.

In various embodiments of the disclosure, the determination of the at least one code transformation tool includes the obtainment of one or more guidelines specific to the computer programming language, selection of at least one candidate guideline of the one or more guidelines, determination of one or more code transform operations for the at least one subcode based on the at least one candidate guideline, and generation of the at least one code transformation tool based on the one or more code transform operations. The at least one subcode violates the at least one candidate guideline.

In various embodiments of the disclosure, the determination of the at least one code transformation tool includes determination of one or more stylized identifiers in the at least one subcode, generation of a query prompt corresponding to each stylized identifier of the one or more stylized identifiers, an operation to query a large language model based on the query prompt corresponding to each stylized identifier of the one or more stylized identifiers, obtainment of a generalized identifier corresponding to each stylized identifier of the one or more stylized identifiers based on the query of the large language model, determination of one or more code transform operations for the at least one subcode based on the generalized identifier corresponding to each stylized identifier of the one or more stylized identifiers, and generation of the at least one code transformation tool based on the one or more code transform operations. Each stylized identifier of the one or more stylized identifiers corresponds to at least one of a syntax style of an author associated with the at least one subcode, or a semantic style of the author.

In various embodiments of the disclosure, the determination of the at least one code transformation tool includes determination of at least one documentation comment associated with the at least one subcode based on an abstract syntax tree associated with the preliminary code, determination of one or more code transform operations for the at least one subcode based on the at least one documentation comment, generation of the at least one code transformation tool based on the one or more code transform operations. The at least one documentation comment includes information associated with the authorship attribution of the preliminary code.

In various embodiments of the disclosure, the application of the at least one code transformation tool to the preliminary code includes removal of the at least one documentation comment from the preliminary code.

In various embodiments of the disclosure, the application of the at least one code transformation tool to the preliminary code includes generation of a rephrased comment for the at least one subcode based on the at least one documentation comment, and update of the preliminary code based on the rephrased comment. The rephrased comment is anonymized with respect to the authorship attribution of the preliminary code.

In various embodiments of the disclosure, wherein the determination of the at least one code transformation tool includes obtainment of preliminary code documentation data associated with the at least one subcode, generation of augmented code documentation data for the at least one subcode based on a large language model and the preliminary code documentation data, determination of one or more code transform operations for the at least one subcode based on the augmented code documentation data and the preliminary code documentation data, and generation of the at least one code transformation tool based on the one or more code transform operations.

In various embodiments of the disclosure, the application of the at least one code transformation tool to the preliminary code includes update of the preliminary code documentation data based on the augmented code documentation data.

In various embodiments of the disclosure, a computer program product for normalization and anonymization of computer program code is described. The computer program product includes one or more computer-readable storage media and program instructions stored on the one or more computer-readable storage media to perform operations including obtaining a preliminary code in a computer programming language. The operations further include identifying at least one subcode in the preliminary code that quantifies an authorship attribution of the preliminary code. The authorship attribution corresponds to identity information associated with a source of the preliminary code. The operations further include determining at least one code transformation tool specific to the computer programming language based on the at least one subcode. The operations further include applying the at least one code transformation tool to the preliminary code. The at least one code transformation tool anonymizes the authorship attribution of the preliminary code. The operations further include generating a normalized code based on the applying of the at least one code transformation tool to the preliminary code. The operations further include outputting the normalized code.

In various embodiments of the disclosure, for the identifying of the at least one subcode in the preliminary code, the operations include fragmenting the preliminary code into a plurality of code snippets based on an abstract syntax tree associated with the preliminary code. For the identifying of the at least one subcode in the preliminary code, the operations further include determining one or more guidelines specific to the computer programming language. For the identifying of the at least one subcode in the preliminary code, the operations further include parsing each code snippet of the plurality of code snippets based on the one or more guidelines. For the identifying of the at least one subcode in the preliminary code, the operations further include determining at least one code snippet of the plurality of code snippets that violates the one or more guidelines. For the identifying of the at least one subcode in the preliminary code, the operations further include outputting the at least one code snippet as the at least one subcode.

Various aspects of the disclosure are described by narrative text, flowcharts, block diagrams of computer systems, and/or block diagrams of the machine logic included in computer program product (CPP) embodiments. With respect to any flowcharts, depending upon the technology involved, the operations may be performed in a different order than what is shown in a given flowchart. For example, again depending upon the technology involved, two operations shown in successive flowchart blocks may be performed in reverse order, as a single integrated operation, concurrently, or in a manner at least partially overlapping in time.

A computer program product embodiment (“CPP embodiment” or “CPP”) is a term used in the disclosure to describe any set of one, or more, storage media (also called “mediums”) collectively included in a set of one, or more, storage devices that collectively include machine readable code corresponding to instructions and/or data for performing computer operations specified in a given CPP claim. A “storage device” is any tangible device that may retain and store instructions for use by a computer processor. Without limitation, the computer-readable storage medium may be an electronic storage medium, a magnetic storage medium, an optical storage medium, an electromagnetic storage medium, a semiconductor storage medium, a mechanical storage medium, or any suitable combination of the foregoing. Some known types of storage devices that include these mediums include diskette, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or Flash memory), static random-access memory (SRAM), compact disc read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanically encoded device (such as punch cards or pits/lands formed in a major surface of a disc) or any suitable combination of the foregoing. A computer-readable storage medium, as that term is used in the disclosure, is not to be construed as storage in the form of transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide, light pulses passing through a fiber optic cable, electrical signals communicated through a wire, and/or other transmission media. As will be understood by those of skill in the art, data is typically moved at some occasional points in time during normal operations of a storage device, such as during access, de-fragmentation, or garbage collection, but this does not render the storage device as transitory because the data is not transitory while it is stored.

FIG. 1 is a diagram that illustrates a computing environment for normalization and anonymization of computer program code, in accordance with an embodiment of the disclosure. With reference to FIG. 1, there is shown a computing environment 100 that contains an example of an environment for the execution of at least some of the computer code involved in performing the disclosed methods, such as a normalization and anonymization code 120B. In addition to the normalization and anonymization code 120B, computing environment 100 includes, for example, a computer 102, a wide area network (WAN) 104, an end user device (EUD) 106, a remote server 108, a public cloud 110, and a private cloud 112. In this embodiment of the disclosure, the computer 102 includes a processor set 114 (including a processing circuitry 114A and a cache 114B), a communication fabric 116, a volatile memory 118, a persistent storage 120 (including an operating system 120A and the normalization and anonymization code 120B as identified above), a peripheral device set 122 (including a user interface (UI) device set 122A, a storage 122B, and an Internet of Things (IoT) sensor set 122C), and a network module 124. The remote server 108 includes a remote database 108A. The public cloud 110 includes a gateway 110A, a cloud orchestration module 110B, a host physical machine set 110C, a virtual machine set 110D, and a container set 110E.

The computer 102 may take the form of a desktop computer, a laptop computer, a tablet computer, a smartphone, a smartwatch or suitable wearable computer, a mainframe computer, a quantum computer, or any suitable form of a computer or a mobile device now known or to be developed in the future that can be configured for running a program, accessing a network or querying a database, such as a remote database 108A. As is well understood in the art of computer technology, and depending upon the technology, the performance of a computer-implemented method may be distributed among multiple computers and/or between multiple locations. In this presentation of the computing environment 100, detailed discussion is focused on a single computer, specifically the computer 102, to keep the presentation as simple as possible. The computer 102 may be located in a cloud, even though it is not shown in a cloud in FIG. 1. Alternately the computer 102 is not required to be in a cloud except to any extent as may be affirmatively indicated.

The processor set 114 includes one, or more, computer processors of any type now known or to be developed in the future. The processing circuitry 114A may be distributed over multiple packages, for example, multiple, coordinated integrated circuit chips. The processing circuitry 114A may implement multiple processor threads and/or multiple processor cores. The cache 114B may be memory that is located in the processor chip package(s) and is typically used for data or code that should be available for rapid access by the threads or cores running on the processor set 114. Cache memories are typically organized into multiple levels depending upon relative proximity to the processing circuitry 114A. Alternatively, some, or all, of the cache 114B for the processor set 114 may be located “off-chip.” In some computing environments, the processor set 114 may be designed for working with qubits and performing quantum computing.

Computer readable program instructions are typically loaded onto the computer 102 to cause a series of operations to be performed by the processor set 114 of the computers 102 and thereby effect a computer-implemented method, such that the instructions thus executed will instantiate the methods specified in flowcharts and/or narrative descriptions of computer-implemented methods included in this document (collectively referred to as “the disclosed methods”). These computer-readable program instructions are stored in various types of computer-readable storage media, such as the cache 114B and the different storage media discussed below. The program instructions, and associated data, are accessed by the processor set 114 to control and direct the performance of the disclosed methods. In computing environment 100, at least some of the instructions for performing the disclosed methods may be stored in the dynamic modification of the normalization and anonymization code 120B in persistent storage 120.

The communication fabric 116 is the signal conduction path that allows the various components of computer 102 to communicate. Typically, this fabric is made of switches and electrically conductive paths, such as the switches and electrically conductive paths that make up buses, bridges, physical input/output ports, and the like. Additionally, or alternately, any suitable types of signal communication paths may be used, such as fiber optic communication paths and/or wireless communication paths.

The volatile memory 118 is any type of volatile memory now known or to be developed in the future. Examples include dynamic type random access memory (RAM) or static type RAM. Typically, the volatile memory 118 is characterized by a random access, but this is not required unless affirmatively indicated. In the computer 102, the volatile memory 118 is located in a single package and is internal to computer 102, but alternatively or additionally, the volatile memory 118 may be distributed over multiple packages and/or located externally with respect to computer 102.

The persistent storage 120 is any form of non-volatile storage for computers that is now known or to be developed in the future. The non-volatility of this storage means that the stored data is maintained regardless of whether power is being supplied to computer 102 and/or directly to the persistent storage 120. The persistent storage 120 may be a read-only memory (ROM), but typically at least a portion of the persistent storage 120 allows writing of data, deletion of data, and re-writing of data. Some familiar forms of the persistent storage 120 include magnetic disks and solid-state storage devices. The operating system 120A may take several forms, such as various known proprietary operating systems or open-source Portable Operating System Interface-type operating systems that employ a kernel. The code included in the network slice generation associated with the normalization and anonymization code 120B typically includes at least some of the computer code involved in performing the disclosed methods.

The peripheral device set 122 includes the set of peripheral devices of computer 102. Data communication connections between the peripheral devices and the rest of the components of the computer 102 may be implemented in various ways, such as Bluetooth connections, Near-Field Communication (NFC) connections, connections made by cables (such as universal serial bus (USB) type cables), insertion-type connections (for example, secure digital (SD) card), connections made through local area communication networks and even connections made through wide area networks such as the internet. In various embodiments of the disclosure, the UI device set 122A may include components such as a display screen, speaker, microphone, wearable devices (such as goggles and smartwatches), keyboard, mouse, printer, touchpad, game controllers, and haptic devices. The storage 122B is external storage, such as an external hard drive, or insertable storage, such as an SD card. The storage 122B may be persistent and/or volatile. In some embodiments of the disclosure, storage 122B may take the form of a quantum computing storage device for storing data in the form of qubits. In embodiments of the disclosure where computer 102 is required to have a large amount of storage (for example, where computer 102 locally stores and manages a large database) then this storage may be provided by peripheral storage devices designed for storing very large amounts of data, such as a storage area network (SAN) that is shared by multiple, geographically distributed computers. The IoT sensor set 122C is made up of sensors that may be used in Internet of Things applications. For example, a first sensor of the sensors may be a thermometer and a second sensor of the sensors may be a motion detector.

The network module 124 is a collection of computer software, hardware, and firmware that allows computer 102 to communicate with external computers through WAN 104. The network module 124 may include hardware, such as modems or Wi-Fi signal transceivers, software for packetizing and/or de-packetizing data for communication network transmission, and/or web browser software for communicating data over the internet. In some embodiments of the disclosure, network control functions, and network forwarding functions of the network module 124 are performed on the same physical hardware device. In various embodiments of the disclosure (for example, embodiments that utilize software-defined networking (SDN)), the control functions and the forwarding functions of the network module 124 are performed on physically separate devices, such that the control functions manage several different network hardware devices. Computer-readable program instructions for performing the disclosed methods may typically be downloaded to computer 102 from an external computer or external storage device through a network adapter card or network interface included in the network module 124.

The WAN 104 is a wide area network (for example, the internet) that communicates computer data over non-local distances by any technology for communicating computer data, now known or to be developed in the future. In some embodiments of the disclosure, the WAN 104 may be replaced and/or supplemented by local area networks (LANs) designed to communicate data between devices located in a local area, such as a Wi-Fi network. The WAN 104 and/or LANs typically include computer hardware such as copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers, and edge servers.

The EUD 106 is any computer system that is used and controlled by an end user (for example, a customer of an enterprise that operates computer 102) and may take any of the forms discussed above in connection with computer 102. The EUD 106 typically receives helpful and useful data from the operations of computer 102. For example, in a hypothetical case where computer 102 is designed to provide a recommendation to an end user, this recommendation may typically be communicated from the network module 124 of computer 102 through WAN 104 to EUD 106. In this way, the EUD 106 may display, or present recommendations to an end user. In some embodiments of the disclosure, EUD 106 may be a client device, such as a thin client, heavy client, mainframe computer, desktop computer, and so on.

The remote server 108 is any computer system that serves at least some data and/or functionality to the computer 102. The remote server 108 may be controlled and used by the same entity that operates the computer 102. The remote server 108 represents the machines that collect and store helpful and useful data for use by computing systems, such as the computer 102. For example, in a hypothetical case where the computer 102 is designed and programmed to provide a recommendation based on historical data, then this historical data may be provided to the computer 102 from the remote database 108A of the remote server 108.

The public cloud 110 is any computer system available for use by multiple entities that provides on-demand availability of computer system resources and/or computation abilities, especially data storage (cloud storage) and computing power, without direct active management by the user. Cloud computing typically leverages the sharing of resources to achieve coherence and economies of scale. The direct and active management of the computing resources of the public cloud 110 is performed by the computer hardware and/or software of the cloud orchestration module 110B. The computing resources provided by the public cloud 110 are typically implemented by virtual computing environments that run on various computers making up the computers of the host physical machine set 110C, which is the universe of physical computers in and/or available to the public cloud 110. The virtual computing environments (VCEs) typically take the form of virtual machines from the virtual machine set 110D and/or containers from the container set 110E. It is understood that these VCEs may be stored as images and may be transferred among and between the various physical machine hosts, either as images or after the instantiation of the VCE. The cloud orchestration module 110B manages the transfer and storage of images, deploys new instantiations of VCEs, and manages active instantiations of VCE deployments. The gateway 110A is the collection of computer software, hardware, and firmware that allows public cloud 110 to communicate through WAN 104.

Some further explanation of virtualized computing environments (VCEs) will now be provided. VCEs can be stored as “images”. A new active instance of the VCE can be instantiated from the image. Two familiar types of VCEs are virtual machines and containers. A container is a VCE that uses operating-system-level virtualization. This refers to an operating system feature in which the kernel allows the existence of multiple isolated user-space instances, called containers. These isolated user-space instances typically behave as real computers from the point of view of programs running. A computer program running on an ordinary operating system may utilize all resources of that computer, such as connected devices, files and folders, network shares, CPU power, and quantifiable hardware resources. However, programs running inside a container may only use the contents of the container and devices assigned to the container, a feature which is known as containerization.

The private cloud 112 is similar to public cloud 110, except that the computing resources are only available for use by a single enterprise. While the private cloud 112 is depicted as being in communication with the WAN 104, in various embodiments of the disclosure, a private cloud may be disconnected from the internet entirely and only accessible through a local/private network. A hybrid cloud is a composition of multiple clouds of different types (for example, private, community, or public cloud types), often respectively implemented by different vendors. Each of the multiple clouds remains a separate and discrete entity, but the larger hybrid cloud architecture is bound together by standardized or proprietary technology that enables orchestration, management, and/or data/application portability between the multiple constituent clouds. In this embodiment of the disclosure, the public cloud 110 and the private cloud 112 are both part of a larger hybrid cloud.

FIG. 2 is a diagram that illustrates a computer system 204 for normalization and anonymization of computer program code, in accordance with an embodiment of the disclosure. FIG. 2 is explained in conjunction with elements from FIG. 1. FIG. 2 illustrates an environment 200 of the computer system 204 configured to execute operations for code normalization and anonymization-enabling removal of comments, standardization of code structures, and enforcement of coding best practice guidelines. In various embodiments, the computer system 204 (also referred to as system 204) operates within the environment 200 to execute the operations for code normalization and anonymization. In various embodiments, the system 204 may be embodied as a standalone or distributed entity in a computing environment similar to that described in FIG. 1. Some examples of such a standalone entity include a computing device 212, a storage 216, and large language models 218. As a distributed entity, the system 204 may be implemented at least in parts using a combination of the components shown in FIG. 1. Irrespective of how the system 204 is realized, the system 204 operates as a computing platform that executes the disclosed methods for code normalization and optimization. In various embodiments, the system 204 may integrate machine learning models to improve code consistency and detect coding anomalies in computer program code. The system 204 may be implemented as a physical device or as a virtualized service within a cloud environment, potentially operating across multiple devices for scalability and performance. The system 204 includes a processor 206, the storage 216, a memory 208, a communication interface 210, a network 202, and one or more data buses for facilitating data flow between various components of the system 204.

The processor 206 executes programming instructions stored in the memory 208 and manages application data residing in the storage 216. The processor 206 may include one or multiple processing units allowing the system 204 to handle large codebases and complex computations. The processing units may leverage parallel execution, multi-threading, and specialized accelerators such as GPUs or TPUs to optimize performance. In various embodiments, the processor 206 may execute code analysis algorithms for implementing syntax and semantic checks, running machine learning inference tasks, and managing transformations applied to computer program code. The processor 206 may also interface and interact with the large language models 218 to generate code suggestions, optimize naming conventions, and refactor code based on best practices. Additionally, the processor 206 may dynamically allocate computational resources based on workload intensity, ensuring efficient processing of both real-time operations and batch operations.

The memory 208 may store a plurality of software modules realized through instructions executable by the processor 206 for implementing code normalization and anonymization operations. In this regard, the memory 208 includes a code fragmentation module 208A, a guideline generation module 208B, a guideline implementation module 208C, a comment removal module 208D, a code normalization module 208E, an identifier anonymization module 208F, and a code documentation module 208G. The memory 208 may include random-access memory (RAM) for fast access to data and instructions, as well as non-volatile memory (e.g., SSD, HDD) for long-term storage. The memory 208 may store programming instructions for implementing the modules 208A, 208B, 208C, 208D, 208E, 208F, and 208G. Such programming instructions may be executable by the processor 206. The memory 208 also stores machine learning models, historical code data, and optimization rules that are referenced by the processor 206 for normalization and anonymization of computer program code. The memory 208 supports real-time data retrieval and caching, allowing the system 204 to process high volumes of code input. In various embodiments, the memory 208 may store training datasets or code repositories to refine machine learning models such as the large language models 218.

In an embodiment of the disclosure, the system 204 may fetch computer program code (also referred to as preliminary code) from the storage 216. Additionally, or alternatively, in an embodiment of the disclosure, the system 204 may obtain the preliminary code from the user device 214A associated with a user 214B via the network 202. As an additional example, the system 204 may obtain the preliminary code from the computing device 212 via the network 202. In yet an additional example, the system 204 may obtain the preliminary code from one or more language models such as the large language models 218 via the network 202. In an embodiment of the disclosure, the system 204 may receive the preliminary code for compiling, execution, or storage. In this regard, the system 204 may execute operations for normalization and anonymization of the received preliminary code. In an embodiment of the disclosure, the system 204 may periodically implement the operations for normalization and anonymization of the preliminary code to perform risk and threat analysis for the received preliminary code. The preliminary code may be written in any suitable computer programming language.

The processor 206 executes the code fragmentation module 208A to fragment the received preliminary code into a plurality of code snippets based on a syntactic structure of the preliminary code. Towards this end, the code fragmentation module 208A may use techniques such as abstract syntax tree (AST) parsing, lexical analysis, or tokenization to segment/fragment the preliminary code into code snippets as functions, classes, loops, or independent logic blocks. Such a fragmentation approach allows for granular modifications and analysis rather than applying transformations to the entire preliminary code at once. Such a fragmentation of the preliminary code also enables identification of repetitive patterns, redundant logic, and/or isolated sections for targeted modifications. For example, where the preliminary code includes multiple conditional statements, the code fragmentation module 208A may extract each conditional statement of the multiple conditional statements as a separate logical unit, allowing independent verification against coding best practice guidelines. Additionally, in large-scale systems, breaking the preliminary code into fragments of code snippets ensures automated transformation modules do not interfere with unrelated sections, maintaining consistency and correctness of the preliminary code.

The processor executes the guideline generation module 208B to determine one or more guidelines specific to the computer programming language associated with the preliminary code. Such guidelines may include, without limitation, Google™ Style Guide, Python Enhancement Proposal-8 (PEP-8), Open Web Application Security Project (OWASP) recommendations, and industry-specific compliance standards to improve code quality, maintainability, and security. In an embodiment of the disclosure, the one or more guidelines may be stored in a suitable database and the processor 206 may query such a database using an identifier associated with the computer programming language specific to the preliminary code to obtain the one or more guidelines. In an embodiment of the disclosure, the processor 206 may submit a prompt to a large language model to determine the one or more guidelines specific to the computer programming language associated with the preliminary code.

The processor 206 executes the guideline implementation module 208C to implement the one or more guidelines generated by the guideline generation module 208B. The guideline implementation module 208C processes the preliminary code by analysing the code structure, enforcing coding standards, and identifying deviations from best practices/recommendations outlined in the one or more guidelines. In an embodiment of the disclosure, the guideline implementation module 208C may implement one or more functionalities including flagging deprecated functions, inefficient loops, redundant computations, and dead code and recommending performance optimizations such as replacing nested loops with efficient constructs. The guideline implementation module 208C identifies long, complex functions and suggests refactoring by splitting the preliminary code into smaller, modular components or externalizing repeated logic. As an example, the guideline implementation module 208C may also enforce adequate documentation, flagging missing docstrings and outdated comments while suggesting improvements. Leveraging a large language model (LLM), the guideline implementation module 208C generates descriptions for undocumented code and suggests refactoring opportunities aligned with best practices.

The processor 206 executes the comment removal module 208D to process the preliminary code by identifying and removing comments which may contain sensitive, proprietary, redundant, or irrelevant information. For example, the comment removal module 208D may scan or parse the preliminary code (i.e., each snippet of the preliminary code) for inline comments, block comments, and documentation strings, categorizing the preliminary code based on the content. As an example, where the comments include authorship information such as personally identifiable information, credentials, or proprietary details, the processor 206 deletes or modifies the comments to maintain confidentiality. As an additional example, the comment removal module 208D may eliminate outdated or redundant comments which do not align with the current code logic, thereby preventing confusion. In cases where the comments provide critical context, the comment removal module 208D may generate structured metadata or inline annotations to preserve explanations without exposing sensitive details. Additionally, the comment removal module 208D ensures consistency by enforcing predefined commenting policies, such as removing excessive or unnecessary comments.

The processor 206 executes the code normalization module 208E to process the preliminary code by standardizing its structure, formatting, and syntax. It enforces uniform indentation, spacing, and line breaks based on predefined style guides such as PEP-8, Google's Style Guide, or industry-specific coding standards. The code normalization module 208E refactors variable names, function signatures, and class definitions to follow naming conventions, improving readability. In cases where logical redundancies exist, such as duplicate conditions or excessive nesting, the code normalization module 208E restructures the code. Additionally, the code normalization module 208E applies standard error-handling patterns.

The processor 206 executes the identifier anonymization module 208F to process the preliminary code for anonymizing identifier information in the preliminary code. In this regard, the identifier anonymization module 208F detects one or more identifiable elements, such as variable names, function names, and class identifiers in the preliminary code, and replaces them with anonymized placeholders or context-preserving alternatives. The identifier anonymization module 208F analyses naming patterns and identifies elements that may reveal authorship, proprietary information, or organization-specific conventions. The identifier anonymization module 208F may apply transformation techniques, such as generalizing function names. The identifier anonymization module 208F may anonymize stylized identifiers which reflect an author's unique syntax or formatting style to prevent attribution tracking. In cases where external documentation references original identifiers, the identifier anonymization module 208F updates references accordingly.

The processor 206 executes the code documentation module 208G to process the preliminary code by generating, refining, and ensuring the accuracy of documentation elements associated with the preliminary code. As an example, the code documentation module 208G identifies missing docstrings, inline comments, and code descriptions and generates appropriate documentation based on function definitions, class structures, and logical flow. As an additional example, where the existing documentation associated with the preliminary code is outdated, inconsistent, or insufficient, the code documentation module 208G updates the documentation to align with the latest code modifications. In an example embodiment of the disclosure, the code documentation module 208G may enforce documentation standards such as PEP-257 for Python or Javadoc for Java, ensuring clarity and completeness.

The communication interface 210 facilitates data exchange between the system 204 and external components, including the network 202, the computing device 212, the storage 216, and the large language models 218. The communication interface 210 supports multiple data transmission protocols, such as HTTP, HTTPS, TCP/IP, and WebSocket, enabling secure and efficient communication. The communication interface 210 also manages data flow, ensuring that input and output data are transmitted without loss or corruption. The communication interface 210 may employ encryption algorithms and secure authentication mechanisms to protect sensitive data during transmission. Additionally, the communication interface 210 handles error detection and correction, for reliable data exchange between the system and connected components.

In an embodiment of the disclosure, the computing device 212 serves as the user interface for the system 204, allowing the user 214B to input code, receive processed output, and interact with the system components. The device displays real-time feedback, processing status, and code recommendations provided by the system 204. The computing device 212 may also support secure login and user authentication to prevent unauthorized access. In one embodiment, the computing device 212 may function as an output device where the processed code is executed directly. The computing device 212 may be directly connected to a server or cloud infrastructure, allowing the system 204 to transmit processed code for execution without requiring manual review or intervention from the user 214B.

In an alternate embodiment, the user 214B interacts with the system 204 via the user device 214A to initiate code processing and normalization. The user 214B may be a developer, a tester, a computer program, a software agent or the like. The user 214B may provide access to code stored in the memory 208 for code analysis and normalization. The user 214B may interact with the user device 214A through direct input, such as uploading code files, executing commands, or configuring processing parameters. The user device 214A, which may be a computer, an integrated development environment (IDE), a web-based platform, or an automated tool, serves as the interface between the user 214B and the system 204. The user device 214A may also provide a mechanism for the user 214B to review, edit, and approve the normalized code before final implementation.

The storage 216 functions as a central repository for storing one or more of the preliminary code, processed code provided by one or more modules of the modules 208A, 208B, 208C, 208D, 208E, 208F, and 208G, the normalized code output by the system 204, training data, system configurations, and metadata generated during code normalization. The storage 216 may include high-speed solid-state drives (SSDs), hard disk drives (HDDs), or cloud-based storage solutions to provide scalable and secure data retention. The storage 216 supports structured and unstructured data formats. Processed code, including normalized and optimized versions, is stored for future reference, reuse, and debugging. The storage 216 may also retain training data used by the machine learning models within the system 204. The storage 216 may be an onboard computer, an external device, or a cloud-based storage solution. The storage 216 may also be collocated with the onboard computer or distributed across multiple computing nodes to provide scalable and secure data retention. The storage 216, which may include both fixed and removable storage devices, such as disk drives, memory cards, or network-attached storage, houses data records and holds data records and resources needed for record management. In various embodiments, the storage 216 may store historical code data, machine learning training datasets, or anonymized code samples, which may be retrieved and utilized by the system 204.

The large language models 218 generate human-like code based on natural language prompts and contextual understanding of the input. Even though the large language models 218 are shown outside the system 204 in FIG. 2, various embodiments may integrate the large language models 218 within the memory 208 of the system 204. In such configurations, the large language models 218 may operate locally within the system 204, enabling faster response times and enhanced data privacy. Alternatively, the large language models 218 may be third-party services, such as OpenAI's GPT, Google's Gemini, Meta's LLaMA, or Anthropic's Claude, and the system 204 may invoke the large language models 218 through the network 202. The system 204 may transmit code snippets or natural language prompts to the large language models 218 and receive generated code in real-time.

The network 202 serves as the communication backbone of the system 204, facilitating seamless data exchange between the user device 214A, the computing device 212, the storage 216, the large language models 218, and the system 204. The network 202 communicatively couples the system 204 with the computing device 212, the large language models 218, and the storage 216, facilitating the seamless exchange of code data and processing outputs. In an embodiment, the network 202 may be an exemplary implementation of a cloud-based infrastructure that enables real-time access to code processing resources and machine learning models. The network 202 may include various communication technologies, such as wired connections (e.g., fiber optics, Ethernet) and wireless technologies (e.g., Wi-Fi, 5G, LTE), to support reliable and low-latency data transmission. The network 202 enables bi-directional communication between the user 214B and the system 204, allowing the system to receive code input from the user, process the code input using the modules 208A, 208B, 208C, 208D, 208E, 208F, and 208G, and deliver the processed output to the user 214B through the user device 214A or the computing device 212. The network 202 may also facilitate secure data transmission using encryption protocols, virtual private networks (VPNs), and firewall protection to prevent unauthorized access and data breaches. In scenarios where low-latency processing is required, the network 202 may prioritize data transmission to reduce response time. Additionally, the network 202 may integrate load balancing mechanisms to distribute processing tasks efficiently across the system components, ensuring utilization of resources.

FIG. 3 is a diagram that illustrates a flowchart of an exemplary method 300 for normalization and anonymization of computer program code, in accordance with an embodiment of the disclosure. FIG. 3 is explained in conjunction with elements from FIGS. 1 and 2. With reference to FIG. 3 there is shown a method 300 for normalization and anonymization of computer program code that illustrates exemplary operations 302, 304, 306, 308, 310, and 312, as described herein. In an embodiment, a suitable computing device such as the computer 102 of FIG. 1 or the system 204 of FIG. 2 may execute the method 300.

The method 300 includes at 302, operations for obtaining a preliminary code in a computer programming language. The preliminary code may originate from one or a combination of various sources, such as developer-authored scripts, open-source repositories, enterprise codebases, or automatically generated code from artificial intelligence-assisted programming tools. The preliminary code may include structured logic, variable definitions, function implementations, and inline comments reflecting the coding style and authorship patterns of the one or more developers or sources. The preliminary code may include various programming constructs including functions, classes, loops, conditional statements, variable declarations, and inline comments. The preliminary code may be written in different programming paradigms, such as object-oriented, functional, or procedural programming. The system 204 may retrieve the preliminary code in its raw form, for example by extracting it from the storage 216 of FIG. 2, or by receiving it through a real-time code submission interface.

The method 300 also includes at 304, operations for identifying at least one subcode in the preliminary code that quantifies authorship attribution of the preliminary code. The authorship attribution may include information indicating or corresponding to one or more of coding style of an author or source associated with the preliminary code or source program patterns associated with the preliminary code. The subcode may refer to a code snippet including one or more unique stylistic markers such as indentation styles, comment usage, variable naming conventions, function structuring, or error-handling mechanisms. The system 204 analyses the preliminary code to detect stylistic and structural elements, including indentation patterns, function naming conventions, code comments, and algorithmic design choices which are characteristic of a particular author or source. A detailed description of a process for identification of at least one subcode is provided later with reference to FIG. 4B. In an embodiment, for identification of the at least one subcode, the system 204 may extract metadata embedded in the preliminary code, such as comments containing author names, timestamps, or references to internal libraries. Additionally, unique function or variable names, proprietary class structures, or specific formatting rules may be identified as authorship markers and the corresponding code snippet associated with such authorship markers may be identified as the at least one subcode of the preliminary code.

The method 300 further includes at 306, operations for determining at least one code transformation tool specific to the computer programming language based on the identified at least one subcode. In this regard, the system 204 evaluates the characteristics of the at least one subcode and selects an appropriate transformation approach tailored to the programming language. In an embodiment, to determine the at least one code transformation tool, the system 204 references a repository of code transformation tools defining operations for application of best practice guidelines, operations for comment removal, operations for code normalization, operations for code anonymization, operations for code documentation, and the like. For example, where the at least one subcode includes unique function names, the system 204 may fetch operations for identifier anonymization to replace the unique function names in the at least one subcode with generalized or randomly generated names. The determination of at least one code transformation tool may be guided by predefined transformation rules, industry best practices, or machine learning models which assess the effective obfuscation and normalization techniques for preserving functionality while removing authorship traces.

The method 300 also includes at 308, operations for applying the at least one code transformation tool to the preliminary code. In this regard, the system 204 may manipulate the at least one subcode of the preliminary code by executing the at least one code transformation tool. For example, the system 204 may systematically replace, rewrite, or anonymize the authorship-attribution of the preliminary code while maintaining the correctness of the preliminary code. For example, where the subcode contains structured comments revealing authorship, the system 204 may apply one or more comment removal techniques to remove or rewrite the at least one subcode using neutral documentation.

The method 300 further includes at 310, operations for generating a normalized code based on the applying of the at least one code transformation tool to the preliminary code. The application of the at least one code transformation tool to the preliminary code transforms the preliminary code to a normalized code in which the authorship attribution of the preliminary code is anonymized. Furthermore, the normalized code is free of information identifying the source of the code while still maintaining contextual similarity with the preliminary code. The system 204 generates the normalized code as the transformed version of the preliminary code by applying one or more applicable code transformation tools while integrating all modifications and syntactic correctness. The normalized code retains the functional logic of the preliminary code but is free from identifiable authorship characteristics. The system 204 may perform validation checks, compare the normalized code against guidelines corresponding to recommended practices, and may execute automated tests to confirm the changes do not introduce errors. In some embodiments, the system 204 may maintain a reference to the original preliminary code to allow for auditability and traceability.

The method 300 also includes at 312, operations for outputting the normalized code. As an example, the system 204 may deliver the normalized code to an intended destination (device or application), which may include a user device for review, a version-controlled repository for storage, or an automated system for further processing. In an embodiment, the normalized code may be displayed to the user alongside a report detailing the applied transformations. In an embodiment, as a part of the operations for outputting the normalized code, recommendations for additional code improvements, formatting suggestions, or security enhancements may also be output. The normalized code may be integrated into a larger software development workflow, facilitating standardized coding practices across projects while anonymizing authorship attribution. In an embodiment of the disclosure, the system 204 may compile the normalized code for execution.

FIG. 4A is a diagram that illustrates some operations of a code transformation tool 402 for normalization and anonymization of computer program code implemented by the system 204 of FIG. 2, in accordance with an embodiment of the disclosure. FIG. 4A is explained in conjunction with elements from FIGS. 1, 2, and 3. In an embodiment of the disclosure, the code transformation tool 402 may be an example of the code transformation tool determined as a part of the operations for determining the at least one code transformation tool of FIG. 3. The code transformation tool 402 may be specific to the programming language associated with the preliminary code. The code transformation tool 402 include a plurality of operations for transforming the preliminary code for normalization and anonymization of the preliminary code. Some examples of such operations include operations for application of best practice guidelines 404, operations for comment removal 406, operations for code normalization 408, operations for identifier anonymization 410 and operations for code documentation 412. The system 204 may execute the code transformation tool 402 for transformation of the preliminary code into a normalized code, while preserving the original functionality of the preliminary code and eliminating authorship-identifiable characteristics of the preliminary code. The code transformation tool 402 is configured to process computer program code across various programming languages, such as Python, Java, C++, and JavaScript, to name a few. The code transformation tool 402 may apply a structured pipeline of transformation operations, each addressing specific aspects of code normalization and anonymization. In an embodiment, the operations leverage large language models (LLMs) and static analysis tools to refine the structure.

The operations for the application of best practice guidelines 404 utilize LLMs to analyse and describe the code while suggesting improvements based on software engineering principles. Such principles may be defined by a standards body, organization, or may be compiled from time to time by the system 204. As an example, the operations for the application of best practice guidelines 404 include refactoring complex code segments by breaking the code into smaller, modular functions and restructuring excessive nested loops by externalizing the logic into separate methods. For instance, a function in a preliminary code may include several tasks such as reading a file, processing the contents, and generating output. The processor 206 may execute the operations for the application of best practice guidelines 404 to split the code into separate functions or sub-functions for each task. Additionally, where a preliminary code segment includes deeply nested loops, the processor 206 may execute the operations for the application of best practice guidelines 404 to suggest externalizing the loop bodies into separate methods to improve clarity.

The operations for comment removal 406 utilize abstract syntax tree (AST) analysis to identify and eliminate comments in the preliminary code that may contain authorship clues, proprietary information, or unwanted annotations. For example, where a comment in the code mentions information such as a developer's name, a ticket number, or internal project details (e.g., // Implemented by John Doe for Project X on 2023 Jan. 15), the processor 206 may execute the operations for comment removal 406 to detect and remove such comments. The operations for comment removal 406 is particularly useful in scenarios where the preliminary code is shared publicly or transferred between teams, for no sensitive metadata remains embedded within the preliminary code.

The operations for code normalization 408 apply linters and formatters, such as Black, Flake8, and Check style, to enforce consistent syntax, indentation, and styling across the codebase. The processor 206 may execute the operations for code normalization 408 to apply automated rules for correcting stylistic inconsistencies in the preliminary code. For example, a Python script may use a mix of single and double quotes for strings, or inconsistent indentation with spaces and tabs. In such scenarios, the processor 206 may execute the operations for code normalization 408 to correct the discrepancies and generate normalized code. Similarly, as an additional example, in Java, unnecessary wildcard imports (import java.util.*;) may be used, and the processor 206 may execute the operations for code normalization 408 to replace with specific imports to improve clarity. In an embodiment of the disclosure, the operations for code normalization 408 may remove or modify inconsistencies which otherwise hinder collaboration and readability of the preliminary code.

The operations for identifier anonymization 410 leverage LLMs to replace author-specific identifiers with neutral, standardized names while preserving the overall structure and meaning of the preliminary code. In scenarios where code must be de-identified before being shared externally or anonymized, the processor 206 may execute the operations for identifier anonymization 410 to de-identify the stylized identifiers in the preliminary code. As an example, a developer may use personalized variable names such as “johnsSecretAlgorithm ( )” which may be replaced by “compute Algorithm ( )” by the system 204. As an additional example, the preliminary code may include acronyms, abbreviations, or culturally specific naming conventions. In such scenarios, the system 204 may expand or neutralize the preliminary code for greater clarity. For example, “cnfgX” (short for “config extra”) may be replaced into “configuration extra”. The operations for identifier anonymization 410 remove identifiable patterns or stylistic signatures while keeping the logic intact.

The operations for code documentation 412 use LLMs to reinsert previously removed comments in a paraphrased manner and augment the documentation with well-structured explanations. In an embodiment of the disclosure, instead of restoring comments verbatim, the processor 206 may execute the operations for code documentation 412 to rewrite the preliminary code in a clear, concise, and professional format. For example, an original comment may state // John's function to parse CSV files and extract necessary details. The processor 206 may execute the operations for code documentation 412 to replace the original comment with // Parses CSV files and extracts relevant data fields. Furthermore, in an embodiment of the disclosure, the processor 206 may execute the operations for code documentation 412 to generate function-level documentation by generating docstrings (Python), Javadoc (Java), or structured comments (C/C++).

FIG. 4B is a diagram that illustrates a flowchart of the operations for identification of at least one subcode in the preliminary code of FIG. 3, in accordance with an embodiment of the disclosure. FIG. 4B is explained in conjunction with elements from FIGS. 1, 2, 3, and 4A. With reference to FIG. 4B, the operations for identification of at least one subcode in the preliminary code includes operations 420, 422, 424, 426, 428, and 430, as described herein. The exemplary operations illustrated in FIG. 4B may be performed by any system, apparatus, or software-based tool designed for code analysis and transformation. Although illustrated as discrete steps, the operations associated with one or more blocks of FIG. 4B may be divided into additional steps, combined into fewer steps, or modified, depending on the implementation.

The operations for identification of at least one subcode in the preliminary code may include at 420, one or more operations for obtaining preliminary code in a computer programming language. The preliminary code serves as an input for subsequent processing. The preliminary code may be obtained from developer-written scripts, software repositories, language models, or automated code generation tools. The preliminary code may be written in any programming language such as, but not limited to, Python, Java, C++, or JavaScript, depending on the implementation requirements.

The operations for identification of at least one subcode in the preliminary code may include at 422, one or more operations for fragmenting the preliminary code into a plurality of code snippets based on an abstract syntax tree (AST) associated with the preliminary code. The AST is a hierarchical representation of the structure of source code. The AST enables structured decomposition of the code, allowing individual elements such as functions, loops, conditionals, and class definitions to be analysed independently. The AST associated with the preliminary code breaks the preliminary code into a plurality of code snippets, such as individual functions, loops, conditionals, or class definitions which are examined for compliance with best practices. By breaking down the preliminary code into code snippets, each code snippet of the plurality of code snippets may be examined independently for structural consistency. The details of AST-based fragmentation are described in detail later with reference to FIG. 4C.

The operations for identification of at least one subcode in the preliminary code may include at 424, one or more operations for determining one or more guidelines specific to the programming language associated with the preliminary code. The one or more guidelines define structured coding conventions that apply to a given programming language, such as rules for function modularity, naming conventions, code reusability, and loop structures. The one or more guidelines may be derived from widely accepted coding standards such as for example, PEP 8 for Python, Google Java Style Guide, or industry-specific recommendations. The determination of the one or more guidelines may involve analyzing coding patterns within the preliminary code and comparing to predefined rules. Additionally, the system 204 may incorporate dynamic guideline identification based on evolving software development standards. For example, the system 204 may invoke a large language model to obtain the one or more guidelines specific to the programming language associated with the preliminary code.

The operations for identification of at least one subcode in the preliminary code may include at 426, one or more operations for parsing each code snippet of the plurality of code snippets based on the one or more guidelines. Such parsing may include systematically analyzing each code snippet of the plurality of code snippets to identify structural patterns, logical flow, and potential deviations from each guideline of the one or more guidelines. The parsing of each code snippet of plurality of code snippets may leverage one or more of static analysis tools, rule-based validation methods, or machine learning models trained on high-quality code repositories. For example, the system 204 may detect excessively long functions, improper indentation, redundant variable declarations, or inefficient loop structures in the preliminary code.

The operations for identification of at least one subcode in the preliminary code may include at 428, one or more operations for determining at least one code snippet of the plurality of code snippets that violates the one or more code guidelines. As an example, a code snippet may be determined to violate a guideline if the code includes structural inefficiencies such as long unstructured code blocks which reduce readability, deeply nested loops increasing computational complexity, or redundant conditional statements introducing unnecessary execution paths. Additionally, inconsistencies in naming conventions, improper use of global variables, and inefficient logic structures may also be considered for judging the violation of the one or more guidelines. In an embodiment of the disclosure, language-specific violations may also be identified, such as unused imports or improper indentation in Python, missing class encapsulation or inconsistent exception handling in Java, and memory mismanagement in C++. The system 204 declares the code snippet that violates at least one guideline of the one or more guidelines as the at least one subcode. The system 204 may skip the code snippets that do not violate any guideline of the one or more guidelines. The iterative process may continue to evaluate the guideline violation for each code snippet of the plurality of code snippets.

The operations for identification of at least one subcode in the preliminary code may include at 430, an operation for outputting the at least one code snippet as the at least one subcode. The identified subcode represents portions of the original preliminary code which require further manipulations and/or transformations. The subcode may be categorized based on the nature of the violation, such as structural violations requiring decomposition, inefficient logic requiring optimization, or naming inconsistencies requiring standardization. The identified subcode may be stored for future processing, passed to an automated code transformation tool, or presented to a user for manual confirmation and diagnosis.

FIG. 4C is a diagram that illustrates a framework for fragmentation of the preliminary code 434, in accordance with an embodiment of the disclosure. FIG. 4C is explained in conjunction with elements from FIGS. 1, 2, 3, 4A, and 4B. The framework for fragmentation of the preliminary code 434 may be executed by the code fragmentation module 208A of FIG. 2. The framework for fragmentation of the preliminary code 434 may start with obtaining the preliminary code 434 in a computer language and an abstract syntax tree (AST) 432 of the preliminary code 434. The AST 432 represents the hierarchical structure of the preliminary code 434 and is used to fragment the preliminary code 434 into elements such as function definitions, loops, conditionals, and class structures. By leveraging the AST 432, the system 204 may systematically analyze the logical structure of the preliminary code 434 and extract meaningful segments while preserving the overall integrity of the preliminary code 434.

Both the preliminary code 434 and its corresponding AST 432 are input to the code fragmentation module 208A for segmenting the preliminary code 434 into suitable, manageable portions. The fragmenting of the preliminary code 434 using the AST 432 may be based on syntactic structures, logical divisions, or predefined best practice guidelines as explained in the description of FIG. 2. The code fragmentation module 208A may separate the preliminary code 434 at function boundaries, loop structures, or class definitions to generate well-defined code snippets.

The system 204 fragments the preliminary code 434 into a plurality of code snippets (436, 438, 440, and 442). Each code snippet of the plurality of the code snippets 436, 438, 440, and 442 represent a distinct segment of the preliminary code 434. Each code snippet of the plurality of the code snippets 436, 438, 440, and 442 may be further processed for best practice guideline evaluation as described in FIG. 4D.

FIG. 4D is a diagram that illustrates a flowchart of a process 450 for determining at least one code snippet of the preliminary code 434 as a subcode of the preliminary code, in accordance with an embodiment of the disclosure. FIG. 4D is explained in conjunction with elements from FIGS. 1, 2, 3, 4A, 4B, and 4C. With reference to FIG. 4D, the process 450 includes exemplary operations 452, 454, 456, 458, 460, 462, 464, 466, 468, and 470, as described herein. The exemplary operations illustrated in the block diagram of the process 450 may be performed by any system, apparatus, or device. Although illustrated with discrete blocks, the exemplary operations associated with one or more blocks of the process 450 may be divided into additional blocks, combined into fewer blocks, or eliminated, depending on the particular implementation.

The process 450 includes at 452, operations for selecting a code snippet of the plurality of code snippets 436, 438, 440, and 442. In this regard, the system 204 identifies and retrieves a portion of the preliminary code 434 which is fragmented for evaluation (explained in FIG. 4C). In parallel or sequentially, the process 450 includes at 454, operations for selecting a guideline of the one or more guidelines that may be used to evaluate the selected code snippet. The one or more guidelines may be programming language-specific, covering aspects such as naming conventions, memory management, loop optimization, and exception handling. Towards this end, the system 204 may obtain the one or more guidelines in a manner described previously with reference to the guideline generation module 208B of FIG. 2.

The process 450 also includes at 456, operations for determining whether the selected guideline is applicable to the selected code snippet. The system 204 may compare one or more attributes of the selected code snippet with one or more rules or recommendations of the selected guideline to determine whether the selected guideline is applicable to the selected code snippet. If the selected guideline is not applicable to the selected code snippet (i.e., the outcome of the operations at 456 is no), the process 450 proceeds to operations at 458, where the process 450 includes operations for discarding the selected guideline. Thereafter, the process 450 returns to the operations at 454 for selecting a different guideline of the one or more guidelines, and the sequence of operations at 456 is repeated for the selected code snippet in view of the newly selected different guideline.

However, if the outcome of the operations at 456 is yes (i.e., the selected guideline is applicable to the selected code snippet), the process 450 includes at 460, operations for determining whether the selected code snippet violates the applicable guideline. The violation may involve static code analysis, pattern matching, and heuristic-based detection of code inefficiencies. For example, a deeply nested loop in a Python snippet may be flagged as inefficient, while improper memory deallocation in C++ may be identified as a potential issue. If the outcome of the operations at 460 is yes (i.e., the selected code snippet violates the applicable guideline), the process 450 includes at 462, operations for outputting the selected code snippet as the at least one subcode of the preliminary code 434. Thereafter, the process 450 includes at 468, operations for determining whether all code snippets of the plurality of code snippets 436, 438, 440, and 442 are evaluated for the one or more guidelines. If the outcome of the operations at 468 is yes (i.e., each code snippet of the plurality of code snippets 436, 438, 440, and 442 has been evaluated for the one or more guidelines), the process 450 terminates at 470. However, if the outcome of the operations at 468 is no (i.e., there are one or more code snippets of the plurality of code snippets 436, 438, 440, and 442 that need to be evaluated for the one or more guidelines), the process 450 returns to the operations at 452 to select a different code snippet of the plurality of code snippets 436, 438, 440, and 442 for evaluation and the sequence of operations from 454 to 470 is repeated, as applicable.

However, if the outcome of the operations at 460 is a no (i.e., the selected code snippet does not violate the applicable guideline), the process 450 proceeds to operations at 464, where the process 450 includes operations for determining whether all applicable guidelines of the one or more guidelines are evaluated for the selected code snippet. If the outcome of the operations at 464 is a no (i.e., there is at least one guideline of the one or more guidelines that needs to be evaluated for the selected code snippet), the process 450 proceeds to operations at 458, where the process 450 includes operations for discarding the selected guideline, and the sequence of operations from 454 to 464 is repeated for a different guideline of the remaining at least one guideline.

However, if the outcome of the operations at 460 is a yes (i.e., all applicable guidelines have been evaluated for the selected code snippet), the process 450 proceeds to operations at 466, where the process 450 includes operations for discarding the selected code snippet. Thereafter, the process 450 proceeds to the operations at 468 and the sequence of operations from 452 to 468 is repeated if there remains at least one code snippet of the plurality of code snippets 436, 438, 440, and 442 for evaluation, else the process 450 is terminated at 470.

In this way, all the code snippets of the plurality of code snippets 436, 438, 440, and 442 that are output at the operations at 462 are declared as the at least one subcode of the preliminary code 434. The system 204 executes the operations 306, 308, 310, and 312 for all such code snippets to normalize and anonymize the preliminary code.

FIG. 5A is a diagram that illustrates a flowchart 500 of the operations for application of one or more best practice guidelines 404 to the preliminary code of FIG. 4A, in accordance with an embodiment of the disclosure. FIG. 5A is explained in conjunction with elements from FIGS. 1, 2, 3, 4A, 4B, 4C, and 4D. With reference to FIG. 5A, the flowchart 500 includes exemplary operations 502. 504, 506, and 508, as described herein. The exemplary operations illustrated in the flowchart 500 may be performed by any system, apparatus, or device. Although illustrated with discrete blocks, the exemplary operations associated with one or more blocks of the flowchart 500 may be divided into additional blocks, combined into fewer blocks, or eliminated, depending on the particular implementation.

The flowchart 500 includes at 502, operations for obtaining one or more violated guidelines specific to the computer programming language. The system 204 retrieves the one or more violated guidelines as a set of guidelines tailored to the syntax, structure, and conventions of the programming language of the preliminary code 434. In this regard, for example, one or more guidelines that are deemed violated at the operations at 460 of FIG. 4D may be selected as the one or more violated guidelines. The one or more violated guidelines may include recommendations related to code readability, performance optimization, memory management, security practices, and maintainability. The one or more violated guidelines may be sourced from industry standards, open-source style guides, or proprietary development frameworks.

The flowchart 500 also includes at 504, operations for selecting at least one candidate guideline of the one or more violated guidelines. In an embodiment of the disclosure, the system 204 may randomly select the at least one candidate guideline of the one or more violated guidelines. In an alternate embodiment, the system 204 may select the at least one candidate guideline in accordance with a sequence of the code snippets that violate the one or more violated guidelines. The selection of the candidate guideline may be based on various factors, such as project-specific coding standards, criticality of the guideline in maintaining software quality, or prioritization based on compliance requirements. For example, in a real-time embedded system, guidelines emphasizing efficient memory usage and low-latency execution may be prioritized, while in a web-based application, security-related guidelines such as input validation and secure authentication may take precedence.

The flowchart 500 also includes at 506, operations for determining one or more code transform operations for the at least one subcode based on the at least one candidate guideline. The system 204 analyses the at least one subcode to identify transformation requirements. If the subcode contains inefficient or non-compliant structures, the system 204 determines one or more code transformation operations to modify the subcode in accordance with the candidate guideline. The one or more code transformation operations may include without limitation, restructuring loops, modifying function definitions, renaming variables for consistency, or altering memory allocation patterns based on the language-specific conventions. Some examples of the one or more code transformation operations are described previously with reference to FIG. 4A.

The flowchart 500 also includes at 508, operations for generating at least one code transformation tool based on the one or more code transform operations. In this regard, the system 204 may generate the at least one code transformation tool by compiling a workflow using the one or more code transformation operations. If multiple transformation operations are possible, the system 204 may rank the transformation operations based on efficiency, maintainability, or execution cost. The system 204 implements a code transformation tool applying the determined one or more code transformation operations to modify the subcode according to the candidate code best practice guideline. In an embodiment, the generation of the at least one code transformation tool may include constructing rule-based transformation scripts, integrating machine learning models for adaptive refactoring, or utilizing compiler-based optimizations specific to the programming language (explained in detail in reference to FIG. 4A). In an embodiment of the disclosure, the generated code transformation tool may be executed in any suitable way such as but not limited to automatic execution by the system 204, integration into a continuous integration/continuous deployment (CI/CD) pipeline, or by providing as a recommendation for application by developers or other computer programs.

FIG. 5B is a diagram that illustrates a flowchart 510 of the operations for identifier anonymization 410 in the preliminary code of FIG. 4A, in accordance with an embodiment of the disclosure. FIG. 5B is explained in conjunction with elements from FIGS. 1, 2, 3, 4A, 4B, 4C, 4D, and 5A. With reference to FIG. 5B, the flowchart 510 includes exemplary operations 512, 514, 516, 518, 520, and 522, as described herein. The exemplary operations illustrated in the flowchart 510 may be performed by any system, apparatus, or device. Although illustrated with discrete blocks, the exemplary operations associated with one or more blocks of the flowchart 510 may be divided into additional blocks, combined into fewer blocks, or eliminated, depending on the implementation.

The flowchart 510 includes at 512, operations for determining one or more stylized identifiers in the at least one subcode. The system 204 scans the at least one subcode to detect stylized identifiers exhibiting unique stylistic patterns, such as variable names, function names, or class names which may contain specific conventions, abbreviations, or proprietary labels. In this regard, the system 204 may apply pattern-matching algorithms, abstract syntax tree (AST) traversal, or machine learning-based entity recognition to identify the stylized identifiers.

The flowchart 510 includes at 514, operations for generating a query prompt corresponding to each stylized identifier of the one or more stylized identifiers. In this regard, the system 204 may construct a query prompt by embedding contextual information about the identifier, such as its usage within the subcode and any associated comments. The system 204 ensures that the query prompt is structured to elicit a generalized identifier while maintaining the identifier's semantic consistency. If multiple query prompts are required, the system 204 generates the query prompts dynamically based on the identifier's context within the at least one subcode. For instance, if the stylized identifier is custID, the query prompt may be formulated as “Provide a generalized identifier for ‘custID’ in a customer management system while maintaining its semantic integrity”.

The flowchart 510 includes at 516, operations for querying a large language model based on the query prompt corresponding to each stylized identifier of the one or more stylized identifiers. Towards this end, the system 204 transmits the query prompt to the large language model and receives a response containing a generalized identifier. If the large language model returns multiple identifier suggestions, the system 204 may rank the results based on predefined selection criteria, such as readability, best practices, and contextual relevance to the subcode. The system 204 may also filter out redundant or irrelevant suggestions to improve accuracy.

The flowchart 510 includes at 518, operations for obtaining a generalized identifier corresponding to each stylized identifier of the one or more stylized identifiers based on the querying. In response to the query prompt, the large language model processes the query prompt to generate a response containing a generalized identifier that aligns with the contextual meaning of the stylized identifier. In an embodiment of the disclosure, the large language model may generate a plurality of generalized identifiers based on the query prompt, and the system 204 selects a generalized identifier from the generated options. The selection may be based on predefined criteria such as semantic relevance, length, readability, or compliance with coding standards. For example, if the stylized identifier is “UsrSessToken123”, the large language model may generate plurality of identifiers like “SessionToken”, “UserToken”, or “AuthKey”. The system 204 determines the suitable generalized identifier, such as “SessionToken”, for standardization and anonymization.

The flowchart 510 includes at 520, operations for determining one or more code transform operations for the at least one subcode based on the generalized identifier corresponding to each stylized identifier of the one or more stylized identifiers. The system 204 analyzes the at least one subcode to identify transformation operations to replace the stylized identifier with the corresponding generalized identifier. In this regard, the system 204 may determine transformation operations such as renaming variables, updating function arguments, modifying object properties, or refactoring method calls that reference the stylized identifier. For example, if the original subcode contains a variable named “UsrSessToken123”, and the system 204 has obtained “Session Token” as the generalized identifier, the system 204 determines a transformation operation to replace all occurrences of “UsrSessToken123” with “SessionToken” in the relevant scope. Additionally, if the stylized identifier appears in multiple code segments, the system 204 may propagate the transformation across dependent modules or files.

The flowchart 510 also includes at 522, operations for generating at least one code transformation tool based on the one or more code transform operations. The system 204 utilizes the determined transformation operations to generate the code transformation tool by compiling a workflow in accordance with the one or more code transform operations. The system 204 may also execute the code transformation tool to apply identifier anonymization across various codebases. The system 204 integrates the transformation logic, such as replacing stylized identifiers with generalized identifiers, ensuring consistency, and maintaining semantic correctness. For instance, a code transformation operation of the one or more code transform operations may replace a stylized identifier “UsrSessToken123” with a generalized identifier “SessionToken”, and the code transformation tool may automate the replacement consistently across all instances within the codebase.

FIG. 5C is a diagram that illustrates a flowchart 530 of operations for code normalization in the preliminary code, in accordance with an embodiment of the disclosure. FIG. 5C is explained in conjunction with elements from FIGS. 1, 2, 3, 4A, 4B, 4C, 4D, 5A, and 5B. With reference to FIG. 5C, the flowchart 530 includes exemplary operations 532, 534, 536, 538, 540, and 542, as described herein. The exemplary operations illustrated in the flowchart 530 may be performed by any system, apparatus, or device. Although illustrated with discrete blocks, the exemplary operations associated with one or more blocks of the flowchart 530 may be divided into additional blocks, combined into fewer blocks, or eliminated, depending on the particular implementation.

The flowchart 530 includes at 532, operations for identifying one or more stylized identifiers in the at least one subcode. For example, the one or more stylized identifiers may be identified in the at least one subcode in a manner described previously with reference to the operations at 512 of FIG. 5B. The flowchart 530 also includes at 534, operations for generating a query prompt corresponding to each identified stylized identifier in a manner as described with reference to the operations at 514 of FIG. 5B. The flowchart 530 also includes at 536, operations for querying a large language model (LLM) using the generated query prompt to retrieve potential generalized identifiers. For example, the querying of the LLM may be executed in a manner described previously with reference to the operations at 516 of FIG. 5B. The flowchart 530 also includes at 538, operations for obtaining a generalized identifier for each stylized identifier from the plurality of stylized identifiers in a manner previously described with reference to the operations 518 of FIG. 5B.

The flowchart 530 also includes at 540, operations for determining whether the obtained generalized identifier is suitable for replacement of the stylized identifier. In this regard, if the generalized identifier meets one or more replacement criteria such as semantic correctness, consistency, and contextual appropriateness (i.e., the outcome of the operations at 540 is yes), the flowchart 530 includes at 542, operations for applying the generalized identifier within the subcode. However, if the obtained generalized identifier is deemed unsuitable (i.e., the outcome of the operations at 540 is no), flowchart 530 returns to the operations at 534 for regenerating the query prompt, and the sequence of operations 534, 536, 538, and 540 may be repeated using the regenerated query prompt. Although not shown in FIG. 5C, in an alternate embodiment of the disclosure, if the obtained generalized identifier is deemed unsuitable, the flowchart 530 may return to the operations at 532 for selecting an alternative identifier from the one or more stylized identifiers, and the sequence of operations 532, 534, 536, 538, and 540 may be repeated for the alternative identifier.

FIG. 5D is a diagram that illustrates a flowchart 550 of the operations for comment removal 406 in the preliminary code of FIG. 4A, in accordance with an embodiment of the disclosure. FIG. 5D is explained in conjunction with elements from FIGS. 1, 2, 3, 4A, 4B, 4C, 4D, 5A, 5B, and 5C. With reference to FIG. 5D, the flowchart 550 includes exemplary operations 552, 554, 556, 558/560, and 562, as described herein. The exemplary operations illustrated in the flowchart 550 may be performed by any system, apparatus, or device. Although illustrated with discrete blocks, the exemplary operations may be divided into additional blocks, combined into fewer blocks, or eliminated, depending on the particular implementation.

The flowchart 550 includes at 552, operations for determining at least one documentation comment associated with the at least one subcode based on an abstract syntax tree (AST) associated with the preliminary code. The AST is a structured representation of the source code which allows the system 204 to traverse and analyse different code components, including documentation comments. The system 204 identifies inline comments (e.g., // This calculates total), block comments (e.g., /* This function processes data */), and structured comments (e.g., Javadoc-style comments like /** Returns the sum of two numbers */). The system 204 retrieves the at least one documentation comment by parsing the AST and mapping the comments to the corresponding subcode.

The flowchart 550 also includes at 554, operations for determining one or more code transform operations for the at least one subcode based on the at least one documentation comment. The system 204 evaluates whether the at least one documentation comment accurately describes the subcode. If the at least one documentation comment is outdated, redundant, or unclear, the system 204 defines one or more transformation operations, such as removal, rephrasing, or realignment for the at least one documentation comment. For example, a function may be modified to compute an average instead of a sum, but the comment may still state (// Computes the sum). In such a case, the system 204 identifies the inconsistency and determines a suitable transformation operation to either update or remove the comment.

The flowchart 550 also includes at 556, operations for generating the at least one code transformation tool based on the one or more code transform operations. The system 204 utilizes the determined one or more code transformation operations to generate a code transformation tool (explained briefly in FIG. 4A) which systematically modifies at least one documentation comment associated with the at least one subcode. The code transformation tool is designed to automate comment refinement, such that the at least one documentation comment remains consistent with the underlying code functionality. If a comment is redundant or misaligned with the subcode, the code transformation tool either removes or modifies the comment according to the guidelines and coding standards.

The flowchart 550 also includes at 558, operations for removing the at least one documentation comment from the preliminary code in the manner described previously with reference to FIG. 4A. For example, the system 204 applies the code transformation tool to systematically eliminate documentation comments that are redundant, outdated, or inconsistent with the modified subcode. As another example, the system 204 may identify a function comment that no longer reflects the updated function parameters and execute the code transformation tool to remove the comment to prevent misinformation. Similarly, where a comment merely restates the function name without adding meaningful context, the system 204 executes the code transformation tool to delete the documentation comment for code readability.

In an alternate embodiment, the flowchart 550 includes at 560, operations for generating a rephrased comment for the at least one subcode based on the at least one documentation comment. For example, the system 204 may analyse the documentation comment content and reformulate the documentation comment to improve clarity, correctness, and alignment with the updated subcode. In this way, the system 204 ensures the rephrased documentation comment accurately reflects the functionality of the subcode while adhering to documentation best practices. For example, where an original comment states, “This function processes data”, but the function has been modified to include error handling, the system 204 may rephrase the comment as, “This function processes data and includes error handling for invalid inputs.”

The flowchart 550 also includes at 562, operations for updating the preliminary code based on the rephrased comment. The system 204 updates the preliminary code by removing the outdated or unclear documentation comment or replacing the outdated or unclear documentation comment with the rephrased comment. For example, if the original comment incorrectly describes a sorting function as using bubble sort, but the function actually employs Python's built-in Timsort, the system 204 modifies the comment to accurately reflect the correct sorting algorithm.

FIG. 5E is a diagram that illustrates a flowchart 565 of the operations for code documentation 412 of FIG. 4A, in accordance with an embodiment of the disclosure. FIG. 5E is explained in conjunction with elements from FIGS. 1, 2, 3, 4A, 4B, 4C, 4D, 5A, 5B, 5C, and 5D. With reference to FIG. 5E, the flowchart 565 includes exemplary operations 570, 572, 574, 576, and 578, as described herein. The exemplary operations illustrated in the flowchart 565 may be performed by any system, apparatus, or device. Although illustrated with discrete blocks, the exemplary operations associated with one or more blocks of the flowchart 565 may be divided into additional blocks, combined into fewer blocks, or eliminated, depending on the particular implementation.

The flowchart 565 includes at 570, operations for obtaining preliminary code documentation data associated with the at least one subcode. The system 204 may retrieve the preliminary code documentation from source files, version control repositories, or metadata stored in a memory 208 or storage 216. The first code documentation data may include function descriptions, inline comments, and module-level explanations which provide context for the corresponding subcode.

The flowchart 565 includes at 572, operations for generating augmented code documentation data for the at least one subcode based on a large language model (LLM) and the preliminary code documentation data. The system 204 may formulate a query prompt based on the obtained preliminary code documentation data and context information of the at least one subcode. The system 204 queries the LLM using the formulated query prompt to generate augmented code documentation data. The augmented code documentation data may include additional explanations, improved formatting, or missing details inferred from function parameters and usage patterns. For example, if a function lacks parameter descriptions, the LLM may generate appropriate explanations by analysing variable names and data flow.

The flowchart 565 also includes at 574, operations for determining one or more code transform operations for the at least one subcode based on the augmented code documentation data and the preliminary code documentation data. The system 204 analyses the discrepancies between the preliminary code documentation data and the augmented documentation data to determine the one or more code transform operations. For example, if the at least one subcode includes outdated terminology, incomplete descriptions, or missing references, the system 204 determines the transformation operations to align the documentation with best practice guidelines. The one or more code transform operations include updating the terminology, rephrasing the code documentation, generating detailed description for function parameters, specifying data types and reformatting inline comments.

The flowchart 565 also includes at 576, operations for generating the at least one code transformation tool based on the one or more code transform operations. The system 204 may compile the determined one or more code transformation operations to generate the code transformation tool as a workflow (explained in detail with reference to FIG. 4A), which systematically modifies the preliminary code documentation data associated with the at least one subcode. The code transformation tool may automate documentation refinement, preventing inconsistencies between the first code documentation data and the underlying subcode functionality. When a code transformation operation of the one or more code transform operations indicates the need for terminology updates, clarification of function descriptions, or restructuring of explanations, the system 204 executes the code transformation tool to implement the modifications accordingly. For example, where the preliminary documentation data may include inconsistent terminology, such as using “fetch data” in one part and “retrieve data” elsewhere, the system 204 executes the code transformation tool to standardize the phrasing. For example, instead of “Processes user input,” the tool may modify it to “Validates and sanitizes user input before database storage.”

The flowchart 565 also includes at 578, operations for updating the preliminary code documentation data based on the augmented code documentation data. The system 204 updates the preliminary code documentation data by incorporating the modifications determined in the augmented code documentation data. For example, if the preliminary code documentation describes a function as “retrieves user details from the database”, and the augmented documentation specifies additional behaviour such as caching mechanisms or error handling, the system 204 may update the description of the function to “retrieves user details from the database, utilizing a caching layer to optimize performance and handling invalid queries with predefined error responses.”

FIG. 6 is a diagram that illustrates a flowchart 600 of operations for correctness check in a normalized code, in accordance with an embodiment of the disclosure. FIG. 6 is explained in conjunction with elements from FIGS. 1, 2, 3 4A, 4B, 4C, 4D, 5A, 5B, 5C, 5D, and 5E. With reference to FIG. 6, the flowchart 600 includes exemplary operations 602, 604, 606, and 608, as described herein. The exemplary operations 602, 604, 606, and 608 may be performed by any system, apparatus, or device. Although illustrated with discrete blocks, the exemplary operations 602, 604, 606, and 608 associated with one or more blocks of the flowchart 600 may be divided into additional blocks, combined into fewer blocks, or eliminated, depending on the particular implementation.

The flowchart 600 includes at 602, operations for applying at least one code transformation tool to the preliminary code. In this regard, the system 204 may obtain the at least one code transformation tool in the manner described with any of FIGS. 5A, 5B, 5D, and 5E or a combination thereof. The system 204 applies the at least one transformation tool which modifies the preliminary code by implementing the one or more code transformation operations of the at least one transformation tool. The one or more code transformation operations may include at least one of replacing identifiers with generalized versions, restructuring code blocks, or ensuring adherence to best practice guidelines. The system 204 may execute the at least one code transformation tool to systematically scan the preliminary code and modify the preliminary code to achieve the intended changes.

The flowchart 600 also includes at 604, operations for generating a normalized code based on the applying of the at least one code transformation tool to the preliminary code. The system 204 generates a normalized code based on the one or more code transformation operations of the code transformation tool. The normalized code maintains syntactic correctness, structural integrity and intended functionality while conforming to anonymization or best practice requirements. The system 204 evaluates the normalized code to verify, all modifications are incorporated, and no inconsistencies or errors are introduced during the transformation.

The flowchart 600 also includes at 606, operations for determining whether the normalized code is anonymized. In this regard, the system 204 determines if the applied transformations have sufficiently removed or replaced sensitive elements from the preliminary code such that the code meets the anonymization standards. If the normalized code is successfully anonymized (i.e., the outcome of the operations at 606 is yes), the flowchart 600 proceeds to the operations at 608 for outputting the normalized code. However, if the normalized code does not meet the anonymization standards (i.e., the outcome of the operations at 606 is no), the flowchart 600 returns to the operations at 602 for reapplying at least one code transformation tool to the preliminary code by modifying the transformation strategy to refine the anonymization. The iterative approach may continue until the normalized code satisfies the anonymization constraints. The system 204 finalizes the output, making the normalized code available for further use.

Additionally, in an embodiment of the disclosure, if the normalized code is not anonymized according to the anonymized standards after a predefined number of attempts of applying the at least one code transformation tool, the system 204 may additionally or optionally remove or undo the code modifications applied during the transformation attempts and reevaluates the normalized code. If the failure persists after a predefined number of modification removals, the system 204 declares an anomaly indicating that the complete anonymization of the preliminary code may not be achievable. In such cases, the flowchart 600 may be terminated with an indication that the code may not be fully anonymized, prompting further manual review or alternative anonymization strategies.

FIG. 7 is a diagram that illustrates an example use case for normalization and anonymization of computer program code, in accordance with an embodiment of the disclosure. FIG. 7 is explained in conjunction with elements from FIGS. 1, 2, 3 4A, 4B, 4C, 4D, 5A, 5B, 5C, 5D, 5E, and 6. FIG. 7 illustrates an environment 700 for implementing code normalization and anonymization of the computer program code to improve consistency and readability of the computer program code. The environment 700 includes an input code 702, a system 704 (such as the system 204 of FIG. 2), and an output code 706. The system 704 receives the input code 702 which may be inconsistent or may include non-standard naming conventions. The system 704 processes the input code 702 in accordance with the framework described with reference to FIG. 3 to generate the normalized output code 706. The normalization of the input code 702 enhances code maintainability, and the normalized output code 706 adheres to defined coding standards. As an example, the input code 702 may include a function definition with a non-standard or inconsistent naming convention as:

def superpippo_mangia_una_mela( ):  # Function implementation  pass

The system 704 receives the input code 702 and applies code transformation tool to modify the function name and format in accordance with predefined coding standards. The system 704 may analyze the input code 702 using machine learning models, natural language processing (NLP), and pattern recognition algorithms to identify deviations from coding conventions. Based on the analysis, the system 704 generates a revised function definition

 def eat_apple( ): # Function implementation pass

that is applied to the input code 702 to generate the normalized output code 706, reflecting a simplified and consistent naming convention. The normalized output code 706 is a normalized version of the input code 702 and retains the contextual semantics of the input code 702. The transformation in the described input code 702 is based on the linguistic meaning of the function name where the Italian word “mangia” translates to “eat” in English, and “una_mela” translates to “an apple.” By applying the code transformation tool, as explained in FIG. 4A, the system 704 generalizes the function name.

The system 704 operates by executing multiple processing stages. The input code 702 may be parsed to identify syntactic and semantic patterns. The system 704 may reference the guideline generation module 208B and the guideline implementation module 208C to compare the identified patterns with established coding guidelines. The code normalization module 208E generates suggestions for renaming and formatting based on the guidelines. The system 704 may also leverage a large language model (LLM) to generate intelligent suggestions for naming consistency and code structure improvements. The LLM analyses the context of the function and provides suggestions aligned with natural language patterns and coding best practices. The LLM-generated suggestions align with the best practices module, and the system 704 applies the changes and updates the input code 702 accordingly.

The system 704 may also validate the output code 706 using code compilation and static analysis tools to ensure that the normalized code is functionally equivalent to the original input code 702. The system 704 may also perform version control and rollback operations, if the normalized code introduces functional issues. The system 704 outputs the finalized normalized code as the output code 706.

In various embodiments, the system 704 may support normalization across different programming languages and coding frameworks. For example, the system 704 may handle normalization for Python, Java, and C++ codebases, adjusting the naming conventions and formatting rules accordingly. Additionally, the LLM may be integrated within the memory 208 of the system 204 or may be invoked as a third-party service from platforms such as OpenAI's GPT, Google's Gemini, or Anthropic's Claude.

In this way, various example embodiments of the disclosure provide a technical solution to the problem of reducing and mitigating stylometry and related privacy risks associated with computer program code for software development and execution. By providing a code transformation tool specific to the computer programming language of the computer program code, various embodiments lead to generation of attack-immune program codes which can be used for sensitive applications.

The descriptions of the various embodiments of the disclosure have been presented for purposes of illustration but are not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen to best explain the principles of the embodiments, the practical application or technical improvement over technologies found in the marketplace, or to enable one of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A computer-implemented method, comprising:

obtaining, by a computer, a preliminary code in a computer programming language;
identifying, by the computer, at least one subcode in the preliminary code that quantifies an authorship attribution of the preliminary code, wherein the authorship attribution corresponds to identity information associated with a source of the preliminary code;
determining, by the computer, at least one code transformation tool specific to the computer programming language based on the at least one subcode;
applying, by the computer, the at least one code transformation tool to the preliminary code, wherein the at least one code transformation tool anonymizes the authorship attribution of the preliminary code;
generating, by the computer, a normalized code based on the applying of the at least one code transformation tool to the preliminary code; and
outputting, by the computer, the normalized code.

2. The computer-implemented method of claim 1, wherein the identifying of the at least one subcode in the preliminary code comprises:

fragmenting, by the computer, the preliminary code into a plurality of code snippets based on an abstract syntax tree associated with the preliminary code;
determining, by the computer, one or more guidelines specific to the computer programming language;
parsing, by the computer, each code snippet of the plurality of code snippets based on the one or more guidelines;
determining, by the computer, at least one code snippet of the plurality of code snippets that violates the one or more guidelines based on the parsing of each code snippet of the plurality of code snippets; and
outputting, by the computer, the at least one code snippet as the at least one subcode.

3. The computer-implemented method of claim 1, wherein the determining of the at least one code transformation tool comprises:

obtaining, by the computer, one or more guidelines specific to the computer programming language;
selecting, by the computer, at least one candidate guideline of the one or more guidelines, wherein the at least one subcode violates the at least one candidate guideline;
determining, by the computer, one or more code transform operations for the at least one subcode based on the at least one candidate guideline; and
generating, by the computer, the at least one code transformation tool based on the one or more code transform operations.

4. The computer-implemented method of claim 1, wherein the determining of the at least one code transformation tool comprises:

determining, by the computer, one or more stylized identifiers in the at least one subcode, wherein each stylized identifier of the one or more stylized identifiers corresponds to at least one of a syntax style of an author associated with the at least one subcode, or a semantic style of the author;
generating, by the computer, a query prompt corresponding to each stylized identifier of the one or more stylized identifiers;
querying, by the computer, a large language model based on the query prompt corresponding to each stylized identifier of the one or more stylized identifiers;
obtaining, by the computer, a generalized identifier corresponding to each stylized identifier of the one or more stylized identifiers based on the querying;
determining, by the computer, one or more code transform operations for the at least one subcode based on the generalized identifier corresponding to each stylized identifier of the one or more stylized identifiers; and
generating, by the computer, the at least one code transformation tool based on the one or more code transform operations.

5. The computer-implemented method of claim 1, wherein the determining of the at least one code transformation tool comprises:

determining, by the computer, at least one documentation comment associated with the at least one subcode based on an abstract syntax tree associated with the preliminary code, wherein the at least one documentation comment comprises information associated with the authorship attribution of the preliminary code;
determining, by the computer, one or more code transform operations for the at least one subcode based on the at least one documentation comment; and
generating, by the computer, the at least one code transformation tool based on the one or more code transform operations.

6. The computer-implemented method of claim 5, wherein the applying of the at least one code transformation tool to the preliminary code comprises removing, by the computer, the at least one documentation comment from the preliminary code.

7. The computer-implemented method of claim 5, wherein the applying of the at least one code transformation tool to the preliminary code comprises:

generating, by the computer, a rephrased comment for the at least one subcode based on the at least one documentation comment, wherein the rephrased comment is anonymized with respect to the authorship attribution of the preliminary code; and
updating, by the computer, the preliminary code based on the rephrased comment.

8. The computer-implemented method of claim 1, wherein the determining of the at least one code transformation tool comprises:

obtaining, by the computer, preliminary code documentation data associated with the at least one subcode;
generating, by the computer, augmented code documentation data for the at least one subcode based on a large language model and the preliminary code documentation data;
determining, by the computer, one or more code transform operations for the at least one subcode based on the augmented code documentation data and the preliminary code documentation data; and
generating, by the computer, the at least one code transformation tool based on the one or more code transform operations.

9. The computer-implemented method of claim 8, wherein the applying of the at least one code transformation tool to the preliminary code comprises updating, by the computer, the preliminary code documentation data based on the augmented code documentation data.

10. A computer system, comprising:

a processor set;
one or more computer-readable storage media; and
program instructions stored on the one or more computer-readable storage media, the program instructions executable by the processor set to cause the processor set to: obtain a preliminary code in a computer programming language; identify at least one subcode in the preliminary code that quantifies an authorship attribution of the preliminary code, wherein the authorship attribution corresponds to identity information associated with a source of the preliminary code; determine at least one code transformation tool specific to the computer programming language based on the at least one subcode; apply the at least one code transformation tool to the preliminary code, wherein the at least one code transformation tool anonymizes the authorship attribution of the preliminary code; generate a normalized code based on an application of the at least one code transformation tool to the preliminary code, wherein the normalized code retains context of the preliminary code; and output the normalized code.

11. The computer system of claim 10, wherein the identifying of the at least one subcode comprises:

fragmentation of the preliminary code into a plurality of code snippets based on an abstract syntax tree associated with the preliminary code;
determination of one or more guidelines specific to the computer programming language;
determination of at least one code snippet of the plurality of code snippets that violates the one or more guidelines; and
output of the at least one code snippet as the at least one subcode.

12. The computer system of claim 10, wherein the determination of the at least one code transformation tool comprises:

obtainment of one or more guidelines specific to the computer programming language;
selection of at least one candidate guideline of the one or more guidelines, wherein the at least one subcode violates the at least one candidate guideline;
determination of one or more code transform operations for the at least one subcode based on the at least one candidate guideline; and
generation of the at least one code transformation tool based on the one or more code transform operations.

13. The computer system of claim 10, wherein the determination of the at least one code transformation tool comprises:

determination of one or more stylized identifiers in the at least one subcode, wherein each stylized identifier of the one or more stylized identifiers corresponds to at least one of a syntax style of an author associated with the at least one subcode, or a semantic style of the author;
generation of a query prompt corresponding to each stylized identifier of the one or more stylized identifiers;
an operation to query a large language model based on the query prompt corresponding to each stylized identifier of the one or more stylized identifiers;
obtainment of a generalized identifier corresponding to each stylized identifier of the one or more stylized identifiers based on the query of the large language model;
determination of one or more code transform operations for the at least one subcode based on the generalized identifier corresponding to each stylized identifier of the one or more stylized identifiers; and
generation of the at least one code transformation tool based on the one or more code transform operations.

14. The computer system of claim 10, wherein the determination of the at least one code transformation tool comprises:

determination of at least one documentation comment associated with the at least one subcode based on an abstract syntax tree associated with the preliminary code, wherein the at least one documentation comment comprises information associated with the authorship attribution of the preliminary code;
determination of one or more code transform operations for the at least one subcode based on the at least one documentation comment; and
generation of the at least one code transformation tool based on the one or more code transform operations.

15. The computer system of claim 14, wherein the application of the at least one code transformation tool to the preliminary code comprises removal of the at least one documentation comment from the preliminary code.

16. The computer system of claim 14, wherein the application of the at least one code transformation tool to the preliminary code comprises:

generation of a rephrased comment for the at least one subcode based on the at least one documentation comment, wherein the rephrased comment is anonymized with respect to the authorship attribution of the preliminary code; and
update of the preliminary code based on the rephrased comment.

17. The computer system of claim 10, wherein the determination of the at least one code transformation tool comprises:

obtainment of preliminary code documentation data associated with the at least one subcode;
generation of augmented code documentation data for the at least one subcode based on a large language model and the preliminary code documentation data;
determination of one or more code transform operations for the at least one subcode based on the augmented code documentation data and the preliminary code documentation data; and
generation of the at least one code transformation tool based on the one or more code transform operations.

18. The computer system of claim 17, wherein the application of the at least one code transformation tool to the preliminary code comprises update of the preliminary code documentation data based on the augmented code documentation data.

19. A computer-program product for code normalization, the computer-program product comprising:

one or more computer-readable storage media; and
program instructions stored on the one or more computer-readable storage media to perform operations comprising: obtaining a preliminary code in a computer programming language; identifying at least one subcode in the preliminary code that quantifies an authorship attribution of the preliminary code, wherein the authorship attribution corresponds to identity information associated with a source of the preliminary code; determining at least one code transformation tool specific to the computer programming language based on the at least one subcode; applying the at least one code transformation tool to the preliminary code, wherein the at least one code transformation tool anonymizes the authorship attribution of the preliminary code; generating a normalized code based on the applying of the at least one code transformation tool to the preliminary code; and outputting the normalized code.

20. The computer-program product of claim 19, wherein the identifying of the at least one subcode in the preliminary code comprises:

fragmenting the preliminary code into a plurality of code snippets based on an abstract syntax tree associated with the preliminary code;
determining one or more guidelines specific to the computer programming language;
parsing each code snippet of the plurality of code snippets based on the one or more guidelines;
determining at least one code snippet of the plurality of code snippets that violates the one or more guidelines based on the parsing of each code snippet of the plurality of code snippets; and
outputting the at least one code snippet as the at least one subcode.
Patent History
Publication number: 20260377571
Type: Application
Filed: May 22, 2025
Publication Date: Nov 26, 2026
Inventors: Giandomenico Cornacchia (Dublin), Liubov Nedoshivina (Dublin), Anisa Halimi (Dublin), Kieran Fraser (Dublin), Giulio Zizzo (Dublin), Stefano BRAGHIN (Dublin), Mark PURCELL (Naas)
Application Number: 19/215,459
Classifications
International Classification: G06F 21/62 (20130101); G06F 21/54 (20130101);