Skip to content

Fix competitive coding shared-directory environment variable - #3113

Merged
yfw merged 1 commit into
super-v3.5-posttrainingfrom
yifu/fix-competitive-coding-env-super35
Sep 4, 2026
Merged

yfw merged 1 commit into
super-v3.5-posttrainingfrom
yifu/fix-competitive-coding-env-super35

Conversation

@yfw

@yfw yfw commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • rename the competitive coding shared-directory variable from the generic SHARED_TEMP_DIR to CCC_SHARED_TEMP_DIR
  • update the resource-server configuration and README together

Testing

  • 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)

@copy-pr-bot

copy-pr-bot Bot commented Sep 4, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@yfw
yfw merged commit 8ff4a09 into super-v3.5-posttraining Sep 4, 2026
11 checks passed
@yfw
yfw deleted the yifu/fix-competitive-coding-env-super35 branch September 4, 2026 23:53
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants