Friday, May 26, 2023

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 articles


  1. Hacking Tools Free Download
  2. Hack Tools For Games
  3. Hacker Tools Hardware
  4. What Are Hacking Tools
  5. Pentest Tools Tcp Port Scanner
  6. Github Hacking Tools
  7. Hacking Tools Name
  8. Hacker Tools Linux
  9. Hacking Tools For Windows Free Download
  10. Hacks And Tools
  11. Pentest Tools Free
  12. Hacking Tools Kit
  13. Hacks And Tools
  14. Hacking Tools Software
  15. What Are Hacking Tools
  16. Hacker Tools For Windows
  17. Hacker Tools For Mac
  18. Hack Website Online Tool
  19. Pentest Tools Tcp Port Scanner
  20. Growth Hacker Tools
  21. Pentest Tools Online
  22. Hacking Tools And Software
  23. Ethical Hacker Tools
  24. Pentest Tools Website Vulnerability
  25. Pentest Tools Subdomain
  26. How To Make Hacking Tools
  27. Pentest Tools Find Subdomains
  28. Underground Hacker Sites
  29. What Is Hacking Tools
  30. Hack Rom Tools
  31. Hacker Tools Free
  32. Hacking Tools 2020
  33. Install Pentest Tools Ubuntu
  34. Pentest Box Tools Download
  35. Nsa Hack Tools
  36. Hacker Tools List
  37. Hack Tools 2019
  38. Pentest Tools Url Fuzzer
  39. New Hacker Tools
  40. Hacker Tools For Mac
  41. Pentest Tools Nmap
  42. Hacker Tools For Pc
  43. Pentest Tools Windows
  44. Pentest Tools Website Vulnerability
  45. Hack Website Online Tool
  46. Pentest Tools Website Vulnerability
  47. Growth Hacker Tools
  48. Hack And Tools
  49. Pentest Reporting Tools
  50. Hacking Tools Kit
  51. Hack Tools Pc
  52. Hacking Tools For Windows
  53. Install Pentest Tools Ubuntu
  54. Pentest Tools Website
  55. Hacking Apps
  56. Hacking App
  57. Pentest Tools Android
  58. Pentest Tools Framework
  59. Hackrf Tools
  60. Tools For Hacker
  61. Best Hacking Tools 2020
  62. Wifi Hacker Tools For Windows
  63. Hack Tools For Games
  64. Computer Hacker
  65. Physical Pentest Tools
  66. Hacker Tools Linux
  67. Hacking Tools For Mac
  68. Blackhat Hacker Tools
  69. Hacker Tools
  70. Kik Hack Tools

No comments:

Post a Comment