Skip to content

fix(test): align fanout_short assertion with #218 param changes - #226

Merged
CalvinXKY merged 1 commit into
mainfrom
fix/fanout-short-assertion
Jun 11, 2026
Merged

fix(test): align fanout_short assertion with #218 param changes#226
CalvinXKY merged 1 commit into
mainfrom
fix/fanout-short-assertion

Conversation

@aoshen02

Copy link
Copy Markdown
Collaborator

Summary

Test plan

  • Verified by h200 CI sweep: test_qwen2.5_0.5B_fanout_short passes with this fix (EXIT_RC=0)

🤖 Generated with Claude Code

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the expected call assertions in tests/test_qwen2.5_0.5B_fanout_short.py from 24 to 8, aligning with a change in rollout parameters. Additionally, it refactors the proxy environment variable cleanup to safely use a loop with os.environ.pop(..., None) to prevent potential KeyError exceptions if the variables are not set. There are no review comments, and I have no additional feedback to provide.

PR #218 changed num_rollout from 3→2 and rollout_batch_size from 8→4 but
did not update the post-train assertion (expected 3*8=24, actual 2*4=8).
Align with slime's upstream fix.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: aoshen02 <aoshen@inferact.ai>
@aoshen02
aoshen02 force-pushed the fix/fanout-short-assertion branch from 0c99825 to f0ca310 Compare June 10, 2026 02:40

@CalvinXKY CalvinXKY left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently, the CI is failing. Apart from machine-related issues, please confirm whether the CI meets the requirements; otherwise, merging is not recommended.

@aoshen02

Copy link
Copy Markdown
Collaborator Author

This test will not pass without this fix.

@CalvinXKY CalvinXKY left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@CalvinXKY
CalvinXKY merged commit 2c7e33c into main Jun 11, 2026
29 of 34 checks passed
@CalvinXKY
CalvinXKY deleted the fix/fanout-short-assertion branch June 16, 2026 11:35
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.

2 participants