Note :

Note :

Tuesday, April 14, 2020

Evolving Logic Until Pass Tests Automatically

Automating the automation is still a challenge, but in some cases it's possible under certain situations.

In 2017 I created logic-evolver, one of my experiments for creating logic automatically or better said evolving logic automatically.

In some way, the computer create its own program that satisfies a set of tests defined by a human.

https://github.com/sha0coder/logic-evolver

This implementation in rust, contains a fast cpu emulator than can execute one million instructions in less than two seconds. And a simple genetic algorithm to do the evolution.


Here we create the genetic algorithm, and configure a population of 1000 individuals, and the top 5 to crossover. We run the genetic algorithm with 500 cycles maximum.
Note that in this case the population are programs initially random until take the correct shape.


An evaluation function is provided in the run method as well, and looks like this:




The evaluation function receives a CPU object, to compute a test you need to set the initial parameters, run the program and set a scoring regarding the return value.


Related posts
  1. Hacking Tools For Windows
  2. Hacking Tools And Software
  3. Hacker Tools Free
  4. Pentest Recon Tools
  5. Pentest Tools Linux
  6. Hack Tools For Games
  7. Pentest Tools Review
  8. Hacking App
  9. Hacker
  10. Hacking Tools Pc
  11. Github Hacking Tools
  12. Hacker Tools Github
  13. Hacking Tools Windows
  14. Termux Hacking Tools 2019
  15. Hacking Tools Windows
  16. Pentest Tools Website
  17. Hacking Tools Usb
  18. Pentest Tools Website Vulnerability
  19. Github Hacking Tools
  20. Pentest Tools Github
  21. Hack Tools
  22. Nsa Hacker Tools
  23. Top Pentest Tools
  24. Hacker Tools Free Download
  25. Pentest Tools Online

No comments:

Post a Comment