Skip to content

Conversation

@surfiniaburger
Copy link

No description provided.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 26, 2025
surfiniaburger and others added 8 commits October 27, 2025 07:02
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
- Refactored client parser to be more robust and include 'done' flag.
- Made unit tests deterministic and self-contained using mocking.
- Updated README with correct paths and reliable server polling logic.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
  This commit introduces a number of improvements to the dipg_safety_env, focusing on improving test coverage, fixing bugs, and clarifying
  documentation.

  The key changes are:
   - A new test file with unit tests for all reward functions.
   - A new end-to-end test for the step() function.
   - The environment tests have been moved to the tests/ directory.
   - The tests now use a mock dataset, removing the need to download external files for testing.
   - A bug in the match_format_exactly reward function's regex has been fixed.
   - A corrupted file that was causing a SyntaxError has been repaired.
   - The README.md has been updated to reflect these changes and provide clear instructions on how to run the tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. New Environment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants