Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ddtaylor
· 8y ago · 0 comments
I fiddled with an idea where I wrote unit tests and used them for a scoring function to train a model. Writing the number of tests and encoding the logic for a simple Linked List took orders of magnitude more code than coding the list itself.
Comments
[–]
pseudonom-
8y ago
I suspect (based on stuff like
https://arxiv.org/abs/1510.08419
) that you'd have had more luck with property tests instead of unit tests.
[–]
ddtaylor
OP
8y ago
Thanks for the paper I will check it out.