Thursday, January 18, 2024

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.


Continue reading
  1. New Hack Tools
  2. Easy Hack Tools
  3. Tools Used For Hacking
  4. Pentest Tools Website Vulnerability
  5. Hacker Tools List
  6. Hackrf Tools
  7. Pentest Box Tools Download
  8. Hacking Tools For Pc
  9. Blackhat Hacker Tools
  10. Hacker Tools For Windows
  11. Hacker Tools List
  12. Nsa Hack Tools Download
  13. Hacker Tool Kit
  14. Hack Tools For Mac
  15. Hacker
  16. Hackers Toolbox
  17. Hacker Tools Software
  18. Hackrf Tools
  19. Ethical Hacker Tools
  20. Install Pentest Tools Ubuntu
  21. Hacking Tools For Pc
  22. Hacker Tools For Pc
  23. Hacking Tools Pc
  24. Hack Tools For Ubuntu
  25. Hacking Tools Pc
  26. Hackrf Tools
  27. Best Hacking Tools 2019
  28. Pentest Tools Download
  29. Hacker Tools Windows
  30. Hacking Tools Github
  31. How To Hack
  32. Hacking Tools For Windows Free Download
  33. Underground Hacker Sites
  34. Pentest Tools Port Scanner
  35. New Hacker Tools
  36. Hacking Tools Usb
  37. Pentest Tools Nmap
  38. Hack Tools For Games
  39. Pentest Tools Nmap
  40. Pentest Reporting Tools
  41. World No 1 Hacker Software
  42. Pentest Tools For Mac
  43. Hackrf Tools
  44. Pentest Tools Website Vulnerability
  45. Hacker Tools Software
  46. Hacking Tools Github
  47. Android Hack Tools Github
  48. Hacker Tool Kit
  49. Kik Hack Tools
  50. Hack And Tools
  51. Pentest Tools Tcp Port Scanner
  52. What Is Hacking Tools
  53. What Is Hacking Tools
  54. Beginner Hacker Tools
  55. Hack Tools
  56. Best Hacking Tools 2019
  57. Easy Hack Tools
  58. Best Hacking Tools 2020
  59. Hacking Tools Mac
  60. Hack Tools For Mac
  61. Pentest Tools Windows

No comments:

Post a Comment