instance_id
stringlengths
14
37
repo
stringclasses
25 values
split
stringclasses
1 value
files
listlengths
1
1
messages
listlengths
3
3
PrefectHQ__prefect-1101
PrefectHQ/prefect
train
[ "src/prefect/tasks/aws/__init__.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1127
PrefectHQ/prefect
train
[ "src/prefect/cli/execute.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1165
PrefectHQ/prefect
train
[ "src/prefect/engine/signals.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1170
PrefectHQ/prefect
train
[ "src/prefect/utilities/notifications.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1189
PrefectHQ/prefect
train
[ "src/prefect/client/client.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1224
PrefectHQ/prefect
train
[ "examples/imperative_docker.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1239
PrefectHQ/prefect
train
[ "src/prefect/core/flow.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1282
PrefectHQ/prefect
train
[ "setup.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1290
PrefectHQ/prefect
train
[ "src/prefect/configuration.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1291
PrefectHQ/prefect
train
[ "src/prefect/tasks/docker/images.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1386
PrefectHQ/prefect
train
[ "src/prefect/cli/auth.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1420
PrefectHQ/prefect
train
[ "src/prefect/utilities/context.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1429
PrefectHQ/prefect
train
[ "src/prefect/core/flow.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1437
PrefectHQ/prefect
train
[ "src/prefect/engine/task_runner.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1459
PrefectHQ/prefect
train
[ "src/prefect/agent/agent.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1502
PrefectHQ/prefect
train
[ "src/prefect/agent/agent.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1510
PrefectHQ/prefect
train
[ "src/prefect/engine/task_runner.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1513
PrefectHQ/prefect
train
[ "src/prefect/engine/result_handlers/__init__.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1528
PrefectHQ/prefect
train
[ "src/prefect/agent/agent.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1579
PrefectHQ/prefect
train
[ "src/prefect/engine/flow_runner.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1583
PrefectHQ/prefect
train
[ "src/prefect/tasks/control_flow/conditional.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1589
PrefectHQ/prefect
train
[ "src/prefect/engine/executors/dask.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1634
PrefectHQ/prefect
train
[ "src/prefect/agent/fargate/agent.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1647
PrefectHQ/prefect
train
[ "src/prefect/tasks/shell.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1667
PrefectHQ/prefect
train
[ "src/prefect/engine/cache_validators.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-170
PrefectHQ/prefect
train
[ "setup.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1704
PrefectHQ/prefect
train
[ "src/prefect/environments/storage/docker.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1707
PrefectHQ/prefect
train
[ "src/prefect/agent/kubernetes/agent.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1711
PrefectHQ/prefect
train
[ "src/prefect/utilities/context.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1729
PrefectHQ/prefect
train
[ "src/prefect/agent/local/agent.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-176
PrefectHQ/prefect
train
[ "src/prefect/tasks/core/shell.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1782
PrefectHQ/prefect
train
[ "src/prefect/core/flow.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1786
PrefectHQ/prefect
train
[ "src/prefect/utilities/executors.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1806
PrefectHQ/prefect
train
[ "src/prefect/__init__.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-184
PrefectHQ/prefect
train
[ "src/prefect/__init__.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1846
PrefectHQ/prefect
train
[ "setup.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1899
PrefectHQ/prefect
train
[ "src/prefect/core/flow.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1918
PrefectHQ/prefect
train
[ "src/prefect/agent/docker/agent.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1937
PrefectHQ/prefect
train
[ "docs/generate_docs.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1945
PrefectHQ/prefect
train
[ "src/prefect/core/flow.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1961
PrefectHQ/prefect
train
[ "src/prefect/utilities/logging.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-1993
PrefectHQ/prefect
train
[ "src/prefect/core/task.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2005
PrefectHQ/prefect
train
[ "src/prefect/client/client.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2031
PrefectHQ/prefect
train
[ "src/prefect/schedules/clocks.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2047
PrefectHQ/prefect
train
[ "src/prefect/engine/executors/dask.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2056
PrefectHQ/prefect
train
[ "src/prefect/cli/run.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2099
PrefectHQ/prefect
train
[ "src/prefect/utilities/serialization.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2110
PrefectHQ/prefect
train
[ "src/prefect/utilities/context.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2147
PrefectHQ/prefect
train
[ "src/prefect/engine/result.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-215
PrefectHQ/prefect
train
[ "src/prefect/core/flow.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2171
PrefectHQ/prefect
train
[ "src/prefect/engine/result/base.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2177
PrefectHQ/prefect
train
[ "src/prefect/engine/executors/__init__.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-223
PrefectHQ/prefect
train
[ "docs/generate_docs.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2233
PrefectHQ/prefect
train
[ "src/prefect/engine/result_handlers/s3_result_handler.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-227
PrefectHQ/prefect
train
[ "src/prefect/utilities/bokeh_runner.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2310
PrefectHQ/prefect
train
[ "src/prefect/tasks/control_flow/conditional.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2325
PrefectHQ/prefect
train
[ "src/prefect/engine/result_handlers/azure_result_handler.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2337
PrefectHQ/prefect
train
[ "src/prefect/cli/auth.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2347
PrefectHQ/prefect
train
[ "src/prefect/agent/docker/agent.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2353
PrefectHQ/prefect
train
[ "src/prefect/client/client.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-239
PrefectHQ/prefect
train
[ "src/prefect/core/flow.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2390
PrefectHQ/prefect
train
[ "src/prefect/environments/storage/docker.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2409
PrefectHQ/prefect
train
[ "src/prefect/client/client.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2444
PrefectHQ/prefect
train
[ "src/prefect/utilities/logging.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2467
PrefectHQ/prefect
train
[ "src/prefect/cli/server.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2477
PrefectHQ/prefect
train
[ "src/prefect/agent/local/agent.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2491
PrefectHQ/prefect
train
[ "src/prefect/utilities/serialization.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2494
PrefectHQ/prefect
train
[ "src/prefect/engine/executors/dask.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2502
PrefectHQ/prefect
train
[ "src/prefect/engine/task_runner.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2558
PrefectHQ/prefect
train
[ "src/prefect/configuration.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2570
PrefectHQ/prefect
train
[ "src/prefect/agent/agent.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2594
PrefectHQ/prefect
train
[ "src/prefect/engine/results/s3_result.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2599
PrefectHQ/prefect
train
[ "src/prefect/agent/agent.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2608
PrefectHQ/prefect
train
[ "src/prefect/core/flow.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2609
PrefectHQ/prefect
train
[ "src/prefect/__init__.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2625
PrefectHQ/prefect
train
[ "setup.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2628
PrefectHQ/prefect
train
[ "src/prefect/engine/results/s3_result.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2631
PrefectHQ/prefect
train
[ "src/prefect/agent/local/agent.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2685
PrefectHQ/prefect
train
[ "src/prefect/engine/results/local_result.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2686
PrefectHQ/prefect
train
[ "src/prefect/utilities/gcp.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2705
PrefectHQ/prefect
train
[ "src/prefect/client/client.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2710
PrefectHQ/prefect
train
[ "src/prefect/tasks/postgres/postgres.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2727
PrefectHQ/prefect
train
[ "src/prefect/tasks/control_flow/conditional.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2743
PrefectHQ/prefect
train
[ "src/prefect/core/flow.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-279
PrefectHQ/prefect
train
[ "src/prefect/engine/signals.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2825
PrefectHQ/prefect
train
[ "src/prefect/agent/fargate/agent.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2877
PrefectHQ/prefect
train
[ "src/prefect/agent/fargate/agent.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2886
PrefectHQ/prefect
train
[ "src/prefect/engine/state.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2890
PrefectHQ/prefect
train
[ "src/prefect/contrib/tasks/mysql/mysql.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2959
PrefectHQ/prefect
train
[ "server/src/prefect_server/cli/dev.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-2975
PrefectHQ/prefect
train
[ "src/prefect/tasks/aws/__init__.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-3085
PrefectHQ/prefect
train
[ "src/prefect/engine/task_runner.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-3092
PrefectHQ/prefect
train
[ "src/prefect/tasks/prefect/flow_run.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-3127
PrefectHQ/prefect
train
[ "src/prefect/engine/executors/dask.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-347
PrefectHQ/prefect
train
[ "setup.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-348
PrefectHQ/prefect
train
[ "src/prefect/utilities/collections.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-349
PrefectHQ/prefect
train
[ "src/prefect/core/flow.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-352
PrefectHQ/prefect
train
[ "docs/generate_docs.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-360
PrefectHQ/prefect
train
[ "src/prefect/client.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...
PrefectHQ__prefect-364
PrefectHQ/prefect
train
[ "src/prefect/tasks/__init__.py" ]
[ { "role": "system", "content": "You are PatchPilot, an expert software engineer who fixes bugs in Python repositories.\nYou are given a bug report, the output of the failing tests, and source code from the repository.\nMake the smallest correct change to the source code so that the failing tests pass withou...