Dataset Preview
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code: DatasetGenerationError
Exception: TypeError
Message: Couldn't cast array of type
struct<repo_tree: list<item: string>, logs: list<item: string>, session_context: struct<session_id: string, history_summary: string, cached_context_stable: bool>, constraints: list<item: string>>
to
{'repo_tree': List(Value('string')), 'constraints': List(Value('string')), 'failing_tests': List(Value('string')), 'acceptance_criteria': List(Value('string'))}
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1872, in _prepare_split_single
for key, table in generator:
^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 295, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 128, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2281, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2233, in cast_table_to_schema
cast_array_to_feature(
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1804, in wrapper
return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2101, in cast_array_to_feature
raise TypeError(f"Couldn't cast array of type\n{_short_str(array.type)}\nto\n{_short_str(feature)}")
TypeError: Couldn't cast array of type
struct<repo_tree: list<item: string>, logs: list<item: string>, session_context: struct<session_id: string, history_summary: string, cached_context_stable: bool>, constraints: list<item: string>>
to
{'repo_tree': List(Value('string')), 'constraints': List(Value('string')), 'failing_tests': List(Value('string')), 'acceptance_criteria': List(Value('string'))}
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1347, in compute_config_parquet_and_info_response
parquet_operations = convert_to_parquet(builder)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 980, in convert_to_parquet
builder.download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 884, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 947, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1739, in _prepare_split
for job_id, done, content in self._prepare_split_single(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1925, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
id string | category string | language string | domain string | system string | user string | context dict | hypotheses list | agent_debate dict | tool_trace list | assistant_final dict | quality dict |
|---|---|---|---|---|---|---|---|---|---|---|---|
bugfix_v2-00001 | bugfix_regression_repair | rust | cache_invalidator | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the cache_invalidator module.
# Repo Tree
src/cache_invalidator.rs
src/helpers.rs
tests/cache_invalidator_tests.rs
# Existing Files
## src/cache_invalidator.rs
pub fn head(values: &[i32]) -> &[i32] {
&values[0..=1]
}
## src/helpers.rs
pub fn normalize_flag(value: bool) -> bool ... | {
"repo_tree": [
"src/cache_invalidator.rs",
"src/helpers.rs",
"tests/cache_invalidator_tests.rs"
],
"constraints": [
"Do not add external libraries",
"Keep backward compatibility for existing callers",
"Touch the fewest files possible"
],
"failing_tests": [
"tests/cache_invalidato... | [
"Slice bounds were off by one.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Slice bounds were off by one.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": "Challenge assum... | [
{
"tool": "list_files",
"args": {},
"result": [
"src/cache_invalidator.rs",
"src/helpers.rs",
"tests/cache_invalidator_tests.rs"
]
},
{
"tool": "grep",
"args": {
"pattern": "off_by_one_slice"
},
"result": [
"src/cache_invalidator.rs"
]
},
{
... | {
"diagnosis": "Slice bounds were off by one.",
"hypotheses_explored": [
"Slice bounds were off by one.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"src/cache_invalidator.rs"
],
"edits": [
"Replaced the faulty off_by_one_slice logic in src/cache_inval... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00002 | bugfix_regression_repair | go | inventory_api | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the inventory_api module.
# Repo Tree
internal/inventory_api/inventory_api.go
internal/common/helpers.go
internal/inventory_api/inventory_api_test.go
# Existing Files
## internal/inventory_api/inventory_api.go
func readCount(read func() (string, error)) (int, error) {
raw, err :... | {
"repo_tree": [
"internal/inventory_api/inventory_api.go",
"internal/common/helpers.go",
"internal/inventory_api/inventory_api_test.go"
],
"constraints": [
"Do not change the database schema",
"Preserve public API compatibility",
"Keep runtime dependencies unchanged"
],
"failing_tests... | [
"Conversion errors were silently discarded.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Conversion errors were silently discarded.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": "Ch... | [
{
"tool": "list_files",
"args": {},
"result": [
"internal/inventory_api/inventory_api.go",
"internal/common/helpers.go",
"internal/inventory_api/inventory_api_test.go"
]
},
{
"tool": "grep",
"args": {
"pattern": "discarded_conversion_error"
},
"result": [
... | {
"diagnosis": "Conversion errors were silently discarded.",
"hypotheses_explored": [
"Conversion errors were silently discarded.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"internal/inventory_api/inventory_api.go"
],
"edits": [
"Replaced the faulty ... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00003 | bugfix_regression_repair | java | rate_limiter | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the rate_limiter module.
# Repo Tree
src/main/java/com/acme/RateLimiterService.java
src/main/java/com/acme/Helpers.java
src/test/java/com/acme/RateLimiterServiceTest.java
# Existing Files
## src/main/java/com/acme/RateLimiterService.java
public String getName(Optional<User> user) {
... | {
"repo_tree": [
"src/main/java/com/acme/RateLimiterService.java",
"src/main/java/com/acme/Helpers.java",
"src/test/java/com/acme/RateLimiterServiceTest.java"
],
"constraints": [
"Do not rename exported symbols",
"Preserve current logging keys",
"Keep behavior deterministic for tests"
],... | [
"Optional.get() could throw when value absent.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Optional.get() could throw when value absent.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": ... | [
{
"tool": "list_files",
"args": {},
"result": [
"src/main/java/com/acme/RateLimiterService.java",
"src/main/java/com/acme/Helpers.java",
"src/test/java/com/acme/RateLimiterServiceTest.java"
]
},
{
"tool": "grep",
"args": {
"pattern": "optional_without_guard"
}... | {
"diagnosis": "Optional.get() could throw when value absent.",
"hypotheses_explored": [
"Optional.get() could throw when value absent.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"src/main/java/com/acme/RateLimiterService.java"
],
"edits": [
"Replace... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00004 | bugfix_regression_repair | cpp | auth_service | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the auth_service module.
# Repo Tree
src/auth_service.cpp
include/auth_service.hpp
tests/auth_service_test.cpp
# Existing Files
## src/auth_service.cpp
bool hasItems(size_t count) {
return count - 1 > 0;
}
## include/auth_service.hpp
#pragma once
inline bool normalize_flag(bool... | {
"repo_tree": [
"src/auth_service.cpp",
"include/auth_service.hpp",
"tests/auth_service_test.cpp"
],
"constraints": [
"Do not rename exported symbols",
"Preserve current logging keys",
"Keep behavior deterministic for tests"
],
"failing_tests": [
"tests/auth_service_test.cpp::test... | [
"Unsigned subtraction underflowed at zero.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Unsigned subtraction underflowed at zero.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": "Cha... | [
{
"tool": "list_files",
"args": {},
"result": [
"src/auth_service.cpp",
"include/auth_service.hpp",
"tests/auth_service_test.cpp"
]
},
{
"tool": "grep",
"args": {
"pattern": "unsigned_underflow"
},
"result": [
"src/auth_service.cpp"
]
},
{
... | {
"diagnosis": "Unsigned subtraction underflowed at zero.",
"hypotheses_explored": [
"Unsigned subtraction underflowed at zero.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"src/auth_service.cpp"
],
"edits": [
"Replaced the faulty unsigned_underflow lo... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00005 | bugfix_regression_repair | rust | billing_pipeline | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the billing_pipeline module.
# Repo Tree
src/billing_pipeline.rs
src/helpers.rs
tests/billing_pipeline_tests.rs
# Existing Files
## src/billing_pipeline.rs
pub fn parse_port(input: &str) -> u16 {
input.parse::<u16>().unwrap()
}
## src/helpers.rs
pub fn normalize_flag(value: boo... | {
"repo_tree": [
"src/billing_pipeline.rs",
"src/helpers.rs",
"tests/billing_pipeline_tests.rs"
],
"constraints": [
"Do not change the database schema",
"Preserve public API compatibility",
"Keep runtime dependencies unchanged"
],
"failing_tests": [
"tests/billing_pipeline_tests.rs... | [
"Unwrap could panic on invalid port input.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Unwrap could panic on invalid port input.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": "Cha... | [
{
"tool": "list_files",
"args": {},
"result": [
"src/billing_pipeline.rs",
"src/helpers.rs",
"tests/billing_pipeline_tests.rs"
]
},
{
"tool": "grep",
"args": {
"pattern": "unwrap_panic"
},
"result": [
"src/billing_pipeline.rs"
]
},
{
"too... | {
"diagnosis": "Unwrap could panic on invalid port input.",
"hypotheses_explored": [
"Unwrap could panic on invalid port input.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"src/billing_pipeline.rs"
],
"edits": [
"Replaced the faulty unwrap_panic logic... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00006 | bugfix_regression_repair | typescript | shipping_rate_engine | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the shipping_rate_engine module.
# Repo Tree
src/shipping_rate_engine.ts
src/helpers.ts
tests/shipping_rate_engine.spec.ts
# Existing Files
## src/shipping_rate_engine.ts
export async function fetchUser(client, id) {
const row = client.getUser(id);
return { id: row.id, name: row... | {
"repo_tree": [
"src/shipping_rate_engine.ts",
"src/helpers.ts",
"tests/shipping_rate_engine.spec.ts"
],
"constraints": [
"Do not add external libraries",
"Keep backward compatibility for existing callers",
"Touch the fewest files possible"
],
"failing_tests": [
"tests/shipping_ra... | [
"Promise was used like a resolved object.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Promise was used like a resolved object.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": "Chal... | [
{
"tool": "list_files",
"args": {},
"result": [
"src/shipping_rate_engine.ts",
"src/helpers.ts",
"tests/shipping_rate_engine.spec.ts"
]
},
{
"tool": "grep",
"args": {
"pattern": "missing_await"
},
"result": [
"src/shipping_rate_engine.ts"
]
},
... | {
"diagnosis": "Promise was used like a resolved object.",
"hypotheses_explored": [
"Promise was used like a resolved object.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"src/shipping_rate_engine.ts"
],
"edits": [
"Replaced the faulty missing_await lo... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00007 | bugfix_regression_repair | java | warehouse_sync | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the warehouse_sync module.
# Repo Tree
src/main/java/com/acme/WarehouseSyncService.java
src/main/java/com/acme/Helpers.java
src/test/java/com/acme/WarehouseSyncServiceTest.java
# Existing Files
## src/main/java/com/acme/WarehouseSyncService.java
public boolean isAdmin(String role) {... | {
"repo_tree": [
"src/main/java/com/acme/WarehouseSyncService.java",
"src/main/java/com/acme/Helpers.java",
"src/test/java/com/acme/WarehouseSyncServiceTest.java"
],
"constraints": [
"Do not add external libraries",
"Keep backward compatibility for existing callers",
"Touch the fewest file... | [
"String comparison used reference equality.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: String comparison used reference equality.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": "Ch... | [
{
"tool": "list_files",
"args": {},
"result": [
"src/main/java/com/acme/WarehouseSyncService.java",
"src/main/java/com/acme/Helpers.java",
"src/test/java/com/acme/WarehouseSyncServiceTest.java"
]
},
{
"tool": "grep",
"args": {
"pattern": "string_reference_compare"... | {
"diagnosis": "String comparison used reference equality.",
"hypotheses_explored": [
"String comparison used reference equality.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"src/main/java/com/acme/WarehouseSyncService.java"
],
"edits": [
"Replaced th... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00008 | bugfix_regression_repair | typescript | auth_service | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the auth_service module.
# Repo Tree
src/auth_service.ts
src/helpers.ts
tests/auth_service.spec.ts
# Existing Files
## src/auth_service.ts
export function isEnabled(raw: string): boolean {
return JSON.parse(raw).enabled;
}
## src/helpers.ts
export function normalizeFlag(input: un... | {
"repo_tree": [
"src/auth_service.ts",
"src/helpers.ts",
"tests/auth_service.spec.ts"
],
"constraints": [
"Do not add external libraries",
"Keep backward compatibility for existing callers",
"Touch the fewest files possible"
],
"failing_tests": [
"tests/auth_service.spec.ts::test_... | [
"Boolean state was not normalized before use.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Boolean state was not normalized before use.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": "... | [
{
"tool": "list_files",
"args": {},
"result": [
"src/auth_service.ts",
"src/helpers.ts",
"tests/auth_service.spec.ts"
]
},
{
"tool": "grep",
"args": {
"pattern": "unsafe_boolean_parse"
},
"result": [
"src/auth_service.ts"
]
},
{
"tool": "... | {
"diagnosis": "Boolean state was not normalized before use.",
"hypotheses_explored": [
"Boolean state was not normalized before use.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"src/auth_service.ts"
],
"edits": [
"Replaced the faulty unsafe_boolean_p... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00009 | bugfix_regression_repair | java | session_manager | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the session_manager module.
# Repo Tree
src/main/java/com/acme/SessionManagerService.java
src/main/java/com/acme/Helpers.java
src/test/java/com/acme/SessionManagerServiceTest.java
# Existing Files
## src/main/java/com/acme/SessionManagerService.java
public boolean isAdmin(String rol... | {
"repo_tree": [
"src/main/java/com/acme/SessionManagerService.java",
"src/main/java/com/acme/Helpers.java",
"src/test/java/com/acme/SessionManagerServiceTest.java"
],
"constraints": [
"Preserve wire-format compatibility",
"Do not increase memory complexity above linear",
"Retain current a... | [
"String comparison used reference equality.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: String comparison used reference equality.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": "Ch... | [
{
"tool": "list_files",
"args": {},
"result": [
"src/main/java/com/acme/SessionManagerService.java",
"src/main/java/com/acme/Helpers.java",
"src/test/java/com/acme/SessionManagerServiceTest.java"
]
},
{
"tool": "grep",
"args": {
"pattern": "string_reference_compar... | {
"diagnosis": "String comparison used reference equality.",
"hypotheses_explored": [
"String comparison used reference equality.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"src/main/java/com/acme/SessionManagerService.java"
],
"edits": [
"Replaced t... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00010 | bugfix_regression_repair | cpp | quota_enforcer | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the quota_enforcer module.
# Repo Tree
src/quota_enforcer.cpp
include/quota_enforcer.hpp
tests/quota_enforcer_test.cpp
# Existing Files
## src/quota_enforcer.cpp
bool hasItems(size_t count) {
return count - 1 > 0;
}
## include/quota_enforcer.hpp
#pragma once
inline bool normali... | {
"repo_tree": [
"src/quota_enforcer.cpp",
"include/quota_enforcer.hpp",
"tests/quota_enforcer_test.cpp"
],
"constraints": [
"Do not alter persisted file formats",
"Do not change CLI flags",
"Keep thread safety intact"
],
"failing_tests": [
"tests/quota_enforcer_test.cpp::test_prim... | [
"Unsigned subtraction underflowed at zero.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Unsigned subtraction underflowed at zero.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": "Cha... | [
{
"tool": "list_files",
"args": {},
"result": [
"src/quota_enforcer.cpp",
"include/quota_enforcer.hpp",
"tests/quota_enforcer_test.cpp"
]
},
{
"tool": "grep",
"args": {
"pattern": "unsigned_underflow"
},
"result": [
"src/quota_enforcer.cpp"
]
}... | {
"diagnosis": "Unsigned subtraction underflowed at zero.",
"hypotheses_explored": [
"Unsigned subtraction underflowed at zero.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"src/quota_enforcer.cpp"
],
"edits": [
"Replaced the faulty unsigned_underflow ... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00011 | bugfix_regression_repair | go | notification_hub | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the notification_hub module.
# Repo Tree
internal/notification_hub/notification_hub.go
internal/common/helpers.go
internal/notification_hub/notification_hub_test.go
# Existing Files
## internal/notification_hub/notification_hub.go
func addTag(tags map[string]string, k string, v stri... | {
"repo_tree": [
"internal/notification_hub/notification_hub.go",
"internal/common/helpers.go",
"internal/notification_hub/notification_hub_test.go"
],
"constraints": [
"Do not add external libraries",
"Keep backward compatibility for existing callers",
"Touch the fewest files possible"
... | [
"Assignment to a nil map panicked.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Assignment to a nil map panicked.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": "Challenge a... | [
{
"tool": "list_files",
"args": {},
"result": [
"internal/notification_hub/notification_hub.go",
"internal/common/helpers.go",
"internal/notification_hub/notification_hub_test.go"
]
},
{
"tool": "grep",
"args": {
"pattern": "nil_map_assignment"
},
"result"... | {
"diagnosis": "Assignment to a nil map panicked.",
"hypotheses_explored": [
"Assignment to a nil map panicked.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"internal/notification_hub/notification_hub.go"
],
"edits": [
"Replaced the faulty nil_map_assi... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00012 | bugfix_regression_repair | java | customer_portal | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the customer_portal module.
# Repo Tree
src/main/java/com/acme/CustomerPortalService.java
src/main/java/com/acme/Helpers.java
src/test/java/com/acme/CustomerPortalServiceTest.java
# Existing Files
## src/main/java/com/acme/CustomerPortalService.java
public boolean isAdmin(String rol... | {
"repo_tree": [
"src/main/java/com/acme/CustomerPortalService.java",
"src/main/java/com/acme/Helpers.java",
"src/test/java/com/acme/CustomerPortalServiceTest.java"
],
"constraints": [
"Preserve wire-format compatibility",
"Do not increase memory complexity above linear",
"Retain current a... | [
"String comparison used reference equality.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: String comparison used reference equality.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": "Ch... | [
{
"tool": "list_files",
"args": {},
"result": [
"src/main/java/com/acme/CustomerPortalService.java",
"src/main/java/com/acme/Helpers.java",
"src/test/java/com/acme/CustomerPortalServiceTest.java"
]
},
{
"tool": "grep",
"args": {
"pattern": "string_reference_compar... | {
"diagnosis": "String comparison used reference equality.",
"hypotheses_explored": [
"String comparison used reference equality.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"src/main/java/com/acme/CustomerPortalService.java"
],
"edits": [
"Replaced t... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00013 | bugfix_regression_repair | typescript | inventory_api | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the inventory_api module.
# Repo Tree
src/inventory_api.ts
src/helpers.ts
tests/inventory_api.spec.ts
# Existing Files
## src/inventory_api.ts
export function normalizeLimit(limit?: number): number {
return limit || 100;
}
## src/helpers.ts
export function normalizeFlag(input: un... | {
"repo_tree": [
"src/inventory_api.ts",
"src/helpers.ts",
"tests/inventory_api.spec.ts"
],
"constraints": [
"Do not alter persisted file formats",
"Do not change CLI flags",
"Keep thread safety intact"
],
"failing_tests": [
"tests/inventory_api.spec.ts::test_primary_behavior",
... | [
"Zero was incorrectly replaced by the default.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Zero was incorrectly replaced by the default.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": ... | [
{
"tool": "list_files",
"args": {},
"result": [
"src/inventory_api.ts",
"src/helpers.ts",
"tests/inventory_api.spec.ts"
]
},
{
"tool": "grep",
"args": {
"pattern": "zero_is_valid"
},
"result": [
"src/inventory_api.ts"
]
},
{
"tool": "read... | {
"diagnosis": "Zero was incorrectly replaced by the default.",
"hypotheses_explored": [
"Zero was incorrectly replaced by the default.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"src/inventory_api.ts"
],
"edits": [
"Replaced the faulty zero_is_valid... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00014 | bugfix_regression_repair | typescript | auth_service | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the auth_service module.
# Repo Tree
src/auth_service.ts
src/helpers.ts
tests/auth_service.spec.ts
# Existing Files
## src/auth_service.ts
export function isEnabled(raw: string): boolean {
return JSON.parse(raw).enabled;
}
## src/helpers.ts
export function normalizeFlag(input: un... | {
"repo_tree": [
"src/auth_service.ts",
"src/helpers.ts",
"tests/auth_service.spec.ts"
],
"constraints": [
"Do not change the database schema",
"Preserve public API compatibility",
"Keep runtime dependencies unchanged"
],
"failing_tests": [
"tests/auth_service.spec.ts::test_primary... | [
"Boolean state was not normalized before use.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Boolean state was not normalized before use.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": "... | [
{
"tool": "list_files",
"args": {},
"result": [
"src/auth_service.ts",
"src/helpers.ts",
"tests/auth_service.spec.ts"
]
},
{
"tool": "grep",
"args": {
"pattern": "unsafe_boolean_parse"
},
"result": [
"src/auth_service.ts"
]
},
{
"tool": "... | {
"diagnosis": "Boolean state was not normalized before use.",
"hypotheses_explored": [
"Boolean state was not normalized before use.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"src/auth_service.ts"
],
"edits": [
"Replaced the faulty unsafe_boolean_p... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00015 | bugfix_regression_repair | rust | chat_backend | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the chat_backend module.
# Repo Tree
src/chat_backend.rs
src/helpers.rs
tests/chat_backend_tests.rs
# Existing Files
## src/chat_backend.rs
pub fn parse_port(input: &str) -> u16 {
input.parse::<u16>().unwrap()
}
## src/helpers.rs
pub fn normalize_flag(value: bool) -> bool { val... | {
"repo_tree": [
"src/chat_backend.rs",
"src/helpers.rs",
"tests/chat_backend_tests.rs"
],
"constraints": [
"Do not add external libraries",
"Keep backward compatibility for existing callers",
"Touch the fewest files possible"
],
"failing_tests": [
"tests/chat_backend_tests.rs::tes... | [
"Unwrap could panic on invalid port input.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Unwrap could panic on invalid port input.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": "Cha... | [
{
"tool": "list_files",
"args": {},
"result": [
"src/chat_backend.rs",
"src/helpers.rs",
"tests/chat_backend_tests.rs"
]
},
{
"tool": "grep",
"args": {
"pattern": "unwrap_panic"
},
"result": [
"src/chat_backend.rs"
]
},
{
"tool": "read_fi... | {
"diagnosis": "Unwrap could panic on invalid port input.",
"hypotheses_explored": [
"Unwrap could panic on invalid port input.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"src/chat_backend.rs"
],
"edits": [
"Replaced the faulty unwrap_panic logic in ... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00016 | bugfix_regression_repair | typescript | warehouse_sync | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the warehouse_sync module.
# Repo Tree
src/warehouse_sync.ts
src/helpers.ts
tests/warehouse_sync.spec.ts
# Existing Files
## src/warehouse_sync.ts
export function normalizeLimit(limit?: number): number {
return limit || 100;
}
## src/helpers.ts
export function normalizeFlag(input... | {
"repo_tree": [
"src/warehouse_sync.ts",
"src/helpers.ts",
"tests/warehouse_sync.spec.ts"
],
"constraints": [
"Do not rename exported symbols",
"Preserve current logging keys",
"Keep behavior deterministic for tests"
],
"failing_tests": [
"tests/warehouse_sync.spec.ts::test_primar... | [
"Zero was incorrectly replaced by the default.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Zero was incorrectly replaced by the default.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": ... | [
{
"tool": "list_files",
"args": {},
"result": [
"src/warehouse_sync.ts",
"src/helpers.ts",
"tests/warehouse_sync.spec.ts"
]
},
{
"tool": "grep",
"args": {
"pattern": "zero_is_valid"
},
"result": [
"src/warehouse_sync.ts"
]
},
{
"tool": "r... | {
"diagnosis": "Zero was incorrectly replaced by the default.",
"hypotheses_explored": [
"Zero was incorrectly replaced by the default.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"src/warehouse_sync.ts"
],
"edits": [
"Replaced the faulty zero_is_vali... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00017 | bugfix_regression_repair | java | inventory_api | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the inventory_api module.
# Repo Tree
src/main/java/com/acme/InventoryApiService.java
src/main/java/com/acme/Helpers.java
src/test/java/com/acme/InventoryApiServiceTest.java
# Existing Files
## src/main/java/com/acme/InventoryApiService.java
public boolean isAdmin(String role) {
... | {
"repo_tree": [
"src/main/java/com/acme/InventoryApiService.java",
"src/main/java/com/acme/Helpers.java",
"src/test/java/com/acme/InventoryApiServiceTest.java"
],
"constraints": [
"Do not alter persisted file formats",
"Do not change CLI flags",
"Keep thread safety intact"
],
"failing... | [
"String comparison used reference equality.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: String comparison used reference equality.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": "Ch... | [
{
"tool": "list_files",
"args": {},
"result": [
"src/main/java/com/acme/InventoryApiService.java",
"src/main/java/com/acme/Helpers.java",
"src/test/java/com/acme/InventoryApiServiceTest.java"
]
},
{
"tool": "grep",
"args": {
"pattern": "string_reference_compare"
... | {
"diagnosis": "String comparison used reference equality.",
"hypotheses_explored": [
"String comparison used reference equality.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"src/main/java/com/acme/InventoryApiService.java"
],
"edits": [
"Replaced the... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00018 | bugfix_regression_repair | go | search_indexer | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the search_indexer module.
# Repo Tree
internal/search_indexer/search_indexer.go
internal/common/helpers.go
internal/search_indexer/search_indexer_test.go
# Existing Files
## internal/search_indexer/search_indexer.go
func addTag(tags map[string]string, k string, v string) map[string... | {
"repo_tree": [
"internal/search_indexer/search_indexer.go",
"internal/common/helpers.go",
"internal/search_indexer/search_indexer_test.go"
],
"constraints": [
"Do not change the database schema",
"Preserve public API compatibility",
"Keep runtime dependencies unchanged"
],
"failing_t... | [
"Assignment to a nil map panicked.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Assignment to a nil map panicked.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": "Challenge a... | [
{
"tool": "list_files",
"args": {},
"result": [
"internal/search_indexer/search_indexer.go",
"internal/common/helpers.go",
"internal/search_indexer/search_indexer_test.go"
]
},
{
"tool": "grep",
"args": {
"pattern": "nil_map_assignment"
},
"result": [
... | {
"diagnosis": "Assignment to a nil map panicked.",
"hypotheses_explored": [
"Assignment to a nil map panicked.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"internal/search_indexer/search_indexer.go"
],
"edits": [
"Replaced the faulty nil_map_assignme... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00019 | bugfix_regression_repair | python | audit_logger | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the audit_logger module.
# Repo Tree
app/audit_logger.py
app/helpers.py
tests/test_audit_logger.py
# Existing Files
## app/audit_logger.py
def add_item(item, bucket=[]):
bucket.append(item)
return bucket
## app/helpers.py
def normalize_flag(value):
return bool(value)
#... | {
"repo_tree": [
"app/audit_logger.py",
"app/helpers.py",
"tests/test_audit_logger.py"
],
"constraints": [
"Preserve wire-format compatibility",
"Do not increase memory complexity above linear",
"Retain current auth semantics"
],
"failing_tests": [
"tests/test_audit_logger.py::test... | [
"Mutable default argument leaked state across calls.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Mutable default argument leaked state across calls.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"cri... | [
{
"tool": "list_files",
"args": {},
"result": [
"app/audit_logger.py",
"app/helpers.py",
"tests/test_audit_logger.py"
]
},
{
"tool": "grep",
"args": {
"pattern": "mutable_default_bucket"
},
"result": [
"app/audit_logger.py"
]
},
{
"tool":... | {
"diagnosis": "Mutable default argument leaked state across calls.",
"hypotheses_explored": [
"Mutable default argument leaked state across calls.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"app/audit_logger.py"
],
"edits": [
"Replaced the faulty mu... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00020 | bugfix_regression_repair | java | search_indexer | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the search_indexer module.
# Repo Tree
src/main/java/com/acme/SearchIndexerService.java
src/main/java/com/acme/Helpers.java
src/test/java/com/acme/SearchIndexerServiceTest.java
# Existing Files
## src/main/java/com/acme/SearchIndexerService.java
public boolean isAdmin(String role) {... | {
"repo_tree": [
"src/main/java/com/acme/SearchIndexerService.java",
"src/main/java/com/acme/Helpers.java",
"src/test/java/com/acme/SearchIndexerServiceTest.java"
],
"constraints": [
"Do not change the database schema",
"Preserve public API compatibility",
"Keep runtime dependencies unchan... | [
"String comparison used reference equality.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: String comparison used reference equality.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": "Ch... | [
{
"tool": "list_files",
"args": {},
"result": [
"src/main/java/com/acme/SearchIndexerService.java",
"src/main/java/com/acme/Helpers.java",
"src/test/java/com/acme/SearchIndexerServiceTest.java"
]
},
{
"tool": "grep",
"args": {
"pattern": "string_reference_compare"... | {
"diagnosis": "String comparison used reference equality.",
"hypotheses_explored": [
"String comparison used reference equality.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"src/main/java/com/acme/SearchIndexerService.java"
],
"edits": [
"Replaced th... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00021 | bugfix_regression_repair | go | metrics_gateway | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the metrics_gateway module.
# Repo Tree
internal/metrics_gateway/metrics_gateway.go
internal/common/helpers.go
internal/metrics_gateway/metrics_gateway_test.go
# Existing Files
## internal/metrics_gateway/metrics_gateway.go
func addTag(tags map[string]string, k string, v string) map... | {
"repo_tree": [
"internal/metrics_gateway/metrics_gateway.go",
"internal/common/helpers.go",
"internal/metrics_gateway/metrics_gateway_test.go"
],
"constraints": [
"Do not change the database schema",
"Preserve public API compatibility",
"Keep runtime dependencies unchanged"
],
"faili... | [
"Assignment to a nil map panicked.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Assignment to a nil map panicked.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": "Challenge a... | [
{
"tool": "list_files",
"args": {},
"result": [
"internal/metrics_gateway/metrics_gateway.go",
"internal/common/helpers.go",
"internal/metrics_gateway/metrics_gateway_test.go"
]
},
{
"tool": "grep",
"args": {
"pattern": "nil_map_assignment"
},
"result": [
... | {
"diagnosis": "Assignment to a nil map panicked.",
"hypotheses_explored": [
"Assignment to a nil map panicked.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"internal/metrics_gateway/metrics_gateway.go"
],
"edits": [
"Replaced the faulty nil_map_assign... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00022 | bugfix_regression_repair | rust | search_indexer | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the search_indexer module.
# Repo Tree
src/search_indexer.rs
src/helpers.rs
tests/search_indexer_tests.rs
# Existing Files
## src/search_indexer.rs
pub fn parse_port(input: &str) -> u16 {
input.parse::<u16>().unwrap()
}
## src/helpers.rs
pub fn normalize_flag(value: bool) -> bo... | {
"repo_tree": [
"src/search_indexer.rs",
"src/helpers.rs",
"tests/search_indexer_tests.rs"
],
"constraints": [
"Do not add external libraries",
"Keep backward compatibility for existing callers",
"Touch the fewest files possible"
],
"failing_tests": [
"tests/search_indexer_tests.r... | [
"Unwrap could panic on invalid port input.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Unwrap could panic on invalid port input.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": "Cha... | [
{
"tool": "list_files",
"args": {},
"result": [
"src/search_indexer.rs",
"src/helpers.rs",
"tests/search_indexer_tests.rs"
]
},
{
"tool": "grep",
"args": {
"pattern": "unwrap_panic"
},
"result": [
"src/search_indexer.rs"
]
},
{
"tool": "r... | {
"diagnosis": "Unwrap could panic on invalid port input.",
"hypotheses_explored": [
"Unwrap could panic on invalid port input.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"src/search_indexer.rs"
],
"edits": [
"Replaced the faulty unwrap_panic logic i... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00023 | bugfix_regression_repair | rust | shipping_rate_engine | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the shipping_rate_engine module.
# Repo Tree
src/shipping_rate_engine.rs
src/helpers.rs
tests/shipping_rate_engine_tests.rs
# Existing Files
## src/shipping_rate_engine.rs
pub fn parse_port(input: &str) -> u16 {
input.parse::<u16>().unwrap()
}
## src/helpers.rs
pub fn normalize... | {
"repo_tree": [
"src/shipping_rate_engine.rs",
"src/helpers.rs",
"tests/shipping_rate_engine_tests.rs"
],
"constraints": [
"Do not alter persisted file formats",
"Do not change CLI flags",
"Keep thread safety intact"
],
"failing_tests": [
"tests/shipping_rate_engine_tests.rs::test... | [
"Unwrap could panic on invalid port input.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Unwrap could panic on invalid port input.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": "Cha... | [
{
"tool": "list_files",
"args": {},
"result": [
"src/shipping_rate_engine.rs",
"src/helpers.rs",
"tests/shipping_rate_engine_tests.rs"
]
},
{
"tool": "grep",
"args": {
"pattern": "unwrap_panic"
},
"result": [
"src/shipping_rate_engine.rs"
]
},
... | {
"diagnosis": "Unwrap could panic on invalid port input.",
"hypotheses_explored": [
"Unwrap could panic on invalid port input.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"src/shipping_rate_engine.rs"
],
"edits": [
"Replaced the faulty unwrap_panic l... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00024 | bugfix_regression_repair | rust | billing_pipeline | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the billing_pipeline module.
# Repo Tree
src/billing_pipeline.rs
src/helpers.rs
tests/billing_pipeline_tests.rs
# Existing Files
## src/billing_pipeline.rs
pub fn parse_port(input: &str) -> u16 {
input.parse::<u16>().unwrap()
}
## src/helpers.rs
pub fn normalize_flag(value: boo... | {
"repo_tree": [
"src/billing_pipeline.rs",
"src/helpers.rs",
"tests/billing_pipeline_tests.rs"
],
"constraints": [
"Do not alter persisted file formats",
"Do not change CLI flags",
"Keep thread safety intact"
],
"failing_tests": [
"tests/billing_pipeline_tests.rs::test_primary_beh... | [
"Unwrap could panic on invalid port input.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Unwrap could panic on invalid port input.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": "Cha... | [
{
"tool": "list_files",
"args": {},
"result": [
"src/billing_pipeline.rs",
"src/helpers.rs",
"tests/billing_pipeline_tests.rs"
]
},
{
"tool": "grep",
"args": {
"pattern": "unwrap_panic"
},
"result": [
"src/billing_pipeline.rs"
]
},
{
"too... | {
"diagnosis": "Unwrap could panic on invalid port input.",
"hypotheses_explored": [
"Unwrap could panic on invalid port input.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"src/billing_pipeline.rs"
],
"edits": [
"Replaced the faulty unwrap_panic logic... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00025 | bugfix_regression_repair | cpp | quota_enforcer | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the quota_enforcer module.
# Repo Tree
src/quota_enforcer.cpp
include/quota_enforcer.hpp
tests/quota_enforcer_test.cpp
# Existing Files
## src/quota_enforcer.cpp
bool hasItems(size_t count) {
return count - 1 > 0;
}
## include/quota_enforcer.hpp
#pragma once
inline bool normali... | {
"repo_tree": [
"src/quota_enforcer.cpp",
"include/quota_enforcer.hpp",
"tests/quota_enforcer_test.cpp"
],
"constraints": [
"Do not change the database schema",
"Preserve public API compatibility",
"Keep runtime dependencies unchanged"
],
"failing_tests": [
"tests/quota_enforcer_t... | [
"Unsigned subtraction underflowed at zero.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Unsigned subtraction underflowed at zero.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": "Cha... | [
{
"tool": "list_files",
"args": {},
"result": [
"src/quota_enforcer.cpp",
"include/quota_enforcer.hpp",
"tests/quota_enforcer_test.cpp"
]
},
{
"tool": "grep",
"args": {
"pattern": "unsigned_underflow"
},
"result": [
"src/quota_enforcer.cpp"
]
}... | {
"diagnosis": "Unsigned subtraction underflowed at zero.",
"hypotheses_explored": [
"Unsigned subtraction underflowed at zero.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"src/quota_enforcer.cpp"
],
"edits": [
"Replaced the faulty unsigned_underflow ... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00026 | bugfix_regression_repair | typescript | rate_limiter | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the rate_limiter module.
# Repo Tree
src/rate_limiter.ts
src/helpers.ts
tests/rate_limiter.spec.ts
# Existing Files
## src/rate_limiter.ts
export function isEnabled(raw: string): boolean {
return JSON.parse(raw).enabled;
}
## src/helpers.ts
export function normalizeFlag(input: un... | {
"repo_tree": [
"src/rate_limiter.ts",
"src/helpers.ts",
"tests/rate_limiter.spec.ts"
],
"constraints": [
"Do not change the database schema",
"Preserve public API compatibility",
"Keep runtime dependencies unchanged"
],
"failing_tests": [
"tests/rate_limiter.spec.ts::test_primary... | [
"Boolean state was not normalized before use.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Boolean state was not normalized before use.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": "... | [
{
"tool": "list_files",
"args": {},
"result": [
"src/rate_limiter.ts",
"src/helpers.ts",
"tests/rate_limiter.spec.ts"
]
},
{
"tool": "grep",
"args": {
"pattern": "unsafe_boolean_parse"
},
"result": [
"src/rate_limiter.ts"
]
},
{
"tool": "... | {
"diagnosis": "Boolean state was not normalized before use.",
"hypotheses_explored": [
"Boolean state was not normalized before use.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"src/rate_limiter.ts"
],
"edits": [
"Replaced the faulty unsafe_boolean_p... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00027 | bugfix_regression_repair | java | customer_portal | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the customer_portal module.
# Repo Tree
src/main/java/com/acme/CustomerPortalService.java
src/main/java/com/acme/Helpers.java
src/test/java/com/acme/CustomerPortalServiceTest.java
# Existing Files
## src/main/java/com/acme/CustomerPortalService.java
public String getName(Optional<Us... | {
"repo_tree": [
"src/main/java/com/acme/CustomerPortalService.java",
"src/main/java/com/acme/Helpers.java",
"src/test/java/com/acme/CustomerPortalServiceTest.java"
],
"constraints": [
"Do not alter persisted file formats",
"Do not change CLI flags",
"Keep thread safety intact"
],
"fai... | [
"Optional.get() could throw when value absent.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Optional.get() could throw when value absent.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": ... | [
{
"tool": "list_files",
"args": {},
"result": [
"src/main/java/com/acme/CustomerPortalService.java",
"src/main/java/com/acme/Helpers.java",
"src/test/java/com/acme/CustomerPortalServiceTest.java"
]
},
{
"tool": "grep",
"args": {
"pattern": "optional_without_guard"... | {
"diagnosis": "Optional.get() could throw when value absent.",
"hypotheses_explored": [
"Optional.get() could throw when value absent.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"src/main/java/com/acme/CustomerPortalService.java"
],
"edits": [
"Repl... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00028 | bugfix_regression_repair | python | email_router | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the email_router module.
# Repo Tree
app/email_router.py
app/helpers.py
tests/test_email_router.py
# Existing Files
## app/email_router.py
from datetime import datetime
def is_expired(expiry):
return datetime.utcnow() > expiry
## app/helpers.py
def normalize_flag(value):
r... | {
"repo_tree": [
"app/email_router.py",
"app/helpers.py",
"tests/test_email_router.py"
],
"constraints": [
"Do not alter persisted file formats",
"Do not change CLI flags",
"Keep thread safety intact"
],
"failing_tests": [
"tests/test_email_router.py::test_primary_behavior",
"t... | [
"Token expiry logic mixed naive and timezone-aware datetimes.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Token expiry logic mixed naive and timezone-aware datetimes.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.... | [
{
"tool": "list_files",
"args": {},
"result": [
"app/email_router.py",
"app/helpers.py",
"tests/test_email_router.py"
]
},
{
"tool": "grep",
"args": {
"pattern": "naive_datetime_expiry"
},
"result": [
"app/email_router.py"
]
},
{
"tool": ... | {
"diagnosis": "Token expiry logic mixed naive and timezone-aware datetimes.",
"hypotheses_explored": [
"Token expiry logic mixed naive and timezone-aware datetimes.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"app/email_router.py"
],
"edits": [
"Repl... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00029 | bugfix_regression_repair | java | tenant_manager | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the tenant_manager module.
# Repo Tree
src/main/java/com/acme/TenantManagerService.java
src/main/java/com/acme/Helpers.java
src/test/java/com/acme/TenantManagerServiceTest.java
# Existing Files
## src/main/java/com/acme/TenantManagerService.java
public boolean isAdmin(String role) {... | {
"repo_tree": [
"src/main/java/com/acme/TenantManagerService.java",
"src/main/java/com/acme/Helpers.java",
"src/test/java/com/acme/TenantManagerServiceTest.java"
],
"constraints": [
"Do not add external libraries",
"Keep backward compatibility for existing callers",
"Touch the fewest file... | [
"String comparison used reference equality.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: String comparison used reference equality.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": "Ch... | [
{
"tool": "list_files",
"args": {},
"result": [
"src/main/java/com/acme/TenantManagerService.java",
"src/main/java/com/acme/Helpers.java",
"src/test/java/com/acme/TenantManagerServiceTest.java"
]
},
{
"tool": "grep",
"args": {
"pattern": "string_reference_compare"... | {
"diagnosis": "String comparison used reference equality.",
"hypotheses_explored": [
"String comparison used reference equality.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"src/main/java/com/acme/TenantManagerService.java"
],
"edits": [
"Replaced th... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00030 | bugfix_regression_repair | cpp | metrics_gateway | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the metrics_gateway module.
# Repo Tree
src/metrics_gateway.cpp
include/metrics_gateway.hpp
tests/metrics_gateway_test.cpp
# Existing Files
## src/metrics_gateway.cpp
const std::string& makeName() {
std::string value = "worker";
return value;
}
## include/metrics_gateway.hp... | {
"repo_tree": [
"src/metrics_gateway.cpp",
"include/metrics_gateway.hpp",
"tests/metrics_gateway_test.cpp"
],
"constraints": [
"Do not alter persisted file formats",
"Do not change CLI flags",
"Keep thread safety intact"
],
"failing_tests": [
"tests/metrics_gateway_test.cpp::test_... | [
"Returned a reference to a local value.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Returned a reference to a local value.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": "Challe... | [
{
"tool": "list_files",
"args": {},
"result": [
"src/metrics_gateway.cpp",
"include/metrics_gateway.hpp",
"tests/metrics_gateway_test.cpp"
]
},
{
"tool": "grep",
"args": {
"pattern": "dangling_reference"
},
"result": [
"src/metrics_gateway.cpp"
]... | {
"diagnosis": "Returned a reference to a local value.",
"hypotheses_explored": [
"Returned a reference to a local value.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"src/metrics_gateway.cpp"
],
"edits": [
"Replaced the faulty dangling_reference logic... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00031 | bugfix_regression_repair | go | notification_hub | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the notification_hub module.
# Repo Tree
internal/notification_hub/notification_hub.go
internal/common/helpers.go
internal/notification_hub/notification_hub_test.go
# Existing Files
## internal/notification_hub/notification_hub.go
func addTag(tags map[string]string, k string, v stri... | {
"repo_tree": [
"internal/notification_hub/notification_hub.go",
"internal/common/helpers.go",
"internal/notification_hub/notification_hub_test.go"
],
"constraints": [
"Preserve wire-format compatibility",
"Do not increase memory complexity above linear",
"Retain current auth semantics"
... | [
"Assignment to a nil map panicked.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Assignment to a nil map panicked.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": "Challenge a... | [
{
"tool": "list_files",
"args": {},
"result": [
"internal/notification_hub/notification_hub.go",
"internal/common/helpers.go",
"internal/notification_hub/notification_hub_test.go"
]
},
{
"tool": "grep",
"args": {
"pattern": "nil_map_assignment"
},
"result"... | {
"diagnosis": "Assignment to a nil map panicked.",
"hypotheses_explored": [
"Assignment to a nil map panicked.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"internal/notification_hub/notification_hub.go"
],
"edits": [
"Replaced the faulty nil_map_assi... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00032 | bugfix_regression_repair | typescript | search_indexer | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the search_indexer module.
# Repo Tree
src/search_indexer.ts
src/helpers.ts
tests/search_indexer.spec.ts
# Existing Files
## src/search_indexer.ts
export function isEnabled(raw: string): boolean {
return JSON.parse(raw).enabled;
}
## src/helpers.ts
export function normalizeFlag(i... | {
"repo_tree": [
"src/search_indexer.ts",
"src/helpers.ts",
"tests/search_indexer.spec.ts"
],
"constraints": [
"Do not change the database schema",
"Preserve public API compatibility",
"Keep runtime dependencies unchanged"
],
"failing_tests": [
"tests/search_indexer.spec.ts::test_p... | [
"Boolean state was not normalized before use.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Boolean state was not normalized before use.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": "... | [
{
"tool": "list_files",
"args": {},
"result": [
"src/search_indexer.ts",
"src/helpers.ts",
"tests/search_indexer.spec.ts"
]
},
{
"tool": "grep",
"args": {
"pattern": "unsafe_boolean_parse"
},
"result": [
"src/search_indexer.ts"
]
},
{
"to... | {
"diagnosis": "Boolean state was not normalized before use.",
"hypotheses_explored": [
"Boolean state was not normalized before use.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"src/search_indexer.ts"
],
"edits": [
"Replaced the faulty unsafe_boolean... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00033 | bugfix_regression_repair | java | email_router | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the email_router module.
# Repo Tree
src/main/java/com/acme/EmailRouterService.java
src/main/java/com/acme/Helpers.java
src/test/java/com/acme/EmailRouterServiceTest.java
# Existing Files
## src/main/java/com/acme/EmailRouterService.java
public String getName(Optional<User> user) {
... | {
"repo_tree": [
"src/main/java/com/acme/EmailRouterService.java",
"src/main/java/com/acme/Helpers.java",
"src/test/java/com/acme/EmailRouterServiceTest.java"
],
"constraints": [
"Do not add external libraries",
"Keep backward compatibility for existing callers",
"Touch the fewest files po... | [
"Optional.get() could throw when value absent.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Optional.get() could throw when value absent.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": ... | [
{
"tool": "list_files",
"args": {},
"result": [
"src/main/java/com/acme/EmailRouterService.java",
"src/main/java/com/acme/Helpers.java",
"src/test/java/com/acme/EmailRouterServiceTest.java"
]
},
{
"tool": "grep",
"args": {
"pattern": "optional_without_guard"
}... | {
"diagnosis": "Optional.get() could throw when value absent.",
"hypotheses_explored": [
"Optional.get() could throw when value absent.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"src/main/java/com/acme/EmailRouterService.java"
],
"edits": [
"Replace... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00034 | bugfix_regression_repair | rust | recommendation_feed | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the recommendation_feed module.
# Repo Tree
src/recommendation_feed.rs
src/helpers.rs
tests/recommendation_feed_tests.rs
# Existing Files
## src/recommendation_feed.rs
pub fn parse_port(input: &str) -> u16 {
input.parse::<u16>().unwrap()
}
## src/helpers.rs
pub fn normalize_fla... | {
"repo_tree": [
"src/recommendation_feed.rs",
"src/helpers.rs",
"tests/recommendation_feed_tests.rs"
],
"constraints": [
"Do not alter persisted file formats",
"Do not change CLI flags",
"Keep thread safety intact"
],
"failing_tests": [
"tests/recommendation_feed_tests.rs::test_pr... | [
"Unwrap could panic on invalid port input.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Unwrap could panic on invalid port input.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": "Cha... | [
{
"tool": "list_files",
"args": {},
"result": [
"src/recommendation_feed.rs",
"src/helpers.rs",
"tests/recommendation_feed_tests.rs"
]
},
{
"tool": "grep",
"args": {
"pattern": "unwrap_panic"
},
"result": [
"src/recommendation_feed.rs"
]
},
{... | {
"diagnosis": "Unwrap could panic on invalid port input.",
"hypotheses_explored": [
"Unwrap could panic on invalid port input.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"src/recommendation_feed.rs"
],
"edits": [
"Replaced the faulty unwrap_panic lo... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00035 | bugfix_regression_repair | typescript | warehouse_sync | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the warehouse_sync module.
# Repo Tree
src/warehouse_sync.ts
src/helpers.ts
tests/warehouse_sync.spec.ts
# Existing Files
## src/warehouse_sync.ts
export function isEnabled(raw: string): boolean {
return JSON.parse(raw).enabled;
}
## src/helpers.ts
export function normalizeFlag(i... | {
"repo_tree": [
"src/warehouse_sync.ts",
"src/helpers.ts",
"tests/warehouse_sync.spec.ts"
],
"constraints": [
"Do not add external libraries",
"Keep backward compatibility for existing callers",
"Touch the fewest files possible"
],
"failing_tests": [
"tests/warehouse_sync.spec.ts:... | [
"Boolean state was not normalized before use.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Boolean state was not normalized before use.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": "... | [
{
"tool": "list_files",
"args": {},
"result": [
"src/warehouse_sync.ts",
"src/helpers.ts",
"tests/warehouse_sync.spec.ts"
]
},
{
"tool": "grep",
"args": {
"pattern": "unsafe_boolean_parse"
},
"result": [
"src/warehouse_sync.ts"
]
},
{
"to... | {
"diagnosis": "Boolean state was not normalized before use.",
"hypotheses_explored": [
"Boolean state was not normalized before use.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"src/warehouse_sync.ts"
],
"edits": [
"Replaced the faulty unsafe_boolean... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00036 | bugfix_regression_repair | rust | analytics_worker | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the analytics_worker module.
# Repo Tree
src/analytics_worker.rs
src/helpers.rs
tests/analytics_worker_tests.rs
# Existing Files
## src/analytics_worker.rs
pub fn head(values: &[i32]) -> &[i32] {
&values[0..=1]
}
## src/helpers.rs
pub fn normalize_flag(value: bool) -> bool { va... | {
"repo_tree": [
"src/analytics_worker.rs",
"src/helpers.rs",
"tests/analytics_worker_tests.rs"
],
"constraints": [
"Do not add external libraries",
"Keep backward compatibility for existing callers",
"Touch the fewest files possible"
],
"failing_tests": [
"tests/analytics_worker_t... | [
"Slice bounds were off by one.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Slice bounds were off by one.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": "Challenge assum... | [
{
"tool": "list_files",
"args": {},
"result": [
"src/analytics_worker.rs",
"src/helpers.rs",
"tests/analytics_worker_tests.rs"
]
},
{
"tool": "grep",
"args": {
"pattern": "off_by_one_slice"
},
"result": [
"src/analytics_worker.rs"
]
},
{
... | {
"diagnosis": "Slice bounds were off by one.",
"hypotheses_explored": [
"Slice bounds were off by one.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"src/analytics_worker.rs"
],
"edits": [
"Replaced the faulty off_by_one_slice logic in src/analytics_wo... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00037 | bugfix_regression_repair | cpp | warehouse_sync | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the warehouse_sync module.
# Repo Tree
src/warehouse_sync.cpp
include/warehouse_sync.hpp
tests/warehouse_sync_test.cpp
# Existing Files
## src/warehouse_sync.cpp
const std::string& makeName() {
std::string value = "worker";
return value;
}
## include/warehouse_sync.hpp
#pra... | {
"repo_tree": [
"src/warehouse_sync.cpp",
"include/warehouse_sync.hpp",
"tests/warehouse_sync_test.cpp"
],
"constraints": [
"Do not change the database schema",
"Preserve public API compatibility",
"Keep runtime dependencies unchanged"
],
"failing_tests": [
"tests/warehouse_sync_t... | [
"Returned a reference to a local value.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Returned a reference to a local value.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": "Challe... | [
{
"tool": "list_files",
"args": {},
"result": [
"src/warehouse_sync.cpp",
"include/warehouse_sync.hpp",
"tests/warehouse_sync_test.cpp"
]
},
{
"tool": "grep",
"args": {
"pattern": "dangling_reference"
},
"result": [
"src/warehouse_sync.cpp"
]
}... | {
"diagnosis": "Returned a reference to a local value.",
"hypotheses_explored": [
"Returned a reference to a local value.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"src/warehouse_sync.cpp"
],
"edits": [
"Replaced the faulty dangling_reference logic ... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00038 | bugfix_regression_repair | go | audit_logger | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the audit_logger module.
# Repo Tree
internal/audit_logger/audit_logger.go
internal/common/helpers.go
internal/audit_logger/audit_logger_test.go
# Existing Files
## internal/audit_logger/audit_logger.go
func addTag(tags map[string]string, k string, v string) map[string]string {
... | {
"repo_tree": [
"internal/audit_logger/audit_logger.go",
"internal/common/helpers.go",
"internal/audit_logger/audit_logger_test.go"
],
"constraints": [
"Preserve wire-format compatibility",
"Do not increase memory complexity above linear",
"Retain current auth semantics"
],
"failing_t... | [
"Assignment to a nil map panicked.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Assignment to a nil map panicked.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": "Challenge a... | [
{
"tool": "list_files",
"args": {},
"result": [
"internal/audit_logger/audit_logger.go",
"internal/common/helpers.go",
"internal/audit_logger/audit_logger_test.go"
]
},
{
"tool": "grep",
"args": {
"pattern": "nil_map_assignment"
},
"result": [
"inter... | {
"diagnosis": "Assignment to a nil map panicked.",
"hypotheses_explored": [
"Assignment to a nil map panicked.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"internal/audit_logger/audit_logger.go"
],
"edits": [
"Replaced the faulty nil_map_assignment l... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00039 | bugfix_regression_repair | cpp | quota_enforcer | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the quota_enforcer module.
# Repo Tree
src/quota_enforcer.cpp
include/quota_enforcer.hpp
tests/quota_enforcer_test.cpp
# Existing Files
## src/quota_enforcer.cpp
bool hasItems(size_t count) {
return count - 1 > 0;
}
## include/quota_enforcer.hpp
#pragma once
inline bool normali... | {
"repo_tree": [
"src/quota_enforcer.cpp",
"include/quota_enforcer.hpp",
"tests/quota_enforcer_test.cpp"
],
"constraints": [
"Do not alter persisted file formats",
"Do not change CLI flags",
"Keep thread safety intact"
],
"failing_tests": [
"tests/quota_enforcer_test.cpp::test_prim... | [
"Unsigned subtraction underflowed at zero.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Unsigned subtraction underflowed at zero.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": "Cha... | [
{
"tool": "list_files",
"args": {},
"result": [
"src/quota_enforcer.cpp",
"include/quota_enforcer.hpp",
"tests/quota_enforcer_test.cpp"
]
},
{
"tool": "grep",
"args": {
"pattern": "unsigned_underflow"
},
"result": [
"src/quota_enforcer.cpp"
]
}... | {
"diagnosis": "Unsigned subtraction underflowed at zero.",
"hypotheses_explored": [
"Unsigned subtraction underflowed at zero.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"src/quota_enforcer.cpp"
],
"edits": [
"Replaced the faulty unsigned_underflow ... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00040 | bugfix_regression_repair | python | recommendation_feed | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the recommendation_feed module.
# Repo Tree
app/recommendation_feed.py
app/helpers.py
tests/test_recommendation_feed.py
# Existing Files
## app/recommendation_feed.py
def add_item(item, bucket=[]):
bucket.append(item)
return bucket
## app/helpers.py
def normalize_flag(value... | {
"repo_tree": [
"app/recommendation_feed.py",
"app/helpers.py",
"tests/test_recommendation_feed.py"
],
"constraints": [
"Do not change the database schema",
"Preserve public API compatibility",
"Keep runtime dependencies unchanged"
],
"failing_tests": [
"tests/test_recommendation_... | [
"Mutable default argument leaked state across calls.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Mutable default argument leaked state across calls.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"cri... | [
{
"tool": "list_files",
"args": {},
"result": [
"app/recommendation_feed.py",
"app/helpers.py",
"tests/test_recommendation_feed.py"
]
},
{
"tool": "grep",
"args": {
"pattern": "mutable_default_bucket"
},
"result": [
"app/recommendation_feed.py"
]... | {
"diagnosis": "Mutable default argument leaked state across calls.",
"hypotheses_explored": [
"Mutable default argument leaked state across calls.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"app/recommendation_feed.py"
],
"edits": [
"Replaced the fa... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00041 | bugfix_regression_repair | go | rate_limiter | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the rate_limiter module.
# Repo Tree
internal/rate_limiter/rate_limiter.go
internal/common/helpers.go
internal/rate_limiter/rate_limiter_test.go
# Existing Files
## internal/rate_limiter/rate_limiter.go
func addTag(tags map[string]string, k string, v string) map[string]string {
... | {
"repo_tree": [
"internal/rate_limiter/rate_limiter.go",
"internal/common/helpers.go",
"internal/rate_limiter/rate_limiter_test.go"
],
"constraints": [
"Do not add external libraries",
"Keep backward compatibility for existing callers",
"Touch the fewest files possible"
],
"failing_te... | [
"Assignment to a nil map panicked.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Assignment to a nil map panicked.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": "Challenge a... | [
{
"tool": "list_files",
"args": {},
"result": [
"internal/rate_limiter/rate_limiter.go",
"internal/common/helpers.go",
"internal/rate_limiter/rate_limiter_test.go"
]
},
{
"tool": "grep",
"args": {
"pattern": "nil_map_assignment"
},
"result": [
"inter... | {
"diagnosis": "Assignment to a nil map panicked.",
"hypotheses_explored": [
"Assignment to a nil map panicked.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"internal/rate_limiter/rate_limiter.go"
],
"edits": [
"Replaced the faulty nil_map_assignment l... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
bugfix_v2-00042 | bugfix_regression_repair | typescript | notification_hub | You are a senior software engineer operating in an agentic coding harness. Use native tool calling. Read files before editing them. Never invent repository contents. Prefer the smallest correct fix. Obey repository constraints exactly. Use explicit hypotheses for non-trivial tasks. Verify results before finalizing. Ret... | # Task
Fix the failing behavior in the notification_hub module.
# Repo Tree
src/notification_hub.ts
src/helpers.ts
tests/notification_hub.spec.ts
# Existing Files
## src/notification_hub.ts
export function normalizeLimit(limit?: number): number {
return limit || 100;
}
## src/helpers.ts
export function normalizeFl... | {
"repo_tree": [
"src/notification_hub.ts",
"src/helpers.ts",
"tests/notification_hub.spec.ts"
],
"constraints": [
"Do not change the database schema",
"Preserve public API compatibility",
"Keep runtime dependencies unchanged"
],
"failing_tests": [
"tests/notification_hub.spec.ts::... | [
"Zero was incorrectly replaced by the default.",
"An adjacent helper could be coercing values unexpectedly."
] | {
"coordinator": "Scope the failure, keep the fix minimal, and avoid unrelated files. Current leading diagnosis: Zero was incorrectly replaced by the default.",
"technical": "Validate whether the concrete fault pattern explains the failing tests and whether the smallest patch preserves compatibility.",
"critic": ... | [
{
"tool": "list_files",
"args": {},
"result": [
"src/notification_hub.ts",
"src/helpers.ts",
"tests/notification_hub.spec.ts"
]
},
{
"tool": "grep",
"args": {
"pattern": "zero_is_valid"
},
"result": [
"src/notification_hub.ts"
]
},
{
"too... | {
"diagnosis": "Zero was incorrectly replaced by the default.",
"hypotheses_explored": [
"Zero was incorrectly replaced by the default.",
"An adjacent helper could be coercing values unexpectedly."
],
"files_modified": [
"src/notification_hub.ts"
],
"edits": [
"Replaced the faulty zero_is_va... | {
"read_before_edit": true,
"uses_tools": true,
"structured_output": true,
"multi_hypothesis": true,
"session_continuation": false
} |
End of preview.
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Grok-Inspired Agentic Coding 25K v2
This package contains 25,000 original synthetic JSONL records designed to train open-source LLMs toward stronger agentic coding behavior using grounded repository context, explicit multi-hypothesis planning, structured outputs, session continuation, and strict read-before-edit discipline.
Included files
- train-01.jsonl to train-05.jsonl
- manifest.json
Core fields
- system
- user
- context
- hypotheses
- agent_debate
- tool_trace
- assistant_final
- quality
Category split
- 8,000 bugfix + regression repair
- 5,000 multi-file feature implementation
- 4,000 constraint-aware refactor
- 3,000 repo navigation + symbol tracing
- 2,000 structured diagnosis + patch plan
- 2,000 session continuation agent traces
- 1,000 safe refusal + anti-hallucination
- Downloads last month
- 1