# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 # # Wires the opencode sandboxed agent to swemer_v2_resources_server for a training run -- # `swemer_v2_legacy_agent.yaml` alone only defines the resources server, which is enough for golden-patch # validation (apply_golden_patch.py talks to it directly, no agent involved) but not enough to # actually run an agent against the dataset. This is a separate file, not folded into # swemer_v2_legacy_agent.yaml, so golden-patch validation keeps working without pulling in the agent's (much # larger) opencode/sandbox config. # # data/swemer_v2_training.jsonl is distributed offline (not generated by any script in this # repo -- this is an internal dataset), and holds only the 2,538 instances whose golden patch # resolved in all three passes of a full-set 3x sweep -- see the README. # # gym env start --config resources_servers/swemer_v2/configs/swemer_v2_opencode.yaml config_paths: - responses_api_agents/opencode_sandboxed_agent/configs/opencode_sandboxed_agent.yaml - resources_servers/swemer_v2/configs/swemer_v2_legacy_agent.yaml swemer_v2_opencode_sandboxed_agent: _inherit_from: opencode_sandboxed_agent responses_api_agents: opencode_sandboxed_agent: resources_server: type: resources_servers name: swemer_v2_resources_server datasets: - name: swemer_v2 type: train jsonl_fpath: resources_servers/swemer_v2/data/swemer_v2_training.jsonl num_repeats: 1 license: NVIDIA Internal Use Only, Do Not Distribute swemer_v2_environment_server: environment_servers: legacy_agent: entrypoint: app.py agent_server: type: responses_api_agents name: swemer_v2_opencode_sandboxed_agent