Repository navigation
Conversation
snimu
reviewed
Oct 3, 2026
snimu
reviewed
Oct 30, 2026
This branch has not been deployed
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.
Summary
This PR adds Synthetic Workspace Gym (SWG) as a native Verifiers V1 environment under
environments/synthetic_workspace_gym/. D1-D3 tasks support teacher-trace generation for mid-training/SFT; D4-D5 tasks and held-out compositions support RL and evaluation. The taskset uses Prime's standard Verifiers harness/runtime and has no custom model loop or legacy adapter.Generation, immutable curriculum construction, validation, and artifact publication are submitted separately in #25.
Native Verifiers V1 design
vf.Tasksetandvf.Taskimplementations.@vf.reward(1.0only on trusted evaluator success, otherwise0.0); the former partial score is a diagnostic@vf.metricand cannot affect training reward.NEEDS_CONTAINER = True,/workspace, and the standard Bash harness.validate(runtime)gold control that applies the reference solution, runs trusted finalization, and requires success with reward exactly1.0.verifiers>=0.4.0,<0.5; the task uses the 0.4setup(trace, runtime)hook and applies network restrictions on both published and newer runtime APIs.Security and reward robustness
Finalization separates three trust domains:
Review-driven hardening includes:
0.2;Immutable V5 pins
ydnysh/synthetic-workspace-gym3ba83f647b96556be8c5084584a2d86e932256843bd13bb949846e7b7393afe81727f1127e984475128c3c984d91e7d46918e0f2f77cab4543943a25e11083bf18d0ad00dcf9f7f8prime/yadnyesh,v5-128c3c98sft-easy-v5artifacts.jsonrecords the seven completed public Prime VM artifact IDs and CAS paths. Frozen V2-V4 artifacts remain unchanged.Validation performed
1.0without success, return zero reward.0.2.4built successfully. V5 dataset and image pins are unchanged because only the package-level reward mapping changed.validate(runtime)gold path completed on Prime with success and reward1.0.block=["*"].Note
Add
synthetic-workspace-gymtaskset with evaluators, schemas, and trusted graderSyntheticWorkspaceTasksetup, finalization, reward, and validation hooks in taskset.pyD5CalibratedEvaluatorwrapper that cubes scores for failed level-5 tasks, in evaluators/D5CalibratedEvaluator.evaluatealters score semantics for unsuccessful difficulty-5 results (score cubed); evaluators reject unsupported protocol modes (e.g. non-observations-v1inScriptRepairEvaluator.evaluate) withValueErrorMacroscope summarized f5a7987.