Add SWE-Playground Trajectories Dataset#161
Merged
yueqis merged 7 commits intoneulab:mainfrom Dec 30, 2025
Merged
Conversation
Contributor
|
Could you explain a bit on where you need the std_to_sft.py file in the dataset's directory? If this is not needed, could you delete it? |
Contributor
Author
This is by mistake. I have deleted it. |
Contributor
|
Could you fix the checks? Thanks! |
Contributor
Author
Done! |
yueqis
approved these changes
Dec 30, 2025
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.
Description
This PR adds the SWE-Play-trajectories dataset to the Agent Data Protocol repository. The dataset contains 704 high-quality software engineering task trajectories generated by AI agents based on OpenHands, providing valuable training data for agent fine-tuning.
Type of Change
Dataset Information
Implementation Details
Files Added
The implementation follows the standard ADP dataset structure with all required files in
datasets/swe-play-trajectories/:Schema Conversion
The dataset utilizes the following ADP schema components:
Actions:
ApiAction: Structured tool calls (str_replace_editor,think,finish)CodeAction: Code execution (execute_bash,execute_ipython_cell)MessageAction: Plain text responses without tool callsObservations:
TextObservation (source="user"): Initial task descriptionsTextObservation (source="environment"): Execution results from tool callsKey Features
Comprehensive Parsing: Implements custom function call parser to extract structured actions from XML-like format (
<function=name>...</function>)Multi-Agent Support: Includes SFT format samples for:
Proper Schema Validation: Uses Pydantic models for both raw and standardized formats
API Definitions: Defines three core API functions used in the dataset:
str_replace_editor: File viewing, creation, and editingthink: Step-by-step reasoningfinish: Task completionTesting
Checklist
Pre-commit File Size Note
The file size check was bypassed during commit because:
Reviewers may want to consider either: