Skip to content

Truncating failing test_evaluation via max_rollout_steps #475

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Sep 24, 2024

Conversation

jamesbraza
Copy link
Collaborator

From this CI run, we see:

[success] 55.58% tests/test_task.py::TestTaskDataset::test_evaluation: 5790.4625s

Nearly 2 hours! I observed locally it's possible for our indexing process to not find a piece of data in the stub_data folder, leading to infinite "failed to answer" loops.

Normal behavior should concluded a rollout in 3 actions (one search, one gather, one answer), so this PR just truncates long rollouts by specifying a max_rollout_steps of 10.

@jamesbraza jamesbraza added the bug Something isn't working label Sep 24, 2024
@jamesbraza jamesbraza self-assigned this Sep 24, 2024
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Sep 24, 2024
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Sep 24, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Sep 24, 2024
@jamesbraza jamesbraza force-pushed the faster-test-evaluation branch from eebc756 to 49a7463 Compare September 24, 2024 21:48
@jamesbraza jamesbraza merged commit f68a248 into main Sep 24, 2024
5 checks passed
@jamesbraza jamesbraza deleted the faster-test-evaluation branch September 24, 2024 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants