I created a method to automatically solve problems (and then 1,000 more) at https://github.com/outdreamer/build-a-cure/
Some examples are here: https://github.com/outdreamer/build-a-cure/blob/master/docs/tasks/implementation_examples/examples_of_implementation_methods.md