Test policy complexity problem

What happens

Hi! I couldn’t pass test_policy because I get a problem with complexity, as expected complexity is 4 and my solution has 5.2

What do you understand or find about that problem

My solution has higher complexity than allowed

You make any workaround? What did you do?

This is exactly the error: Immersion policy challenge complexity error




I need help with

I want to know wheter is possible pass the test without have to decrease the complexity

Hi, the case that you say in the workaround is different.

In your case the policy only allows the solutions in the range:
min <= your solution <= expected

For that reason you should save that challenge, make one with less complexity and try again with this when you have enough expected complexity to upload it.

If you think that the policy shouldn’t work with that range you must open an issue and discuss it with your arguments why do you thing that we should change that, @infinite-loop can help you with that