Repository navigation
Fix competitive coding shared-directory environment variable - #3113
Merged
yfw merged 1 commit intoSep 4, 2026
Merged
Conversation
Signed-off-by: Peter Jin <[email protected]>
Kipok
approved these changes
Sep 4, 2026
ananthsub
pushed a commit
that referenced
this pull request
Oct 15, 2026
Super 3.5 post-training launchers export CCC_SHARED_TEMP_DIR and mount it into the sandbox containers, but main reads only SHARED_TEMP_DIR. shared_dir then silently falls back to /tmp, which the sandbox cannot see, so every CCC compile fails and scores 0. Port #3113 (8ff4a09 on super-v3.5-posttraining) with backward compatibility, and give LOCAL_COMPILE_DIR (#3087) the same prefix: - shared_dir reads CCC_SHARED_TEMP_DIR, then SHARED_TEMP_DIR, then /tmp - local_compile_dir reads CCC_LOCAL_COMPILE_DIR, then LOCAL_COMPILE_DIR, then /tmp/nemo-gym-compile - drop the shared_dir overrides in benchmarks/ioi and benchmarks/ioi26; they duplicated the inherited CCC value and would have kept IOI on the old name - point the /tmp warning and the README at the prefixed names Add tests that resolve the CCC, IOI and IOI26 configs through GlobalConfigDictParser with the variables unset, legacy-only, prefixed-only, and both set. Signed-off-by: Peter Jin <[email protected]>
thibautbar
pushed a commit
to thibautbar/Gym
that referenced
this pull request
Oct 15, 2026
…NVIDIA-NeMo#3963) Super 3.5 post-training launchers export CCC_SHARED_TEMP_DIR and mount it into the sandbox containers, but main reads only SHARED_TEMP_DIR. shared_dir then silently falls back to /tmp, which the sandbox cannot see, so every CCC compile fails and scores 0. Port NVIDIA-NeMo#3113 (8ff4a09 on super-v3.5-posttraining) with backward compatibility, and give LOCAL_COMPILE_DIR (NVIDIA-NeMo#3087) the same prefix: - shared_dir reads CCC_SHARED_TEMP_DIR, then SHARED_TEMP_DIR, then /tmp - local_compile_dir reads CCC_LOCAL_COMPILE_DIR, then LOCAL_COMPILE_DIR, then /tmp/nemo-gym-compile - drop the shared_dir overrides in benchmarks/ioi and benchmarks/ioi26; they duplicated the inherited CCC value and would have kept IOI on the old name - point the /tmp warning and the README at the prefixed names Add tests that resolve the CCC, IOI and IOI26 configs through GlobalConfigDictParser with the variables unset, legacy-only, prefixed-only, and both set. Signed-off-by: Peter Jin <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
SHARED_TEMP_DIRtoCCC_SHARED_TEMP_DIRTesting
UV_CACHE_DIR=/tmp/codex-uv-cache uv run --frozen --extra dev pytest -q resources_servers/competitive_coding_challenges/tests/test_app.py(25 passed)