Skip to content

Add unit tests for RL check_numbers#3402

Merged
copybara-service[bot] merged 1 commit intomainfrom
hengtaoguo-rl
Mar 13, 2026
Merged

Add unit tests for RL check_numbers#3402
copybara-service[bot] merged 1 commit intomainfrom
hengtaoguo-rl

Conversation

@hengtaoguo
Copy link
Collaborator

@hengtaoguo hengtaoguo commented Mar 12, 2026

Description

Cover two test scenarios for utils_rl.check_numbers():

  • b/490410887: Completions where numbers can/cannot be extracted by regex.
  • b/490410887: Extracted numbers matching/not matching float-converted answer

Tests

CI

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.

@codecov
Copy link

codecov bot commented Mar 12, 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 00ef5de into main Mar 13, 2026
58 of 61 checks passed
@copybara-service copybara-service bot deleted the hengtaoguo-rl branch March 13, 2026 00:08
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.

3 participants