Skip to content

Create unit tests for Extract Hash Answer#3365

Merged
copybara-service[bot] merged 1 commit intomainfrom
rl-utils-tests
Mar 10, 2026
Merged

Create unit tests for Extract Hash Answer#3365
copybara-service[bot] merged 1 commit intomainfrom
rl-utils-tests

Conversation

@Shuwen-Fang
Copy link
Copy Markdown
Collaborator

@Shuwen-Fang Shuwen-Fang commented Mar 10, 2026

Description

This tests extract_hash_answer for inputs with and without "#### " prefix.

Tests

All tests pass with pytest -rs tests/unit/rl_utils_test.py

Checklist

Before submitting this PR, please make sure (put X in square brackets):

  • I have performed a self-review of my code. For an optional AI review, add the gemini-review label.
  • I have necessary comments in my code, particularly in hard-to-understand areas.
  • I have run end-to-end tests tests and provided workload links above if applicable.
  • I have made or will make corresponding changes to the doc if needed, including adding new documentation pages to the relevant Table of Contents (toctree directive) as explained in our documentation.

Comment thread docs/run_maxtext/run_maxtext_via_xpk.md Outdated
Add unit tests for extract_hash_answer

undo xpk doc change

undo doc changes

sync doc changes
@Shuwen-Fang Shuwen-Fang self-assigned this Mar 10, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@copybara-service copybara-service Bot merged commit 05c5083 into main Mar 10, 2026
48 checks passed
@copybara-service copybara-service Bot deleted the rl-utils-tests branch March 10, 2026 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants