instance_id
stringlengths
14
37
repo
stringclasses
25 values
split
stringclasses
1 value
files
listlengths
1
1
messages
listlengths
3
3
numpy__numpy-7729
numpy/numpy
train
[ "numpy/lib/npyio.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...
numpy__numpy-7879
numpy/numpy
train
[ "numpy/lib/npyio.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...
numpy__numpy-7952
numpy/numpy
train
[ "numpy/distutils/extension.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...
numpy__numpy-8030
numpy/numpy
train
[ "numpy/ma/extras.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...
numpy__numpy-8122
numpy/numpy
train
[ "numpy/ma/core.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...
numpy__numpy-8131
numpy/numpy
train
[ "numpy/lib/utils.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...
numpy__numpy-8142
numpy/numpy
train
[ "numpy/ma/core.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...
numpy__numpy-8168
numpy/numpy
train
[ "numpy/lib/npyio.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...
numpy__numpy-8219
numpy/numpy
train
[ "doc/source/conf.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...
numpy__numpy-8255
numpy/numpy
train
[ "numpy/core/_add_newdocs.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...
numpy__numpy-8349
numpy/numpy
train
[ "numpy/lib/npyio.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...
numpy__numpy-8432
numpy/numpy
train
[ "numpy/core/function_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...
numpy__numpy-8445
numpy/numpy
train
[ "numpy/fft/fftpack.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...
numpy__numpy-8508
numpy/numpy
train
[ "numpy/ma/core.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...
numpy__numpy-8646
numpy/numpy
train
[ "numpy/lib/type_check.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...
numpy__numpy-8674
numpy/numpy
train
[ "numpy/core/numeric.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...
numpy__numpy-8682
numpy/numpy
train
[ "numpy/linalg/linalg.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...
numpy__numpy-8988
numpy/numpy
train
[ "numpy/lib/function_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...
numpy__numpy-9132
numpy/numpy
train
[ "numpy/lib/shape_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...
numpy__numpy-9552
numpy/numpy
train
[ "numpy/doc/basics.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...
numpy__numpy-9556
numpy/numpy
train
[ "numpy/core/code_generators/generate_umath.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...
numpy__numpy-9586
numpy/numpy
train
[ "numpy/core/fromnumeric.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...
numpy__numpy-9784
numpy/numpy
train
[ "numpy/core/arrayprint.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...
numpy__numpy-9815
numpy/numpy
train
[ "numpy/core/arrayprint.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...
numpy__numpy-9817
numpy/numpy
train
[ "numpy/ma/core.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...
numpy__numpy-9881
numpy/numpy
train
[ "numpy/core/numeric.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...
numpy__numpy-9965
numpy/numpy
train
[ "numpy/core/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...
numpy__numpy-9976
numpy/numpy
train
[ "numpy/linalg/linalg.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...
pandas-dev__pandas-10825
pandas-dev/pandas
train
[ "pandas/util/testing.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...
pandas-dev__pandas-11398
pandas-dev/pandas
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...
pandas-dev__pandas-11714
pandas-dev/pandas
train
[ "pandas/io/excel.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...
pandas-dev__pandas-13765
pandas-dev/pandas
train
[ "pandas/indexes/range.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...
pandas-dev__pandas-14537
pandas-dev/pandas
train
[ "pandas/io/clipboard.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...
pandas-dev__pandas-14582
pandas-dev/pandas
train
[ "pandas/io/parsers.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...
pandas-dev__pandas-14717
pandas-dev/pandas
train
[ "pandas/io/parsers.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...
pandas-dev__pandas-14886
pandas-dev/pandas
train
[ "pandas/core/frame.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...
pandas-dev__pandas-15423
pandas-dev/pandas
train
[ "pandas/io/sql.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...
pandas-dev__pandas-15443
pandas-dev/pandas
train
[ "pandas/core/window.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...
pandas-dev__pandas-15499
pandas-dev/pandas
train
[ "pandas/core/config.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...
pandas-dev__pandas-15569
pandas-dev/pandas
train
[ "pandas/core/groupby.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...
pandas-dev__pandas-16028
pandas-dev/pandas
train
[ "pandas/core/reshape/pivot.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...
pandas-dev__pandas-16133
pandas-dev/pandas
train
[ "pandas/core/indexes/category.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...
pandas-dev__pandas-16266
pandas-dev/pandas
train
[ "pandas/core/frame.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...
pandas-dev__pandas-16339
pandas-dev/pandas
train
[ "pandas/core/categorical.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...
pandas-dev__pandas-16351
pandas-dev/pandas
train
[ "pandas/io/parsers.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...
pandas-dev__pandas-16801
pandas-dev/pandas
train
[ "pandas/io/formats/style.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...
pandas-dev__pandas-16887
pandas-dev/pandas
train
[ "pandas/core/dtypes/common.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...
pandas-dev__pandas-16937
pandas-dev/pandas
train
[ "pandas/core/indexes/multi.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...
pandas-dev__pandas-17355
pandas-dev/pandas
train
[ "pandas/core/indexes/category.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...
pandas-dev__pandas-17455
pandas-dev/pandas
train
[ "pandas/core/indexes/multi.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...
pandas-dev__pandas-17881
pandas-dev/pandas
train
[ "pandas/core/frame.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...
pandas-dev__pandas-18229
pandas-dev/pandas
train
[ "pandas/core/indexes/multi.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...
pandas-dev__pandas-18476
pandas-dev/pandas
train
[ "pandas/core/indexes/interval.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...
pandas-dev__pandas-18681
pandas-dev/pandas
train
[ "pandas/core/frame.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...
pandas-dev__pandas-19280
pandas-dev/pandas
train
[ "pandas/core/frame.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...
pandas-dev__pandas-19472
pandas-dev/pandas
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...
pandas-dev__pandas-19914
pandas-dev/pandas
train
[ "pandas/core/groupby.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...
pandas-dev__pandas-19943
pandas-dev/pandas
train
[ "pandas/compat/pickle_compat.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...
pandas-dev__pandas-20404
pandas-dev/pandas
train
[ "pandas/core/generic.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...
pandas-dev__pandas-20645
pandas-dev/pandas
train
[ "pandas/io/formats/printing.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...
pandas-dev__pandas-21132
pandas-dev/pandas
train
[ "pandas/core/common.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...
pandas-dev__pandas-21210
pandas-dev/pandas
train
[ "pandas/core/frame.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...
pandas-dev__pandas-21300
pandas-dev/pandas
train
[ "pandas/io/formats/csvs.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...
pandas-dev__pandas-21361
pandas-dev/pandas
train
[ "pandas/core/ops.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...
pandas-dev__pandas-21397
pandas-dev/pandas
train
[ "doc/source/conf.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...
pandas-dev__pandas-21497
pandas-dev/pandas
train
[ "pandas/core/generic.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...
pandas-dev__pandas-21578
pandas-dev/pandas
train
[ "pandas/core/series.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...
pandas-dev__pandas-21711
pandas-dev/pandas
train
[ "pandas/core/indexes/interval.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...
pandas-dev__pandas-22131
pandas-dev/pandas
train
[ "pandas/core/reshape/reshape.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...
pandas-dev__pandas-22883
pandas-dev/pandas
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...
pandas-dev__pandas-23143
pandas-dev/pandas
train
[ "scripts/validate_docstrings.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...
pandas-dev__pandas-23190
pandas-dev/pandas
train
[ "pandas/core/reshape/merge.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...
pandas-dev__pandas-23278
pandas-dev/pandas
train
[ "pandas/tseries/offsets.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...
pandas-dev__pandas-2328
pandas-dev/pandas
train
[ "pandas/core/format.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...
pandas-dev__pandas-23318
pandas-dev/pandas
train
[ "pandas/core/groupby/groupby.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...
pandas-dev__pandas-23402
pandas-dev/pandas
train
[ "pandas/core/window.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...
pandas-dev__pandas-23463
pandas-dev/pandas
train
[ "pandas/core/groupby/generic.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...
pandas-dev__pandas-23991
pandas-dev/pandas
train
[ "pandas/core/arrays/period.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...
pandas-dev__pandas-24274
pandas-dev/pandas
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...
pandas-dev__pandas-24680
pandas-dev/pandas
train
[ "pandas/core/arrays/categorical.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...
pandas-dev__pandas-24815
pandas-dev/pandas
train
[ "pandas/core/tools/datetimes.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...
pandas-dev__pandas-25008
pandas-dev/pandas
train
[ "scripts/validate_docstrings.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...
pandas-dev__pandas-25540
pandas-dev/pandas
train
[ "pandas/plotting/_core.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...
pandas-dev__pandas-25620
pandas-dev/pandas
train
[ "pandas/io/formats/html.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...
pandas-dev__pandas-25624
pandas-dev/pandas
train
[ "pandas/core/generic.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...
pandas-dev__pandas-25625
pandas-dev/pandas
train
[ "pandas/io/common.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...
pandas-dev__pandas-25811
pandas-dev/pandas
train
[ "pandas/core/indexes/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...
pandas-dev__pandas-25953
pandas-dev/pandas
train
[ "pandas/core/groupby/grouper.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...
pandas-dev__pandas-26134
pandas-dev/pandas
train
[ "pandas/core/groupby/ops.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...
pandas-dev__pandas-26440
pandas-dev/pandas
train
[ "pandas/core/internals/construction.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...
pandas-dev__pandas-26471
pandas-dev/pandas
train
[ "pandas/core/frame.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...
pandas-dev__pandas-26483
pandas-dev/pandas
train
[ "pandas/plotting/_core.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...
pandas-dev__pandas-26518
pandas-dev/pandas
train
[ "pandas/core/indexes/period.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...
pandas-dev__pandas-26698
pandas-dev/pandas
train
[ "ci/print_skipped.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...
pandas-dev__pandas-27243
pandas-dev/pandas
train
[ "pandas/core/reshape/merge.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...
pandas-dev__pandas-27300
pandas-dev/pandas
train
[ "asv_bench/benchmarks/algorithms.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...
pandas-dev__pandas-27436
pandas-dev/pandas
train
[ "pandas/core/frame.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...
pandas-dev__pandas-27466
pandas-dev/pandas
train
[ "pandas/core/groupby/ops.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...
pandas-dev__pandas-27653
pandas-dev/pandas
train
[ "pandas/core/strings.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...
pandas-dev__pandas-27932
pandas-dev/pandas
train
[ "pandas/core/arrays/categorical.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...