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
sktime__sktime__893b44da__16
sktime/sktime
893b44da5a7498cabb8e30aa8e752e521a98411c
split_into_tabular_train_test
sktime/utils/time_series.py
258
291
[ { "decorator_line": 110, "file_path": "sktime/utils/validation.py", "line_end": 158, "line_start": 110, "name": "validate_fh", "type": "function" }, { "decorator_line": 32, "file_path": "sktime/utils/time_series.py", "line_end": 109, "line_start": 32, "name": "Rolling...
2
sktime__sktime__893b44da__17
sktime/sktime
893b44da5a7498cabb8e30aa8e752e521a98411c
test_output_format_dim
sktime/transformers/tests/test_RandomIntervalSegmenter.py
11
34
[ { "decorator_line": 5, "file_path": "sktime/utils/testing.py", "line_end": 7, "line_start": 5, "name": "generate_df_from_array", "type": "function" }, { "decorator_line": 139, "file_path": "sktime/transformers/series_to_series.py", "line_end": 305, "line_start": 139, ...
3
sktime__sktime__893b44da__18
sktime/sktime
893b44da5a7498cabb8e30aa8e752e521a98411c
predict
sktime/classifiers/distance_based/elastic_ensemble.py
217
224
[ { "decorator_line": 185, "file_path": "sktime/classifiers/distance_based/elastic_ensemble.py", "line_end": 215, "line_start": 185, "name": "predict_proba", "type": "function" } ]
1
sktime__sktime__893b44da__19
sktime/sktime
893b44da5a7498cabb8e30aa8e752e521a98411c
test_PlateauFinder
sktime/transformers/tests/test_PlateauFinder.py
8
33
[ { "decorator_line": 602, "file_path": "sktime/transformers/series_to_series.py", "line_end": 683, "line_start": 602, "name": "PlateauFinder", "type": "class" }, { "decorator_line": 20, "file_path": "sktime/transformers/base.py", "line_end": 41, "line_start": 20, "name...
2
hpcaitech__ColossalAI__708404d5__0
hpcaitech/ColossalAI
708404d5f8ff54d24698260e8719f2e1fe21c573
symbolic
colossalai/nn/layer/parallel_1d/_utils.py
127
128
[ { "decorator_line": 40, "file_path": "colossalai/nn/layer/parallel_1d/_utils.py", "line_end": 56, "line_start": 40, "name": "_split", "type": "function" } ]
1
hpcaitech__ColossalAI__708404d5__1
hpcaitech/ColossalAI
708404d5f8ff54d24698260e8719f2e1fe21c573
after_train_epoch
colossalai/trainer/hooks/_log_hook.py
253
258
[ { "decorator_line": 44, "file_path": "colossalai/trainer/hooks/_log_hook.py", "line_end": 45, "line_start": 44, "name": "_is_epoch_to_log", "type": "function" }, { "decorator_line": 233, "file_path": "colossalai/trainer/hooks/_log_hook.py", "line_end": 251, "line_start": ...
2
hpcaitech__ColossalAI__708404d5__2
hpcaitech/ColossalAI
708404d5f8ff54d24698260e8719f2e1fe21c573
check_ABT
tests/test_layers/test_2d/checks_2d/check_operation_2d.py
91
163
[ { "decorator_line": 22, "file_path": "colossalai/utils/cuda.py", "line_end": 28, "line_start": 22, "name": "get_current_device", "type": "function" }, { "decorator_line": 11, "file_path": "tests/test_layers/test_2d/checks_2d/common.py", "line_end": 12, "line_start": 11, ...
3
hpcaitech__ColossalAI__708404d5__3
hpcaitech/ColossalAI
708404d5f8ff54d24698260e8719f2e1fe21c573
cuda_ext_helper
setup.py
97
104
[ { "decorator_line": 40, "file_path": "setup.py", "line_end": 44, "line_start": 40, "name": "append_nvcc_threads", "type": "function" } ]
1
hpcaitech__ColossalAI__708404d5__4
hpcaitech/ColossalAI
708404d5f8ff54d24698260e8719f2e1fe21c573
run_test
tests/test_layers/test_sequence/test_sequence.py
127
140
[ { "decorator_line": 57, "file_path": "colossalai/initialize.py", "line_end": 118, "line_start": 57, "name": "launch", "type": "function" }, { "decorator_line": 72, "file_path": "tests/test_layers/test_sequence/test_sequence.py", "line_end": 124, "line_start": 72, "nam...
2
hpcaitech__ColossalAI__708404d5__5
hpcaitech/ColossalAI
708404d5f8ff54d24698260e8719f2e1fe21c573
check_AB
tests/test_layers/test_2d/checks_2d/check_operation_2d.py
13
88
[ { "decorator_line": 22, "file_path": "colossalai/utils/cuda.py", "line_end": 28, "line_start": 22, "name": "get_current_device", "type": "function" }, { "decorator_line": 11, "file_path": "tests/test_layers/test_2d/checks_2d/common.py", "line_end": 12, "line_start": 11, ...
3
hpcaitech__ColossalAI__708404d5__6
hpcaitech/ColossalAI
708404d5f8ff54d24698260e8719f2e1fe21c573
build_layer
colossalai/builder/builder.py
58
67
[ { "decorator_line": 25, "file_path": "colossalai/builder/builder.py", "line_end": 55, "line_start": 25, "name": "build_from_registry", "type": "function" } ]
1
hpcaitech__ColossalAI__708404d5__7
hpcaitech/ColossalAI
708404d5f8ff54d24698260e8719f2e1fe21c573
forward
colossalai/nn/layer/moe/layers.py
165
207
[ { "decorator_line": 160, "file_path": "colossalai/nn/layer/moe/layers.py", "line_end": 163, "line_start": 160, "name": "get_capacity", "type": "function" }, { "decorator_line": 28, "file_path": "colossalai/global_variables.py", "line_end": 29, "line_start": 28, "name"...
2
hpcaitech__ColossalAI__708404d5__8
hpcaitech/ColossalAI
708404d5f8ff54d24698260e8719f2e1fe21c573
load_batch
colossalai/engine/schedule/_base_schedule.py
45
74
[ { "decorator_line": 40, "file_path": "colossalai/engine/schedule/_base_schedule.py", "line_end": 43, "line_start": 41, "name": "_check_sanity", "type": "function" }, { "decorator_line": 10, "file_path": "colossalai/nn/layer/colossalai_layer/_utils.py", "line_end": 18, "li...
3
hpcaitech__ColossalAI__708404d5__9
hpcaitech/ColossalAI
708404d5f8ff54d24698260e8719f2e1fe21c573
test_partition
tests/test_trainer/test_pipeline/test_partition.py
39
42
[ { "decorator_line": 41, "file_path": "colossalai/utils/common.py", "line_end": 50, "line_start": 41, "name": "free_port", "type": "function" } ]
1
hpcaitech__ColossalAI__708404d5__10
hpcaitech/ColossalAI
708404d5f8ff54d24698260e8719f2e1fe21c573
load_micro_batch
colossalai/engine/schedule/_pipeline_schedule.py
86
90
[ { "decorator_line": 80, "file_path": "colossalai/engine/schedule/_pipeline_schedule.py", "line_end": 84, "line_start": 80, "name": "_get_data_slice", "type": "function" }, { "decorator_line": 33, "file_path": "colossalai/engine/schedule/_base_schedule.py", "line_end": 38, ...
2
hpcaitech__ColossalAI__708404d5__11
hpcaitech/ColossalAI
708404d5f8ff54d24698260e8719f2e1fe21c573
reduce_independent_p_g_buckets_and_remove_grads
colossalai/zero/zero_redundancy_optimizer_level_2.py
832
873
[ { "decorator_line": 801, "file_path": "colossalai/zero/zero_redundancy_optimizer_level_2.py", "line_end": 808, "line_start": 801, "name": "report_ipg_memory_usage", "type": "function" }, { "decorator_line": 1230, "file_path": "colossalai/zero/zero_redundancy_optimizer_level_2.py"...
3
hpcaitech__ColossalAI__708404d5__12
hpcaitech/ColossalAI
708404d5f8ff54d24698260e8719f2e1fe21c573
build_optimizer
colossalai/builder/builder.py
108
122
[ { "decorator_line": 25, "file_path": "colossalai/builder/builder.py", "line_end": 55, "line_start": 25, "name": "build_from_registry", "type": "function" } ]
1
hpcaitech__ColossalAI__708404d5__13
hpcaitech/ColossalAI
708404d5f8ff54d24698260e8719f2e1fe21c573
after_train_epoch
colossalai/trainer/hooks/_log_hook.py
98
103
[ { "decorator_line": 44, "file_path": "colossalai/trainer/hooks/_log_hook.py", "line_end": 45, "line_start": 44, "name": "_is_epoch_to_log", "type": "function" }, { "decorator_line": 90, "file_path": "colossalai/trainer/hooks/_log_hook.py", "line_end": 96, "line_start": 90...
2
hpcaitech__ColossalAI__708404d5__14
hpcaitech/ColossalAI
708404d5f8ff54d24698260e8719f2e1fe21c573
reset_parameters
colossalai/nn/layer/parallel_3d/layers.py
373
379
[ { "decorator_line": 91, "file_path": "colossalai/context/random/_helper.py", "line_end": 107, "line_start": 92, "name": "seed", "type": "function" }, { "decorator_line": 381, "file_path": "colossalai/nn/layer/parallel_3d/layers.py", "line_end": 384, "line_start": 381, ...
3
hpcaitech__ColossalAI__708404d5__15
hpcaitech/ColossalAI
708404d5f8ff54d24698260e8719f2e1fe21c573
forward
colossalai/nn/layer/parallel_1d/_utils.py
154
157
[ { "decorator_line": 59, "file_path": "colossalai/nn/layer/parallel_1d/_utils.py", "line_end": 74, "line_start": 59, "name": "_gather", "type": "function" } ]
1
hpcaitech__ColossalAI__708404d5__16
hpcaitech/ColossalAI
708404d5f8ff54d24698260e8719f2e1fe21c573
forward
colossalai/nn/layer/moe/layers.py
104
141
[ { "decorator_line": 97, "file_path": "colossalai/nn/layer/moe/layers.py", "line_end": 102, "line_start": 97, "name": "get_capacity", "type": "function" }, { "decorator_line": 28, "file_path": "colossalai/global_variables.py", "line_end": 29, "line_start": 28, "name": ...
2
hpcaitech__ColossalAI__708404d5__17
hpcaitech/ColossalAI
708404d5f8ff54d24698260e8719f2e1fe21c573
release_sub_module
colossalai/zero/zero_redundancy_optimizer_level_3.py
468
511
[ { "decorator_line": 41, "file_path": "colossalai/zero/zero_redundancy_optimizer_level_3.py", "line_end": 44, "line_start": 41, "name": "print_rank_0", "type": "function" }, { "decorator_line": 522, "file_path": "colossalai/zero/zero_redundancy_optimizer_level_3.py", "line_end...
3
hpcaitech__ColossalAI__708404d5__18
hpcaitech/ColossalAI
708404d5f8ff54d24698260e8719f2e1fe21c573
estimate_zero3_model_states_mem_needs_all_cold
colossalai/zero/zero_redundancy_optimizer_level_3.py
3,564
3,623
[ { "decorator_line": 3477, "file_path": "colossalai/zero/zero_redundancy_optimizer_level_3.py", "line_end": 3514, "line_start": 3477, "name": "estimate_zero3_model_states_mem_needs", "type": "function" } ]
1
hpcaitech__ColossalAI__708404d5__19
hpcaitech/ColossalAI
708404d5f8ff54d24698260e8719f2e1fe21c573
partition_balanced
colossalai/builder/pipeline.py
136
150
[ { "decorator_line": 114, "file_path": "colossalai/builder/pipeline.py", "line_end": 133, "line_start": 114, "name": "partition_uniform", "type": "function" }, { "decorator_line": 90, "file_path": "colossalai/builder/pipeline.py", "line_end": 111, "line_start": 90, "na...
2
encode__starlette__4c621d58__0
encode/starlette
4c621d58c0ce2f111fee4745f944ea6417f1cb53
awaitable
starlette/decorators.py
7
10
[ { "decorator_line": 5, "file_path": "starlette/decorators.py", "line_end": 14, "line_start": 5, "name": "asgi_application", "type": "function" } ]
1
encode__starlette__4c621d58__1
encode/starlette
4c621d58c0ce2f111fee4745f944ea6417f1cb53
TestClient
starlette/testclient.py
118
125
[ { "decorator_line": 104, "file_path": "starlette/testclient.py", "line_end": 115, "line_start": 104, "name": "_TestClient", "type": "class" } ]
1
encode__starlette__4c621d58__2
encode/starlette
4c621d58c0ce2f111fee4745f944ea6417f1cb53
body
starlette/request.py
67
73
[ { "decorator_line": 51, "file_path": "starlette/request.py", "line_end": 65, "line_start": 51, "name": "stream", "type": "function" } ]
1
encode__starlette__4c621d58__3
encode/starlette
4c621d58c0ce2f111fee4745f944ea6417f1cb53
json
starlette/request.py
75
79
[ { "decorator_line": 67, "file_path": "starlette/request.py", "line_end": 73, "line_start": 67, "name": "body", "type": "function" } ]
1
encode__starlette__4c621d58__4
encode/starlette
4c621d58c0ce2f111fee4745f944ea6417f1cb53
send
starlette/testclient.py
76
92
[ { "decorator_line": 13, "file_path": "starlette/testclient.py", "line_end": 24, "line_start": 13, "name": "_MockOriginalResponse", "type": "class" } ]
1
encode__starlette__4c621d58__5
encode/starlette
4c621d58c0ce2f111fee4745f944ea6417f1cb53
app
starlette/decorators.py
6
12
[ { "decorator_line": 5, "file_path": "starlette/decorators.py", "line_end": 14, "line_start": 5, "name": "asgi_application", "type": "function" } ]
1
encode__starlette__4c621d58__6
encode/starlette
4c621d58c0ce2f111fee4745f944ea6417f1cb53
send
starlette/testclient.py
31
101
[ { "decorator_line": 13, "file_path": "starlette/testclient.py", "line_end": 24, "line_start": 13, "name": "_MockOriginalResponse", "type": "class" } ]
1
encode__starlette__4c621d58__7
encode/starlette
4c621d58c0ce2f111fee4745f944ea6417f1cb53
asgi
tests/test_response.py
39
42
[ { "decorator_line": 32, "file_path": "tests/test_response.py", "line_end": 37, "line_start": 32, "name": "numbers", "type": "function" } ]
1
mitmproxy__mitmproxy__0e0cff63__0
mitmproxy/mitmproxy
0e0cff638c1e055275e77e2af0ae540542f77197
test_add_response
test/test_console.py
61
66
[ { "decorator_line": 52, "file_path": "test/test_console.py", "line_end": 54, "line_start": 52, "name": "_add_request", "type": "function" } ]
1
mitmproxy__mitmproxy__0e0cff63__1
mitmproxy/mitmproxy
0e0cff638c1e055275e77e2af0ae540542f77197
handle_entityref
libmproxy/contrib/html2text.py
268
269
[ { "decorator_line": 563, "file_path": "libmproxy/contrib/html2text.py", "line_end": 636, "line_start": 563, "name": "o", "type": "function" }, { "decorator_line": 662, "file_path": "libmproxy/contrib/html2text.py", "line_end": 672, "line_start": 662, "name": "entityre...
2
mitmproxy__mitmproxy__0e0cff63__2
mitmproxy/mitmproxy
0e0cff638c1e055275e77e2af0ae540542f77197
test_body
test/test_filt.py
190
198
[ { "decorator_line": 75, "file_path": "test/test_filt.py", "line_end": 93, "line_start": 75, "name": "req", "type": "function" }, { "decorator_line": 95, "file_path": "test/test_filt.py", "line_end": 102, "line_start": 95, "name": "resp", "type": "function" }, ...
3
mitmproxy__mitmproxy__0e0cff63__3
mitmproxy/mitmproxy
0e0cff638c1e055275e77e2af0ae540542f77197
test_idna_err
test/test_fuzzing.py
8
11
[ { "decorator_line": 147, "file_path": "test/tservers.py", "line_end": 156, "line_start": 147, "name": "pathoc", "type": "function" } ]
1
mitmproxy__mitmproxy__0e0cff63__4
mitmproxy/mitmproxy
0e0cff638c1e055275e77e2af0ae540542f77197
handle_data
libmproxy/contrib/html2text.py
638
644
[ { "decorator_line": 106, "file_path": "libmproxy/contrib/html2text.py", "line_end": 121, "line_start": 106, "name": "dumb_css_parser", "type": "function" }, { "decorator_line": 563, "file_path": "libmproxy/contrib/html2text.py", "line_end": 636, "line_start": 563, "na...
2
mitmproxy__mitmproxy__0e0cff63__5
mitmproxy/mitmproxy
0e0cff638c1e055275e77e2af0ae540542f77197
test_head
test/test_filt.py
152
171
[ { "decorator_line": 75, "file_path": "test/test_filt.py", "line_end": 93, "line_start": 75, "name": "req", "type": "function" }, { "decorator_line": 95, "file_path": "test/test_filt.py", "line_end": 102, "line_start": 95, "name": "resp", "type": "function" }, ...
3
mitmproxy__mitmproxy__0e0cff63__6
mitmproxy/mitmproxy
0e0cff638c1e055275e77e2af0ae540542f77197
keypress
libmproxy/console/help.py
170
180
[ { "decorator_line": 59, "file_path": "libmproxy/console/common.py", "line_end": 66, "line_start": 59, "name": "shortcuts", "type": "function" } ]
1
mitmproxy__mitmproxy__0e0cff63__7
mitmproxy/mitmproxy
0e0cff638c1e055275e77e2af0ae540542f77197
test_and
test/test_filt.py
233
240
[ { "decorator_line": 95, "file_path": "test/test_filt.py", "line_end": 102, "line_start": 95, "name": "resp", "type": "function" }, { "decorator_line": 109, "file_path": "test/test_filt.py", "line_end": 110, "line_start": 109, "name": "q", "type": "function" } ]
2
mitmproxy__mitmproxy__0e0cff63__8
mitmproxy/mitmproxy
0e0cff638c1e055275e77e2af0ae540542f77197
test_freq_fresp
test/test_filt.py
138
146
[ { "decorator_line": 75, "file_path": "test/test_filt.py", "line_end": 93, "line_start": 75, "name": "req", "type": "function" }, { "decorator_line": 95, "file_path": "test/test_filt.py", "line_end": 102, "line_start": 95, "name": "resp", "type": "function" }, ...
3
mitmproxy__mitmproxy__0e0cff63__9
mitmproxy/mitmproxy
0e0cff638c1e055275e77e2af0ae540542f77197
test_response_timestamps
test/test_server.py
252
259
[ { "decorator_line": 158, "file_path": "test/tservers.py", "line_end": 168, "line_start": 158, "name": "pathod", "type": "function" } ]
1
mitmproxy__mitmproxy__0e0cff63__10
mitmproxy/mitmproxy
0e0cff638c1e055275e77e2af0ae540542f77197
findPackages
setup.py
29
70
[ { "decorator_line": 17, "file_path": "setup.py", "line_end": 26, "line_start": 17, "name": "_splitAll", "type": "function" }, { "decorator_line": 10, "file_path": "setup.py", "line_end": 14, "line_start": 10, "name": "_fnmatch", "type": "function" } ]
2
mitmproxy__mitmproxy__0e0cff63__11
mitmproxy/mitmproxy
0e0cff638c1e055275e77e2af0ae540542f77197
test_keypress
test/test_console_help.py
17
21
[ { "decorator_line": 10, "file_path": "libmproxy/console/help.py", "line_end": 180, "line_start": 10, "name": "HelpView", "type": "class" }, { "decorator_line": 7, "file_path": "test/test_console_help.py", "line_end": 9, "line_start": 7, "name": "DummyMaster", "typ...
3
mitmproxy__mitmproxy__0e0cff63__12
mitmproxy/mitmproxy
0e0cff638c1e055275e77e2af0ae540542f77197
soft_br
libmproxy/contrib/html2text.py
559
561
[ { "decorator_line": 552, "file_path": "libmproxy/contrib/html2text.py", "line_end": 554, "line_start": 552, "name": "pbr", "type": "function" } ]
1
mitmproxy__mitmproxy__0e0cff63__13
mitmproxy/mitmproxy
0e0cff638c1e055275e77e2af0ae540542f77197
unpack
libmproxy/contrib/jsbeautifier/unpackers/evalbased.py
24
26
[ { "decorator_line": 20, "file_path": "libmproxy/contrib/jsbeautifier/unpackers/evalbased.py", "line_end": 22, "line_start": 20, "name": "detect", "type": "function" }, { "decorator_line": 29, "file_path": "libmproxy/contrib/jsbeautifier/unpackers/evalbased.py", "line_end": 38...
2
mitmproxy__mitmproxy__0e0cff63__14
mitmproxy/mitmproxy
0e0cff638c1e055275e77e2af0ae540542f77197
handle
libmproxy/contrib/html2text.py
241
244
[ { "decorator_line": 237, "file_path": "libmproxy/contrib/html2text.py", "line_end": 239, "line_start": 237, "name": "feed", "type": "function" }, { "decorator_line": 692, "file_path": "libmproxy/contrib/html2text.py", "line_end": 715, "line_start": 692, "name": "optwr...
3
mitmproxy__mitmproxy__0e0cff63__15
mitmproxy/mitmproxy
0e0cff638c1e055275e77e2af0ae540542f77197
example
doc-src/index.py
33
36
[ { "decorator_line": 25, "file_path": "doc-src/index.py", "line_end": 27, "line_start": 25, "name": "mpath", "type": "function" } ]
1
mitmproxy__mitmproxy__0e0cff63__16
mitmproxy/mitmproxy
0e0cff638c1e055275e77e2af0ae540542f77197
test_client_certs
test/test_proxy.py
90
93
[ { "decorator_line": 55, "file_path": "test/test_proxy.py", "line_end": 58, "line_start": 55, "name": "assert_noerr", "type": "function" }, { "decorator_line": 52, "file_path": "test/test_proxy.py", "line_end": 53, "line_start": 52, "name": "assert_err", "type": "f...
2
mitmproxy__mitmproxy__0e0cff63__17
mitmproxy/mitmproxy
0e0cff638c1e055275e77e2af0ae540542f77197
close
libmproxy/contrib/html2text.py
250
263
[ { "decorator_line": 552, "file_path": "libmproxy/contrib/html2text.py", "line_end": 554, "line_start": 552, "name": "pbr", "type": "function" }, { "decorator_line": 563, "file_path": "libmproxy/contrib/html2text.py", "line_end": 636, "line_start": 563, "name": "o", ...
3
mitmproxy__mitmproxy__0e0cff63__18
mitmproxy/mitmproxy
0e0cff638c1e055275e77e2af0ae540542f77197
test_stickyauth
test/test_dump.py
166
167
[ { "decorator_line": 35, "file_path": "test/test_dump.py", "line_end": 42, "line_start": 35, "name": "_dummy_cycle", "type": "function" } ]
1
mitmproxy__mitmproxy__0e0cff63__19
mitmproxy/mitmproxy
0e0cff638c1e055275e77e2af0ae540542f77197
unpack
libmproxy/contrib/jsbeautifier/unpackers/myobfuscate.py
65
73
[ { "decorator_line": 61, "file_path": "libmproxy/contrib/jsbeautifier/unpackers/myobfuscate.py", "line_end": 63, "line_start": 61, "name": "detect", "type": "function" }, { "decorator_line": 75, "file_path": "libmproxy/contrib/jsbeautifier/unpackers/myobfuscate.py", "line_end"...
2
SciTools__cartopy__80d9e47d__0
SciTools/cartopy
80d9e47d3cbb2039b90a37e9ac0acff3e2adf4ce
test_simple
lib/cartopy/tests/test_polygon.py
146
157
[ { "decorator_line": 140, "file_path": "lib/cartopy/tests/test_polygon.py", "line_end": 144, "line_start": 140, "name": "_assert_bounds", "type": "function" } ]
1
SciTools__cartopy__80d9e47d__1
SciTools/cartopy
80d9e47d3cbb2039b90a37e9ac0acff3e2adf4ce
test_image_nest
lib/cartopy/tests/mpl/test_images.py
80
87
[ { "decorator_line": 21, "file_path": "lib/cartopy/tests/mpl/__init__.py", "line_end": 23, "line_start": 21, "name": "image_comparison", "type": "function" }, { "decorator_line": 59, "file_path": "lib/cartopy/tests/test_img_nest.py", "line_end": 69, "line_start": 59, "...
2
SciTools__cartopy__80d9e47d__2
SciTools/cartopy
80d9e47d3cbb2039b90a37e9ac0acff3e2adf4ce
do_image_warp
lib/cartopy/img_transform.py
257
267
[ { "decorator_line": 213, "file_path": "lib/cartopy/img_transform.py", "line_end": 218, "line_start": 213, "name": "bluemarble", "type": "function" }, { "decorator_line": 228, "file_path": "lib/cartopy/img_transform.py", "line_end": 234, "line_start": 228, "name": "pol...
3
SciTools__cartopy__80d9e47d__3
SciTools/cartopy
80d9e47d3cbb2039b90a37e9ac0acff3e2adf4ce
test_geometry
lib/cartopy/tests/test_shapereader.py
89
95
[ { "decorator_line": 78, "file_path": "lib/cartopy/tests/test_shapereader.py", "line_end": 87, "line_start": 78, "name": "_assert_geometry", "type": "function" } ]
1
SciTools__cartopy__80d9e47d__4
SciTools/cartopy
80d9e47d3cbb2039b90a37e9ac0acff3e2adf4ce
warp_array
lib/cartopy/img_transform.py
115
143
[ { "decorator_line": 54, "file_path": "lib/cartopy/img_transform.py", "line_end": 77, "line_start": 54, "name": "mesh_projection", "type": "function" }, { "decorator_line": 146, "file_path": "lib/cartopy/img_transform.py", "line_end": 208, "line_start": 146, "name": "r...
2
SciTools__cartopy__80d9e47d__5
SciTools/cartopy
80d9e47d3cbb2039b90a37e9ac0acff3e2adf4ce
do_data_regrid
lib/cartopy/img_transform.py
269
281
[ { "decorator_line": 246, "file_path": "lib/cartopy/img_transform.py", "line_end": 255, "line_start": 246, "name": "orca2", "type": "function" }, { "decorator_line": 54, "file_path": "lib/cartopy/img_transform.py", "line_end": 77, "line_start": 54, "name": "mesh_projec...
3
SciTools__cartopy__80d9e47d__6
SciTools/cartopy
80d9e47d3cbb2039b90a37e9ac0acff3e2adf4ce
srtm_composite
lib/cartopy/io/srtm.py
47
65
[ { "decorator_line": 40, "file_path": "lib/cartopy/io/srtm.py", "line_end": 45, "line_start": 40, "name": "srtm", "type": "function" } ]
1
SciTools__cartopy__80d9e47d__7
SciTools/cartopy
80d9e47d3cbb2039b90a37e9ac0acff3e2adf4ce
srtm
lib/cartopy/io/srtm.py
40
45
[ { "decorator_line": 92, "file_path": "lib/cartopy/io/srtm.py", "line_end": 123, "line_start": 92, "name": "SRTM3_retrieve", "type": "function" }, { "decorator_line": 68, "file_path": "lib/cartopy/io/srtm.py", "line_end": 89, "line_start": 68, "name": "read_SRTM3", ...
2
SciTools__cartopy__80d9e47d__8
SciTools/cartopy
80d9e47d3cbb2039b90a37e9ac0acff3e2adf4ce
test_empty
lib/cartopy/tests/test_line_string.py
125
129
[ { "decorator_line": 72, "file_path": "lib/cartopy/tests/test_line_string.py", "line_end": 90, "line_start": 72, "name": "FakeProjection", "type": "class" } ]
1
SciTools__cartopy__80d9e47d__9
SciTools/cartopy
80d9e47d3cbb2039b90a37e9ac0acff3e2adf4ce
ll_to_cart
lib/cartopy/img_transform.py
45
51
[ { "decorator_line": 40, "file_path": "lib/cartopy/img_transform.py", "line_end": 42, "line_start": 40, "name": "unpack", "type": "function" }, { "decorator_line": 25, "file_path": "lib/cartopy/img_transform.py", "line_end": 37, "line_start": 25, "name": "stack", "...
2
SciTools__cartopy__80d9e47d__10
SciTools/cartopy
80d9e47d3cbb2039b90a37e9ac0acff3e2adf4ce
test_global_map
lib/cartopy/tests/mpl/test_mpl_integration.py
27
38
[ { "decorator_line": 21, "file_path": "lib/cartopy/tests/mpl/__init__.py", "line_end": 23, "line_start": 21, "name": "image_comparison", "type": "function" } ]
1
SciTools__cartopy__80d9e47d__11
SciTools/cartopy
80d9e47d3cbb2039b90a37e9ac0acff3e2adf4ce
image_for_domain
lib/cartopy/io/img_nest.py
171
192
[ { "decorator_line": 194, "file_path": "lib/cartopy/io/img_nest.py", "line_end": 212, "line_start": 194, "name": "find_images", "type": "function" }, { "decorator_line": 218, "file_path": "lib/cartopy/io/img_nest.py", "line_end": 222, "line_start": 218, "name": "get_im...
2
SciTools__cartopy__80d9e47d__12
SciTools/cartopy
80d9e47d3cbb2039b90a37e9ac0acff3e2adf4ce
test_polygon_interiors
lib/cartopy/tests/mpl/test_shapely_to_mpl.py
32
84
[ { "decorator_line": 21, "file_path": "lib/cartopy/tests/mpl/__init__.py", "line_end": 23, "line_start": 21, "name": "image_comparison", "type": "function" } ]
1
SciTools__cartopy__80d9e47d__13
SciTools/cartopy
80d9e47d3cbb2039b90a37e9ac0acff3e2adf4ce
main3
lib/cartopy/examples/srtm.py
86
127
[ { "decorator_line": 47, "file_path": "lib/cartopy/io/srtm.py", "line_end": 65, "line_start": 47, "name": "srtm_composite", "type": "function" }, { "decorator_line": 26, "file_path": "lib/cartopy/examples/srtm.py", "line_end": 61, "line_start": 26, "name": "set_shade",...
2
SciTools__cartopy__80d9e47d__14
SciTools/cartopy
80d9e47d3cbb2039b90a37e9ac0acff3e2adf4ce
test_record
lib/cartopy/tests/test_shapereader.py
61
71
[ { "decorator_line": 32, "file_path": "lib/cartopy/tests/test_shapereader.py", "line_end": 51, "line_start": 32, "name": "_assert_geometry", "type": "function" } ]
1
SciTools__cartopy__80d9e47d__15
SciTools/cartopy
80d9e47d3cbb2039b90a37e9ac0acff3e2adf4ce
projection_coords
lib/cartopy/img_transform.py
80
95
[ { "decorator_line": 25, "file_path": "lib/cartopy/img_transform.py", "line_end": 37, "line_start": 25, "name": "stack", "type": "function" }, { "decorator_line": 45, "file_path": "lib/cartopy/img_transform.py", "line_end": 51, "line_start": 45, "name": "ll_to_cart", ...
2
SciTools__cartopy__80d9e47d__16
SciTools/cartopy
80d9e47d3cbb2039b90a37e9ac0acff3e2adf4ce
test_circular_repeated_point
lib/cartopy/tests/test_line_string.py
111
116
[ { "decorator_line": 72, "file_path": "lib/cartopy/tests/test_line_string.py", "line_end": 90, "line_start": 72, "name": "FakeProjection", "type": "class" } ]
1
SciTools__cartopy__80d9e47d__17
SciTools/cartopy
80d9e47d3cbb2039b90a37e9ac0acff3e2adf4ce
scan_dir_for_imgs
lib/cartopy/io/img_nest.py
80
115
[ { "decorator_line": 28, "file_path": "lib/cartopy/io/img_nest.py", "line_end": 57, "line_start": 28, "name": "Img", "type": "class" }, { "decorator_line": 117, "file_path": "lib/cartopy/io/img_nest.py", "line_end": 120, "line_start": 117, "name": "_extent_finalize", ...
2
SciTools__cartopy__80d9e47d__18
SciTools/cartopy
80d9e47d3cbb2039b90a37e9ac0acff3e2adf4ce
main
lib/cartopy/examples/waves.py
22
28
[ { "decorator_line": 6, "file_path": "lib/cartopy/examples/waves.py", "line_end": 19, "line_start": 6, "name": "sample_data", "type": "function" } ]
1
SciTools__cartopy__80d9e47d__19
SciTools/cartopy
80d9e47d3cbb2039b90a37e9ac0acff3e2adf4ce
gen_nest
lib/cartopy/tests/test_img_nest.py
59
69
[ { "decorator_line": 132, "file_path": "lib/cartopy/tests/test_img_nest.py", "line_end": 171, "line_start": 132, "name": "gen_test_data", "type": "function" }, { "decorator_line": 224, "file_path": "lib/cartopy/io/img_nest.py", "line_end": 249, "line_start": 225, "name...
2
dmlc__dgl__750e5037__0
dmlc/dgl
750e50372aee684d9693373f91c8896d2b35dc76
run
python/dgl/scheduler.py
394
403
[ { "decorator_line": 126, "file_path": "python/dgl/scheduler.py", "line_end": 147, "line_start": 126, "name": "run", "type": "function" } ]
1
dmlc__dgl__750e5037__1
dmlc/dgl
750e50372aee684d9693373f91c8896d2b35dc76
send
python/dgl/graph.py
831
858
[ { "decorator_line": 20, "file_path": "python/dgl/function/message.py", "line_end": 53, "line_start": 20, "name": "BundledMessageFunction", "type": "class" }, { "decorator_line": 860, "file_path": "python/dgl/graph.py", "line_end": 880, "line_start": 860, "name": "_bat...
2
dmlc__dgl__750e5037__2
dmlc/dgl
750e50372aee684d9693373f91c8896d2b35dc76
in_edges
python/dgl/graph.py
286
305
[ { "decorator_line": 87, "file_path": "python/dgl/utils.py", "line_end": 88, "line_start": 87, "name": "toindex", "type": "function" }, { "decorator_line": 231, "file_path": "python/dgl/graph_index.py", "line_end": 256, "line_start": 231, "name": "in_edges", "type"...
3
dmlc__dgl__750e5037__3
dmlc/dgl
750e50372aee684d9693373f91c8896d2b35dc76
add_edges
python/dgl/graph_index.py
54
67
[ { "decorator_line": 63, "file_path": "python/dgl/utils.py", "line_end": 70, "line_start": 63, "name": "todgltensor", "type": "function" } ]
1
dmlc__dgl__750e5037__4
dmlc/dgl
750e50372aee684d9693373f91c8896d2b35dc76
successors
python/dgl/graph.py
232
247
[ { "decorator_line": 49, "file_path": "python/dgl/utils.py", "line_end": 61, "line_start": 49, "name": "tousertensor", "type": "function" }, { "decorator_line": 178, "file_path": "python/dgl/graph_index.py", "line_end": 193, "line_start": 178, "name": "successors", ...
2
dmlc__dgl__750e5037__5
dmlc/dgl
750e50372aee684d9693373f91c8896d2b35dc76
filter_nodes
python/dgl/graph.py
1,338
1,363
[ { "decorator_line": 543, "file_path": "python/dgl/graph.py", "line_end": 568, "line_start": 543, "name": "get_n_repr", "type": "function" }, { "decorator_line": 5, "file_path": "python/dgl/base.py", "line_end": 6, "line_start": 5, "name": "is_all", "type": "functi...
3
dmlc__dgl__750e5037__6
dmlc/dgl
750e50372aee684d9693373f91c8896d2b35dc76
aggregate
examples/pytorch/line_graph/gnn.py
39
48
[ { "decorator_line": 148, "file_path": "python/dgl/function/message.py", "line_end": 150, "line_start": 148, "name": "copy_src", "type": "function" } ]
1
dmlc__dgl__750e5037__7
dmlc/dgl
750e50372aee684d9693373f91c8896d2b35dc76
index
python/dgl/frame.py
235
242
[ { "decorator_line": 220, "file_path": "python/dgl/frame.py", "line_end": 222, "line_start": 220, "name": "is_contiguous", "type": "function" }, { "decorator_line": 87, "file_path": "python/dgl/utils.py", "line_end": 88, "line_start": 87, "name": "toindex", "type":...
2
dmlc__dgl__750e5037__8
dmlc/dgl
750e50372aee684d9693373f91c8896d2b35dc76
has_nodes
python/dgl/graph.py
161
176
[ { "decorator_line": 87, "file_path": "python/dgl/utils.py", "line_end": 88, "line_start": 87, "name": "toindex", "type": "function" }, { "decorator_line": 109, "file_path": "python/dgl/graph_index.py", "line_end": 123, "line_start": 109, "name": "has_nodes", "type...
3
dmlc__dgl__750e5037__9
dmlc/dgl
750e50372aee684d9693373f91c8896d2b35dc76
context
python/dgl/_ffi/ndarray.py
30
62
[ { "decorator_line": 90, "file_path": "python/dgl/_ffi/runtime_ctypes.py", "line_end": 221, "line_start": 90, "name": "TVMContext", "type": "class" } ]
1
dmlc__dgl__750e5037__10
dmlc/dgl
750e50372aee684d9693373f91c8896d2b35dc76
delete_rows
python/dgl/frame.py
187
193
[ { "decorator_line": 8, "file_path": "python/dgl/backend/numpy.py", "line_end": 9, "line_start": 8, "name": "asnumpy", "type": "function" }, { "decorator_line": 244, "file_path": "python/dgl/frame.py", "line_end": 245, "line_start": 244, "name": "_clear_cache", "ty...
2
dmlc__dgl__750e5037__11
dmlc/dgl
750e50372aee684d9693373f91c8896d2b35dc76
register
python/dgl/_ffi/function.py
177
183
[ { "decorator_line": 31, "file_path": "python/dgl/_ffi/_ctypes/function.py", "line_end": 77, "line_start": 31, "name": "convert_to_tvm_func", "type": "function" }, { "decorator_line": 50, "file_path": "python/dgl/_ffi/base.py", "line_end": 62, "line_start": 50, "name":...
3
dmlc__dgl__750e5037__12
dmlc/dgl
750e50372aee684d9693373f91c8896d2b35dc76
train
examples/pytorch/geniepath.py
160
196
[ { "decorator_line": 141, "file_path": "examples/pytorch/geniepath.py", "line_end": 157, "line_start": 141, "name": "forward", "type": "function" } ]
1
dmlc__dgl__750e5037__13
dmlc/dgl
750e50372aee684d9693373f91c8896d2b35dc76
create_graph_index
python/dgl/graph_index.py
592
606
[ { "decorator_line": 14, "file_path": "python/dgl/graph_index.py", "line_end": 532, "line_start": 14, "name": "GraphIndex", "type": "class" }, { "decorator_line": 467, "file_path": "python/dgl/graph_index.py", "line_end": 501, "line_start": 467, "name": "from_networkx"...
2
dmlc__dgl__750e5037__14
dmlc/dgl
750e50372aee684d9693373f91c8896d2b35dc76
filter_edges
python/dgl/graph.py
1,365
1,390
[ { "decorator_line": 694, "file_path": "python/dgl/graph.py", "line_end": 719, "line_start": 694, "name": "get_e_repr_by_id", "type": "function" }, { "decorator_line": 5, "file_path": "python/dgl/base.py", "line_end": 6, "line_start": 5, "name": "is_all", "type": "...
3
dmlc__dgl__750e5037__15
dmlc/dgl
750e50372aee684d9693373f91c8896d2b35dc76
cpu
python/dgl/ndarray.py
23
36
[ { "decorator_line": 90, "file_path": "python/dgl/_ffi/runtime_ctypes.py", "line_end": 221, "line_start": 90, "name": "TVMContext", "type": "class" } ]
1
dmlc__dgl__750e5037__16
dmlc/dgl
750e50372aee684d9693373f91c8896d2b35dc76
edges
python/dgl/graph.py
328
346
[ { "decorator_line": 285, "file_path": "python/dgl/graph_index.py", "line_end": 306, "line_start": 285, "name": "edges", "type": "function" }, { "decorator_line": 49, "file_path": "python/dgl/utils.py", "line_end": 61, "line_start": 49, "name": "tousertensor", "typ...
2
dmlc__dgl__750e5037__17
dmlc/dgl
750e50372aee684d9693373f91c8896d2b35dc76
recv
python/dgl/graph.py
928
969
[ { "decorator_line": 17, "file_path": "python/dgl/function/reducer.py", "line_end": 49, "line_start": 17, "name": "BundledReduceFunction", "type": "class" }, { "decorator_line": 971, "file_path": "python/dgl/graph.py", "line_end": 1035, "line_start": 971, "name": "_bat...
3
dmlc__dgl__750e5037__18
dmlc/dgl
750e50372aee684d9693373f91c8896d2b35dc76
light_degree_bucketing
python/dgl/scheduler.py
67
88
[ { "decorator_line": 44, "file_path": "python/dgl/scheduler.py", "line_end": 65, "line_start": 44, "name": "_process_buckets", "type": "function" } ]
1
dmlc__dgl__750e5037__19
dmlc/dgl
750e50372aee684d9693373f91c8896d2b35dc76
test_dlpack
tests/pytorch/test_index.py
7
30
[ { "decorator_line": 54, "file_path": "python/dgl/ndarray.py", "line_end": 72, "line_start": 54, "name": "array", "type": "function" }, { "decorator_line": 116, "file_path": "python/dgl/_ffi/ndarray.py", "line_end": 132, "line_start": 116, "name": "from_dlpack", "t...
2
deepset-ai__haystack__4e46d9d1__0
deepset-ai/haystack
4e46d9d1761e3b034a37e877836e3c8a8ceae68a
query_by_embedding
haystack/document_store/faiss.py
140
163
[ { "decorator_line": 83, "file_path": "haystack/document_store/sql.py", "line_end": 95, "line_start": 83, "name": "get_all_documents", "type": "function" } ]
1
deepset-ai__haystack__4e46d9d1__1
deepset-ai/haystack
4e46d9d1761e3b034a37e877836e3c8a8ceae68a
test_finder_get_answers_single_result
test/test_finder.py
34
41
[ { "decorator_line": 81, "file_path": "haystack/retriever/sparse.py", "line_end": 169, "line_start": 81, "name": "TfidfRetriever", "type": "class" }, { "decorator_line": 15, "file_path": "haystack/finder.py", "line_end": 423, "line_start": 15, "name": "Finder", "ty...
2
deepset-ai__haystack__4e46d9d1__2
deepset-ai/haystack
4e46d9d1761e3b034a37e877836e3c8a8ceae68a
test_elasticsearch_custom_fields
test/test_db.py
244
255
[ { "decorator_line": 18, "file_path": "haystack/document_store/elasticsearch.py", "line_end": 523, "line_start": 18, "name": "ElasticsearchDocumentStore", "type": "class" }, { "decorator_line": 174, "file_path": "haystack/document_store/elasticsearch.py", "line_end": 225, ...
3
deepset-ai__haystack__4e46d9d1__3
deepset-ai/haystack
4e46d9d1761e3b034a37e877836e3c8a8ceae68a
query
haystack/document_store/elasticsearch.py
299
373
[ { "decorator_line": 421, "file_path": "haystack/document_store/elasticsearch.py", "line_end": 446, "line_start": 421, "name": "_convert_es_hit_to_document", "type": "function" } ]
1
deepset-ai__haystack__4e46d9d1__4
deepset-ai/haystack
4e46d9d1761e3b034a37e877836e3c8a8ceae68a
retrieve
haystack/retriever/dense.py
89
94
[ { "decorator_line": 96, "file_path": "haystack/retriever/dense.py", "line_end": 107, "line_start": 96, "name": "embed_queries", "type": "function" }, { "decorator_line": 106, "file_path": "haystack/document_store/base.py", "line_end": 112, "line_start": 107, "name": "...
2
deepset-ai__haystack__4e46d9d1__5
deepset-ai/haystack
4e46d9d1761e3b034a37e877836e3c8a8ceae68a
write_documents
haystack/document_store/sql.py
104
127
[ { "decorator_line": 52, "file_path": "haystack/schema.py", "line_end": 71, "line_start": 53, "name": "from_dict", "type": "function" }, { "decorator_line": 31, "file_path": "haystack/document_store/sql.py", "line_end": 37, "line_start": 31, "name": "MetaORM", "typ...
3
deepset-ai__haystack__4e46d9d1__6
deepset-ai/haystack
4e46d9d1761e3b034a37e877836e3c8a8ceae68a
update_document_meta
haystack/document_store/sql.py
149
156
[ { "decorator_line": 226, "file_path": "haystack/document_store/sql.py", "line_end": 234, "line_start": 226, "name": "_get_or_create", "type": "function" } ]
1
deepset-ai__haystack__4e46d9d1__7
deepset-ai/haystack
4e46d9d1761e3b034a37e877836e3c8a8ceae68a
export_doc_qa_feedback
rest_api/controller/feedback.py
73
109
[ { "decorator_line": 269, "file_path": "haystack/document_store/elasticsearch.py", "line_end": 273, "line_start": 269, "name": "get_all_labels", "type": "function" }, { "decorator_line": 159, "file_path": "haystack/document_store/elasticsearch.py", "line_end": 165, "line_s...
2