Green Web Hosting! This site hosted by DreamHost.

Monday, April 13

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. Termux Hacking Tools 2019
  2. Hack Tools 2019
  3. Hacks And Tools
  4. Hacking Tools
  5. Hacking Tools Windows 10
  6. Pentest Tools For Windows
  7. Free Pentest Tools For Windows
  8. Pentest Tools Bluekeep
  9. Hak5 Tools
  10. Hack Tool Apk No Root
  11. Pentest Tools Android
  12. Github Hacking Tools
  13. Pentest Tools Find Subdomains
  14. Hack Website Online Tool
  15. Hacker Tools For Mac
  16. Pentest Tools Free
  17. Hacking Tools Windows 10
  18. Ethical Hacker Tools
  19. Hacker Tools Free Download
  20. Pentest Box Tools Download
  21. Hacking Apps
  22. Kik Hack Tools
  23. Pentest Tools Online
  24. Hacking Tools Mac

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home