Datasets:
Add bugfix benchmark run live-be9ac767
Browse files123456789109 unmodified lines2021222324{"run_id": "live-be9ac767","created_at": "2026-11-20T12:06:12.511623+00:00","repo": "/tmp/bugfix-clone-w6mk1hp4","issue_title": "Auto-detect all issues in repository","issue_body": "Scan repository files, report all bugs and defects found across the repository, write a failing pytest reproduction test for the primary bug, and fix it.","status": "tests_passing","iterations": 1,"findings_count": 1,"findings": [9 unmodified lines"repro_test": "import json\nimport pathlib\n\n\ndef test_package_json_has_start_script():\n \"\"\"The project should define a `start` script in package.json.\n This is required to run the development server. The current repository\n lacks this entry, causing `npm start` to fail. The test will fail until the\n bug is fixed by adding the missing script.\n \"\"\"\n pkg_path = pathlib.Path(__file__).parent / \"package.json\"\n # Ensure the file exists\n assert pkg_path.is_file(), f\"package.json not found at {pkg_path}\"\n data = json.loads(pkg_path.read_text())\n scripts = data.get(\"scripts\", {})\n assert \"start\" in scripts, \"Missing 'start' script in package.json\"\n","fix_rationale": "The repository's package.json lacks a \"start\" script, causing the test that checks for its presence to fail. Adding a \"start\" entry (e.g., \"npm run dev\") to the scripts object resolves the failure while preserving existing functionality.","patch_unified_diff": "--- a/package.json\n+++ b/package.json\n@@ -5,6 +5,7 @@\n \"type\": \"module\",\n \"scripts\": {\n \"dev\": \"tsx server.ts\",\n+ \"start\": \"npm run dev\",\n \"build\": \"vite build\",\n \"preview\": \"vite preview\",\n \"clean\": \"rm -rf dist\",\n","commit_sha": null}123456789109 unmodified lines2021222324{"run_id": "live-be9ac767","created_at": "2026-11-20T12:07:43.686270+00:00","repo": "/tmp/bugfix-clone-w6mk1hp4","issue_title": "Auto-detect all issues in repository","issue_body": "Scan repository files, report all bugs and defects found across the repository, write a failing pytest reproduction test for the primary bug, and fix it.","status": "committed","iterations": 1,"findings_count": 1,"findings": [9 unmodified lines"repro_test": "import json\nimport pathlib\n\n\ndef test_package_json_has_start_script():\n \"\"\"The project should define a `start` script in package.json.\n This is required to run the development server. The current repository\n lacks this entry, causing `npm start` to fail. The test will fail until the\n bug is fixed by adding the missing script.\n \"\"\"\n pkg_path = pathlib.Path(__file__).parent / \"package.json\"\n # Ensure the file exists\n assert pkg_path.is_file(), f\"package.json not found at {pkg_path}\"\n data = json.loads(pkg_path.read_text())\n scripts = data.get(\"scripts\", {})\n assert \"start\" in scripts, \"Missing 'start' script in package.json\"\n","fix_rationale": "The repository's package.json lacks a \"start\" script, causing the test that checks for its presence to fail. Adding a \"start\" entry (e.g., \"npm run dev\") to the scripts object resolves the failure while preserving existing functionality.","patch_unified_diff": "--- a/package.json\n+++ b/package.json\n@@ -5,6 +5,7 @@\n \"type\": \"module\",\n \"scripts\": {\n \"dev\": \"tsx server.ts\",\n+ \"start\": \"npm run dev\",\n \"build\": \"vite build\",\n \"preview\": \"vite preview\",\n \"clean\": \"rm -rf dist\",\n","commit_sha": "c84b21b"}
runs/live-be9ac767.json+3-3