Add bugfix benchmark run live-be9ac767
Browse files- runs/live-be9ac767.json +3 -3
runs/live-be9ac767.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
{
|
| 2 |
"run_id": "live-be9ac767",
|
| 3 |
-
"created_at": "2026-11-20T12:
|
| 4 |
"repo": "/tmp/bugfix-clone-w6mk1hp4",
|
| 5 |
"issue_title": "Auto-detect all issues in repository",
|
| 6 |
"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.",
|
| 7 |
-
"status": "
|
| 8 |
"iterations": 1,
|
| 9 |
"findings_count": 1,
|
| 10 |
"findings": [
|
|
@@ -20,5 +20,5 @@
|
|
| 20 |
"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",
|
| 21 |
"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.",
|
| 22 |
"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",
|
| 23 |
-
"commit_sha":
|
| 24 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"run_id": "live-be9ac767",
|
| 3 |
+
"created_at": "2026-11-20T12:07:43.686270+00:00",
|
| 4 |
"repo": "/tmp/bugfix-clone-w6mk1hp4",
|
| 5 |
"issue_title": "Auto-detect all issues in repository",
|
| 6 |
"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.",
|
| 7 |
+
"status": "committed",
|
| 8 |
"iterations": 1,
|
| 9 |
"findings_count": 1,
|
| 10 |
"findings": [
|
|
|
|
| 20 |
"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",
|
| 21 |
"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.",
|
| 22 |
"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",
|
| 23 |
+
"commit_sha": "c84b21b"
|
| 24 |
}
|