The dataset viewer is not available for this split.
Error code: FeaturesError
Exception: ArrowInvalid
Message: JSON parse error: Invalid value. in row 0
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 324, in _generate_tables
df = pandas_read_json(f)
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 38, in pandas_read_json
return pd.read_json(path_or_buf, **kwargs)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 815, in read_json
return json_reader.read()
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 1014, in read
obj = self._get_object_parser(self.data)
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 1040, in _get_object_parser
obj = FrameParser(json, **kwargs).parse()
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 1176, in parse
self._parse()
~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 1392, in _parse
ujson_loads(json, precise_float=self.precise_float), dtype=None
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: Expected object or value
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 244, in compute_first_rows_from_streaming_response
iterable_dataset = iterable_dataset._resolve_features()
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 4523, in _resolve_features
features = _infer_features_from_batch(self.with_format(None)._head())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2768, in _head
return next(iter(self.iter(batch_size=n)))
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2972, in iter
for key, pa_table in ex_iterable.iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2483, in _iter_arrow
yield from self.ex_iterable._iter_arrow()
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 547, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 430, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 327, in _generate_tables
raise e
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 290, in _generate_tables
pa_table = paj.read_json(
io.BytesIO(batch), read_options=paj.ReadOptions(block_size=block_size)
)
File "pyarrow/_json.pyx", line 364, in pyarrow._json.read_json
File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
raise convert_status(status)
pyarrow.lib.ArrowInvalid: JSON parse error: Invalid value. in row 0Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
This dataset serves as the official data repository for the ReCUBE benchmark; the corresponding evaluation codebase and execution instructions can be found at https://anonymous.4open.science/r/ReCUBE-E0FB/README.md.
Data
This directory contains all benchmark data for ReCUBE.
Download
All data files are hosted on Hugging Face and can be downloaded using:
# Install huggingface_hub if not already installed
pip install huggingface_hub
# Download the entire dataset
huggingface-cli download recube-anon-2026/recube-data --repo-type=dataset --local-dir data/
# Or download in Python
from huggingface_hub import snapshot_download
snapshot_download(repo_id="recube-anon-2026/recube-data", repo_type="dataset", local_dir="data/")
Alternatively, you can clone the repository:
git clone [https://huggingface.co/datasets/recube-anon-2026/recube-data](https://huggingface.co/datasets/recube-anon-2026/recube-data) data/
Graphs (graphs/)
Dependency graphs in NetworkX format (.pkl files) for each functional subset.
Usage: Used by the graph-guided setting (bash_only_graph_setting) to provide efficient context navigation tools.
Format: NetworkX MultiDiGraph serialized with pickle
Node Types:
- Directory nodes (e.g., /, app/, app/agent/)
- File nodes with full source code (e.g., app/agent/base.py)
- Class definitions with code snippet (e.g., app/agent/base.py:BaseAgent)
- Function/method definitions with code snippet (e.g., app/agent/base.py:initialize_agent)
Node Attributes:
- Node type (directory/file/class/function)
- Full source code (for files) or code snippet (for classes/functions)
- Line number range (for classes/functions only)
Edge Types:
- contains: Hierarchical containment (directory→file, file→class, class→method, file→function)
- imports: Import dependencies (file→imported entity)
- invokes: Function call dependencies (function→called function/class)
- inherits: Class inheritance (child class→base class)
Node ID Format:
- Directories: Path string (e.g., app/agent)
- Files: File path (e.g., app/agent/base.py)
- Classes: {file_path}:{class_name} (e.g., app/agent/base.py:BaseAgent)
- Methods: {file_path}:{class_name}.{method_name} (e.g., app/agent/base.py:BaseAgent.run)
- Functions: {file_path}:{function_name} (e.g., app/utils.py:setup_logger)
Files: One graph per instance group, named by repo_id in target.json (e.g., 0.pkl, 2.pkl, ...; 40.pkl–45.pkl are the large-scale repositories)
Prompts (prompts/)
Repository context files in text format (.txt) for each functional subset. Formatted repository context including:
- README documentation
- Package dependencies
- All implemented files with complete code
Usage: Provided as input context to prompt experimental settings
Format: Structured text with XML-like tags:
<readme>
... repository documentation ...
</readme>
<dependencies>
... pip package list with versions ...
</dependencies>
<implementations>
## path/to/file.py
```python
... complete implementation ...
```
Files: One prompt file per instance group, named by repo_id in target.json (e.g., 0.txt, 2.txt, ...; 40.txt–45.txt are the large-scale repositories)
Testcases (tests/)
Test files for evaluating generated code. These files are already embedded in Docker images.
Content: pytest test files for each target file
- Unit tests for individual functions/classes
- Integration tests for multi-component interactions
- Real usage patterns extracted from original repositories
Structure:
tests/
├── 0/ # Functional subset 0
│ ├── app_agent_base_test.py
│ ├── app_agent_manus_test.py
| ├── ...
│ └── test_metadata.json
├── 2/ # Functional subset 2
│ └── ...
Note: These files are copied into Docker images and do not need to be manually managed during evaluation.
test_metadata.json
{
"repo_id": 0,
"repo_url": "https://github.com/...",
"tests_generated": "2026-01-05",
"instances": [
{
"file": "app/agent/base.py",
"test_file": "app_agent_base_test.py",
"total_tests": 47,
"functions_tested": 8,
"validation_status": "pending",
"real_usage_sources": { ... },
"test_categories": {
"unit_tests": 44,
"integration_tests": 3
},
"difficulty_factors": [ ... ]
}
],
"validation": {
"status": "passed",
"tests_passed": 282,
"tests_failed": 0
}
}
Usage: Loaded during evaluation to map source files to test files and count expected tests.
Test Classifications (test_classifications/)
External vs internal test classifications for analyzing model capabilities.
Structure: One JSON file per functional subset, named by repo_id (e.g., 0.json, 2.json)
Content:
{
"repo_id": 0,
"files": {
"app/agent/base.py": {
"test_file": "app_agent_base_test.py",
"test_classifications": {
"test_initialize_agent": "internal",
"test_state_context": "external",
"test_update_memory": "external",
...
}
}
}
}
Test Types:
- External: Tests that import and use the target file (API contract tests)
- Internal: Tests that are within the target file itself (implementation tests)
Usage: Used during evaluation to calculate external/internal pass rates separately.
Target Files
target.json
Target files used for official evaluation: 297 instances across 35 functional subsets (8,984 tests; 62.0% external, 38.0% internal), plus 106 instances in the large-scale extension (ReCUBE-large; entries with "is_large_scale": true, repo_id 40–45). For large-scale entries, source_repo_ids maps each functional subset repo_id to its target files.
Format:
[
{
"repo_id": 0,
"selected_files": [
"app/agent/base.py",
"app/agent/manus.py",
...
]
},
...
]
Usage: Used by generation and evaluation scripts to determine which files to process.
Functional Subset Breakdown
Detailed breakdown of the 35 functional subsets in our benchmark. Each entry represents a specific functional subset of a larger repository, selected to target distinct development capabilities.
| repo_id | Repository | Functionality | Key Components |
|---|---|---|---|
| 0 | OpenManus | Agent orchestration with sandbox execution | Base agent, ReAct pattern, tool execution |
| 2 | DeepSeek-OCR | Vision-based OCR system | CLIP/SAM encoders, image/PDF processing |
| 3 | deer-flow | Workflow-based agent with RAG | Graph orchestration, web crawling, retrieval |
| 4 | openai-agents | Core runtime with guardrails | Agent execution, function schemas, prompts |
| 5 | openai-agents | Computer use & file editing | Editor interface, computer control |
| 7 | openai-agents | MCP server with persistent memory | MCP integration, SQLite sessions |
| 8 | openai-agents | Streaming chat completions | Stream handling, chat conversion |
| 9 | openai-agents | Tracing & observability | Span data, trace processors, providers |
| 10 | openai-agents | Error handling & computer control | Error tracing, guardrails |
| 11 | openai-agents | Real-time voice agent | Realtime API, audio formats, voice handoffs |
| 12 | openai-agents | Voice pipeline (STT/TTS) | Speech-to-text, text-to-speech workflow |
| 13 | serena | Semantic code editing | Symbol-level operations, code editor |
| 14 | serena | LSP server implementation | Protocol handler, IDE integration |
| 15 | blender-mcp | Blender MCP server | 3D modeling control, telemetry |
| 16 | VibeVoice | Streaming voice generation | Diffusion models, DPM solver |
| 17 | deepwiki-open | Multi-provider LLM API | OpenAI/DashScope/Ollama, embeddings |
| 18 | context-engineering | Multi-agent system with RAG | Research agent, document ingestion |
| 19 | context-engineering | Standalone RAG agent | CLI, embedding pipeline, DB utilities |
| 20 | DeepCode | Multi-interface coding assistant | CLI & Streamlit UI, workflows |
| 21 | DeepCode | Code implementation agent | MCP tools, Git ops, code indexing |
| 22 | fastapi_mcp | FastAPI MCP server | HTTP/SSE transports, Auth0 |
| 23 | RAG-Anything | Document processing RAG | Parser, processor, query system |
| 24 | memvid | Video chat with retrieval | Indexing, encoding, ffmpeg processing |
| 25 | trae-agent | Software engineering agent | Docker execution, bash/edit tools, CKG |
| 26 | trae-agent | Trae with MCP integration | MCP tools, code knowledge graph |
| 27 | langextract | Structured extraction with plugins | Multi-provider, Gemini/Ollama |
| 28 | strix | Core agent with LLM management | Memory compression, request queuing |
| 29 | strix | Tool runtime with Docker | File editing, web search, thinking tools |
| 30 | strix | Interactive tool managers | Python/terminal/proxy/graph sessions |
| 31 | strix | Browser automation & CLI | Browser control, tab management |
| 33 | strix | Terminal user interface | Text-based UI, utilities |
| 36 | Second-Me | GGUF model utilities | Format conversion, quantization |
| 37 | Second-Me | Personalized AI API services | Chat/knowledge/role management |
| 38 | Second-Me | Complete AI application backend | Document processing, vector storage, MCP |
| 39 | Spark-TTS | Neural TTS with tokenization | BiCodec, FSQ, Triton runtime |
Diversity:
- 18 unique base repositories & 35 functional subsets
- Domains: Tool & MCP Integration, LLM Services, Agent Frameworks, Code & Vision, Voice & Speech, and RAG
- Downloads last month
- 577