<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Coder Legion - Recent posts tagged geneticalgorithms</title>
<link>https://coderlegion.com/tag/geneticalgorithms</link>
<description>Powered by Question2Answer</description>
<item>
<title>Simulating natural selection to solve computer science problems!</title>
<link>https://coderlegion.com/8014/simulating-natural-selection-to-solve-computer-science-problems</link>
<description>&lt;p&gt;Simulating natural selection to solve computer science problems!&lt;br&gt;
While researching some of the newer developments in computer science, I explored using a Genetic Algorithm to automatically &quot;evolve&quot; a high quality test suite for a tricky e-commerce pricing function. The algorithm learns the validation rules and generates a concise set of intelligent tests on its own.&lt;/p&gt;
&lt;p&gt;I've written a full, step-by-step guide explaining how the Python code works from the fitness function to crossover and mutation. You can also checkout a written paper explaining the motivation and logic behind the exploration.&lt;/p&gt;
&lt;p&gt;Check out the paper here:&lt;br&gt;
&lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/ShivangVora1206/Genetic-Algorithm/blob/main/paper.pdf&quot;&gt;https://github.com/ShivangVora1206/Genetic-Algorithm/blob/main/paper.pdf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Check out the developer's guide here on dev.to:&lt;br&gt;
&lt;a rel=&quot;nofollow&quot; href=&quot;https://dev.to/shivangvora1206/a-developers-guide-to-test-case-generation-with-genetic-algorithms-4mef&quot;&gt;https://dev.to/shivangvora1206/a-developers-guide-to-test-case-generation-with-genetic-algorithms-4mef&lt;/a&gt;&lt;/p&gt;
</description>
<category>Test Automation</category>
<guid isPermaLink="true">https://coderlegion.com/8014/simulating-natural-selection-to-solve-computer-science-problems</guid>
<pubDate>Mon, 01 Dec 2025 12:23:44 +0000</pubDate>
</item>
</channel>
</rss>