Thursday, April 16, 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 word
  1. Tools For Hacker
  2. Hacking Tools Name
  3. Computer Hacker
  4. Hacking Tools Software
  5. Hacking Tools Usb
  6. Pentest Tools Download
  7. Hacks And Tools
  8. Pentest Tools Port Scanner
  9. Hacker Tools For Windows
  10. Easy Hack Tools
  11. Pentest Tools Linux
  12. How To Install Pentest Tools In Ubuntu
  13. Hack Tools Pc
  14. Hacker Search Tools
  15. Beginner Hacker Tools
  16. Hack Tools Download
  17. Hacking Apps
  18. Tools 4 Hack
  19. Hack Tools For Mac
  20. Hack Tools For Games
  21. Hack Tools For Games
  22. Hacking Tools 2020
  23. Pentest Tools Subdomain
  24. Github Hacking Tools
  25. Hack Tools For Games
  26. Hacking Tools 2019
  27. Hacking Tools Windows
  28. Hacking App

No comments:

Post a Comment