docs: add Supported Patterns section to README#1155
Open
vominh1919 wants to merge 2 commits intoPrimeIntellect-ai:mainfrom
Open
docs: add Supported Patterns section to README#1155vominh1919 wants to merge 2 commits intoPrimeIntellect-ai:mainfrom
vominh1919 wants to merge 2 commits intoPrimeIntellect-ai:mainfrom
Conversation
…nv.ta_to_hf() Games like TwentyQuestions-v0 use categorized word lists (dict with category keys mapping to word lists). Ta_to_hf() called random.choice() directly on the word_list, causing KeyError when it's a dict. Now flattens dict word lists into a single list before sampling. Fixes PrimeIntellect-ai#1074
Add a reference table listing all RL environment design patterns that verifiers supports, with links to relevant documentation for each. Covers: single-turn, multi-turn, native tool parsing, MCP tools, sandbox/no-sandbox modes, groupwise rewards, weighted rewards, intermediate metrics, multiple environments, custom metrics, offline evals, resource management, stateful interactions, and GEPA. Closes PrimeIntellect-ai#1078
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1078
Adds a "Supported Patterns" reference table to the README listing all RL environment design patterns that verifiers supports, with links to relevant documentation.
Covers:
Based on the pattern list from @willccbb tweet (https://x.com/i/status/2037734454459089027).
Note
Low Risk
Mostly documentation, plus a small defensive change to dataset generation in
TextArenaEnvthat should only broaden compatibility.Overview
Adds a new Supported Patterns section to
README.md, providing a quick-reference table of common RL environment design patterns and linking each to the relevant docs/classes.Fixes
TextArenaEnv.ta_to_hf()to handle TextArena games whoseword_listis a dict of categorized word lists by flattening it before sampling answers.Reviewed by Cursor Bugbot for commit f5b4027. Bugbot is set up for automated code reviews on this repo. Configure here.