Pages

Sunday, 28 May 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.


More articles


  1. Pentest Tools Website
  2. Hacker Tools Free Download
  3. Pentest Tools Download
  4. Hacker Tools For Windows
  5. Hackrf Tools
  6. Hacking Tools 2019
  7. Hack Tools Pc
  8. Hak5 Tools
  9. Pentest Tools Windows
  10. Hacking Tools Hardware
  11. New Hacker Tools
  12. Hacking Tools Usb
  13. Hacking Tools And Software
  14. Pentest Tools Nmap
  15. Hacker Tools Mac
  16. Pentest Tools Port Scanner
  17. Pentest Tools Github
  18. What Are Hacking Tools
  19. Hack Tools For Mac
  20. Hacks And Tools
  21. Best Hacking Tools 2019
  22. Pentest Tools Subdomain
  23. Hack Tools
  24. Hacker Tool Kit
  25. Hacking Tools Windows
  26. Pentest Tools Bluekeep
  27. Physical Pentest Tools
  28. Hacking Tools And Software
  29. What Is Hacking Tools
  30. Tools For Hacker
  31. Hack Tools For Games
  32. Hacking Tools Windows
  33. Hacking Tools Download
  34. Hacking App
  35. Kik Hack Tools
  36. Easy Hack Tools
  37. Hack Tools Mac
  38. What Are Hacking Tools
  39. Hacker Tools Github
  40. Pentest Tools Review
  41. Pentest Tools Subdomain
  42. Pentest Tools Alternative
  43. Underground Hacker Sites
  44. Pentest Tools Review
  45. Hack Tools Online
  46. Hack Tools
  47. Hacking Tools For Beginners
  48. Hacker
  49. Hacker
  50. Pentest Automation Tools
  51. Hack Tools For Games
  52. Hacker Tools Free Download
  53. Hack App
  54. Pentest Tools Download
  55. Free Pentest Tools For Windows
  56. Wifi Hacker Tools For Windows
  57. Hacking Tools
  58. Usb Pentest Tools
  59. Hack Tools For Mac
  60. Hacking Tools For Windows 7
  61. Pentest Tools Apk
  62. Hacking Tools Usb
  63. Hacking Tools For Windows
  64. Usb Pentest Tools
  65. Usb Pentest Tools
  66. Hack Tool Apk
  67. Hacking Tools Hardware
  68. How To Make Hacking Tools
  69. Best Hacking Tools 2019
  70. Nsa Hacker Tools
  71. Hacking Tools For Pc
  72. Hack Apps
  73. Hacker Hardware Tools
  74. Hacking Tools For Mac
  75. Github Hacking Tools
  76. Free Pentest Tools For Windows
  77. Pentest Box Tools Download
  78. Hacking Tools Download
  79. Hack Tools For Games
  80. Pentest Tools Subdomain
  81. Hacker Tools 2019
  82. How To Make Hacking Tools
  83. Pentest Tools Review
  84. Pentest Tools Website Vulnerability
  85. Hacking Tools For Kali Linux
  86. Pentest Tools Kali Linux
  87. Pentest Tools For Windows
  88. Best Pentesting Tools 2018
  89. Hacking Tools Pc
  90. Hacker Tools Mac
  91. Pentest Tools List
  92. Free Pentest Tools For Windows
  93. Growth Hacker Tools
  94. Hacking Tools 2019
  95. Best Hacking Tools 2020
  96. Nsa Hacker Tools
  97. Hacker Tools Mac

0 comments:

Post a Comment