Fork me on GitHub
#clojure-nl
<
2018-05-29
>
thomas07:05:52

good morning... making CSV files. once a day πŸ˜‰

bbss08:05:38

Trying my hand at evolutionary programming with help of spec. Rather disappointed at how quickly generation doesn't work anymore.

bbss08:05:02

Every time I experiment with spec + generation it's cool, but not great.

thomas08:05:43

sounds interesting @bbss

thomas08:05:54

what are you trying to achieve?

bbss08:05:58

I made a couple of high level functions for a bot playing starcraft. Like (build "building-structure/unit") (select "unit" :at-least 10 :whenever-goals-succeed (add-plans (attack :at-location :enemy-base))))

bbss08:05:15

That all works, and now I want to see how well the bot will discover builds that are effective.

bbss08:05:28

So I "evolve" the nodes of these functions.

bbss08:05:14

Not sure if it's gonna work at all but it is an interesting experiment for sure πŸ™‚

bbss08:05:40

and since the functions it can use are fairly high level I expect it to at least find some useful plans.

thomas08:05:57

sounds interesting!

😁 4
bbss08:05:19

this is what inspired it

thomas09:05:00

I suspected that πŸ˜‰

thomas09:05:11

not that I really understand it though

gklijs10:05:32

It’s been more than 10 years I did some evolutionary programming in college, just simple problems. Still want to do something with ai and games sometime, especially in online games.

lmergen11:05:45

i always figured test.check's shrinking and clojure.spec would be a better fit

lmergen11:05:20

would need some minor adjustments, rather than working with test pass / fail with a desired score

borkdude11:05:39

I used that to detect a dependency problem once. https://github.com/borkdude/dependency-problem