instance_id
stringlengths
22
58
repo
stringclasses
210 values
base_commit
stringclasses
210 values
target_function_name
stringlengths
1
70
target_function_file
stringlengths
7
109
target_function_line_start
int64
0
14.7k
target_function_line_end
int64
4
14.7k
dependencies
listlengths
1
3
num_dependencies
int64
1
3
open-telemetry__opentelemetry-python-contrib__72b40ba5__8
open-telemetry/opentelemetry-python-contrib
72b40ba5f94c320a1e6beb88971f0b1cb55541db
test_unpatch_patch_import
tests/contrib/patch.py
471
487
[ { "decorator_line": 26, "file_path": "tests/contrib/patch.py", "line_end": 30, "line_start": 26, "name": "assert_not_module_imported", "type": "function" }, { "decorator_line": 144, "file_path": "tests/contrib/patch.py", "line_end": 146, "line_start": 144, "name": "pa...
3
open-telemetry__opentelemetry-python-contrib__72b40ba5__9
open-telemetry/opentelemetry-python-contrib
72b40ba5f94c320a1e6beb88971f0b1cb55541db
test_trace_concurrent_calls
tests/opentracer/test_tracer_gevent.py
76
90
[ { "decorator_line": 158, "file_path": "ddtrace/opentracer/tracer.py", "line_end": 268, "line_start": 158, "name": "start_span", "type": "function" } ]
1
open-telemetry__opentelemetry-python-contrib__72b40ba5__10
open-telemetry/opentelemetry-python-contrib
72b40ba5f94c320a1e6beb88971f0b1cb55541db
test_send_stats
tests/internal/test_writer.py
83
93
[ { "decorator_line": 22, "file_path": "ddtrace/internal/writer.py", "line_end": 217, "line_start": 22, "name": "AgentWriter", "type": "class" }, { "decorator_line": 30, "file_path": "tests/base/__init__.py", "line_end": 52, "line_start": 32, "name": "override_global_co...
2
open-telemetry__opentelemetry-python-contrib__72b40ba5__11
open-telemetry/opentelemetry-python-contrib
72b40ba5f94c320a1e6beb88971f0b1cb55541db
test_urllib_request_https
tests/contrib/httplib/test_httplib.py
561
583
[ { "decorator_line": 9, "file_path": "tests/util.py", "line_end": 19, "line_start": 10, "name": "override_global_tracer", "type": "function" }, { "decorator_line": 35, "file_path": "tests/utils/tracer.py", "line_end": 39, "line_start": 35, "name": "pop", "type": "f...
3
open-telemetry__opentelemetry-python-contrib__72b40ba5__12
open-telemetry/opentelemetry-python-contrib
72b40ba5f94c320a1e6beb88971f0b1cb55541db
test_middleware_trace_error_500
tests/contrib/django/test_middleware.py
226
240
[ { "decorator_line": 6, "file_path": "tests/utils/__init__.py", "line_end": 10, "line_start": 6, "name": "assert_span_http_status_code", "type": "function" } ]
1
open-telemetry__opentelemetry-python-contrib__72b40ba5__13
open-telemetry/opentelemetry-python-contrib
72b40ba5f94c320a1e6beb88971f0b1cb55541db
test_tracer_wrap_multiple_calls
tests/test_tracer.py
134
143
[ { "decorator_line": 549, "file_path": "ddtrace/tracer.py", "line_end": 629, "line_start": 549, "name": "wrap", "type": "function" }, { "decorator_line": 283, "file_path": "tests/utils/span.py", "line_end": 285, "line_start": 283, "name": "assert_span_count", "type...
2
open-telemetry__opentelemetry-python-contrib__72b40ba5__14
open-telemetry/opentelemetry-python-contrib
72b40ba5f94c320a1e6beb88971f0b1cb55541db
patch
ddtrace/contrib/botocore/patch.py
23
29
[ { "decorator_line": 825, "file_path": "ddtrace/vendor/wrapt/wrappers.py", "line_end": 826, "line_start": 825, "name": "wrap_function_wrapper", "type": "function" }, { "decorator_line": 134, "file_path": "ddtrace/pin.py", "line_end": 149, "line_start": 134, "name": "on...
3
open-telemetry__opentelemetry-python-contrib__72b40ba5__15
open-telemetry/opentelemetry-python-contrib
72b40ba5f94c320a1e6beb88971f0b1cb55541db
test_query
tests/contrib/cassandra/test.py
135
138
[ { "decorator_line": 108, "file_path": "tests/contrib/cassandra/test.py", "line_end": 133, "line_start": 108, "name": "_test_query_base", "type": "function" } ]
1
open-telemetry__opentelemetry-python-contrib__72b40ba5__16
open-telemetry/opentelemetry-python-contrib
72b40ba5f94c320a1e6beb88971f0b1cb55541db
skip
ddtrace/vendor/msgpack/fallback.py
695
697
[ { "decorator_line": 615, "file_path": "ddtrace/vendor/msgpack/fallback.py", "line_end": 677, "line_start": 615, "name": "_unpack", "type": "function" }, { "decorator_line": 350, "file_path": "ddtrace/vendor/msgpack/fallback.py", "line_end": 353, "line_start": 350, "na...
2
open-telemetry__opentelemetry-python-contrib__72b40ba5__17
open-telemetry/opentelemetry-python-contrib
72b40ba5f94c320a1e6beb88971f0b1cb55541db
test_set_tag_bool
tests/test_span.py
64
71
[ { "decorator_line": 20, "file_path": "ddtrace/span.py", "line_end": 388, "line_start": 20, "name": "Span", "type": "class" }, { "decorator_line": 156, "file_path": "ddtrace/span.py", "line_end": 212, "line_start": 156, "name": "set_tag", "type": "function" }, ...
3
open-telemetry__opentelemetry-python-contrib__72b40ba5__18
open-telemetry/opentelemetry-python-contrib
72b40ba5f94c320a1e6beb88971f0b1cb55541db
should_skip_request
ddtrace/contrib/httplib/patch.py
102
108
[ { "decorator_line": 130, "file_path": "ddtrace/pin.py", "line_end": 132, "line_start": 130, "name": "enabled", "type": "function" } ]
1
open-telemetry__opentelemetry-python-contrib__72b40ba5__19
open-telemetry/opentelemetry-python-contrib
72b40ba5f94c320a1e6beb88971f0b1cb55541db
patch
ddtrace/contrib/redis/patch.py
13
36
[ { "decorator_line": 134, "file_path": "ddtrace/pin.py", "line_end": 149, "line_start": 134, "name": "onto", "type": "function" }, { "decorator_line": 17, "file_path": "ddtrace/pin.py", "line_end": 183, "line_start": 17, "name": "Pin", "type": "class" } ]
2
sunpy__sunpy__61d2e823__0
sunpy/sunpy
61d2e823b2bb21f333e6741675523d4daeb06377
from_single_glob
sunpy/util/create.py
37
44
[ { "decorator_line": 21, "file_path": "sunpy/util/create.py", "line_end": 23, "line_start": 22, "name": "read", "type": "function" } ]
1
sunpy__sunpy__61d2e823__1
sunpy/sunpy
61d2e823b2bb21f333e6741675523d4daeb06377
test_upsample
sunpy/tests/spectra/test_spectrogram.py
541
549
[ { "decorator_line": 843, "file_path": "sunpy/spectra/spectrogram.py", "line_end": 1218, "line_start": 843, "name": "LinearTimeSpectrogram", "type": "class" }, { "decorator_line": 897, "file_path": "sunpy/spectra/spectrogram.py", "line_end": 923, "line_start": 897, "na...
2
sunpy__sunpy__61d2e823__2
sunpy/sunpy
61d2e823b2bb21f333e6741675523d4daeb06377
get_properties
sunpy/map/sources/soho.py
20
42
[ { "decorator_line": 201, "file_path": "sunpy/map/map.py", "line_end": 256, "line_start": 202, "name": "get_properties", "type": "function" }, { "decorator_line": 67, "file_path": "sunpy/sun/sun.py", "line_end": 71, "line_start": 67, "name": "angular_size", "type":...
3
sunpy__sunpy__61d2e823__3
sunpy/sunpy
61d2e823b2bb21f333e6741675523d4daeb06377
test_allen
sunpy/tests/coords/test_util.py
31
33
[ { "decorator_line": 10, "file_path": "sunpy/coords/util.py", "line_end": 88, "line_start": 10, "name": "diff_rot", "type": "function" } ]
1
sunpy__sunpy__61d2e823__4
sunpy/sunpy
61d2e823b2bb21f333e6741675523d4daeb06377
get_properties
sunpy/map/sources/proba2.py
20
32
[ { "decorator_line": 201, "file_path": "sunpy/map/map.py", "line_end": 256, "line_start": 202, "name": "get_properties", "type": "function" }, { "decorator_line": 68, "file_path": "sunpy/cm/cm.py", "line_end": 96, "line_start": 68, "name": "get_cmap", "type": "func...
2
sunpy__sunpy__61d2e823__5
sunpy/sunpy
61d2e823b2bb21f333e6741675523d4daeb06377
test_join_with_gap
sunpy/tests/spectra/test_spectrogram.py
378
406
[ { "decorator_line": 843, "file_path": "sunpy/spectra/spectrogram.py", "line_end": 1218, "line_start": 843, "name": "LinearTimeSpectrogram", "type": "class" }, { "decorator_line": 927, "file_path": "sunpy/spectra/spectrogram.py", "line_end": 1064, "line_start": 928, "n...
3
sunpy__sunpy__61d2e823__6
sunpy/sunpy
61d2e823b2bb21f333e6741675523d4daeb06377
setupUi
doc/examples/rgb_composite/Ui_RGBComposite.py
17
270
[ { "decorator_line": 272, "file_path": "doc/examples/rgb_composite/Ui_RGBComposite.py", "line_end": 273, "line_start": 272, "name": "retranslateUi", "type": "function" } ]
1
sunpy__sunpy__61d2e823__7
sunpy/sunpy
61d2e823b2bb21f333e6741675523d4daeb06377
test_else2
sunpy/tests/util/test_cond_dispatch.py
52
62
[ { "decorator_line": 144, "file_path": "sunpy/util/cond_dispatch.py", "line_end": 247, "line_start": 144, "name": "ConditionalDispatch", "type": "class" }, { "decorator_line": 162, "file_path": "sunpy/util/cond_dispatch.py", "line_end": 180, "line_start": 162, "name": ...
2
sunpy__sunpy__61d2e823__8
sunpy/sunpy
61d2e823b2bb21f333e6741675523d4daeb06377
test_join_with_gap_fill
sunpy/tests/spectra/test_spectrogram.py
409
436
[ { "decorator_line": 843, "file_path": "sunpy/spectra/spectrogram.py", "line_end": 1218, "line_start": 843, "name": "LinearTimeSpectrogram", "type": "class" }, { "decorator_line": 927, "file_path": "sunpy/spectra/spectrogram.py", "line_end": 1064, "line_start": 928, "n...
3
sunpy__sunpy__61d2e823__9
sunpy/sunpy
61d2e823b2bb21f333e6741675523d4daeb06377
truncate
sunpy/lightcurve/lightcurve.py
231
239
[ { "decorator_line": 25, "file_path": "sunpy/lightcurve/lightcurve.py", "line_end": 252, "line_start": 25, "name": "LightCurve", "type": "class" } ]
1
sunpy__sunpy__61d2e823__10
sunpy/sunpy
61d2e823b2bb21f333e6741675523d4daeb06377
read_file
sunpy/io/file_tools.py
12
20
[ { "decorator_line": 37, "file_path": "sunpy/io/fits.py", "line_end": 55, "line_start": 37, "name": "read", "type": "function" }, { "decorator_line": 31, "file_path": "sunpy/io/file_tools.py", "line_end": 65, "line_start": 31, "name": "detect_filetype", "type": "fu...
2
sunpy__sunpy__61d2e823__11
sunpy/sunpy
61d2e823b2bb21f333e6741675523d4daeb06377
draw_grid
sunpy/map/map.py
416
492
[ { "decorator_line": 532, "file_path": "sunpy/map/map.py", "line_end": 552, "line_start": 532, "name": "pixel_to_data", "type": "function" }, { "decorator_line": 223, "file_path": "sunpy/wcs/wcs.py", "line_end": 228, "line_start": 223, "name": "convert_hpc_hg", "ty...
3
sunpy__sunpy__61d2e823__12
sunpy/sunpy
61d2e823b2bb21f333e6741675523d4daeb06377
test_xml_to_dict4
sunpy/tests/util/test_xml.py
54
64
[ { "decorator_line": 13, "file_path": "sunpy/util/xml.py", "line_end": 29, "line_start": 13, "name": "xml_to_dict", "type": "function" } ]
1
sunpy__sunpy__61d2e823__13
sunpy/sunpy
61d2e823b2bb21f333e6741675523d4daeb06377
sunearth_distance
sunpy/sun/sun.py
141
146
[ { "decorator_line": 136, "file_path": "sunpy/sun/sun.py", "line_end": 139, "line_start": 136, "name": "true_anomaly", "type": "function" }, { "decorator_line": 82, "file_path": "sunpy/sun/sun.py", "line_end": 86, "line_start": 82, "name": "eccentricity_SunEarth_orbit"...
2
sunpy__sunpy__61d2e823__14
sunpy/sunpy
61d2e823b2bb21f333e6741675523d4daeb06377
run_tests
benchmarks/time_testr.py
47
145
[ { "decorator_line": 36, "file_path": "benchmarks/benchmark.py", "line_end": 38, "line_start": 36, "name": "reset", "type": "function" }, { "decorator_line": 20, "file_path": "benchmarks/benchmark.py", "line_end": 34, "line_start": 20, "name": "log", "type": "funct...
3
sunpy__sunpy__61d2e823__15
sunpy/sunpy
61d2e823b2bb21f333e6741675523d4daeb06377
auto_const_bg
sunpy/spectra/spectrogram.py
624
628
[ { "decorator_line": 609, "file_path": "sunpy/spectra/spectrogram.py", "line_end": 622, "line_start": 609, "name": "auto_find_background", "type": "function" } ]
1
sunpy__sunpy__61d2e823__16
sunpy/sunpy
61d2e823b2bb21f333e6741675523d4daeb06377
test_linear_view
sunpy/tests/spectra/test_spectrogram.py
731
753
[ { "decorator_line": 843, "file_path": "sunpy/spectra/spectrogram.py", "line_end": 1218, "line_start": 843, "name": "LinearTimeSpectrogram", "type": "class" }, { "decorator_line": 94, "file_path": "sunpy/spectra/spectrogram.py", "line_end": 157, "line_start": 94, "name...
2
sunpy__sunpy__61d2e823__17
sunpy/sunpy
61d2e823b2bb21f333e6741675523d4daeb06377
join_many
sunpy/spectra/spectrogram.py
928
1,064
[ { "decorator_line": 86, "file_path": "sunpy/spectra/spectrogram.py", "line_end": 91, "line_start": 86, "name": "_union", "type": "function" }, { "decorator_line": 242, "file_path": "sunpy/spectra/spectrogram.py", "line_end": 840, "line_start": 242, "name": "Spectrogra...
3
sunpy__sunpy__61d2e823__18
sunpy/sunpy
61d2e823b2bb21f333e6741675523d4daeb06377
foo
sunpy/tests/util/test_multimethod.py
34
35
[ { "decorator_line": 94, "file_path": "sunpy/util/multimethod.py", "line_end": 103, "line_start": 94, "name": "add_dec", "type": "function" } ]
1
sunpy__sunpy__61d2e823__19
sunpy/sunpy
61d2e823b2bb21f333e6741675523d4daeb06377
test_download_jp2
sunpy/tests/net/test_helioviewer.py
52
63
[ { "decorator_line": 80, "file_path": "sunpy/net/helioviewer.py", "line_end": 136, "line_start": 80, "name": "download_jp2", "type": "function" }, { "decorator_line": 15, "file_path": "sunpy/map/map_factory.py", "line_end": 123, "line_start": 15, "name": "make_map", ...
2
python__typeshed__c4dc935b__0
python/typeshed
c4dc935b3fd818bf38aade61434173489446e933
check_stubs
tests/check_consistent.py
62
83
[ { "decorator_line": 27, "file_path": "tests/check_consistent.py", "line_end": 39, "line_start": 27, "name": "assert_stubs_only", "type": "function" } ]
1
python__typeshed__c4dc935b__1
python/typeshed
c4dc935b3fd818bf38aade61434173489446e933
main
scripts/update-stubtest-whitelist.py
14
21
[ { "decorator_line": 24, "file_path": "scripts/update-stubtest-whitelist.py", "line_end": 29, "line_start": 24, "name": "parse_input_file", "type": "function" }, { "decorator_line": 39, "file_path": "scripts/update-stubtest-whitelist.py", "line_end": 54, "line_start": 39, ...
2
python__typeshed__c4dc935b__2
python/typeshed
c4dc935b3fd818bf38aade61434173489446e933
run_pytype
tests/pytype_test.py
69
85
[ { "decorator_line": 100, "file_path": "tests/pytype_test.py", "line_end": 110, "line_start": 100, "name": "_get_module_name", "type": "function" } ]
1
python__typeshed__c4dc935b__3
python/typeshed
c4dc935b3fd818bf38aade61434173489446e933
main
tests/stubtest_unused.py
12
18
[ { "decorator_line": 21, "file_path": "tests/stubtest_unused.py", "line_end": 24, "line_start": 21, "name": "run_stubtest", "type": "function" }, { "decorator_line": 27, "file_path": "tests/stubtest_unused.py", "line_end": 37, "line_start": 27, "name": "unused_files", ...
2
python__typeshed__c4dc935b__4
python/typeshed
c4dc935b3fd818bf38aade61434173489446e933
check_metadata
tests/check_consistent.py
164
194
[ { "decorator_line": 144, "file_path": "tests/check_consistent.py", "line_end": 161, "line_start": 144, "name": "_strip_dep_version", "type": "function" } ]
1
python__typeshed__c4dc935b__5
python/typeshed
c4dc935b3fd818bf38aade61434173489446e933
determine_files_to_test
tests/pytype_test.py
123
140
[ { "decorator_line": 143, "file_path": "tests/pytype_test.py", "line_end": 151, "line_start": 143, "name": "find_stubs_in_paths", "type": "function" }, { "decorator_line": 88, "file_path": "tests/pytype_test.py", "line_end": 97, "line_start": 88, "name": "_get_relative...
2
python__typeshed__c4dc935b__6
python/typeshed
c4dc935b3fd818bf38aade61434173489446e933
add_files
tests/mypy_test.py
112
133
[ { "decorator_line": 49, "file_path": "tests/mypy_test.py", "line_end": 70, "line_start": 49, "name": "match", "type": "function" } ]
1
python__typeshed__c4dc935b__7
python/typeshed
c4dc935b3fd818bf38aade61434173489446e933
run_all_tests
tests/pytype_test.py
154
185
[ { "decorator_line": 69, "file_path": "tests/pytype_test.py", "line_end": 85, "line_start": 69, "name": "run_pytype", "type": "function" }, { "decorator_line": 88, "file_path": "tests/pytype_test.py", "line_end": 97, "line_start": 88, "name": "_get_relative", "type...
2
python__typeshed__c4dc935b__8
python/typeshed
c4dc935b3fd818bf38aade61434173489446e933
parse_input_file
scripts/update-stubtest-whitelist.py
24
29
[ { "decorator_line": 33, "file_path": "scripts/update-stubtest-whitelist.py", "line_end": 36, "line_start": 33, "name": "parse_input_line", "type": "function" } ]
1
python__typeshed__c4dc935b__9
python/typeshed
c4dc935b3fd818bf38aade61434173489446e933
match
tests/mypy_test.py
49
70
[ { "decorator_line": 44, "file_path": "tests/mypy_test.py", "line_end": 46, "line_start": 44, "name": "log", "type": "function" } ]
1
python__typeshed__c4dc935b__10
python/typeshed
c4dc935b3fd818bf38aade61434173489446e933
check_versions
tests/check_consistent.py
107
126
[ { "decorator_line": 129, "file_path": "tests/check_consistent.py", "line_end": 141, "line_start": 129, "name": "_find_stdlib_modules", "type": "function" } ]
1
python__typeshed__c4dc935b__11
python/typeshed
c4dc935b3fd818bf38aade61434173489446e933
parse_versions
tests/mypy_test.py
76
90
[ { "decorator_line": 96, "file_path": "tests/mypy_test.py", "line_end": 99, "line_start": 96, "name": "parse_version", "type": "function" } ]
1
python__typeshed__c4dc935b__12
python/typeshed
c4dc935b3fd818bf38aade61434173489446e933
add_configuration
tests/mypy_test.py
149
173
[ { "decorator_line": 136, "file_path": "tests/mypy_test.py", "line_end": 138, "line_start": 136, "name": "MypyDistConf", "type": "class" } ]
1
python__typeshed__c4dc935b__13
python/typeshed
c4dc935b3fd818bf38aade61434173489446e933
unused_files
tests/stubtest_unused.py
27
37
[ { "decorator_line": 40, "file_path": "tests/stubtest_unused.py", "line_end": 45, "line_start": 40, "name": "find_unused_in_file", "type": "function" } ]
1
python__typeshed__c4dc935b__14
python/typeshed
c4dc935b3fd818bf38aade61434173489446e933
check_stdlib
tests/check_consistent.py
42
59
[ { "decorator_line": 27, "file_path": "tests/check_consistent.py", "line_end": 39, "line_start": 27, "name": "assert_stubs_only", "type": "function" } ]
1
iterative__dvc__1ca0c7f4__0
iterative/dvc
1ca0c7f476571c6f31944c4267324c58a194b8a9
declaration_input_data_items
dvc/command/run.py
48
49
[ { "decorator_line": 158, "file_path": "dvc/command/run.py", "line_end": 167, "line_start": 158, "name": "_data_items_from_params", "type": "function" } ]
1
iterative__dvc__1ca0c7f4__1
iterative/dvc
1ca0c7f476571c6f31944c4267324c58a194b8a9
islink
dvc/system.py
35
47
[ { "decorator_line": 14, "file_path": "dvc/system.py", "line_end": 16, "line_start": 15, "name": "is_unix", "type": "function" }, { "decorator_line": 49, "file_path": "dvc/system.py", "line_end": 59, "line_start": 50, "name": "_get_symlink_string", "type": "functio...
2
iterative__dvc__1ca0c7f4__2
iterative/dvc
1ca0c7f476571c6f31944c4267324c58a194b8a9
reproduce_data_file
dvc/command/repro.py
135
147
[ { "decorator_line": 32, "file_path": "dvc/logger.py", "line_end": 35, "line_start": 33, "name": "debug", "type": "function" }, { "decorator_line": 145, "file_path": "dvc/command/run.py", "line_end": 156, "line_start": 145, "name": "data_items_from_args", "type": "...
3
iterative__dvc__1ca0c7f4__3
iterative/dvc
1ca0c7f476571c6f31944c4267324c58a194b8a9
create_symlink
dvc/path/data_item.py
107
108
[ { "decorator_line": 18, "file_path": "dvc/system.py", "line_end": 32, "line_start": 19, "name": "symlink", "type": "function" } ]
1
iterative__dvc__1ca0c7f4__4
iterative/dvc
1ca0c7f476571c6f31944c4267324c58a194b8a9
test_all
tests/test_repository_change.py
44
80
[ { "decorator_line": 36, "file_path": "tests/test_repository_change.py", "line_end": 40, "line_start": 37, "name": "create_file", "type": "function" }, { "decorator_line": 16, "file_path": "dvc/repository_change.py", "line_end": 99, "line_start": 16, "name": "Repositor...
2
iterative__dvc__1ca0c7f4__5
iterative/dvc
1ca0c7f476571c6f31944c4267324c58a194b8a9
test
tests/test_repro.py
85
91
[ { "decorator_line": 93, "file_path": "tests/test_repro.py", "line_end": 102, "line_start": 93, "name": "recreate_file1", "type": "function" }, { "decorator_line": 45, "file_path": "dvc/command/repro.py", "line_end": 57, "line_start": 45, "name": "run", "type": "fu...
3
iterative__dvc__1ca0c7f4__6
iterative/dvc
1ca0c7f476571c6f31944c4267324c58a194b8a9
build
dvc/path/data_item.py
29
32
[ { "decorator_line": 24, "file_path": "dvc/path/data_item.py", "line_end": 32, "line_start": 24, "name": "DataItemInStatusDirError", "type": "class" } ]
1
iterative__dvc__1ca0c7f4__7
iterative/dvc
1ca0c7f476571c6f31944c4267324c58a194b8a9
test_end_to_end_with_no_error
tests/test_cmd_data_remove.py
131
153
[ { "decorator_line": 16, "file_path": "dvc/command/remove.py", "line_end": 153, "line_start": 16, "name": "CmdDataRemove", "type": "class" }, { "decorator_line": 46, "file_path": "dvc/command/remove.py", "line_end": 58, "line_start": 46, "name": "remove_all_targets", ...
2
iterative__dvc__1ca0c7f4__8
iterative/dvc
1ca0c7f476571c6f31944c4267324c58a194b8a9
setUp
tests/test_data_file_obj.py
11
19
[ { "decorator_line": 8, "file_path": "dvc/git_wrapper.py", "line_end": 68, "line_start": 8, "name": "GitWrapperI", "type": "class" }, { "decorator_line": 12, "file_path": "dvc/config.py", "line_end": 33, "line_start": 12, "name": "ConfigI", "type": "class" }, {...
3
iterative__dvc__1ca0c7f4__9
iterative/dvc
1ca0c7f476571c6f31944c4267324c58a194b8a9
symlink
dvc/system.py
19
32
[ { "decorator_line": 14, "file_path": "dvc/system.py", "line_end": 16, "line_start": 15, "name": "is_unix", "type": "function" } ]
1
iterative__dvc__1ca0c7f4__10
iterative/dvc
1ca0c7f476571c6f31944c4267324c58a194b8a9
test_remove_deep_dir
tests/test_cmd_data_remove.py
21
30
[ { "decorator_line": 16, "file_path": "dvc/command/remove.py", "line_end": 153, "line_start": 16, "name": "CmdDataRemove", "type": "class" }, { "decorator_line": 71, "file_path": "dvc/command/remove.py", "line_end": 79, "line_start": 71, "name": "remove_dir", "type...
2
iterative__dvc__1ca0c7f4__11
iterative/dvc
1ca0c7f476571c6f31944c4267324c58a194b8a9
git_dir
dvc/git_wrapper.py
91
109
[ { "decorator_line": 32, "file_path": "dvc/logger.py", "line_end": 35, "line_start": 33, "name": "debug", "type": "function" }, { "decorator_line": 11, "file_path": "dvc/executor.py", "line_end": 33, "line_start": 12, "name": "exec_cmd", "type": "function" }, {...
3
iterative__dvc__1ca0c7f4__12
iterative/dvc
1ca0c7f476571c6f31944c4267324c58a194b8a9
get
dvc/utils.py
5
14
[ { "decorator_line": 4, "file_path": "dvc/utils.py", "line_end": 16, "line_start": 4, "name": "cached_property", "type": "function" } ]
1
iterative__dvc__1ca0c7f4__13
iterative/dvc
1ca0c7f476571c6f31944c4267324c58a194b8a9
sync_to_cloud
dvc/command/data_sync.py
176
182
[ { "decorator_line": 97, "file_path": "dvc/command/data_sync.py", "line_end": 117, "line_start": 97, "name": "_sync_to_cloud_aws", "type": "function" }, { "decorator_line": 146, "file_path": "dvc/command/data_sync.py", "line_end": 165, "line_start": 146, "name": "_sync...
2
iterative__dvc__1ca0c7f4__14
iterative/dvc
1ca0c7f476571c6f31944c4267324c58a194b8a9
were_files_changed
dvc/git_wrapper.py
159
179
[ { "decorator_line": 32, "file_path": "dvc/logger.py", "line_end": 35, "line_start": 33, "name": "debug", "type": "function" }, { "decorator_line": 48, "file_path": "dvc/executor.py", "line_end": 54, "line_start": 49, "name": "exec_cmd_only_success", "type": "funct...
3
iterative__dvc__1ca0c7f4__15
iterative/dvc
1ca0c7f476571c6f31944c4267324c58a194b8a9
get_not_existing_dir
dvc/command/init.py
67
71
[ { "decorator_line": 10, "file_path": "dvc/command/init.py", "line_end": 12, "line_start": 10, "name": "InitError", "type": "class" } ]
1
iterative__dvc__1ca0c7f4__16
iterative/dvc
1ca0c7f476571c6f31944c4267324c58a194b8a9
remove_all_targets
dvc/command/remove.py
46
58
[ { "decorator_line": 60, "file_path": "dvc/command/remove.py", "line_end": 69, "line_start": 60, "name": "remove_target", "type": "function" }, { "decorator_line": 58, "file_path": "dvc/command/base.py", "line_end": 64, "line_start": 58, "name": "commit_if_needed", ...
2
iterative__dvc__1ca0c7f4__17
iterative/dvc
1ca0c7f476571c6f31944c4267324c58a194b8a9
test
tests/test_repro.py
106
112
[ { "decorator_line": 93, "file_path": "tests/test_repro.py", "line_end": 102, "line_start": 93, "name": "recreate_file1", "type": "function" }, { "decorator_line": 45, "file_path": "dvc/command/repro.py", "line_end": 57, "line_start": 45, "name": "run", "type": "fu...
3
iterative__dvc__1ca0c7f4__18
iterative/dvc
1ca0c7f476571c6f31944c4267324c58a194b8a9
error
dvc/logger.py
48
50
[ { "decorator_line": 28, "file_path": "dvc/logger.py", "line_end": 30, "line_start": 29, "name": "is_error", "type": "function" } ]
1
iterative__dvc__1ca0c7f4__19
iterative/dvc
1ca0c7f476571c6f31944c4267324c58a194b8a9
define_args
dvc/command/init.py
59
65
[ { "decorator_line": 50, "file_path": "dvc/command/base.py", "line_end": 52, "line_start": 50, "name": "set_skip_git_actions", "type": "function" }, { "decorator_line": 70, "file_path": "dvc/command/base.py", "line_end": 83, "line_start": 70, "name": "add_string_arg", ...
2
fail2ban__fail2ban__2a48b0ab__0
fail2ban/fail2ban
2a48b0ab541feac21fe0e1186ddccf59e2b5a406
testJailLogPath
fail2ban/tests/servertestcase.py
286
316
[ { "decorator_line": 104, "file_path": "fail2ban/tests/servertestcase.py", "line_end": 123, "line_start": 104, "name": "jailAddDelTest", "type": "function" } ]
1
fail2ban__fail2ban__2a48b0ab__1
fail2ban/fail2ban
2a48b0ab541feac21fe0e1186ddccf59e2b5a406
createBanTicket
fail2ban/server/banmanager.py
131
137
[ { "decorator_line": 95, "file_path": "fail2ban/server/ticket.py", "line_end": 96, "line_start": 95, "name": "BanTicket", "type": "class" }, { "decorator_line": 76, "file_path": "fail2ban/server/ticket.py", "line_end": 77, "line_start": 76, "name": "setAttempt", "t...
2
fail2ban__fail2ban__2a48b0ab__2
fail2ban/fail2ban
2a48b0ab541feac21fe0e1186ddccf59e2b5a406
testConvert
fail2ban/tests/clientreadertestcase.py
125
163
[ { "decorator_line": 35, "file_path": "fail2ban/client/filterreader.py", "line_end": 61, "line_start": 35, "name": "FilterReader", "type": "class" }, { "decorator_line": 42, "file_path": "fail2ban/client/filterreader.py", "line_end": 43, "line_start": 42, "name": "read...
3
fail2ban__fail2ban__2a48b0ab__3
fail2ban/fail2ban
2a48b0ab541feac21fe0e1186ddccf59e2b5a406
testSocket
fail2ban/tests/sockettestcase.py
52
65
[ { "decorator_line": 164, "file_path": "fail2ban/server/asyncserver.py", "line_end": 172, "line_start": 164, "name": "stop", "type": "function" } ]
1
fail2ban__fail2ban__2a48b0ab__4
fail2ban/fail2ban
2a48b0ab541feac21fe0e1186ddccf59e2b5a406
testStableSortTemplate
fail2ban/tests/datedetectortestcase.py
100
105
[ { "decorator_line": 172, "file_path": "fail2ban/server/datedetector.py", "line_end": 173, "line_start": 172, "name": "getTemplates", "type": "function" }, { "decorator_line": 214, "file_path": "fail2ban/server/datedetector.py", "line_end": 222, "line_start": 214, "nam...
2
fail2ban__fail2ban__2a48b0ab__5
fail2ban/fail2ban
2a48b0ab541feac21fe0e1186ddccf59e2b5a406
setUp
fail2ban/tests/failmanagertestcase.py
36
54
[ { "decorator_line": 37, "file_path": "fail2ban/server/failmanager.py", "line_end": 155, "line_start": 37, "name": "FailManager", "type": "class" }, { "decorator_line": 88, "file_path": "fail2ban/server/failmanager.py", "line_end": 119, "line_start": 88, "name": "addFa...
3
fail2ban__fail2ban__2a48b0ab__6
fail2ban/fail2ban
2a48b0ab541feac21fe0e1186ddccf59e2b5a406
setUp
fail2ban/tests/sockettestcase.py
36
42
[ { "decorator_line": 97, "file_path": "fail2ban/server/asyncserver.py", "line_end": 185, "line_start": 97, "name": "AsyncServer", "type": "class" } ]
1
fail2ban__fail2ban__2a48b0ab__7
fail2ban/fail2ban
2a48b0ab541feac21fe0e1186ddccf59e2b5a406
testJailMaxLines
fail2ban/tests/servertestcase.py
273
277
[ { "decorator_line": 79, "file_path": "fail2ban/tests/servertestcase.py", "line_end": 89, "line_start": 79, "name": "setGetTest", "type": "function" }, { "decorator_line": 91, "file_path": "fail2ban/tests/servertestcase.py", "line_end": 102, "line_start": 91, "name": "...
2
fail2ban__fail2ban__2a48b0ab__8
fail2ban/fail2ban
2a48b0ab541feac21fe0e1186ddccf59e2b5a406
callback
fail2ban/server/filterpyinotify.py
65
84
[ { "decorator_line": 112, "file_path": "fail2ban/server/filterpyinotify.py", "line_end": 120, "line_start": 112, "name": "_delFileWatcher", "type": "function" }, { "decorator_line": 104, "file_path": "fail2ban/server/filterpyinotify.py", "line_end": 109, "line_start": 104,...
3
fail2ban__fail2ban__2a48b0ab__9
fail2ban/fail2ban
2a48b0ab541feac21fe0e1186ddccf59e2b5a406
getFilter
fail2ban/server/jails.py
122
131
[ { "decorator_line": 31, "file_path": "fail2ban/exceptions.py", "line_end": 32, "line_start": 31, "name": "UnknownJailException", "type": "class" } ]
1
fail2ban__fail2ban__2a48b0ab__10
fail2ban/fail2ban
2a48b0ab541feac21fe0e1186ddccf59e2b5a406
testLogLevel
fail2ban/tests/servertestcase.py
520
527
[ { "decorator_line": 79, "file_path": "fail2ban/tests/servertestcase.py", "line_end": 89, "line_start": 79, "name": "setGetTest", "type": "function" }, { "decorator_line": 91, "file_path": "fail2ban/tests/servertestcase.py", "line_end": 102, "line_start": 91, "name": "...
2
fail2ban__fail2ban__2a48b0ab__11
fail2ban/fail2ban
2a48b0ab541feac21fe0e1186ddccf59e2b5a406
setUp
fail2ban/tests/banmanagertestcase.py
36
40
[ { "decorator_line": 95, "file_path": "fail2ban/server/ticket.py", "line_end": 96, "line_start": 95, "name": "BanTicket", "type": "class" }, { "decorator_line": 43, "file_path": "fail2ban/server/banmanager.py", "line_end": 242, "line_start": 43, "name": "BanManager", ...
3
fail2ban__fail2ban__2a48b0ab__12
fail2ban/fail2ban
2a48b0ab541feac21fe0e1186ddccf59e2b5a406
testJailUseDNS
fail2ban/tests/servertestcase.py
235
244
[ { "decorator_line": 79, "file_path": "fail2ban/tests/servertestcase.py", "line_end": 89, "line_start": 79, "name": "setGetTest", "type": "function" } ]
1
fail2ban__fail2ban__2a48b0ab__13
fail2ban/fail2ban
2a48b0ab541feac21fe0e1186ddccf59e2b5a406
testFullYearMatch_gh130
fail2ban/tests/datedetectortestcase.py
111
129
[ { "decorator_line": 187, "file_path": "fail2ban/server/datedetector.py", "line_end": 201, "line_start": 187, "name": "getTime", "type": "function" }, { "decorator_line": 214, "file_path": "fail2ban/server/datedetector.py", "line_end": 222, "line_start": 214, "name": "...
2
fail2ban__fail2ban__2a48b0ab__14
fail2ban/fail2ban
2a48b0ab541feac21fe0e1186ddccf59e2b5a406
testbanOK
fail2ban/tests/failmanagertestcase.py
78
83
[ { "decorator_line": 60, "file_path": "fail2ban/server/failmanager.py", "line_end": 65, "line_start": 60, "name": "setMaxRetry", "type": "function" }, { "decorator_line": 142, "file_path": "fail2ban/server/failmanager.py", "line_end": 155, "line_start": 142, "name": "t...
3
fail2ban__fail2ban__2a48b0ab__15
fail2ban/fail2ban
2a48b0ab541feac21fe0e1186ddccf59e2b5a406
handle_error
fail2ban/server/asyncserver.py
85
89
[ { "decorator_line": 31, "file_path": "fail2ban/helpers.py", "line_end": 40, "line_start": 31, "name": "formatExceptionInfo", "type": "function" } ]
1
fail2ban__fail2ban__2a48b0ab__16
fail2ban/fail2ban
2a48b0ab541feac21fe0e1186ddccf59e2b5a406
stop
fail2ban/server/filterpyinotify.py
176
182
[ { "decorator_line": 93, "file_path": "fail2ban/server/jailthread.py", "line_end": 94, "line_start": 93, "name": "stop", "type": "function" }, { "decorator_line": 187, "file_path": "fail2ban/server/filterpyinotify.py", "line_end": 189, "line_start": 187, "name": "__cle...
2
fail2ban__fail2ban__2a48b0ab__17
fail2ban/fail2ban
2a48b0ab541feac21fe0e1186ddccf59e2b5a406
toBan
fail2ban/server/failmanager.py
142
155
[ { "decorator_line": 138, "file_path": "fail2ban/server/failmanager.py", "line_end": 140, "line_start": 138, "name": "__delFailure", "type": "function" }, { "decorator_line": 86, "file_path": "fail2ban/server/ticket.py", "line_end": 87, "line_start": 86, "name": "FailT...
3
fail2ban__fail2ban__2a48b0ab__18
fail2ban/fail2ban
2a48b0ab541feac21fe0e1186ddccf59e2b5a406
get
fail2ban/server/jails.py
86
95
[ { "decorator_line": 31, "file_path": "fail2ban/exceptions.py", "line_end": 32, "line_start": 31, "name": "UnknownJailException", "type": "class" } ]
1
fail2ban__fail2ban__2a48b0ab__19
fail2ban/fail2ban
2a48b0ab541feac21fe0e1186ddccf59e2b5a406
testCleanupOK
fail2ban/tests/failmanagertestcase.py
68
71
[ { "decorator_line": 128, "file_path": "fail2ban/server/failmanager.py", "line_end": 136, "line_start": 128, "name": "cleanup", "type": "function" }, { "decorator_line": 121, "file_path": "fail2ban/server/failmanager.py", "line_end": 126, "line_start": 121, "name": "si...
2
pyodide__pyodide__d4660f1a__0
pyodide/pyodide
d4660f1a1fd171b16c07672bb489a52db01ffc30
onmousedown
packages/matplotlib/src/wasm_backend.py
220
222
[ { "decorator_line": 199, "file_path": "packages/matplotlib/src/wasm_backend.py", "line_end": 210, "line_start": 199, "name": "_convert_mouse_event", "type": "function" } ]
1
pyodide__pyodide__d4660f1a__1
pyodide/pyodide
d4660f1a1fd171b16c07672bb489a52db01ffc30
test_js2python
test/test_python.py
66
113
[ { "decorator_line": 78, "file_path": "test/conftest.py", "line_end": 83, "line_start": 78, "name": "run_js", "type": "function" }, { "decorator_line": 74, "file_path": "test/conftest.py", "line_end": 76, "line_start": 74, "name": "run", "type": "function" } ]
2
pyodide__pyodide__d4660f1a__2
pyodide/pyodide
d4660f1a1fd171b16c07672bb489a52db01ffc30
load_package
test/conftest.py
85
97
[ { "decorator_line": 78, "file_path": "test/conftest.py", "line_end": 83, "line_start": 78, "name": "run_js", "type": "function" }, { "decorator_line": 28, "file_path": "test/conftest.py", "line_end": 32, "line_start": 28, "name": "PackageLoaded", "type": "class" ...
3
pyodide__pyodide__d4660f1a__3
pyodide/pyodide
d4660f1a1fd171b16c07672bb489a52db01ffc30
onscroll
packages/matplotlib/src/wasm_backend.py
235
237
[ { "decorator_line": 199, "file_path": "packages/matplotlib/src/wasm_backend.py", "line_end": 210, "line_start": 199, "name": "_convert_mouse_event", "type": "function" } ]
1
pyodide__pyodide__d4660f1a__4
pyodide/pyodide
d4660f1a1fd171b16c07672bb489a52db01ffc30
get_benchmarks
benchmark/benchmark.py
93
95
[ { "decorator_line": 57, "file_path": "benchmark/benchmark.py", "line_end": 61, "line_start": 57, "name": "get_pystone_benchmarks", "type": "function" }, { "decorator_line": 75, "file_path": "benchmark/benchmark.py", "line_end": 90, "line_start": 75, "name": "get_numpy...
2
pyodide__pyodide__d4660f1a__5
pyodide/pyodide
d4660f1a1fd171b16c07672bb489a52db01ffc30
test_load_package_after_convert_string
test/test_python.py
340
352
[ { "decorator_line": 74, "file_path": "test/conftest.py", "line_end": 76, "line_start": 74, "name": "run", "type": "function" }, { "decorator_line": 78, "file_path": "test/conftest.py", "line_end": 83, "line_start": 78, "name": "run_js", "type": "function" }, {...
3
pyodide__pyodide__d4660f1a__6
pyodide/pyodide
d4660f1a1fd171b16c07672bb489a52db01ffc30
draw
packages/matplotlib/src/wasm_backend.py
167
187
[ { "decorator_line": 41, "file_path": "packages/matplotlib/src/wasm_backend.py", "line_end": 48, "line_start": 41, "name": "get_element", "type": "function" } ]
1
pyodide__pyodide__d4660f1a__7
pyodide/pyodide
d4660f1a1fd171b16c07672bb489a52db01ffc30
main
benchmark/benchmark.py
98
103
[ { "decorator_line": 93, "file_path": "benchmark/benchmark.py", "line_end": 95, "line_start": 93, "name": "get_benchmarks", "type": "function" }, { "decorator_line": 42, "file_path": "benchmark/benchmark.py", "line_end": 54, "line_start": 42, "name": "run_all", "ty...
2
pyodide__pyodide__d4660f1a__8
pyodide/pyodide
d4660f1a1fd171b16c07672bb489a52db01ffc30
test_typed_arrays
test/test_numpy.py
10
30
[ { "decorator_line": 85, "file_path": "test/conftest.py", "line_end": 97, "line_start": 85, "name": "load_package", "type": "function" }, { "decorator_line": 74, "file_path": "test/conftest.py", "line_end": 76, "line_start": 74, "name": "run", "type": "function" ...
3
pyodide__pyodide__d4660f1a__9
pyodide/pyodide
d4660f1a1fd171b16c07672bb489a52db01ffc30
remove_rubberband
packages/matplotlib/src/wasm_backend.py
401
405
[ { "decorator_line": 41, "file_path": "packages/matplotlib/src/wasm_backend.py", "line_end": 48, "line_start": 41, "name": "get_element", "type": "function" } ]
1
pyodide__pyodide__d4660f1a__10
pyodide/pyodide
d4660f1a1fd171b16c07672bb489a52db01ffc30
test_numpy
test/test_numpy.py
0
7
[ { "decorator_line": 85, "file_path": "test/conftest.py", "line_end": 97, "line_start": 85, "name": "load_package", "type": "function" }, { "decorator_line": 74, "file_path": "test/conftest.py", "line_end": 76, "line_start": 74, "name": "run", "type": "function" ...
2
pyodide__pyodide__d4660f1a__11
pyodide/pyodide
d4660f1a1fd171b16c07672bb489a52db01ffc30
test_webbrowser
test/test_python.py
14
17
[ { "decorator_line": 74, "file_path": "test/conftest.py", "line_end": 76, "line_start": 74, "name": "run", "type": "function" } ]
1
pyodide__pyodide__d4660f1a__12
pyodide/pyodide
d4660f1a1fd171b16c07672bb489a52db01ffc30
run_all
benchmark/benchmark.py
42
54
[ { "decorator_line": 15, "file_path": "benchmark/benchmark.py", "line_end": 24, "line_start": 15, "name": "run_native", "type": "function" }, { "decorator_line": 27, "file_path": "benchmark/benchmark.py", "line_end": 39, "line_start": 27, "name": "run_wasm", "type"...
2