[Feat] Add text-board Sokoban agent with Valen levels - #34
Draft
hsliuustc0106 wants to merge 1 commit into
Draft
hsliuustc0106 wants to merge 1 commit into
hsliuustc0106 wants to merge 1 commit into
Conversation
Signed-off-by: Hongsheng Liu <liuhongsheng4@huawei.com>
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.
Adds
s1a run sokobanso the existing decision-model loop can play Sokoban with reproducible levels and ordinary episode reports. It adapts Valen's standard-library simulator and bundles its 100 selected evaluation levels; the model receives an ASCII board, the remaining step budget and four directional choices. A solved game scores 1, otherwise 0.Blocked moves consume steps, the environment caps episodes at 200 actions, and level selection uses
--seedas an offset without wrapping. Rethink and rule mode are rejected: the agent receives no solver assistance or reference solutions. This is a text-board adaptation, not a reproduction of Valen's visual benchmark, and the supplied levels are a selected subset. No learned-model accuracy or performance claim is made.Code and data revisions, Apache-2.0 attribution, CLI usage and evaluation limits are documented. Evaluator-only reference solutions are confined to test fixtures.
Validation:
uv buildpass.Try from the checkout: