CodinGame / codingame-game-engine

CodinGame Engine
https://www.codingame.com
MIT License
113 stars 41 forks source link

Contribution update doesn't replace testcases #35

Closed eulerscheZahl closed 3 years ago

eulerscheZahl commented 4 years ago

There seems to be some caching for testcases going on at my Sokoban contribution at https://www.codingame.com/ide/demo/85365227d8ba216a6206b5fd692961a51fe1d8

I modified the testcase input format (testXX.json). It seems that it still tries to read the old testcase file which I've replaced. I double-checked this.

When I upload the contribution via Edit button and then test it, it's working fine. When I hit Save and Preview, I get nonsense maps like this: image

That's a behavior I could reproduce by using the old testcase files with the new level parser

edit: another, similar problem: https://www.codingame.com/multiplayer/optimization/2048 There are 30 testcases with test=true and validator=true. And one (test1.json "random") that is only a test but not a validator. Submit seems to run the correct testcases (I get the same score when submitting the same code). But it displays the random test in the report.

CGjupoulton commented 3 years ago

Fixed, thanks for reporting