JumpForge-3K / examples /sample_5.json
jumplander's picture
Upload 5 files
7e34629 verified
Raw
History Blame Contribute Delete
5.41 kB
[
{
"id": "JT3K-002245",
"dataset": "JumpTrace-3K",
"brand": "JumpTrace-3K — Agentic Coding Traces for Modern Software Engineering",
"task_type": "bug_fix",
"language": "python",
"difficulty": "easy",
"title": "Handle empty payloads",
"domain": "healthtech",
"user_story": "A webhook handler crashes when the JSON body is empty. Make it resilient and return a proper error.",
"repo_context": "Repo: analytics-core. Domain: healthtech. Python service uses Pydantic models, DB repositories, and unit tests.",
"instruction": "Patch the bug described here: Handle empty payloads. Return a minimal safe fix and mention any tests to run.",
"reference_solution": "Add input validation, preserve backward-compatible behavior, and include a regression test for the broken edge case.",
"evaluation": {
"checks": [
"bug removed",
"edge case handled",
"regression test suggested"
]
},
"tags": [
"agentic",
"coding",
"bug_fix",
"python",
"healthtech",
"persian-friendly"
]
},
{
"id": "JT3K-001677",
"dataset": "JumpTrace-3K",
"brand": "JumpTrace-3K — Agentic Coding Traces for Modern Software Engineering",
"task_type": "repo_understanding",
"language": "python",
"difficulty": "easy",
"title": "Map the flow of a request through the service",
"domain": "developer-tools",
"user_story": "Given a Python Flask service with routes, services, and a DB layer, explain the request path for creating an order.",
"repo_context": "Repo: dashboard-web. Domain: developer-tools. Python service with app/, services/, repositories/, tests/.",
"instruction": "Explain how this codebase handles the task: Map the flow of a request through the service. Identify the files and modules most likely involved.",
"reference_solution": "1. Start at the route/controller.\n2. Follow service layer calls.\n3. Check repository and schema modules.\n4. Verify tests that cover the flow.",
"evaluation": {
"checks": [
"correct entry point",
"correct data flow",
"relevant files identified"
]
},
"tags": [
"agentic",
"coding",
"repo_understanding",
"python",
"developer-tools",
"persian-friendly"
]
},
{
"id": "JT3K-001257",
"dataset": "JumpTrace-3K",
"brand": "JumpTrace-3K — Agentic Coding Traces for Modern Software Engineering",
"task_type": "refactor",
"language": "javascript",
"difficulty": "medium",
"title": "Extract reusable hook",
"domain": "fintech",
"user_story": "Refactor repeated fetch logic into a custom React hook.",
"repo_context": "Repo: ml-pipeline. Domain: fintech. React components and shared logic in a frontend repo.",
"instruction": "Refactor the following: Extract reusable hook. Reduce duplication and keep the public interface stable.",
"reference_solution": "Extract a hook or utility, preserve props and return shape, and add tests around behavior.",
"evaluation": {
"checks": [
"duplication removed",
"interface stable",
"tests updated"
]
},
"tags": [
"agentic",
"coding",
"refactor",
"javascript",
"fintech",
"persian-friendly"
]
},
{
"id": "JT3K-000790",
"dataset": "JumpTrace-3K",
"brand": "JumpTrace-3K — Agentic Coding Traces for Modern Software Engineering",
"task_type": "tdd",
"language": "typescript",
"difficulty": "medium",
"title": "Test a formatter",
"domain": "edtech",
"user_story": "Write tests for a date formatter that must respect locale and fallback rules.",
"repo_context": "Repo: cms-platform. Domain: edtech. JS testing stack with Vitest/Jest and React Testing Library.",
"instruction": "Write test cases for: Test a formatter. Start with the edge cases and expected behavior.",
"reference_solution": "Cover input validation, boundary values, async states, and error rendering.",
"evaluation": {
"checks": [
"edge coverage",
"async behavior",
"clear expectations"
]
},
"tags": [
"agentic",
"coding",
"tdd",
"typescript",
"edtech",
"persian-friendly"
]
},
{
"id": "JT3K-001887",
"dataset": "JumpTrace-3K",
"brand": "JumpTrace-3K — Agentic Coding Traces for Modern Software Engineering",
"task_type": "tool_use",
"language": "javascript",
"difficulty": "easy",
"title": "Plan verify-edit cycle",
"domain": "developer-tools",
"user_story": "Read component files, edit the smallest surface, run tests, and summarize outcome.",
"repo_context": "Repo: ecommerce-backend. Domain: developer-tools. Agent workflow over frontend files, tests, and build output.",
"instruction": "Create a tool plan for: Plan verify-edit cycle. Include inspect, edit, test, and verify steps.",
"reference_solution": "Open the minimal file set, edit the affected component or hook, run targeted tests, then confirm build health.",
"evaluation": {
"checks": [
"tool sequence",
"minimal edit",
"verification"
]
},
"tags": [
"agentic",
"coding",
"tool_use",
"javascript",
"developer-tools",
"persian-friendly"
]
}
]