Languages Update Issues

Hi,
I’ve got some issues with C#.
Since 3pm on “La Bataille” game, tests fail with error “’/tmp/deps’ in MONO_PATH doesn’t exist or has wrong permissions.”
I think it’s the same issue as yizraor.

Thanks for the help.

hey @Sethangel79, if I remember well what @_CG_XorMode told me, this console issue does not impact anything. The main issue that @yizraor had was the validation issue while tests passed in IDE. We’ll fix this issue anyway but I think your tests fail for an another reason.

EDIT: the lines below are regular compilation issues :wink:

Hi and thank you for your answer.
I will think about twice the next time before bother you.
I apologize and i’m going to check my code :blush:

no worries :wink:

The MONO_PATH error message is fixed and no longer appears on C# compilation failure.

1 Like

For example i tested against Yakalir. We don’t timeout that in the arena. But if i play against him in the IDE, one of us will always timeout at the first frame. Always. No matter the seend.

But if i play against reCurse, none of us timeout.

@Magus, if you have a given seed and you play first against Yakalir and you timeout and then with the same seed you play first against reCurse and you do not timeout then this would demonstrate a defect on our platform as the other player must not be able to impact your player in any way. So if you come across such a scenario, please let me know.

If i remember i’ll try later

Quick test I did this evening: if I play against Magus, then I will face a timeout on his bot. If I swap positions, then it’s my bot that is generating a timeout.
So it seems it is always second player that is impacted.

Checking my code, I can confirm that during first turn my bot is assessing he has 1 second left to answer then 100ms for next ones. Others bots facing the same problem could have implemented the same logic.
Then, if I reduce my first turn timeout to 95ms, then I do not face any more timeout…

Could the upgrade have affected that assumption in any way?

I tested with the seed 507016145.

If i play against yakalir, the player 1 (second player) always timeout. Always. If i’m the second player, i timeout. If yakalir is second player, he timeout.

Then i tested against reCurse. If i’m player 0 i never timeout. If i’m player 1 i always timeout. reCurse never timeout, no matter the positions.

If i modify my code to prevent it to take all the second for the first turn, i never timeout.

I have no timeout in the arena. It’s IDE specific. And it’s specific to the second player position.

Conclusion: I don’t know what you are doing in the IDE for the second player, but it’s evil and the timeout calculation is wrong.

Please, fix Haskell. No core libraries are found, while trying to compile old code. Note: everything just fine with properly updated Haskell platform on local machine. 10 days till contest…

1 Like

Hello dabino,

Yes we will fix Haskell soon. But to be accurate, all core libraries are already installed, only additional libraries (“full” in Haskell terminology) are not installed. See https://www.haskell.org/platform/contents.html for definition.

So we will replace the core platform with the full platform. I will let you know when it is up.

2 Likes

Hello @dabino

Haskell full platform is now installed. Please check that this is ok.

1 Like

Everything compiles, thanks!

The timeouts as second player should be fixed now. Please confirm.

Hello @eulerscheZahl,

Tensorflow puzzle has been reinstated, though it seems that the new tensorflow consumes more memory, so you may have to adjust your variables (and some function calls are obsolete).

Also we have added:

import os
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'

in the default code to prevent unwanted warnings.

Please check if your code is still working.

My code doesn’t work anymore (with and without the two lines above), but that might not even be bad: when I solved it, the tensorflow version on CG was outdated, so I had to search for old code in the github history of tensorflow to get it working. Tensorflow made a breaking change in the syntax of how to train it.

I test multiple games in the IDE against @yakalir

Yakalir got a timeout once when he was the second player (once on 5 games).
And i got a timeout once when i was the second player (same, once on 5 games).

It’s pretty weird because for both timeouts it was the first game in the IDE. But i can’t say if it’s related.

My code is no longer working, but after replacing function calls with the new syntax it does.

After fixing my initialization step

init = tf.initialize_all_variables()

init = tf.global_variables_initializer()

I executed and faced this strange error related to SSE

2017-11-15 11:09:49.413614: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX
MemoryError

CPU execution target has changed?

Hello,

I probably posted in the wrong topic and having a post here seems more appropriate, so please follow this for the detail. => it seems that g++ doesn’t work in C++14 mode ?