IP Library Granted Patent US 12,585,437
Granted Patent B2
US 12,585,437 · App. 18/378,797 · Granted Mar 24, 2026

System and method for a machine learning source code generation via a holochain network

Inventors: Shailendra Singh (Thane West, IN); Ankit Dholakiya (Ahmedabad, IN); Arup Francis (Chennai, IN)
Assignee: BANK OF AMERICA CORPORATION
G06F8/33G06F11/3608G06N20/00
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,585,437
App. No.
18/378,797
Granted
Mar 24, 2026
Kind
B2
Abstract

Systems, computer program products, and methods are described herein for a decentralized machine learning source code generation framework via a holochain network. The present invention is configured to receive a predetermined code criteria, receive a new code segment from an editor on an endpoint device, retrieve characteristics of the new code segment, determine, using a trained machine learning model, at least one subsequent code segment, based on at least the characteristics of the new code segment, determine, using an evaluation engine, at least one score of the subsequent code segment, wherein the at least one score is associated with the predetermined code criteria, and transmit to the editor of the endpoint device for displaying a predetermined number of the at least one subsequent code segments above a predetermined threshold of the at least one score.

Claims (76)

1 . A system for a decentralized machine learning source code generation framework via a holochain network, the system comprising:

a processing device;

a non-transitory storage device containing instructions when executed by the processing device, causes the processing device to perform the steps of:

receiving a predetermined code criteria of at least one selected from a group consisting of performance, security, complexity and scalability;

receiving a new code segment from an integrated development environment executing on an endpoint device;

retrieving characteristics of the new code segment;

determining, using a trained machine learning model, at least one subsequent code segment, based on at least the characteristics of the new code segment;

determining, using an evaluation engine, at least one score of the subsequent code segment, wherein the at least one score is associated with the predetermined code criteria; and

automatically transmitting, over a network interface, a predetermined number of the at least one subsequent code segments above a predetermined threshold of the at least one score to the integrated development environment executing on the endpoint device for display,

wherein the performance is determined based on a minimum number of CPU cycles needed to execute the subsequent code segment,

wherein the security is determined based on a data flow analysis of the subsequent code segment,

wherein the complexity is determined based on a complexity measure of the subsequent code segment,

wherein the scalability is determined based on scalability performance testing the subsequent code segment.

2 . The system of claim 1 , wherein executing the instructions further causes the processing device to perform the steps of:

retrieving, from a distributed holochain network, archived code segments; and

generating a training dataset comprising the archived code segments, characteristics of each archived data segment, and a previous code segment used immediately prior to the archived data segment.

3 . The system of claim 2 , wherein the characteristics of each archived data segment comprises at least one selected from a group consisting of the performance, the security, the complexity, and the scalability.

4 . The system of claim 3 , wherein executing the instructions further causes the processing device to perform the steps of:

generating the trained machine learning model by training a machine learning model using the training dataset.

5 . The system of claim 1 , wherein executing the instructions further causes the processing device to perform the steps of:

generating, using a clustering engine of the machine learning model, clusters of new code segments based on the predetermined code criteria.

6 . The system of claim 1 , wherein executing the instructions further causes the processing device to perform the steps of:

receiving, from the endpoint device, a selection of the at least one subsequent code segment; and

acquiring the at least one subsequent code segment by a component acquisition engine, wherein the at least one subsequent code is distributed across a distributed holochain network.

7 . The system of claim 1 , wherein executing the instructions further causes the processing device to perform the steps of:

receiving, from the endpoint device, a declining of the at least one subsequent code segment;

receiving, from the endpoint device, an alternatively generated code segment; and

acquiring the alternatively generated code segment, wherein the alternatively generated code segment is distributed across a distributed holochain network.

8 . A computer program product for a decentralized machine learning source code generation framework via a holochain network, the computer program product comprising a non-transitory computer-readable medium comprising code causing an apparatus to:

receive a predetermined code criteria of at least one selected from a group consisting of performance, security, complexity and scalability;

receive a new code segment from an integrated development environment executing on an endpoint device;

retrieve characteristics of the new code segment;

determine, using a trained machine learning model, at least one subsequent code segment, based on at least the characteristics of the new code segment;

determine, using an evaluation engine, at least one score of the subsequent code segment, wherein the at least one score is associated with the predetermined code criteria; and

automatically transmit, over a network interface, a predetermined number of the at least one subsequent code segments above a predetermined threshold of the at least one score to the integrated development environment executing on the endpoint device for display,

wherein the performance is determined based on a minimum number of CPU cycles needed to execute the subsequent code segment,

wherein the security is determined based on a data flow analysis of the subsequent code segment,

wherein the complexity is determined based on a complexity measure of the subsequent code segment,

wherein the scalability is determined based on scalability performance testing the subsequent code segment.

9 . The computer program product of claim 8 , wherein the code further causes the apparatus to:

retrieve, from a distributed holochain network, archived code segments; and

generate a training dataset comprising the archived code segments, characteristics of each archived data segment, and a previous code segment used immediately prior to the archived data segment.

10 . The computer program product of claim 9 , wherein the characteristics of each archived data segment comprises at least one selected from a group consisting of the performance, the security, the complexity, and the scalability.

11 . The computer program product of claim 10 , wherein the code further causes the apparatus to:

generate the trained machine learning model by training a machine learning model using the training dataset.

12 . The computer program product of claim 8 , wherein the code further causes the apparatus to:

generate, using a clustering engine of the machine learning model, clusters of new code segments based on the predetermined code criteria.

13 . The computer program product of claim 8 , wherein the code further causes the apparatus to:

receive, from the endpoint device, a selection of the at least one subsequent code segment; and

acquire the at least one subsequent code segment by a component acquisition engine, wherein the at least one subsequent code is distributed across a distributed holochain network.

14 . The computer program product of claim 8 , wherein the code further causes the apparatus to:

receive, from the endpoint device, a declining of the at least one subsequent code segment;

receive, from the endpoint device, an alternatively generated code segment; and

acquire the alternatively generated code segment, wherein the alternatively generated code segment is distributed across a distributed holochain network.

15 . A method for a decentralized machine learning source code generation framework via a holochain network, the method comprising:

receiving a predetermined code criteria of at least one selected from a group consisting of performance, security, complexity and scalability;

receiving a new code segment from an integrated development environment executing on an endpoint device;

retrieving characteristics of the new code segment;

determining, using a trained machine learning model, at least one subsequent code segment, based on at least the characteristics of the new code segment;

determining, using an evaluation engine, at least one score of the subsequent code segment, wherein the at least one score is associated with the predetermined code criteria; and

automatically transmitting, over a network interface, a predetermined number of the at least one subsequent code segments above a predetermined threshold of the at least one score to the integrated development environment executing on the endpoint device for display,

wherein the performance is determined based on a minimum number of CPU cycles needed to execute the subsequent code segment,

wherein the security is determined based on a data flow analysis of the subsequent code segment,

wherein the complexity is determined based on a complexity measure of the subsequent code segment,

wherein the scalability is determined based on scalability performance testing the subsequent code segment.

16 . The method of claim 15 , wherein the method further comprises:

retrieving, from a distributed holochain network, archived code segments; and

generating a training dataset comprising the archived code segments, characteristics of each archived data segment, and a previous code segment used immediately prior to the archived data segment.

17 . The method of claim 16 , wherein the characteristics of each archived data segment comprises at least one selected from a group consisting of the performance, the security, the complexity, and the scalability.

18 . The method of claim 17 , wherein the method further comprises:

generating the trained machine learning model by training a machine learning model using the training dataset.

19 . The method of claim 15 , wherein the method further comprises:

generating, using a clustering engine of the machine learning model, clusters of new code segments based on the predetermined code criteria.

20 . The method of claim 15 , wherein the method further comprises:

receiving, from the endpoint device, a selection of the at least one subsequent code segment; and

acquiring the at least one subsequent code segment by a component acquisition engine, wherein the at least one subsequent code is distributed across a distributed holochain network.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 11, 2023
From: SINGH, SHAILENDRA; DHOLAKIYA, ANKIT; FRANCIS, ARUP
To: BANK OF AMERICA CORPORATION
Reel/Frame 065182/0715 →
Continuity (1)
Related Publication 20250123813A1 · Apr 17, 2025
References Cited (30)
US 11416224B1 · Kaitha · 2022 [cited by applicant]
US 11429858B2 · Cmielowski et al. · 2022 [cited by applicant]
US 11461081B2 · Zhang et al. · 2022 [cited by applicant]
US 11537914B2 · Khawaja · 2022 [cited by examiner]
US 11681510B2 · Dolby et al. · 2023 [cited by applicant]
US 11748065B2 · Evangelopoulos et al. · 2023 [cited by applicant]
US 11836467B2 · Allamanis et al. · 2023 [cited by applicant]
US 11893384B2 · Ni et al. · 2024 [cited by applicant]
US 11899566B1 · Singh et al. · 2024 [cited by applicant]
US 11947935B2 · Clement et al. · 2024 [cited by applicant]
US 20190332921A1 · Rodriguez · 2019 [cited by examiner]
US 20190347424A1 · Bezzi · 2019 [cited by examiner]
US 20200250530A1 · Shen · 2020 [cited by examiner]
US 20210192321A1 · Zhang · 2021 [cited by applicant]
US 20210304073A1 · Li · 2021 [cited by examiner]
US 20210342490A1 · Briancon · 2021 [cited by examiner]
US 20210390478A1 · Krishnamoorthy · 2021 [cited by examiner]
US 20220398074A1 · Dolby et al. · 2022 [cited by applicant]
US 20230162040A1 · Clement et al. · 2023 [cited by applicant]
US 20230164336A1 · Cricri et al. · 2023 [cited by applicant]
US 20230281318A1 · Clement et al. · 2023 [cited by applicant]
US 20230297345A1 · Khalfan · 2023 [cited by examiner]
US 20240134614A1 · Bakshi et al. · 2024 [cited by applicant]
US 20240184555A1 · De Toni et al. · 2024 [cited by applicant]
Dehaerne, Enrique, et al. “Code generation using machine learning: A systematic review.” Ieee Access 10 (2022): pp. 82434-82455. (Year: 2022). [cited by examiner]
Karaarslan, Enis, and Enis Konacaklι. “Data storage in the decentralized world: Blockchain and derivatives.” arXiv preprint arXiv: 2012.10253 (2020). pp. 37-69 (Year: 2020). [cited by examiner]
Zaman, Shakila, et al. “Thinking out of the blocks: Holochain for distributed security in IoT healthcare.” IEEE Access 10 (2022): pp. 37064-37081. (Year: 2022). [cited by examiner]
Bellagarda, Jagger S., and Adnan M. Abu-Mahfouz. “An updated survey on the convergence of distributed ledger technology and artificial intelligence: Current state, major challenges and future direction.” IEEe Access 10 … [cited by examiner]
Kyak, Yavuz Selim, et al. “Holochain: a novel technology without scalability bottlenecks of blockchain for secure data exchange in health professions education.” Discover Education 1.1 (2022): pp. 1-9. (Year: 2022). [cited by examiner]
Kumar, Sushil. “A review on cyber-physical systems based on blockchain: Possibilities and challenges.” 2021 IEEE 6th International Conference on Computing, Communication and Automation (ICCCA). IEEE, 2021. pp. 691-696 (… [cited by examiner]