The skeptical part of me worries that the docstring is being used to select which code to borrow from, so this technique probably wins and loses based on "the wisdom of crowds" unless there is some other code quality scoring.
I have personally been interested in genetic programming and have written something similar (except the function signature and unit tests become the fitness function).
1 comment
[ 5.1 ms ] story [ 10.0 ms ] threadThe skeptical part of me worries that the docstring is being used to select which code to borrow from, so this technique probably wins and loses based on "the wisdom of crowds" unless there is some other code quality scoring.
I have personally been interested in genetic programming and have written something similar (except the function signature and unit tests become the fitness function).