| --- |
| license: cc-by-4.0 |
| task_categories: |
| - text-generation |
| - question-answering |
| language: |
| - en |
| tags: |
| - testing |
| - automation |
| - software-engineering |
| - ai-agents |
| - jumplander |
| pretty_name: AIForge-04-Testing |
| size_categories: |
| - 1K<n<10K |
| --- |
| # AIForge-04-Testing |
|
|
| Testing Dataset for AI and Programming Tasks |
|
|
| ## Overview |
|
|
| AIForge-04-Testing is a curated English dataset designed for AI systems working on testing 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": "AITST_00001", |
| "category": "testing", |
| "language": "javascript", |
| "framework": "jest", |
| "scenario": "Write tests for a JavaScript function used in the checkout domain.", |
| "code_under_test": "function processEvent(items) {\n return items.map(item => String(item).trim()).filter(Boolean);\n}", |
| "testing_goal": "Validate the happy path, edge cases, and error handling.", |
| "test_code": "describe('event', () => {\n it('handles a normal input set', () => {\n expect(processEvent(['a', 'bb'])).toEqual(['a', 'bb']);\n });\n});", |
| "explanation": "Use jest to assert deterministic behavior and protect the event logic from regressions.", |
| "difficulty": 1 |
| } |
| ``` |
|
|
| ## License |
|
|
| Released under CC BY 4.0. |
|
|
| ## Source |
|
|
| JumpLander |
|
|