| --- |
| license: cc-by-4.0 |
| task_categories: |
| - text-generation |
| - question-answering |
| language: |
| - en |
| tags: |
| - programming |
| - debugging |
| - ai-agents |
| - code |
| - software-engineering |
| - jumplander |
| pretty_name: AIForge-01-Debug |
| size_categories: |
| - 1K<n<10K |
| --- |
| # AIForge-01-Debug |
|
|
| Debugging Dataset for AI and Programming Tasks |
|
|
| ## Overview |
|
|
| AIForge-01-Debug is a curated English dataset designed for AI systems working on debugging tasks in software engineering and programming. |
|
|
| ## Contents |
|
|
| - `data.jsonl` |
| - `data.json` |
| - `metadata.json` |
|
|
| ## Use Cases |
|
|
| - AI agent training |
| - Supervised fine-tuning |
| - Evaluation and benchmarking |
| - Software engineering research |
|
|
| ## Example Record |
|
|
| ```json |
| { |
| "id": "AIDBG_00001", |
| "category": "debugging", |
| "language": "javascript", |
| "bug_type": "off_by_one", |
| "severity": "Low", |
| "error_type": "IndexError: list index out of range", |
| "prompt": "A JavaScript service in the search domain is failing with IndexError: list index out of range. Diagnose the root cause and provide a clean fix.", |
| "buggy_code": "items = [1, 2, 3]\nfor i in range(len(items) + 1):\n print(items[i])", |
| "analysis": "The issue is a off by one problem in a search workflow. The code should guard against the error before proceeding.", |
| "fixed_code": "items = [1, 2, 3]\nfor i in range(len(items)):\n print(items[i])", |
| "explanation": "Use defensive checks and a narrower control flow so the queue path behaves deterministically.", |
| "difficulty": 1 |
| } |
| ``` |
|
|
| ## License |
|
|
| Released under CC BY 4.0. |
|
|
| ## Source |
|
|
| JumpLander |
|
|