[Community Puzzle] Basic Decision Tree - 1

https://www.codingame.com/training/hard/basic-decision-tree---1

Send your feedback or ask for help here!

Created by @Wei-1,validated by @bbb000bbbyyy,@kotobotov and @Bibou.
If you have any issues, feel free to ping them.

You might want to explain what to do when you get a group of different species but same horn size.
The description only says to keep dividing until we get 0 entropy but since we can’t divide a group with all same horn size, we get stuck.
It took me a while to understand that was also a final condition.

Also, there are a few grammar mistakes in the description, like “step 1. we choice 1 beetle pupa” (choice -> choose).

Nice puzzle overall.

1 Like

Too bad that I read Mercy38’s comment a bit late. I had exactly the same issue with TEST 04, causing an extra hour of debugging, which could have been avoided with a better puzzle statement…